Add a way to bypass the PLT when calling getauxval
[glibc.git] / ChangeLog
blob82e17d117947e0daac589f5a31c1dd0ea3941df9
1 2017-06-09  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
3         * include/sys/auxv.h (__getauxval): Add a prototype and its
4         libc_hidden_proto.
5         * misc/getauxval.c (__getauxval): Use libc_hidden_def.
7 2017-06-09  Joseph Myers  <joseph@codesourcery.com>
9         [BZ #21561]
10         * posix/sys/wait.h (idtype_t): Change [__USE_XOPEN] condition to
11         [__USE_XOPEN_EXTENDED].
12         (id_t): Likewise.
13         (include of <bits/types/siginfo_t.h): Likewise.
14         (waitid): Likewise.
15         * sysdeps/unix/sysv/linux/bits/waitflags.h (WSTOPPED): Condition
16         on [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8].
17         (WEXITED): Likewise.
18         (WCONTINUED): Likewise.
19         (WNOWAIT): Likewise.
20         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove.
21         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
22         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
24         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Mark
25         libc.so PLT entry optional.
26         (__gtsf2): Likewise.
27         (__unorddf2): Likewise.
28         (__unordsf2): Likewise.
29         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (_Q_fgt):
30         New optional libc.so PLT entry.
32         [BZ #21554]
33         * signal/signal.h (sigpause):: Declare if [__USE_XOPEN_EXTENDED],
34         not [__USE_XOPEN].
36         [BZ #21560]
37         * posix/sys/wait.h: Condition include of <signal.h> on
38         [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8].  Include <bits/types.h>
39         unconditionally.
40         [!__pid_t_defined] (pid_t): Define typedef.
42 2017-06-09  Zack Weinberg  <zackw@panix.com>
44         * include/errno.h (__errno_location): Use __attribute_const__
45         instead of bare __attribute__.
47 2017-06-09  Zack Weinberg  <zackw@panix.com>
49         * Makeconfig (dl-tunable-list.h): Generate using a stamp file.
50         (common-generated): Add libc-modules.h and libc-modules.stmp in a
51         more appropriate location. Also add dl-tunable-list.h and
52         dl-tunable-list.stmp.
54 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
56         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Correct comments.
58 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
60         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
61         strrchr-sse2, strrchr-avx2, wcsrchr-sse2 and wcsrchr-avx2.
62         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
63         (__libc_ifunc_impl_list): Add tests for __strrchr_avx2,
64         __strrchr_sse2, __wcsrchr_avx2 and __wcsrchr_sse2.
65         * sysdeps/x86_64/multiarch/strrchr-avx2.S: New file.
66         * sysdeps/x86_64/multiarch/strrchr-sse2.S: Likewise.
67         * sysdeps/x86_64/multiarch/strrchr.c: Likewise.
68         * sysdeps/x86_64/multiarch/wcsrchr-avx2.S: Likewise.
69         * sysdeps/x86_64/multiarch/wcsrchr-sse2.S: Likewise.
70         * sysdeps/x86_64/multiarch/wcsrchr.c: Likewise.
72 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
74         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
75         memrchr-sse2 and memrchr-avx2.
76         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
77         (__libc_ifunc_impl_list): Add tests for __memrchr_avx2 and
78         __memrchr_sse2.
79         * sysdeps/x86_64/multiarch/memrchr-avx2.S: New file.
80         * sysdeps/x86_64/multiarch/memrchr-sse2.S: Likewise.
81         * sysdeps/x86_64/multiarch/memrchr.c: Likewise.
83 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
85         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
86         strchr-sse2, strchrnul-sse2, strchr-avx2, strchrnul-avx2,
87         wcschr-sse2 and wcschr-avx2.
88         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
89         (__libc_ifunc_impl_list): Add tests for __strchr_avx2,
90         __strchrnul_avx2, __strchrnul_sse2, __wcschr_avx2 and
91         __wcschr_sse2.
92         * sysdeps/x86_64/multiarch/strchr-avx2.S: New file.
93         * sysdeps/x86_64/multiarch/strchr-sse2.S: Likewise.
94         * sysdeps/x86_64/multiarch/strchr.c: Likewise.
95         * sysdeps/x86_64/multiarch/strchrnul-avx2.S: Likewise.
96         * sysdeps/x86_64/multiarch/strchrnul-sse2.S: Likewise.
97         * sysdeps/x86_64/multiarch/strchrnul.c: Likewise.
98         * sysdeps/x86_64/multiarch/wcschr-avx2.S: Likewise.
99         * sysdeps/x86_64/multiarch/wcschr-sse2.S: Likewise.
100         * sysdeps/x86_64/multiarch/wcschr.c: Likewise.
101         * sysdeps/x86_64/multiarch/strchr.S: Removed.
103 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
105         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
106         strlen-sse2, strnlen-sse2, strlen-avx2, strnlen-avx2,
107         wcslen-sse2, wcslen-avx2 and wcsnlen-avx2.
108         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
109         (__libc_ifunc_impl_list): Add tests for __strlen_avx2,
110         __strlen_sse2, __strnlen_avx2, __strnlen_sse2, __wcslen_avx2,
111         __wcslen_sse2 and __wcsnlen_avx2.
112         * sysdeps/x86_64/multiarch/strlen-avx2.S: New file.
113         * sysdeps/x86_64/multiarch/strlen-sse2.S: Likewise.
114         * sysdeps/x86_64/multiarch/strlen.c: Likewise.
115         * sysdeps/x86_64/multiarch/strnlen-avx2.S: Likewise.
116         * sysdeps/x86_64/multiarch/strnlen-sse2.S: Likewise.
117         * sysdeps/x86_64/multiarch/strnlen.c: Likewise.
118         * sysdeps/x86_64/multiarch/wcslen-avx2.S: Likewise.
119         * sysdeps/x86_64/multiarch/wcslen-sse2.S: Likewise.
120         * sysdeps/x86_64/multiarch/wcslen.c: Likewise.
121         * sysdeps/x86_64/multiarch/wcsnlen-avx2.S: Likewise.
122         * sysdeps/x86_64/multiarch/wcsnlen.c (OPTIMIZE (avx2)): New.
123         (IFUNC_SELECTOR): Return OPTIMIZE (avx2) on AVX2 machines where
124         vzeroupper is preferred and AVX unaligned load is fast.
126 2017-06-09  H.J. Lu  <hongjiu.lu@intel.com>
128         * sysdeps/x86_64/memchr.S (MEMCHR): New.  Depending on if
129         USE_AS_WMEMCHR is defined.
130         (PCMPEQ): Likewise.
131         (memchr): Renamed to ...
132         (MEMCHR): This.  Support wmemchr if USE_AS_WMEMCHR is defined.
133         Replace pcmpeqb with PCMPEQ.
134         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
135         memchr-sse2, rawmemchr-sse2, memchr-avx2, rawmemchr-avx2,
136         wmemchr-sse4_1, wmemchr-avx2 and wmemchr-c.
137         * sysdeps/x86_64/multiarch/ifunc-avx2.h: New file.
138         * sysdeps/x86_64/multiarch/memchr-avx2.S: Likewise.
139         * sysdeps/x86_64/multiarch/memchr-sse2.S: Likewise.
140         * sysdeps/x86_64/multiarch/memchr.c: Likewise.
141         * sysdeps/x86_64/multiarch/rawmemchr-avx2.S: Likewise.
142         * sysdeps/x86_64/multiarch/rawmemchr-sse2.S: Likewise.
143         * sysdeps/x86_64/multiarch/rawmemchr.c: Likewise.
144         * sysdeps/x86_64/multiarch/wmemchr-avx2.S: Likewise.
145         * sysdeps/x86_64/multiarch/wmemchr-sse2.S: Likewise.
146         * sysdeps/x86_64/multiarch/wmemchr.c: Likewise.
147         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
148         (__libc_ifunc_impl_list): Test __memchr_avx2, __memchr_sse2,
149         __rawmemchr_avx2, __rawmemchr_sse2, __wmemchr_avx2 and
150         __wmemchr_sse2.
152 2017-06-09  Florian Weimer  <fweimer@redhat.com>
154         * malloc/Makefile (test-srcs): Remove tst-dynarray,
155         tst-dynarray-fail.
157 2017-06-09  Florian Weimer  <fweimer@redhat.com>
159         Expose TEST_VERIFY_EXIT process termination to GCC optimizers.
160         * support/support_test_verify_impl.c
161         (support_test_verify_exit_impl): Split from
162         support_test_verify_impl.
163         * support/check.h (TEST_VERIFY): Drop status argument from
164         support_test_verify_impl call.
165         (TEST_VERIFY_EXIT): Call support_test_verify_exit_impl.
166         (support_test_verify_impl): Remove status argument.
167         (support_test_verify_exit_impl): Declare.
169 2017-06-09  Siddhesh Poyarekar  <siddhesh@sourceware.org>
171         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h: Remove
172         mention of magic numbers in comments.
173         (_dl_procinfo): Fix undefined behavior
175 2017-06-08  Joseph Myers  <joseph@codesourcery.com>
177         * conform/data/sys/wait.h-data (WIFCONTINUED): Do not expect for
178         [XPG4].
179         (WEXITED): Likewise.
180         (WSTOPPED): Likewise.
181         (WCONTINUED): Likewise.
182         (WNOHANG): Likewise.
183         (WNOWAIT): Likewise.
184         (idtype_t): Likewise.
185         (P_ALL): Likewise.
186         (P_PID): Likewise.
187         (P_PGID): Likewise.
188         (id_t): Likewise.
189         (siginfo_t): Likewise.
190         (wait3): Likewise.
191         (waitid): Likewise.
192         (signal.h): Do not allow header for [XPG4].
193         (sys/resource.h): Likewise.
194         (si_*): Do not allow for [XPG4].
195         (W*): Likewise.
196         (P_*): Likewise.
197         (BUS_): Likewise.
198         (CLD_): Likewise.
199         (FPE_): Likewise.
200         (ILL_): Likewise.
201         (POLL_): Likewise.
202         (SEGV_): Likewise.
203         (SI_): Likewise.
204         (TRAP_): Likewise.
205         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): New
206         variable.
208 2017-06-08  H.J. Lu  <hongjiu.lu@intel.com>
210         [BZ #21528]
211         * elf/dl-minimal.c (__strtoul_internal): Removed.
212         (strtoul): Likewise.
213         * elf/dl-misc.c (_dl_strtoul): New function.
214         * elf/dl-tunables.c (tunables_strtoul): Removed.
215         (tunable_initialize): Replace tunables_strtoul with _dl_strtoul.
216         * elf/rtld.c (process_envvars): Likewise.
217         * sysdeps/unix/sysv/linux/dl-librecon.h (_dl_osversion_init):
218         Likewise.
219         * sysdeps/generic/ldsodefs.h (_dl_strtoul): New prototype.
221 2017-06-08  Zack Weinberg  <zackw@panix.com>
223         * libio/bits/types/FILE.h, libio/bits/types/__FILE.h
224         * wcsmbs/bits/types/mbstate_t.h, wcsmbs/bits/types/__mbstate_t.h
225         * wcsmbs/bits/types/wint_t.h: New single-type definition files.
226         * wctype/bits/wctype-wchar.h: New file holding declarations shared
227         between wctype.h and wchar.h.
229         * libio/Makefile, wcsmbs/Makefile, wctype/Makefile:
230         Install them.
232         * include/bits/types/FILE.h, include/bits/types/__FILE.h
233         * include/bits/types/mbstate_t.h, include/bits/types/__mbstate_t.h
234         * include/bits/types/wint_t.h, include/bits/wcsmbs-wchar.h:
235         New wrappers.
236         * include/stdio.h, include/wchar.h, include/wctype.h:
237         No need to handle __need macros.
239         * grp/grp.h, gshadow/gshadow.h, hurd/hurd.h, iconv/gconv.h
240         * libio/stdio.h, mach/mach.h, misc/mntent.h, pwd/pwd.h
241         * shadow/shadow.h, stdio-common/printf.h, wcsmbs/uchar.h
242         * wcsmbs/wchar.h, wctype/wctype.h
243         * sysdeps/generic/_G_config.h, sysdeps/unix/sysv/linux/_G_config.h
244         Use the new files instead of __need macros.
246 2017-06-08  H.J. Lu  <hongjiu.lu@intel.com>
248         * string/test-memrchr.c (test_main): Add tests for len == 0
249         and tests for positions close to the beginning, which are
250         equivalent to positions close to the end for memchr.
252 2017-06-07  H.J. Lu  <hongjiu.lu@intel.com>
254         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update
255         comments.
256         * sysdeps/x86_64/multiarch/wmemset.c: Include ifunc-wmemset.h
257         instead of wmemset.h.
258         * sysdeps/x86_64/multiarch/wmemset_chk.c: Likewise.
259         * sysdeps/x86_64/multiarch/wmemset.h: Renamed to ...
260         * sysdeps/x86_64/multiarch/ifunc-wmemset.h: This.
262 2017-06-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
264         * stdio-common/printf-parsemb.c (__parse_one_specmb): Initialize
265         spec->info.is_binary128 to zero.
266         * stdio-common/printf.h (printf_info): Add new member is_binary128
267         to indicate that the number being converted to string is compatible
268         with the IEC 60559 binary128 format.
269         * stdio-common/printf_fp.c (__printf_fp_l): Add code to deal with
270         _Float128 numbers.
271         * stdio-common/printf_fphex.c: Include ieee754_float128.h and
272         ldbl-128/printf_fphex_macros.h
273         (__printf_fphex): Add code to deal with _Float128 numbers.
274         * stdio-common/printf_size.c (__printf_size): Likewise.
275         * stdio-common/vfprintf.c (process_arg): Initialize member
276         info.is_binary128 to zero.
277         * stdlib/fpioconst.h (FLT128_MAX_10_EXP_LOG): New macro.
278         * stdlib/stdlib.h: Include bits/floatn.h for _Float128 support.
279         (strfromf128): New declaration.
280         * stdlib/strfrom-skeleton.c (STRFROM): Set member info.is_binary128
281         to one.
282         * sysdeps/ieee754/float128/Makefile: Add strfromf128.
283         * sysdeps/ieee754/float128/Versions: Likewise.
284         * sysdeps/ieee754/float128/strfromf128.c: New file.
286 2017-06-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
288         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Include
289         ldbl-128/printf_fphex_macros.h for the definition of PRINT_FPHEX.
290         (PRINT_FPHEX_LONG_DOUBLE): Define based on PRINT_FPHEX.
291         * sysdeps/ieee754/ldbl-128/printf_fphex_macros.h
292         (PRINT_FPHEX): New function-like macro that can be used for long
293         double, as well as for _Float128
295 2017-06-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
297         * stdio-common/printf_fp.c (PRINTF_FP_FETCH): New macro.
298         (__printf_fp_l): Use the new macro to avoid duplicating code.
299         * stdio-common/printf_fphex.c (PRINTF_FPHEX_FETCH): New macro.
300         (__printf_fphex): Use the new macro to avoid duplicating code.
301         * stdio-common/printf_size.c (PRINTF_SIZE_FETCH): New macro.
302         (__printf_size): Use the new macro to avoid duplicating code.
304 2017-06-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
306         * include/gmp.h: Include bits/floatn.h
307         (__mpn_extract_float128): Declare when __HAVE_DISTINCT_FLOAT128 is 1.
308         * stdlib/gmp-impl.h: Also check if alloca is not defined before
309         including stack-alloc.h.  It could have been defined by other header
310         which not necessarily defines HAVE_ALLOCA.
311         * sysdeps/ieee754/float128/Makefile: New file.
312         * sysdeps/ieee754/float128/float1282mpn.c: New file.
313         * sysdeps/ieee754/float128/float128_private.h: Include gmp.h before
314         redefining __mpn_extract_long_double to __mpn_extract_float128, then
315         redefine __mpn_extract_long_double to __mpn_extract_float128.
316         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Replace long double with
317         _Float128 to allow float128_private.h overrides.
319 2017-06-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
321         * stdlib/fpioconst.h: Include bits/floatn.h.
322         (FPIOCONST_HAVE_EXTENDED_RANGE): New macro for testing how big the
323         power of ten table should be.
324         (FPIOCONST_POW10_ARRAY_SIZE): Use larger table if above is true.
325         * stdlib/fpioconst.c (__tens): Use FPIOCONST_HAVE_EXTENDED_RANGE
326         to include larger tables when _Float128 support is enabled.
327         (_fpioconst_pow10): Likewise.
329 2017-06-07  Joseph Myers  <joseph@codesourcery.com>
331         * include/bits/types/clock_t.h: Use #include <path> instead of
332         #include "../../path".
333         * include/bits/types/clockid_t.h: Likewise.
334         * include/bits/types/struct_iovec.h: Likewise.
335         * include/bits/types/struct_itimerspec.h: Likewise.
336         * include/bits/types/struct_osockaddr.h: Likewise.
337         * include/bits/types/struct_sigstack.h: Likewise.
338         * include/bits/types/struct_timespec.h: Likewise.
339         * include/bits/types/struct_timeval.h: Likewise.
340         * include/bits/types/struct_tm.h: Likewise.
341         * include/bits/types/time_t.h: Likewise.
342         * include/bits/types/timer_t.h: Likewise.
344         [BZ #14096]
345         * timezone/Makefile ($(objpfx)tst-timezone.out): Depend on
346         America/New_York.
348 2017-06-07  H.J. Lu  <hongjiu.lu@intel.com>
350         * sysdeps/x86_64/multiarch/ifunc-sse4_1.h: Removed and folded
351         into ...
352         * sysdeps/x86_64/multiarch/wcsnlen.c: Here.  Don't include
353         ifunc-sse4_1.h.
355 2017-06-07  Arjun Shankar  <arjun.is@lostca.se>
357         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal):
358         Remove check for NULL 'buf'.
359         * login/tst-ptsname.c (do_test): Remove test with NULL 'buf'.
361 2017-06-07  Arjun Shankar  <arjun.is@lostca.se>
363         * sysdeps/unix/sysv/linux/tst-clone2.c: Do not
364         include test-skeleton.c.
365         Include support/check.h and support/test-driver.c.
367 2017-06-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
369         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c
370         (_dl_aarch64_cap_flags): New array.
371         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h
372         (_dl_hwcap_string, _dl_string_hwcap, _dl_procinfo): Implement
373         functions.
375         * elf/dl-hwcaps.h [HAVE_TUNABLES]: Always read hwcap_mask.
376         * sysdeps/sparc/sparc32/dl-machine.h [HAVE_TUNABLES]:
377         Likewise.
378         * sysdeps/x86/cpu-features.c (init_cpu_features): Always set
379         up hwcap and hwcap_mask.
381         * sysdeps/unix/sysv/linux/aarch64/cpu-features.c
382         (init_cpu_features): Use glibc.tune.hwcap_mask.
383         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.h: New file.
385         * elf/dl-hwcaps.h: New file.
386         * elf/dl-hwcaps.c: Include it.
387         (_dl_important_hwcaps)[HAVE_TUNABLES]: Read and update
388         glibc.tune.hwcap_mask.
389         * elf/dl-cache.c: Include dl-hwcaps.h.
390         (_dl_load_cache_lookup)[HAVE_TUNABLES]: Read
391         glibc.tune.hwcap_mask.
392         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
393         * elf/dl-support.c (_dl_hwcap2)[HAVE_TUNABLES]: Drop
394         _dl_hwcap_mask.
395         * elf/rtld.c (rtld_global_ro)[HAVE_TUNABLES]: Drop
396         _dl_hwcap_mask.
397         (process_envvars)[HAVE_TUNABLES]: Likewise.
398         * sysdeps/generic/ldsodefs.h (rtld_global_ro)[HAVE_TUNABLES]:
399         Likewise.
400         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't
401         initialize dl_hwcap_mask when tunables are enabled.
403         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Add include
404         guard.
405         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
407         * elf/dl-tunables.list: Add glibc.tune.hwcap_mask.
408         * scripts/gen-tunables.awk: Include dl-procinfo.h.
409         * manual/tunables.texi: Document glibc.tune.hwcap_mask.
411         * elf/Versions (__tunable_set_val): Rename to __tunable_get_val.
412         * elf/dl-tunables.c: Likewise.
413         (do_tunable_update_val): New function.
414         (__tunable_set_val): New function.
415         (__tunable_get_val): Call CB only if the tunable was externally
416         initialized.
417         (tunables_strtoul): Replace strval with initialized.
418         * elf/dl-tunables.h (strval): Replace with a bool initialized.
419         (TUNABLE_ENUM_NAME, TUNABLE_ENUM_NAME1): Adjust names to
420         prevent collision.
421         (__tunable_set_val): New function.
422         (TUNABLE_GET, TUNABLE_GET_FULL): New macros.
423         (TUNABLE_SET, TUNABLE_SET_FULL): Likewise.
424         (TUNABLE_SET_VAL): Remove.
425         (TUNABLE_SET_VAL_WITH_CALLBACK): Likewise.
426         * README.tunables: Document the new macros.
427         * malloc/arena.c (ptmalloc_init): Adjust.
429 2017-06-06  H.J. Lu  <hongjiu.lu@intel.com>
431         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
432         wcsnlen-sse4_1 and wcsnlen-c.
433         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
434         (__libc_ifunc_impl_list): Test __wcsnlen_sse4_1 and
435         __wcsnlen_sse2.
436         * sysdeps/x86_64/multiarch/ifunc-sse4_1.h: New file.
437         * sysdeps/x86_64/multiarch/wcsnlen-c.c: Likewise.
438         * sysdeps/x86_64/multiarch/wcsnlen-sse4_1.S: Likewise.
439         * sysdeps/x86_64/multiarch/wcsnlen.c: Likewise.
440         * sysdeps/x86_64/wcsnlen.S: Removed.
442 2017-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
444         * sysdeps/s390/nptl/pthread_spin_init.c: Delete File.
445         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
446         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
447         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
449 2017-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
451         * NEWS: Mention new spinlock implementation.
452         * include/atomic.h:
453         (__atomic_val_bysize): Cast type to omit volatile qualifier.
454         (atomic_exchange_acq): Likewise.
455         (atomic_load_relaxed): Likewise.
456         (ATOMIC_EXCHANGE_USES_CAS): Check definition.
457         * nptl/pthread_spin_init.c (pthread_spin_init):
458         Use atomic_store_relaxed.
459         * nptl/pthread_spin_lock.c (pthread_spin_lock):
460         Use C11-like atomic macros.
461         * nptl/pthread_spin_trylock.c (pthread_spin_trylock):
462         Likewise.
463         * nptl/pthread_spin_unlock.c (pthread_spin_unlock):
464         Use atomic_store_release.
465         * sysdeps/aarch64/nptl/pthread_spin_lock.c: Delete File.
466         * sysdeps/arm/nptl/pthread_spin_lock.c: Likewise.
467         * sysdeps/hppa/nptl/pthread_spin_lock.c: Likewise.
468         * sysdeps/m68k/nptl/pthread_spin_lock.c: Likewise.
469         * sysdeps/microblaze/nptl/pthread_spin_lock.c: Likewise.
470         * sysdeps/mips/nptl/pthread_spin_lock.c: Likewise.
471         * sysdeps/nios2/nptl/pthread_spin_lock.c: Likewise.
472         * sysdeps/aarch64/atomic-machine.h (ATOMIC_EXCHANGE_USES_CAS): Define.
473         * sysdeps/alpha/atomic-machine.h: Likewise.
474         * sysdeps/arm/atomic-machine.h: Likewise.
475         * sysdeps/i386/atomic-machine.h: Likewise.
476         * sysdeps/ia64/atomic-machine.h: Likewise.
477         * sysdeps/m68k/coldfire/atomic-machine.h: Likewise.
478         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: Likewise.
479         * sysdeps/microblaze/atomic-machine.h: Likewise.
480         * sysdeps/mips/atomic-machine.h: Likewise.
481         * sysdeps/powerpc/powerpc32/atomic-machine.h: Likewise.
482         * sysdeps/powerpc/powerpc64/atomic-machine.h: Likewise.
483         * sysdeps/s390/atomic-machine.h: Likewise.
484         * sysdeps/sparc/sparc32/atomic-machine.h: Likewise.
485         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: Likewise.
486         * sysdeps/sparc/sparc64/atomic-machine.h: Likewise.
487         * sysdeps/tile/tilegx/atomic-machine.h: Likewise.
488         * sysdeps/tile/tilepro/atomic-machine.h: Likewise.
489         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Likewise.
490         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: Likewise.
491         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: Likewise.
492         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: Likewise.
493         * sysdeps/x86_64/atomic-machine.h: Likewise.
495 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
497         * sysdeps/x86/cacheinfo.c (intel_check_word): Accept cpu_features
498         and use it instead of dl_x86_cpu_features.
499         (handle_intel): Replace maxidx with cpu_features.  Pass
500         cpu_features to intel_check_word.
501         (__cache_sysconf): Pass cpu_features to handle_intel.
502         (init_cacheinfo): Likewise.  Use cpu_features instead of
503         dl_x86_cpu_features.
505 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
507         * sysdeps/x86/cpu-features.h (index_cpu_MOVBE): New.
508         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
509         memcmp-avx2 and wmemcmp-avx2.
510         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
511         (__libc_ifunc_impl_list): Test __memcmp_avx2 and __wmemcmp_avx2.
512         * sysdeps/x86_64/multiarch/memcmp-avx2.S: New file.
513         * sysdeps/x86_64/multiarch/wmemcmp-avx2.S: Likewise.
514         * sysdeps/x86_64/multiarch/memcmp.S: Use __memcmp_avx2 on AVX
515         2 machines if AVX unaligned load is fast and vzeroupper is
516         preferred.
517         * sysdeps/x86_64/multiarch/wmemcmp.S: Use __wmemcmp_avx2 on AVX
518         2 machines if AVX unaligned load is fast and vzeroupper is
519         preferred.
521 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
523         * include/wchar.h (__wmemset_chk): New.
524         * sysdeps/x86_64/memset.S (VDUP_TO_VEC0_AND_SET_RETURN): Renamed
525         to MEMSET_VDUP_TO_VEC0_AND_SET_RETURN.
526         (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
527         (WMEMSET_CHK_SYMBOL): Likewise.
528         (WMEMSET_SYMBOL): Likewise.
529         (__wmemset): Add hidden definition.
530         (wmemset): Add weak hidden definition.
531         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
532         wmemset_chk-nonshared.
533         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
534         (__libc_ifunc_impl_list): Add __wmemset_sse2_unaligned,
535         __wmemset_avx2_unaligned, __wmemset_avx512_unaligned,
536         __wmemset_chk_sse2_unaligned, __wmemset_chk_avx2_unaligned
537         and __wmemset_chk_avx512_unaligned.
538         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S
539         (VDUP_TO_VEC0_AND_SET_RETURN): Renamed to ...
540         (MEMSET_VDUP_TO_VEC0_AND_SET_RETURN): This.
541         (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
542         (WMEMSET_SYMBOL): Likewise.
543         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S
544         (VDUP_TO_VEC0_AND_SET_RETURN): Renamed to ...
545         (MEMSET_VDUP_TO_VEC0_AND_SET_RETURN): This.
546         (WMEMSET_VDUP_TO_VEC0_AND_SET_RETURN): New.
547         (WMEMSET_SYMBOL): Likewise.
548         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Updated.
549         (WMEMSET_CHK_SYMBOL): New.
550         (WMEMSET_CHK_SYMBOL (__wmemset_chk, unaligned)): Likewise.
551         (WMEMSET_SYMBOL (__wmemset, unaligned)): Likewise.
552         * sysdeps/x86_64/multiarch/memset.S (WMEMSET_SYMBOL): New.
553         (libc_hidden_builtin_def): Also define __GI_wmemset and
554         __GI___wmemset.
555         (weak_alias): New.
556         * sysdeps/x86_64/multiarch/wmemset.c: New file.
557         * sysdeps/x86_64/multiarch/wmemset.h: Likewise.
558         * sysdeps/x86_64/multiarch/wmemset_chk-nonshared.S: Likewise.
559         * sysdeps/x86_64/multiarch/wmemset_chk.c: Likewise.
560         * sysdeps/x86_64/wmemset.c: Likewise.
561         * sysdeps/x86_64/wmemset_chk.c: Likewise.
563 2017-06-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
564             H.J. Lu  <hongjiu.lu@intel.com>
566         * sysdeps/x86/init-arch.h (PASTER1): New.
567         (EVALUATOR1): Likewise.
568         (PASTER2): Likewise.
569         (EVALUATOR2): Likewise.
570         (REDIRECT_NAME): Likewise.
571         (OPTIMIZE): Likewise.
572         (IFUNC_SELECTOR): Likewise.
574 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
576         * sysdeps/x86_64/strlen.S (PMINU): New.
577         (PCMPEQ): Likewise.
578         (SHIFT_RETURN): Likewise.
579         (FIND_ZERO): Replace pcmpeqb with PCMPEQ.
580         (strlen): Add SHIFT_RETURN before ret.  Replace pcmpeqb and
581         pminub with PCMPEQ and PMINU.
582         * sysdeps/x86_64/wcsnlen.S: New file.
584 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
586         * sysdeps/x86_64/memrchr.S (__memrchr): Use 32-bit registers for
587         the lower 32 bits.  Remove redundant instructions.
589 2017-06-05  H.J. Lu  <hongjiu.lu@intel.com>
591         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): Pass
592         0 as the high part of offset.
593         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h (LO_HI_LONG): New.
595 2017-06-05  Joseph Myers  <joseph@codesourcery.com>
597         [BZ #21538]
598         * bits/signum.h (SIG_HOLD): Define if [__USE_XOPEN], not
599         [__USE_UNIX98].
600         * sysdeps/unix/bsd/bits/signum.h (SIG_HOLD): Likewise.
601         * sysdeps/unix/sysv/linux/alpha/bits/signum.h (SIG_HOLD):
602         Likewise.
603         * sysdeps/unix/sysv/linux/bits/signum.h (SIG_HOLD): Likewise.
604         * sysdeps/unix/sysv/linux/hppa/bits/signum.h (SIG_HOLD): Likewise.
605         * sysdeps/unix/sysv/linux/mips/bits/signum.h (SIG_HOLD): Likewise.
606         * sysdeps/unix/sysv/linux/sparc/bits/signum.h (SIG_HOLD):
607         Likewise.
609         [BZ #21517]
610         * bits/types/stack_t.h (stack_t): Remove struct tag.
611         * sysdeps/unix/sysv/linux/bits/types/stack_t.h (stack_t):
612         Likewise.
613         * sysdeps/unix/sysv/linux/mips/bits/types/stack_t.h (stack_t):
614         Likewise.
615         * debug/segfault.c (install_handler): Use stack_t instead of
616         struct sigaltstack.
617         * hurd/hurd/signal.h (struct hurd_sigstate): Likewise.
618         * hurd/trampoline.c (_hurd_setup_sighandler): Likewise.
619         * include/signal.h (__sigaltstack): Likwise.
620         * signal/sigaltstack.c (__sigaltstack): Likewise.
621         * signal/signal.h (sigaltstack): Likewise.
622         * sysdeps/mach/hurd/i386/signal-defines.sym
623         (SIGALTSTACK__SS_SP__OFFSET): Likewise.
624         (SIGALTSTACK__SS_SIZE__OFFSET): Likewise.
625         (SIGALTSTACK__SS_FLAGS__OFFSET): Likewise.
626         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
627         * sysdeps/mach/hurd/sigstack.c (sigstack): Likewise.
628         * sysdeps/unix/sysv/linux/alpha/sys/procfs.h (struct
629         elf_prstatus): Likewise.
630         * sysdeps/unix/sysv/linux/hppa/____longjmp_chk.c (CHECK_SP):
631         Likewise.
632         * sysdeps/unix/sysv/linux/ia64/sys/procfs.h (struct elf_prstatus):
633         Likewise.
634         * sysdeps/unix/sysv/linux/m68k/____longjmp_chk.c (CHECK_SP):
635         Likewise.
636         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (struct
637         elf_prstatus): Likewise.
638         * sysdeps/unix/sysv/linux/sh/sys/procfs.h (struct elf_prstatus):
639         Likewise.
640         * sysdeps/unix/sysv/linux/sys/procfs.h (struct elf_prstatus):
641         Likewise.
643 2017-06-04  Zack Weinberg  <zackw@panix.com>
645         * sysdeps/gnu/errlist.c: Regenerate.
647 2017-06-04  H.J. Lu  <hongjiu.lu@intel.com>
649         * benchtests/bench-memchr.c (do_test): Print out both length
650         and position.
651         (test_main): Also test the position close to the beginning for
652         memrchr.
654 2017-06-04  Zack Weinberg  <zackw@panix.com>
656         * nis/nis_add.c, nis/nis_addmember.c, nis/nis_call.c
657         * nis/nis_checkpoint.c, nis/nis_clone_dir.c, nis/nis_clone_obj.c
658         * nis/nis_clone_res.c, nis/nis_creategroup.c, nis/nis_defaults.c
659         * nis/nis_destroygroup.c, nis/nis_domain_of.c
660         * nis/nis_domain_of_r.c, nis/nis_error.c, nis/nis_file.c
661         * nis/nis_free.c, nis/nis_getservlist.c, nis/nis_ismember.c
662         * nis/nis_local_names.c, nis/nis_lookup.c, nis/nis_mkdir.c
663         * nis/nis_modify.c, nis/nis_ping.c, nis/nis_print.c
664         * nis/nis_print_group_entry.c, nis/nis_remove.c
665         * nis/nis_removemember.c, nis/nis_rmdir.c, nis/nis_server.c
666         * nis/nis_subr.c, nis/nis_table.c, nis/nis_util.c
667         * nis/nis_verifygroup.c, nis/nis_xdr.c, nis/yp_xdr.c
668         * nis/ypclnt.c, nis/ypupdate_xdr.c, sunrpc/auth_des.c
669         * sunrpc/auth_none.c, sunrpc/auth_unix.c, sunrpc/authdes_prot.c
670         * sunrpc/authuxprot.c, sunrpc/clnt_gen.c, sunrpc/clnt_perr.c
671         * sunrpc/clnt_raw.c, sunrpc/clnt_simp.c, sunrpc/clnt_tcp.c
672         * sunrpc/clnt_udp.c, sunrpc/clnt_unix.c, sunrpc/des_crypt.c
673         * sunrpc/des_soft.c, sunrpc/get_myaddr.c, sunrpc/key_call.c
674         * sunrpc/key_prot.c, sunrpc/netname.c, sunrpc/pm_getmaps.c
675         * sunrpc/pm_getport.c, sunrpc/pmap_clnt.c, sunrpc/pmap_prot.c
676         * sunrpc/pmap_prot2.c, sunrpc/pmap_rmt.c, sunrpc/publickey.c
677         * sunrpc/rpc_cmsg.c, sunrpc/rpc_dtable.c, sunrpc/rpc_prot.c
678         * sunrpc/rpc_thread.c, sunrpc/rtime.c, sunrpc/svc.c
679         * sunrpc/svc_auth.c, sunrpc/svc_raw.c, sunrpc/svc_run.c
680         * sunrpc/svc_tcp.c, sunrpc/svc_udp.c, sunrpc/svc_unix.c
681         * sunrpc/svcauth_des.c, sunrpc/xdr.c, sunrpc/xdr_array.c
682         * sunrpc/xdr_float.c, sunrpc/xdr_intXX_t.c, sunrpc/xdr_mem.c
683         * sunrpc/xdr_rec.c, sunrpc/xdr_ref.c, sunrpc/xdr_sizeof.c
684         * sunrpc/xdr_stdio.c: Include shlib-compat.h.
686         * sunrpc/des_crypt.c, sunrpc/des_soft.c: No need to include
687         abi-versions.h as well as shlib-compat.h.
688         * sunrpc/get_myaddr.c: Remove obsolete comment.
689         * sunrpc/pmap_rmt.c: Remove obsolete comment and #undef.
690         * sunrpc/rpc_thread.c: Include libc-lock.h only once.
691         * resolv/res_libc.c: Include shlib-compat.h only once.
693 2017-06-03  Florian Weimer  <fweimer@redhat.com>
695         * sysdeps/posix/getaddrinfo.c (gaih_inet): Call __strdup instead
696         of strdup.
698 2017-06-02  H.J. Lu  <hongjiu.lu@intel.com>
700         * sysdeps/x86/cacheinfo.c (__x86_shared_non_temporal_threshold):
701         Set to the 3/4 of the total shared cache size.
703 2017-06-02  Rical Jasan  <ricaljasan@pacific.net>
705         * manual/errno.texi: Remove redundant error strings.
706         * manual/macros.texi (@errno): Render the error string in every
707         description.
709 2017-06-02  Joseph Myers  <joseph@codesourcery.com>
711         [BZ #21543]
712         * signal/signal.h: Only include <bits/types/sigevent_t.h> and
713         <bits/sigevent-consts.h> if [__USE_POSIX199309], not if
714         [__USE_XOPEN_EXTENDED].
716 2017-06-02  Florian Weimer  <fweimer@redhat.com>
718         * sysdeps/posix/getaddrinfo.c (gethosts): Eliminate another
719         strdupa.
720         (getcanonname): Use __strdup instead of strdup.
722 2017-06-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
724         * misc/Makefile (CFLAGS-preadv2.c): New rule.
725         (CFLAGS-preadv64v2.c): Likewise.
726         (CFLAGS-pwritev2.c): Likewise.
727         (CFLAGS-pwritev64v2.c): Likewise.
729 2017-06-02  Florian Weimer  <fweimer@redhat.com>
731         Test res_init with several configuration files.
732         * resolv/Makefile [build-shared] (tests-internal): Add
733         tst-resolv-res_init, tst-resolv-res_init-thread.
734         (tst-resolv-res_init): Link against libdl, libresolv.
735         (tst-resolv-res_init-thread): Link against libdl, libresolv,
736         libpthread.
737         * resolv/tst-resolv-res_init.c: New file.
738         * resolv/tst-resolv-res_init-skeleton.c: Likewise.
739         * resolv/tst-resolv-res_init-thread.c: Likewise.
740         * support/Makefile (libsupport-routines): Add support-xstat,
741         support_can_chroot, support_capture_subprocess_check,
742         support_isolate_in_subprocess, support_shared_allocate,
743         support_write_file_string, xchroot, xmkdir, xopen.
744         * support/capture_subprocess.h (enum support_capture_allow): Define.
745         (support_capture_subprocess_check): Declare.
746         * support/namespace.h (support_can_chroot)
747         (support_isolate_in_subprocess): Declare.
748         * support/support-xstat.c: New file.
749         * support/support.h (support_shared_allocate, support_shared_free)
750         (support_write_file_string): Declare.
751         * support/support_can_chroot.c: New file.
752         * support/support_capture_subprocess_check.c: Likewise.
753         * support/support_isolate_in_subprocess.c: Likewise.
754         * support/support_shared_allocate.c: Likewise.
755         * support/support_write_file_string.c: Likewise.
756         * support/xchroot.c: Likwise.
757         * support/xmkdir.c: Likwise.
758         * support/xopen.c: Likwise.
759         * support/xunistd.h (xopen, xstat, xmkdir, xchroot): Declare.
761 2017-06-02  Florian Weimer  <fweimer@redhat.com>
763         * sysdeps/posix/getaddrinfo.c (getcanonname): New function.
764         (gaih_inet): Remove malloc_canonbuf variable.  Call getcanonname.
766 2017-06-02  Florian Weimer  <fweimer@redhat.com>
768         * malloc/Makefile (routines): Add dynarray_at_failure,
769         dynarray_emplace_enlarge, dynarray_finalize.
770         (tests-internal): Add tst-dynarray, tst-dynarray-fail,
771         tst-dynarray-at-fail.
772         (tests-srcs): Add tst-dynarray, tst-dynarray-fail.
773         (tests-special): Add tst-dynarray-mem.out,
774         tst-dynarray-mem-fail.out.
775         (tst-dynarray-ENV, tst-dynarray-fail-ENV): Set.
776         (tst-dynarray-mem.out, tst-dynarray-fail-mem.out): Generate using
777         mtrace.
778         * malloc/Versions (__libc_dynarray_at_failure)
779         (__libc_dynarray_emplace_enlarge, __libc_dynarray_finalize)
780         (__libc_dynarray_resize, __libc_dynarray_resize_clear): Export as
781         GLIBC_PRIVATE.
782         * malloc/dynarray.h: New file.
783         * malloc/dynarray-skeleton.c: Likewise.
784         * malloc/dynarray_at_failure.c: Likewise.
785         * malloc/dynarray_emplace_enlarge.c: Likewise.
786         * malloc/dynarray_finalize.c: Likewise.
787         * malloc/dynarray_resize.c: Likewise.
788         * malloc/dynarray_resize_clear.c: Likewise.
789         * malloc/tst-dynarray.c: Likewise.
790         * malloc/tst-dynarray-fail.c: Likewise.
791         * malloc/tst-dynarray-at-fail.c: Likewise.
792         * malloc/tst-dynarray-shared.h: Likewise.
793         * support/Makefile (libsupport-routines): Add
794         support_capture_subprocess, xdup2, xpipe.
795         (tests): Add tst-support_capture_subprocess.
796         * support/capture_subprocess.h: New file.
797         * support/support_capture_subprocess.c: Likewise.
798         * support/tst-support_capture_subprocess.c: Likewise.
799         * support/xdup2.c: Likewise.
800         * support/xpipe.c: Likewise.
801         * support/xunistd.h (xdup2, xpipe): Declare.
803 2017-06-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
805         * stdlib/gmp-impl.h: Include sys/param.h instead of redefining the
806         macros MAX and MIN.
808 2017-06-01  Joseph Myers  <joseph@codesourcery.com>
810         * conform/data/signal.h-data (sa_sigaction): Do not expect for
811         [XPG4].
812         (SA_SIGINFO): Likewise.
813         (SA_ONSTACK): Likewise.
814         (SA_RESETHAND): Likewise.
815         (SA_RESTART): Likewise.
816         (SA_NOCLDWAIT): Likewise.
817         (SA_NODEFER): Likewise.
818         (SS_ONSTACK): Likewise.
819         (SS_DISABLE): Likewise.
820         (MINSIGSTKSZ): Likewise.
821         (SIGSTKSZ): Likewise.
822         (ucontext_t): Likewise.
823         (stack_t): Likewise.
824         (struct sigstack): Likewise.
825         (SI_USER): Do not expect for [XPG4 || XPG42].
826         (SI_QUEUE): Likewise.
827         (SI_TIMER): Likewise.
828         (SI_ASYNCIO): Likewise.
829         (SI_MESGQ): Likewise.
830         (bsd_signal): Do not expect for [XPG4].
831         (killpg): Likewise.
832         (sigaltstack): Likewise.
833         (sighold): Likewise.
834         (sigignore): Likewise.
835         (siginterrupt): Likewise.
836         (sigpause): Likewise.
837         (sigrelse): Likewise.
838         (sigset): Likewise.
839         (sigwait): Do not expect for [XPG4 || XPG42].
841 2017-06-01  Zack Weinberg  <zackw@panix.com>
843         [BZ #21514]
844         * sysdeps/unix/sysv/linux/include/bits/syscall.h: New shim header
845         pointing to the generated file in <builddir>/misc/bits/syscall.h.
847 2017-06-01  Joseph Myers  <joseph@codesourcery.com>
849         [BZ #21457]
850         * sysdeps/arm/sys/ucontext.h (NGREG): Rename to __NGREG and define
851         NGREG to __NGREG if [__USE_MISC].
852         (gregset_t): Define using __NGREG.
853         (__ctx): New macro.
854         (mcontext_t): Use __ctx in defining fields.
855         * sysdeps/i386/sys/ucontext.h (NGREG): Rename to __NGREG and
856         define NGREG to __NGREG if [__USE_MISC].
857         (gregset_t): Define using __NGREG.
858         (__ctx): New macro.
859         (__ctxt): Likewise.
860         (fpregset_t): Use __ctx and __ctxt in defining fields.
861         (mcontext_t): Likewise.
862         * sysdeps/m68k/sys/ucontext.h (NGREG): Rename to __NGREG and
863         define NGREG to __NGREG if [__USE_MISC].
864         (gregset_t): Define using __NGREG.
865         (__ctx): New macro.
866         (mcontext_t): Use __ctx in defining fields.
867         * sysdeps/mips/sys/ucontext.h (NGREG): Rename to __NGREG and
868         define NGREG to __NGREG if [__USE_MISC].
869         (gregset_t): Define using __NGREG.
870         (__ctx): New macro.
871         (fpregset_t): Use __ctx in defining fields.
872         (mcontext_t): Likewise.
873         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h (NGREG): Rename to
874         __NGREG and define NGREG to __NGREG if [__USE_MISC].
875         (gregset_t): Define using __NGREG.
876         (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
877         [__USE_MISC].
878         (fpregset_t): Define using __NFPREG.
879         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (NGREG): Rename to
880         __NGREG and define NGREG to __NGREG if [__USE_MISC].
881         (gregset_t): Define using __NGREG.
882         (__ctx): New macro.
883         (fpregset_t): Use __ctx in defining fields.
884         (mcontext_t): Likewise.
885         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h (NGREG): Rename to
886         __NGREG and define NGREG to __NGREG if [__USE_MISC].
887         (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
888         [__USE_MISC].
889         (gregset_t): Define using __NGREG.
890         (__ctx): New macro.
891         (fpregset_t): Use __ctx in defining fields.
892         (mcontext_t): Likewise.
893         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (__ctx): New macro.
894         (mcontext_t): Use __ctx in defining fields.
895         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h (__ctx): New
896         macro.
897         [__WORDSIZE == 32] (NGREG): Rename to __NGREG and define NGREG to
898         __NGREG if [__USE_MISC].
899         [__WORDSIZE == 32] (gregset_t): Define using __NGREG.
900         [__WORDSIZE == 32] (fpregset_t): Use __ctx in defining fields.
901         (mcontext_t): Likewise.
902         [__WORDSIZE != 32] (NGREG): Rename to __NGREG and define NGREG to
903         __NGREG if [__USE_MISC].
904         [__WORDSIZE != 32] (NFPREG): Rename to __NFPREG and define NFPREG
905         to __NFPREG if [__USE_MISC].
906         [__WORDSIZE != 32] (NVRREG): Rename to __NVRREG and define NVRREG
907         to __NVRREG if [__USE_MISC].
908         [__WORDSIZE != 32] (gregset_t): Define using __NGREG.
909         [__WORDSIZE != 32] (fpregset_t): Define using __NFPREG.
910         [__WORDSIZE != 32] (vscr_t): Use __ctx in defining fields.
911         [__WORDSIZE != 32] (vrregset_t): Likewise.
912         [__WORDSIZE != 32] (mcontext_t): Likewise.
913         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__ctx): New macro.
914         (__psw_t): Use __ctx in defining fields.
915         (NGREG): Rename to __NGREG and define NGREG to __NGREG if
916         [__USE_MISC].
917         (gregset_t): Define using __NGREG.
918         (fpreg_t): Use __ctx in defining fields.
919         (fpregset_t): Likewise.
920         (mcontext_t): Likewise.
921         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGREG): Rename to
922         __NGREG and define NGREG to __NGREG if [__USE_MISC].
923         (gregset_t): Define using __NGREG.
924         (NFPREG): Rename to __NFPREG and define NFPREG to __NFPREG if
925         [__USE_MISC].
926         (fpregset_t): Define using __NFPREG.
927         (__ctx): New macro.
928         (mcontext_t): Use __ctx in defining fields.
929         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h (__ctx): New macro.
930         [__x86_64__] (NGREG): Rename to __NGREG and define NGREG to
931         __NGREG if [__USE_MISC].
932         [__x86_64__] (gregset_t): Define using __NGREG.
933         [__x86_64__] (struct _libc_fpxreg): Use __ctx in defining fields.
934         [__x86_64__] (struct _libc_fpstate): Likewise.
935         [__x86_64__] (mcontext_t): Likewise.
936         [!__x86_64__] (NGREG): Rename to __NGREG and define NGREG to
937         __NGREG if [__USE_MISC].
938         [!__x86_64__] (gregset_t): Define using __NGREG.
939         [!__x86_64__] (struct _libc_fpreg): Use __ctx in defining fields.
940         [!__x86_64__] (struct _libc_fpstate): Likewise.
941         [!__x86_64__] (mcontext_t): Likewise.
943 2017-06-01  Zack Weinberg  <zackw@panix.com>
945         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Don't include
946         alpha/pt-vfork.S.  Provide own compat shim for vfork and __vfork.
947         * sysdeps/unix/sysv/linux/microblaze/vfork.S: Add __libc_vfork alias.
948         * sysdeps/unix/sysv/linux/microblaze/localplt.data:
949         libpthread.so no longer references __errno_location.
951 2017-05-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
953         * NEWS: Add note about pwritev2 and preadv2 inclusion.
954         * misc/Makefile (routines): Add preadv2, preadv64v2, pwritev2, and
955         pwritev64v2.
956         (tests): Add tst-preadvwritev2 and tst-preadvwritev64v2.
957         * misc/Versions (GLIBC_2.26): Add preadv2, preadv64v2, pwritev2, and
958         pwritev64v2.
959         * misc/preadv2.c: New file.
960         * misc/preadv64v2.c: Likewise.
961         * misc/pwritev2.c: Likewise.
962         * misc/pwritev64v2.c: Likewise.
963         * misc/tst-preadvwritev2.c: Likewise.
964         * misc/tst-preadvwritev64v2.c: Likewise.
965         * manual/llio.texi: Add preadv2 and pwritev2 documentation.
966         * misc/sys/uio.h [__USE_GNU && !__USE_FILE_OFFSET64] (preadv2): New
967         prototype.
968         [__USE_GNU && !__USE_FILE_OFFSET64] (pwritev2): Likewise.
969         [__USE_GNU && __USE_FILE_OFFSET64] (preadv64v2): Likewise.
970         [__USE_GNU && __USE_FILE_OFFSET64] (pwritev64v2): Likewise.
971         * misc/tst-preadvwritev-common.c (PREADV): Define if not defined.
972         (PWRITEV): Likewise.
973         (do_test_with_offset): Use PREADV and PWRITEV macros and check for
974         ENOSYS.
975         * nptl/tst-cancel4.c (tf_pwritev2): New test.
976         (tf_preadv2): Likewise.
977         (tf_fsync): Add tf_pwritev2 and tf_preadv2.
978         * sysdeps/posix/preadv2.c: Likewise.
979         * sysdeps/posix/preadv64v2.c: Likewise.
980         * sysdeps/posix/pwritev2.c: Likewise.
981         * sysdeps/posix/pwritev64v2.c: Likewise.
982         * sysdeps/unix/sysv/linux/kernel-features.h: Add comment for syscall
983         support in kernel.
984         * sysdeps/unix/sysv/linux/preadv2.c: Likewise.
985         * sysdeps/unix/sysv/linux/preadv64v2.c: Likewise.
986         * sysdeps/unix/sysv/linux/pwritev2.c: Likewise.
987         * sysdeps/unix/sysv/linux/pwritev64v2.c: Likewise.
988         * sysdeps/unix/sysv/linux/preadv.c (preadv): Add libc_hidden_def.
989         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
990         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
991         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
992         * sysdeps/unix/sysv/linux/bits/uio.h: Add supported preadv2/pwritev2
993         support flags on Linux.
994         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.26): Add
995         preadv2, preadv64v2, pwritev2, pwritev64v2.
996         * sysdeps/unix/sysv/linux/alpha/libc.abilist (GLIBC_2.26): Likewise.
997         * sysdeps/unix/sysv/linux/arm/libc.abilist (GLIBC_2.26): Likewise.
998         * sysdeps/unix/sysv/linux/hppa/libc.abilist (GLIBC_2.26): Likewise.
999         * sysdeps/unix/sysv/linux/i386/libc.abilist (GLIBC_2.26): Likewise.
1000         * sysdeps/unix/sysv/linux/ia64/libc.abilist (GLIBC_2.26): Likewise.
1001         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist (GLIBC_2.26):
1002         Likewise.
1003         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist (GLIBC_2.26):
1004         Likewise.
1005         * sysdeps/unix/sysv/linux/microblaze/libc.abilist (GLIBC_2.26):
1006         Likewise.
1007         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist (GLIBC_2.26):
1008         Likewise.
1009         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist (GLIBC_2.26):
1010         Likewise.
1011         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist (GLIBC_2.26):
1012         Likewise.
1013         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist (GLIBC_2.26):
1014         Likewise.
1015         * sysdeps/unix/sysv/linux/nios2/libc.abilist (GLIBC_2.26): Likewise.
1016         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
1017         (GLIBC_2.26): Likewise.
1018         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
1019         (GLIBC_2.26): Likewise.
1020         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist (GLIBC_2.26):
1021         Likewise.
1022         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
1023         (GLIBC_2.26): Likewise.
1024         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist (GLIBC_2.26):
1025         Likewise.
1026         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist (GLIBC_2.26):
1027         Likewise.
1028         * sysdeps/unix/sysv/linux/sh/libc.abilist (GLIBC_2.26): Likewise.
1029         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist (GLIBC_2.26):
1030         Likewise.
1031         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist (GLIBC_2.26):
1032         Likewise.
1033         * sysdeps/sysv/linux/tile/tilegx/tilegx32/libc.abilist (GLIBC_2.26):
1034         Likewise.
1035         * sysdeps/sysv/linux/tile/tilegx/tilegx64/libc.abilist (GLIBC_2.26):
1036         Likewise.
1037         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist (GLIBC_2.26):
1038         Likewise.
1039         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist (GLIBC_2.26):
1040         Likewise.
1041         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist (GLIBC_2.26):
1042         Likewise.
1044 2017-05-31  Andreas Schwab  <schwab@suse.de>
1046         * nptl/tst-fork3.c: Include <support/test-driver.c>.
1047         (main): Rename to do_test and make static.
1049 2017-05-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1051         * csu/libc-start.c [!ARCH_INIT_CPU_FEATURES]: Define
1052         ARCH_INIT_CPU_FEATURES.
1053         (LIBC_START_MAIN): Call it.
1054         * sysdeps/unix/sysv/linux/aarch64/libc-start.c
1055         (__libc_start_main): Remove.
1056         (ARCH_INIT_CPU_FEATURES): New macro.
1057         * sysdeps/x86/libc-start.c (__libc_start_main): Remove.
1058         (ARCH_INIT_CPU_FEATURES): New macro.
1060 2017-05-30  Dennis Wölfing  <denniswoelfing@gmx.de>
1061             Rüdiger Sonderfeld  <ruediger@c-plusplus.de>
1063         * include/stdlib.h (__libc_reallocarray): New declaration.
1064         * malloc/Makefile (routines): Add reallocarray.
1065         (tests): Add tst-reallocarray.c.
1066         * malloc/Versions: Add reallocarray and __libc_reallocarray.
1067         * malloc/malloc-internal.h (check_mul_overflow_size_t): New inline
1068         function.
1069         * malloc/malloc.h (reallocarray): New declaration.
1070         * stdlib/stdlib.h (reallocarray): Likewise.
1071         * malloc/reallocarray.c: New file.
1072         * malloc/tst-reallocarray.c: New test file.
1073         * manual/memory.texi: Document reallocarray.
1074         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add reallocarray.
1075         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
1076         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
1077         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
1078         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
1079         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
1080         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
1081         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
1082         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
1083         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
1084         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
1085         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
1086         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
1087         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
1088         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
1089         Likewise.
1090         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
1091         Likewise.
1092         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
1093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
1094         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
1095         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
1096         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
1097         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
1098         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
1099         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
1100         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
1101         * sysdeps/unix/sysv/linux/tilepro/libc.abilist: Likewise.
1102         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
1103         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
1105 2017-05-30  H.J. Lu  <hongjiu.lu@intel.com>
1107         * sysdeps/x86_64/memchr.S (memchr): Use 32-bit registers for
1108         the lower 32 bits.
1110 2017-05-29  Andreas Schwab  <schwab@linux-m68k.org>
1112         * sysdeps/m68k/Makefile (ASFLAGS-.o) [$(subdir) = csu &&
1113         $(build-pie-default) = yes]: Define.
1115 2017-05-25  H.J. Lu  <hongjiu.lu@intel.com>
1117         * string/test-memchr.c (test_main): Add tests for n == 0.
1119 2017-05-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1121         * nptl/Makefile (tests): Move nptl/tst-mutex8, nptl/tst-mutex8-static,
1122         nptl/tst-mutexpi8 and nptl/tst-mutexpi8-static to...
1123         (tests-internal): ... here.
1125 2017-05-25   Siddhesh Poyarekar  <siddhesh@sourceware.org>
1126              H.J. Lu  <hongjiu.lu@intel.com>
1128         * elf/dl-tunables.c (__tunable_set_val): Make a hidden alias.
1129         * elf/dl-tunables.h (__tunables_init): Mark it hidden in rtld.
1130         (__tunable_set_val): Likewise.
1132 2017-05-25  H.J. Lu  <hongjiu.lu@intel.com>
1134         * Makeconfig ($(common-objpfx)dl-tunable-list.h): Also check
1135         dl-tunables.list in subdirectories.
1137 2017-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1138             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1139             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1141         * math/math.h [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)]
1142         (SNANF128): New macro.
1143         * math/e_sqrtf128.c: New file.
1144         * math/s_fmaxmag_template.c: Include math_private.h in order to
1145         make inline expansion of fabs128().
1146         * math/s_fminmag_template.c: Likewise.
1148         * sysdeps/ieee754/float128/e_acosf128.c: New file.
1149         * sysdeps/ieee754/float128/e_acoshf128.c: New file.
1150         * sysdeps/ieee754/float128/e_asinf128.c: New file.
1151         * sysdeps/ieee754/float128/e_atan2f128.c: New file.
1152         * sysdeps/ieee754/float128/e_atanhf128.c: New file.
1153         * sysdeps/ieee754/float128/e_coshf128.c: New file.
1154         * sysdeps/ieee754/float128/e_exp10f128.c: New file.
1155         * sysdeps/ieee754/float128/e_expf128.c: New file.
1156         * sysdeps/ieee754/float128/e_fmodf128.c: New file.
1157         * sysdeps/ieee754/float128/e_gammaf128_r.c: New file.
1158         * sysdeps/ieee754/float128/e_hypotf128.c: New file.
1159         * sysdeps/ieee754/float128/e_ilogbf128.c: New file.
1160         * sysdeps/ieee754/float128/e_j0f128.c: New file.
1161         * sysdeps/ieee754/float128/e_j1f128.c: New file.
1162         * sysdeps/ieee754/float128/e_jnf128.c: New file.
1163         * sysdeps/ieee754/float128/e_lgammaf128_r.c: New file.
1164         * sysdeps/ieee754/float128/e_log10f128.c: New file.
1165         * sysdeps/ieee754/float128/e_log2f128.c: New file.
1166         * sysdeps/ieee754/float128/e_logf128.c: New file.
1167         * sysdeps/ieee754/float128/e_powf128.c: New file.
1168         * sysdeps/ieee754/float128/e_rem_pio2f128.c: New file.
1169         * sysdeps/ieee754/float128/e_remainderf128.c: New file.
1170         * sysdeps/ieee754/float128/e_scalbf128.c: New file.
1171         * sysdeps/ieee754/float128/e_sinhf128.c: New file.
1172         * sysdeps/ieee754/float128/float128_private.h: New file.
1173         * sysdeps/ieee754/float128/gamma_productf128.c: New file.
1174         * sysdeps/ieee754/float128/ieee754_float128.h: New file.
1175         * sysdeps/ieee754/float128/k_cosf128.c: New file.
1176         * sysdeps/ieee754/float128/k_sincosf128.c: New file.
1177         * sysdeps/ieee754/float128/k_sinf128.c: New file.
1178         * sysdeps/ieee754/float128/k_tanf128.c: New file.
1179         * sysdeps/ieee754/float128/lgamma_negf128.c: New file.
1180         * sysdeps/ieee754/float128/lgamma_productf128.c: New file.
1181         * sysdeps/ieee754/float128/s_asinhf128.c: New file.
1182         * sysdeps/ieee754/float128/s_atanf128.c: New file.
1183         * sysdeps/ieee754/float128/s_cbrtf128.c: New file.
1184         * sysdeps/ieee754/float128/s_ceilf128.c: New file.
1185         * sysdeps/ieee754/float128/s_copysignf128.c: New file.
1186         * sysdeps/ieee754/float128/s_cosf128.c: New file.
1187         * sysdeps/ieee754/float128/s_erff128.c: New file.
1188         * sysdeps/ieee754/float128/s_expm1f128.c: New file.
1189         * sysdeps/ieee754/float128/s_fabsf128.c: New file.
1190         * sysdeps/ieee754/float128/s_finitef128.c: New file.
1191         * sysdeps/ieee754/float128/s_floorf128.c: New file.
1192         * sysdeps/ieee754/float128/s_fmaf128.c: New file.
1193         * sysdeps/ieee754/float128/s_fpclassifyf128.c: New file.
1194         * sysdeps/ieee754/float128/s_frexpf128.c: New file.
1195         * sysdeps/ieee754/float128/s_fromfpf128.c: New file.
1196         * sysdeps/ieee754/float128/s_fromfpxf128.c: New file.
1197         * sysdeps/ieee754/float128/s_getpayloadf128.c: New file.
1198         * sysdeps/ieee754/float128/s_isinff128.c: New file.
1199         * sysdeps/ieee754/float128/s_isnanf128.c: New file.
1200         * sysdeps/ieee754/float128/s_issignalingf128.c: New file.
1201         * sysdeps/ieee754/float128/s_llrintf128.c: New file.
1202         * sysdeps/ieee754/float128/s_llroundf128.c: New file.
1203         * sysdeps/ieee754/float128/s_log1pf128.c: New file.
1204         * sysdeps/ieee754/float128/s_logbf128.c: New file.
1205         * sysdeps/ieee754/float128/s_lrintf128.c: New file.
1206         * sysdeps/ieee754/float128/s_lroundf128.c: New file.
1207         * sysdeps/ieee754/float128/s_modff128.c: New file.
1208         * sysdeps/ieee754/float128/s_nearbyintf128.c: New file.
1209         * sysdeps/ieee754/float128/s_nextafterf128.c: New file.
1210         * sysdeps/ieee754/float128/s_nexttowardf128.c: New file.
1211         * sysdeps/ieee754/float128/s_nextupf128.c: New file.
1212         * sysdeps/ieee754/float128/s_remquof128.c: New file.
1213         * sysdeps/ieee754/float128/s_rintf128.c: New file.
1214         * sysdeps/ieee754/float128/s_roundevenf128.c: New file.
1215         * sysdeps/ieee754/float128/s_roundf128.c: New file.
1216         * sysdeps/ieee754/float128/s_scalblnf128.c: New file.
1217         * sysdeps/ieee754/float128/s_scalbnf128.c: New file.
1218         * sysdeps/ieee754/float128/s_setpayloadf128.c: New file.
1219         * sysdeps/ieee754/float128/s_setpayloadsigf128.c: New file.
1220         * sysdeps/ieee754/float128/s_signbitf128.c: New file.
1221         * sysdeps/ieee754/float128/s_significandf128.c: New file.
1222         * sysdeps/ieee754/float128/s_sincosf128.c: New file.
1223         * sysdeps/ieee754/float128/s_sinf128.c: New file.
1224         * sysdeps/ieee754/float128/s_tanf128.c: New file.
1225         * sysdeps/ieee754/float128/s_tanhf128.c: New file.
1226         * sysdeps/ieee754/float128/s_totalorderf128.c: New file.
1227         * sysdeps/ieee754/float128/s_totalordermagf128.c: New file.
1228         * sysdeps/ieee754/float128/s_truncf128.c: New file.
1229         * sysdeps/ieee754/float128/s_ufromfpf128.c: New file.
1230         * sysdeps/ieee754/float128/s_ufromfpxf128.c: New file.
1231         * sysdeps/ieee754/float128/t_sincosf128.c: New file.
1232         * sysdeps/ieee754/float128/x2y2m1f128.c: New file.
1234         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h:
1235         (__iscanonicalf128): Define as a macro.
1237 2017-05-24  Steve Ellcey  <sellcey@caviumnetworks.com>
1239         * sysdeps/aarch64/memcpy.S (MEMMOVE, MEMCPY): New macros.
1240         (memmove): Use MEMMOVE for name.
1241         (memcpy): Use MEMCPY for name.  Change internal labels
1242         to external labels.
1243         * sysdeps/aarch64/multiarch/Makefile: New file.
1244         * sysdeps/aarch64/multiarch/ifunc-impl-list.c: Likewise.
1245         * sysdeps/aarch64/multiarch/init-arch.h: Likewise.
1246         * sysdeps/aarch64/multiarch/memcpy.c: Likewise.
1247         * sysdeps/aarch64/multiarch/memcpy_generic.S: Likewise.
1248         * sysdeps/aarch64/multiarch/memcpy_thunderx.S: Likewise.
1249         * sysdeps/aarch64/multiarch/memmove.c: Likewise.
1251 2017-05-24  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1253         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
1254         (_dl_arm_cap_flags): Fix array subscript.
1255         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
1256         Fix count.
1258 2017-05-24  H.J. Lu  <hongjiu.lu@intel.com>
1260         * sysdeps/x86/cacheinfo.c: Skip if not in libc.
1262 2017-05-24  H.J. Lu  <hongjiu.lu@intel.com>
1264         * sysdeps/x86/cacheinfo.c (is_intel): Removed.
1265         (is_amd): Likewise.
1266         (max_cpuid): Likewise.
1267         (__cache_sysconf): Use __get_cpu_features to get cpu_features.
1268         (init_cacheinfo): Likewise.
1270 2017-05-23  Joseph Myers  <joseph@codesourcery.com>
1272         [BZ #21511]
1273         * signal/signal.h: Include <bits/types/struct_sigstack.h> only if
1274         [(__USE_XOPEN_EXTENDED && !__USE_XOPEN2K8) || __USE_MISC].
1275         (sigstack): Declare only if [(__USE_XOPEN_EXTENDED &&
1276         !__USE_XOPEN2K) || __USE_MISC].
1277         * conform/data/signal.h-data (struct sigstack): Expect type only
1278         if [!XOPEN2K8 && !POSIX2008].
1279         (sigstack): Expect function only if [XPG42 || UNIX98].
1281         [BZ #21457]
1282         * sysdeps/arm/sys/ucontext.h: Do not include <signal.h>,
1283         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1284         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
1285         <bits/types/__sigset_t.h>.
1286         (ucontext_t): Use sigset_t instead of __sigset_t.
1287         * sysdeps/generic/sys/ucontext.h: Do not include <signal.h>,
1288         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1289         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
1290         <bits/types/__sigset_t.h>.
1291         (ucontext_t): Use sigset_t instead of __sigset_t.
1292         * sysdeps/i386/sys/ucontext.h: Do not include <signal.h>,
1293         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1294         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
1295         <bits/types/__sigset_t.h>.
1296         (ucontext_t): Use sigset_t instead of __sigset_t.
1297         * sysdeps/m68k/sys/ucontext.h: Do not include <signal.h>,
1298         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1299         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
1300         <bits/types/__sigset_t.h>.
1301         (ucontext_t): Use sigset_t instead of __sigset_t.
1302         * sysdeps/mips/sys/ucontext.h: Do not include <signal.h>,
1303         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1304         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
1305         <bits/types/__sigset_t.h>.
1306         (ucontext_t): Use sigset_t instead of __sigset_t.
1307         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Do not include
1308         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1309         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
1310         <bits/types/__sigset_t.h>.
1311         (ucontext_t): Use sigset_t instead of __sigset_t.
1312         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Do not include
1313         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1314         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
1315         <bits/types/__sigset_t.h>.
1316         (ucontext_t): Use sigset_t instead of __sigset_t.
1317         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Do not include
1318         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1319         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
1320         <bits/types/__sigset_t.h>.
1321         (ucontext_t): Use sigset_t instead of __sigset_t.
1322         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Do not include
1323         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1324         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
1325         <bits/types/__sigset_t.h>.
1326         (ucontext_t): Use sigset_t instead of __sigset_t.
1327         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Do not include
1328         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1329         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h>.
1330         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Do not include
1331         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1332         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
1333         <bits/types/__sigset_t.h>.
1334         (ucontext_t): Use sigset_t instead of __sigset_t.
1335         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Do not include
1336         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1337         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
1338         <bits/types/__sigset_t.h>.
1339         (ucontext_t): Use sigset_t instead of __sigset_t.
1340         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Do not include
1341         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1342         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
1343         <bits/types/__sigset_t.h>.
1344         (ucontext_t): Use sigset_t instead of __sigset_t.
1345         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Do not include
1346         <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1347         <bits/ss_flags.h>.
1348         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Do not include
1349         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1350         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
1351         <bits/types/__sigset_t.h>.
1352         (ucontext_t): Use sigset_t instead of __sigset_t.
1353         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Do not include
1354         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1355         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
1356         <bits/types/__sigset_t.h>.
1357         (ucontext_t): Use sigset_t instead of __sigset_t.
1358         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Do not include
1359         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1360         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
1361         <bits/types/__sigset_t.h>.
1362         (ucontext_t): Use sigset_t instead of __sigset_t.
1363         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Do not include
1364         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1365         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
1366         <bits/types/__sigset_t.h>.
1367         (ucontext_t): Use sigset_t instead of __sigset_t.
1368         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: Include
1369         <bits/types.h>.
1370         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Do not include
1371         <signal.h>, <bits/sigstack.h>, <bits/types/struct_sigstack.h> or
1372         <bits/ss_flags.h>.  Include <bits/types/sigset_t.h> instead of
1373         <bits/types/__sigset_t.h>.
1374         (ucontext_t): Use sigset_t instead of __sigset_t.
1376 2017-05-22  Zack Weinberg  <zackw@panix.com>
1378         * sysdeps/unix/sysv/linux/bits/siginfo-consts.h
1379         (__SI_ASYNCIO_AFTER_SIGIO): Define default after including
1380         bits/siginfo-arch.h, only if not already defined.
1381         * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h
1382         (__SI_ALIGNMENT, __SI_BAND_TYPE, __SI_CLOCK_T)
1383         (__SI_ERRNO_THEN_CODE, __SI_HAVE_SIGSYS, __SI_SEGFAULT_ADDL):
1384         Likewise.
1386         * sysdeps/unix/sysv/linux/ia64/bits/siginfo-arch.h
1387         * sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h
1388         * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
1389         * sysdeps/unix/sysv/linux/tile/bits/siginfo-arch.h
1390         * sysdeps/unix/sysv/linux/x86/bits/siginfo-arch.h:
1391         Unconditionally define __SI_* macros.
1393 2017-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1395         [BZ #21393]
1396         * libio/freopen.c (freopen): Avoid dup already opened file descriptor
1397         and add a check for dup3 failure.
1398         * libio/freopen64.c (freopen64): Likewise.
1399         * libio/tst-freopen.c (do_test): Rename to do_test_basic and use
1400         libsupport.
1401         (do_test_bz21398): New test.
1402         * manual/stdio.texi (freopen): Add documentation of EBUSY failure.
1404 2017-05-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1406         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_matches_host):
1407         Remove invalid comment.
1409 2017-05-21  Zack Weinberg  <zackw@panix.com>
1411         * signal/Makefile (headers): Add bits/types/sigval_t.h.
1413 2017-05-20  Zack Weinberg  <zackw@panix.com>
1415         * bits/sigevent-consts.h
1416         * bits/siginfo-consts.h
1417         * bits/types/__sigset_t.h
1418         * bits/types/sigevent_t.h
1419         * bits/types/siginfo_t.h
1420         * sysdeps/unix/sysv/linux/bits/sigevent-consts.h
1421         * sysdeps/unix/sysv/linux/bits/siginfo-consts.h
1422         * sysdeps/unix/sysv/linux/bits/types/__sigset_t.h
1423         * sysdeps/unix/sysv/linux/bits/types/sigevent_t.h
1424         * sysdeps/unix/sysv/linux/bits/types/siginfo_t.h:
1425         New system-dependent bits headers.
1427         * sysdeps/unix/sysv/linux/bits/siginfo-arch.h
1428         * sysdeps/unix/sysv/linux/bits/siginfo-consts-arch.h
1429         * sysdeps/unix/sysv/linux/ia64/bits/siginfo-arch.h
1430         * sysdeps/unix/sysv/linux/ia64/bits/siginfo-consts-arch.h
1431         * sysdeps/unix/sysv/linux/mips/bits/siginfo-arch.h
1432         * sysdeps/unix/sysv/linux/sparc/bits/siginfo-arch.h
1433         * sysdeps/unix/sysv/linux/tile/bits/siginfo-arch.h
1434         * sysdeps/unix/sysv/linux/tile/bits/siginfo-consts-arch.h
1435         * sysdeps/unix/sysv/linux/x86/bits/siginfo-arch.h:
1436         New Linux-only system-dependent bits headers.
1438         * signal/bits/types/sig_atomic_t.h
1439         * signal/bits/types/sigset_t.h
1440         * signal/bits/types/sigval_t.h:
1441         New non-system-dependent bits headers.
1443         * sysdeps/generic/sigsetops.h
1444         * sysdeps/unix/sysv/linux/sigsetops.h:
1445         New internal headers.
1447         * include/bits/types/sig_atomic_t.h
1448         * include/bits/types/sigset_t.h
1449         * include/bits/types/sigval_t.h:
1450         New wrappers.
1452         * signal/sigsetops.h
1453         * bits/siginfo.h
1454         * bits/sigset.h
1455         * sysdeps/unix/sysv/linux/bits/siginfo.h
1456         * sysdeps/unix/sysv/linux/bits/sigset.h
1457         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h
1458         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h
1459         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h
1460         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h
1461         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h
1462         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h:
1463         Deleted.
1465         * signal/Makefile, sysdeps/unix/sysv/linux/Makefile:
1466         Update lists of installed headers.
1468         * posix/bits/types.h: Define __sig_atomic_t here.
1469         * signal/signal.h: Use the new bits headers; no need to handle
1470         __need_sig_atomic_t nor __need_sigset_t.  Don't use __sigmask
1471         to define sigmask.
1472         * include/signal.h: No need to handle __need_sig_atomic_t
1473         nor __need_sigset_t.  Don't define __sigemptyset.
1475         * io/sys/poll.h, setjmp/setjmp.h
1476         * sysdeps/arm/sys/ucontext.h, sysdeps/generic/sys/ucontext.h
1477         * sysdeps/i386/sys/ucontext.h, sysdeps/m68k/sys/ucontext.h
1478         * sysdeps/mach/hurd/i386/bits/sigcontext.h
1479         * sysdeps/mips/sys/ucontext.h, sysdeps/powerpc/novmxsetjmp.h
1480         * sysdeps/pthread/bits/sigthread.h
1481         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
1482         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
1483         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
1484         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
1485         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
1486         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
1487         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
1488         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
1489         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
1490         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
1491         Use bits/types/__sigset_t.h.
1493         * misc/sys/select.h, posix/spawn.h
1494         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
1495         * sysdeps/unix/sysv/linux/sys/epoll.h
1496         * sysdeps/unix/sysv/linux/sys/signalfd.h:
1497         Use bits/types/sigset_t.h.
1499         * resolv/netdb.h, rt/mqueue.h: Use bits/types/sigevent_t.h.
1500         * rt/aio.h: Use bits/types/sigevent_t.h and bits/sigevent-consts.h.
1501         * socket/sys/socket.h: Don't include bits/sigset.h.
1503         * login/utmp_file.c, shadow/lckpwdf.c, signal/sigandset.c
1504         * signal/sigisempty.c, stdlib/abort.c, sysdeps/posix/profil.c
1505         * sysdeps/posix/sigignore.c, sysdeps/posix/sigintr.c
1506         * sysdeps/posix/signal.c, sysdeps/posix/sigset.c
1507         * sysdeps/posix/sprofil.c, sysdeps/posix/sysv_signal.c
1508         * sysdeps/unix/sysv/linux/nptl-signals.h:
1509         Include sigsetops.h.
1511         * signal/sigaddset.c, signal/sigandset.c, signal/sigdelset.c
1512         * signal/sigorset.c, stdlib/abort.c, sysdeps/posix/sigignore.c
1513         * sysdeps/posix/signal.c, sysdeps/posix/sigset.c:
1514         __sigaddset, __sigandset, __sigdelset, __sigemptyset, __sigorset
1515         now return no value.
1517         * signal/sigaddset.c, signal/sigdelset.c, signal/sigismem.c
1518         Include <errno.h>, <signal.h>, and <sigsetops.h> instead of
1519         "sigsetops.h".
1521         * signal/sigsetops.c: Explicitly define __sigismember,
1522         __sigaddset, and __sigdelset as compatibility symbols.
1524         * signal/Versions: Correct commentary on __sigpause,
1525         __sigaddset, __sigdelset, __sigismember.
1527         * inet/rcmd.c: Include sigsetops.h.  Convert old code using
1528         __sigblock/__sigsetmask to use __sigprocmask and friends.
1530         * resolv/resolv.h: Remove __need_res_state logic.
1531         Move definition of res_state and related constants to ...
1532         * resolv/bits/types/res_state.h: ...this new file.
1533         * resolv/Makefile: Install bits/types/res_state.h.
1534         * include/bits/types/res_state.h: New wrapper.
1535         * include/list.h: Remove __need_list_t logic.
1536         Move definition of list_t to ...
1537         * include/list_t.h: ...this new file.
1539         * nptl/descr.h: Include list_t.h and bits/types/res_state.h
1540         instead of list.h and resolv.h.
1542         * resolv/resolv.h: Remove __need_res_state logic.
1543         Move definition of res_state and related constants to ...
1544         * resolv/bits/types/res_state.h: ...this new file.
1545         * resolv/Makefile: Install bits/types/res_state.h.
1546         * include/bits/types/res_state.h: New wrapper.
1547         * include/list.h: Remove __need_list_t logic.
1548         Move definition of list_t to ...
1549         * include/list_t.h: ...this new file.
1551         * nptl/descr.h: Include list_t.h and bits/types/res_state.h
1552         instead of list.h and resolv.h.
1554 2017-05-20  H.J. Lu  <hongjiu.lu@intel.com>
1556         * sysdeps/x86_64/rawmemchr.S (L(return_null)): Removed.
1558 2017-05-20  Zack Weinberg  <zackw@panix.com>
1560         * sysdeps/arm/sysdep.h
1561         (ARM_SFI_MACROS, sfi_breg, sfi_pld, sfi_sp): Delete definitions.
1563         * sysdeps/arm/__longjmp.S, sysdeps/arm/add_n.S
1564         * sysdeps/arm/addmul_1.S, sysdeps/arm/arm-mcount.S
1565         * sysdeps/arm/armv6/rawmemchr.S, sysdeps/arm/armv6/strchr.S
1566         * sysdeps/arm/armv6/strcpy.S, sysdeps/arm/armv6/strlen.S
1567         * sysdeps/arm/armv6/strrchr.S, sysdeps/arm/armv6t2/memchr.S
1568         * sysdeps/arm/armv6t2/strlen.S
1569         * sysdeps/arm/armv7/multiarch/memcpy_impl.S
1570         * sysdeps/arm/armv7/strcmp.S, sysdeps/arm/dl-tlsdesc.S
1571         * sysdeps/arm/memcpy.S, sysdeps/arm/memmove.S
1572         * sysdeps/arm/memset.S, sysdeps/arm/setjmp.S
1573         * sysdeps/arm/strlen.S, sysdeps/arm/submul_1.S:
1574         Remove all uses of sfi_breg, sfi_pld, and sfi_sp.
1576 2017-05-20  Zack Weinberg  <zackw@panix.com>
1578         Remove the NaCl port.
1579         * sysdeps/arm/nacl: Remove directory and contents.
1580         * sysdeps/nacl: Remove directory and contents.
1581         * abi-tags: Remove .*-.*-nacl.* entry.
1583 2017-05-19  Rical Jasan  <ricaljasan@pacific.net>
1585         * manual/errno.texi: Convert @comment-based errno documentation to
1586         @errno.
1587         * manual/macros.texi (@errno): New macro.  Consolidate errors,
1588         their values, and messages, adding the error string to the Concept
1589         Index.  Provide a warning in the comment about external (to the
1590         manual) dependencies.
1591         * sysdeps/gnu/errlist.awk: Use @errno instead of @comments.
1592         * sysdeps/mach/hurd/errnos.awk: Likewise.
1594 2017-05-19  Joseph Myers  <joseph@codesourcery.com>
1596         * bits/ss_flags.h: New file.
1597         * bits/types/stack_t.h: Likewise.
1598         * include/bits/types/struct_sigstack.h: Likewise.
1599         * signal/bits/types/struct_sigstack.h: Likewise.
1600         * sysdeps/unix/sysv/linux/bits/ss_flags.h: Likewise.
1601         * sysdeps/unix/sysv/linux/bits/types/stack_t.h: Likewise.
1602         * sysdeps/unix/sysv/linux/mips/bits/types/stack_t.h: Likewise.
1603         * signal/Makefile (headers): Add bits/types/struct_sigstack.h,
1604         bits/types/stack_t.h and bits/ss_flags.h.
1605         * signal/signal.h [__USE_XOPEN_EXTENDED || __USE_XOPEN2K8]:
1606         Include <bits/types/struct_sigstack.h>, <bits/types/stack_t.h> and
1607         <bits/ss_flags.h>.
1608         * bits/sigstack.h (struct sigstack): Remove.
1609         (stack_t): Likewise.
1610         (SS_ONSTACK): Likewise.
1611         (SS_DISABLE): Likewise.
1612         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
1613         (struct sigstack): Likewise.
1614         (stack_t): Likewise.
1615         (SS_ONSTACK): Likewise.
1616         (SS_DISABLE): Likewise.
1617         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h (struct sigstack):
1618         Likewise.
1619         (stack_t): Likewise.
1620         (SS_ONSTACK): Likewise.
1621         (SS_DISABLE): Likewise.
1622         * sysdeps/unix/sysv/linux/bits/sigstack.h (struct sigstack):
1623         Likewise.
1624         (stack_t): Likewise.
1625         (SS_ONSTACK): Likewise.
1626         (SS_DISABLE): Likewise.
1627         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h: Likewise.
1628         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h (struct sigstack):
1629         Likewise.
1630         (stack_t): Likewise.
1631         (SS_ONSTACK): Likewise.
1632         (SS_DISABLE): Likewise.
1633         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
1634         (struct sigstack): Likewise.
1635         (stack_t): Likewise.
1636         (SS_ONSTACK): Likewise.
1637         (SS_DISABLE): Likewise.
1638         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h (struct sigstack):
1639         Likewise.
1640         (stack_t): Likewise.
1641         (SS_ONSTACK): Likewise.
1642         (SS_DISABLE): Likewise.
1643         * sysdeps/arm/sys/ucontext.h: Include
1644         <bits/types/struct_sigstack.h>, <bits/types/stack_t.h> and
1645         <bits/ss_flags.h>.
1646         * sysdeps/generic/sys/ucontext.h: Likewise.
1647         * sysdeps/i386/sys/ucontext.h: Likewise.
1648         * sysdeps/m68k/sys/ucontext.h: Likewise.
1649         * sysdeps/mips/sys/ucontext.h: Likewise.
1650         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Likewise.
1651         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h: Likewise.
1652         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h: Likewise.
1653         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h: Likewise.
1654         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h: Likewise.
1655         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h: Likewise.
1656         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h: Likewise.
1657         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h: Likewise.
1658         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: Likewise.
1659         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
1660         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Likewise.
1661         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Likewise.
1662         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h: Likewise.
1663         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Likewise.
1664         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: Likewise.
1666 2017-05-19  H.J. Lu  <hongjiu.lu@intel.com>
1668         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Use
1669         "edx + ecx - 16" to avoid possible addition overflow.
1670         * sysdeps/x86_64/memchr.S (memchr): Likewise.
1672 2017-05-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1674         * misc/Makefile (CFLAGS-vmsplice.c): Remove rule.
1675         (CFLAGS-splice.c): Likewise.
1676         (CFLAGS-open_by_handle_at.c): Likewise.
1677         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-vmsplice.c): New rule.
1678         (CFLAGS-splice.c): Likewise.
1679         (CFLAGS-open_by_handle_at.c): Likewise.
1681 2017-05-19  Joseph Myers  <joseph@codesourcery.com>
1683         * scripts/versions.awk: Generate ldbl-compat-choose.h.
1684         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Include
1685         <ldbl-compat-choose.h>.
1686         (maybe_long_double_symbol): New macro.
1687         [!declare_mgen_alias] (declare_mgen_alias): Use
1688         maybe_long_double_symbol.
1689         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Remove.
1690         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
1691         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
1692         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: Likewise.
1693         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
1694         * Makerules [$(build-shared) = yes && !avoid-generated]
1695         (before-compile): Add $(common-objpfx)ldbl-compat-choose.h.
1696         [$(build-shared) = yes && !avoid-generated]
1697         ($(common-objpfx)ldbl-compat-choose.h): New target.
1699         * scripts/versions.awk: Generate first-versions.h.
1700         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Include
1701         <first-versions.h>.
1702         (LDOUBLE_cabsl_libm_version): Remove macro.
1703         (LDOUBLE_cargl_libm_version): Likewise.
1704         (LDOUBLE_cimagl_libm_version): Likewise.
1705         (LDOUBLE_conjl_libm_version): Likewise.
1706         (LDOUBLE_creall_libm_version): Likewise.
1707         (LDOUBLE_cacosl_libm_version): Likewise.
1708         (LDOUBLE_cacoshl_libm_version): Likewise.
1709         (LDOUBLE_ccosl_libm_version): Likewise.
1710         (LDOUBLE_ccoshl_libm_version): Likewise.
1711         (LDOUBLE_casinl_libm_version): Likewise.
1712         (LDOUBLE_csinl_libm_version): Likewise.
1713         (LDOUBLE_casinhl_libm_version): Likewise.
1714         (LDOUBLE_csinhl_libm_version): Likewise.
1715         (LDOUBLE_catanl_libm_version): Likewise.
1716         (LDOUBLE_catanhl_libm_version): Likewise.
1717         (LDOUBLE_ctanl_libm_version): Likewise.
1718         (LDOUBLE_ctanhl_libm_version): Likewise.
1719         (LDOUBLE_cexpl_libm_version): Likewise.
1720         (LDOUBLE_clogl_libm_version): Likewise.
1721         (LDOUBLE_cprojl_libm_version): Likewise.
1722         (LDOUBLE_csqrtl_libm_version): Likewise.
1723         (LDOUBLE_cpowl_libm_version): Likewise.
1724         (LDOUBLE_clog10l_libm_version): Likewise.
1725         (LDOUBLE___clog10l_libm_version): Likewise.
1726         (LDOUBLE_fdiml_libm_version): Likewise.
1727         (LDOUBLE_fmaxl_libm_version): Likewise.
1728         (LDOUBLE_fminl_libm_version): Likewise.
1729         (LDOUBLE_ilogbl_libm_version): Likewise.
1730         (LDOUBLE_nanl_libm_version): Likewise.
1731         [!M_LIBM_NEED_COMPAT] (M_LIBM_NEED_COMPAT): Use
1732         FIRST_VERSION_libm_* macros.
1733         [!declare_mgen_libm_compat] (declare_mgen_libm_compat): Likewise.
1734         * Makerules [$(build-shared) = yes && !avoid-generated]
1735         (before-compile): Add $(common-objpfx)first-versions.h.
1736         [$(build-shared) = yes && !avoid-generated]
1737         ($(common-objpfx)first-versions.h): New target.
1738         ($(common-objpfx)sysd-versions): Depend on and change to rule for
1739         building $(common-objpfx)versions.stmp.
1741 2017-05-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1743         * rt/Makefile (CFLAGS-mq_timedsend.c): New flag.
1744         * sysdeps/unix/sysv/linux/mq_timedsend.c: New file.
1745         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Remove from
1746         auto-generation list.
1748         * rt/Makefile (CFLAGS-mq_timedreceive.c): New flag.
1749         * sysdeps/unix/sysv/linux/mq_timedreceive.c: New file.
1750         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedreceive): Remove
1751         from auto-generation list.
1753         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
1754         open_by_handle_at.
1755         (CFLAGS-open_by_handle_at.c): New flag.
1756         * sysdeps/unix/sysv/linux/open_by_handle_at.c: New file.
1757         * sysdeps/unix/sysv/linux/syscalls.list (open_by_handle_at): New
1758         file.
1759         * misc/Makefile (CFLAGS-open_by_handle_at.c): New rule.
1761         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add splice.
1762         (CFLAGS-splice.c): New flag.
1763         * sysdeps/unix/sysv/linux/splice.c: New file.
1764         * sysdeps/unix/sysv/linux/syscalls.list (splice): Remove from
1765         auto-generation syscall list.
1766         * misc/Makefile (CFLAGS-splice.c): New rule.
1768         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-vmsplice.c): New flag.
1769         * sysdeps/unix/sysv/linux/syscalls.list (vmsplice): Remove from
1770         auto-generation syscall list.
1771         * sysdeps/unix/sysv/linux/vmsplice.c: New file.
1772         * misc/Makefile (CFLAGS-vmsplice.c): New rule.
1774         * misc/Makefile (CFLAGS-fsync.c): New flag.
1775         * nptl/Makefile (CFLAGS-fsync.c): Likewise.
1776         * sysdeps/unix/syscalls.list (fsync): Remove from auto-generation
1777         syscall list.
1778         * sysdeps/unix/sysv/linux/fsync.c: New file.
1779         * sysdeps/unix/sysv/linux/arm/localplt.data [libpthread.so]
1780         (__errno_location): Remove.
1782         * misc/Makefile (CFLAGS-fdatasync.c): New rule.
1783         * nptl/Makefile (CFLAGS-fdatasync.c): Likewise.
1784         * sysdeps/unix/syscalls.list: Remove fdatasync from auto-generation
1785         list.
1786         * sysdeps/unix/sysv/linux/fdatasync.c: New file.
1788         * misc/Makefile (CFLAGS-msync.c): New rule.
1789         * nptl/Makefile (CFLAGS-msync.c): Likewise.
1790         * sysdeps/unix/syscalls.list: Remove msync from auto-generation list.
1791         * sysdeps/unix/sysv/linux/msync.c: New file.
1793         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S: Remove file.
1794         * sysdeps/unix/sysv/linux/sigsuspend.c: Simplify include list.
1795         * nptl/Makefile (CFLAGS-sigsuspend.c): New rule.
1796         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
1797         (CFLAGS-sigsuspend.c): Remove rule.
1799         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Add tee.
1800         (CFLAGS-tee.c): New rule.
1801         * sysdeps/unix/sysv/linux/syscalls.list: Remove tee from
1802         auto-generated list.
1803         * sysdeps/unix/sysv/linux/tee.c: New file.
1805         * nptl/Makefile (CFLAGS-nanosleep.c): New rule.
1806         * posix/Makefile (CFLAGS-nanosleep.c): Likewise.
1807         * sysdeps/unix/sysv/linux/nanosleep.c: New file.
1808         * sysdeps/unix/sysv/linux/syscalls.list: Remove nanosleep from
1809         auto-generated list.
1811         * sysdeps/unix/sysv/linux/sh/syscalls.list: Remove waitid from
1812         auto-generated list.
1813         * sysdeps/unix/sysv/linux/m68k/syscalls.list: Likewise.
1814         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
1815         * sysdeps/unix/sysv/linux/sparc/syscalls.list: Remove file.
1816         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
1817         * sysdeps/unix/sysv/linux/powerpc/syscalls.list: Likewise.
1819         * sysdeps/unix/sysv/linux/generic/pause.c: Remove file.
1820         * sysdeps/unix/sysv/linux/sparc/sparc64/pause.c: Likewise.
1821         * sysdeps/unix/sysv/linux/sparc/kernel-features.h [__arch64__]
1822         (__NR_pause): Undefine.
1823         * sysdeps/unix/sysv/linux/pause.c: New file.
1824         * sysdeps/unix/sysv/linux/syscalls.list: Remove pause from
1825         auto-generation list.
1826         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (CFLAGS-pause.c):
1827         Remove rule.
1828         * posix/Makefile (CFLAGS-pause.c): Remove redundant rule.
1830 2017-05-18  H.J. Lu  <hongjiu.lu@intel.com>
1832         * sysdeps/x86_64/multiarch/memcmp.S (__GI_memcmp): Correct
1833         comments.
1835 2017-05-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1837         * elf/Makefile (tst-env-setuid-ENV): Reduce value of
1838         LD_HWCAP_MASK.
1840 2017-05-18  Rical Jasan  <ricaljasan@pacific.net>
1842         * manual/conf.texi: Convert @tables of annotated @items to
1843         @vtables.
1844         * manual/lang.texi: Likewise.
1845         * manual/pattern.texi: Likewise.
1846         * manual/resource.texi: Likewise.
1847         * manual/socket.texi: Likewise.
1849 2017-05-18  Rical Jasan  <ricaljasan@pacific.net>
1851         * manual/crypt.texi: Move a comment out of an @*x list.
1852         * manual/filesys.texi: Refactor some comments, one of which looks
1853         like a standard.  Fix incorrectly separated standards.
1854         * manual/locale.texi: Invert an annotation.
1855         * manual/resource.texi: Fix incorrectly separated standards.
1856         * manual/time.texi: Refactor a @vtable that obscures an
1857         annotation.
1858         * manual/users.texi: Refactor multiple headers to occupy a single
1859         @comment.
1861 2017-05-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
1863         * sysdeps/powerpc/powerpc64/multiarch/Makefile
1864         (sysdep_routines): Add memcmp-power8.
1865         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
1866         (memcmp): Add __memcmp_power8 to list of memcmp functions.
1867         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c
1868         (memcmp): Add __memcmp_power8 to ifunc list.
1869         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power8.S: New file.
1870         * sysdeps/powerpc/powerpc64/power8/memcmp.S: New file.
1872 2017-05-17  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1873             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
1875         * math/math.h (__MATH_TG): Extend the conditions to add
1876         _Float128 support.
1877         * misc/sys/cdefs.h (__HAVE_GENERIC_SELECTION): New macro.
1879 2017-05-17  Paul A. Clarke  <pc@us.ibm.com>
1881         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
1882         [$(subdir) = math] (libm-sysdep_routines): Add s_cosf-power8 and
1883         s_cosf-ppc64.
1884         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-power8.S: New file.
1885         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf-ppc64.c: Likewise.
1886         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_cosf.c: Likewise.
1887         * sysdeps/powerpc/powerpc64/power8/fpu/s_cosf.S: Likewise.
1889 2017-05-17  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1891         * math/Makefile (libm-calls): Move e_exp2F to gen-libm-calls.
1892         (gen-libm-calls): Add e_exp2F to use the template.
1893         * math/e_exp2l.c: Rename to math/e_exp2_template.c.
1894         * math/e_exp2_template.c: New file, renamed from
1895         math/e_exp2l.c, and made into a template.
1896         * sysdeps/generic/math-type-macros.h (M_MIN_EXP): New macro.
1898 2017-05-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
1900         * elf/dl-tunable-types.h (tunable_type_code_t): New type
1901         TUNABLE_TYPE_UINT_64.
1902         * elf/dl-tunables.c (tunables_strtoul): Return uint64_t.
1903         Simplify computation of overflow.
1904         (tunable_set_val_if_valid_range_signed,
1905         tunable_set_val_if_valid_range_unsigned): Remove and replace
1906         with this...
1907         (TUNABLE_SET_VAL_IF_VALID_RANGE): ... New macro.
1908         (tunable_initialize): Adjust.  Add uint64_t support.
1909         (__tunable_set_val): Add uint64_t support.
1910         * README.tunables: Document it.
1912         * scripts/gen-tunables.awk: Recognize 'default' keyword in
1913         dl-tunables.list.
1914         * README.tunables: Document it.
1916 2017-05-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
1918         * sysdeps/posix/preadv.c: Use sysdeps/posix/preadv_common.c.
1919         * sysdeps/posix/preadv64.c: Likewise.
1920         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
1921         * sysdeps/unix/sysv/linux/preadv64.c: Likewise.
1922         * sysdeps/posix/pwritev.c: Use sysdeps/posix/pwritev_common.c.
1923         * sysdeps/posix/pwritev64.c: Likewise.
1924         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
1925         * sysdeps/unix/sysv/linux/pwritev64.c: Likewise.
1926         * sysdeps/posix/preadv_common.c: New file.
1927         * sysdeps/posix/pwritev_common.c: Likewise.
1929 2017-05-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1931         * sysdeps/generic/math-type-macros-float128.h
1932         (__USE_WRAPPER_TEMPLATE): Define to 1 to enable use of the
1933         wrapper templates.
1935 2017-05-14  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1936             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1938         * include/complex.h (__kernel_casinhf128): New declaration.
1939         * include/float.h: New file.
1940         * include/math.h (__finitef128): Add a hidden def.
1941         (__isinff128): Likewise.
1942         (__isnanf128): Likewise.
1943         (__fpclassify): Likewise.
1944         (__issignalling): Likewise.
1945         (__expf128): Likewise.
1946         (__expm1f128): Likewise.
1948         * sysdeps/generic/fix-fp-int-convert-overflow.h:
1949         (FIX_FLT128_LONG_CONVERT_OVERFLOW): New macro.
1950         (FIX_FLT128_LLONG_CONVERT_OVERFLOW): Likewise.
1952         * sysdeps/generic/math-type-macros-float128.h: New file.
1954         * sysdeps/generic/math_private.h: Include bits/floatn.h and
1955         math_private_calls.h for _Float128.
1956         (__isinff128): New inline implementation used when GCC < 7.0,
1957         since in this case __builtin_isinf_sign is broken.
1958         (fabsf128): New inline implementation that calls the builtin.
1959         (__EXPR_FLT128): New macro.
1960         (min_of_type): Optionally include _Float128 types too.
1962         * sysdeps/generic/math_private_calls.h (__kernel_sincos):
1963         Declare for _Float128.
1964         (__kernel_rem_pio2): Likewise.
1966         * sysdeps/ieee754/ldbl-opt/s_sin.c:
1967         (__DECL_SIMD_sincos_disablef128): New macro.
1969 2017-05-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1971         * math/math.h: Include bits/math-finite.h for float128.
1972         (__MATH_DECLARING_FLOATN): Define to control declaration of
1973         float128 functions.
1974         * math/bits/math-finite.h (pow10): Do not declare for float128.
1975         (gamma): Likewise.
1976         (scalb): Likewise.
1978 2017-05-14  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
1979             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
1981         * bits/floatn.h: New file.
1982         * bits/huge_val_flt128.h: Likewise.
1984         * bits/libm-simd-decl-stubs.h (__DECL_SIMD_cosf128): New macro.
1985         (__DECL_SIMD_sinf128): Likewise.
1986         (__DECL_SIMD_sincosf128): Likewise.
1987         (__DECL_SIMD_logf128): Likewise.
1988         (__DECL_SIMD_expf128): Likewise.
1989         (__DECL_SIMD_powf128): Likewise.
1991         * math/Makefile (headers): Install bits/floatn.h and
1992         bits/huge_val_flt128.h.
1994         * math/bits/cmathcalls.h (_Mdouble_complex_): Only define if not
1995         defined.
1997         * math/bits/mathcalls.h (pow10, isinf, finite, drem, significand)
1998         (isnan, gamma, nexttoward, scalb): Only define if not
1999         __MATH_DECLARING_FLOATN.
2000         (nextdown, nextup, llogb, roundeven, fromfp, ufromfp, fromfpx)
2001         (ufromfpx, fmaxmag, fminmag, totalorder, totalordermag)
2002         (canonicalize, getpayload, setpayload, setpayloadsig): Declare for
2003         _FloatN even if __STDC_WANT_IEC_60559_BFP_EXT__ is not defined.
2005         * math/complex.h: Include bits/libc-header-start.h and bits/floatn.h.
2006         Include bits/cmathcalls.h to get the declarations of _Float128
2007         versions of complex functions.
2008         [__HAVE_FLOAT128 && __GLIBC_USE (IEC_60559_TYPES_EXT)] (CMPLXF128):
2009         Define macro.
2011         * math/math.h: Include bits/floatn.h and bits/huge_val_flt128.h.
2012         Include bits/mathcalls-helper-functions.h and bits/mathcalls.h to
2013         get the declarations of _Float128 versions of math functions.
2014         (__MATH_DECLARING_FLOATN): New macro to control declaration of
2015         _FloatN types.
2016         [__GNUC_PREREQ (6,0)] (signbit): Since GCC 6.0, __builtin_signbit
2017         is type-generic, so use it without __MATH_TG.
2018         [__HAVE_DISTINCT_FLOAT128] (isinf): This builtin is broken for
2019         _Float128 type on GCC < 7.0.  Explicitly call __isinff128 for
2020         _Float128 type and GCC < 7.0, otherwise use the builtin.
2021         [__HAVE_FLOAT128 && defined __USE_GNU] (M_Ef128, M_LOG2Ef128)
2022         (M_LOG10Ef128, M_LN2f128, M_LN10f128, M_PIf128, M_PI_2f128)
2023         (M_PI_4f128, M_1_PIf128, M_2_PIf128, M_SQRT2f128, M_SQRT1_2f128):
2024         New _GNU_SOURCE enabled macros.
2026 2017-05-12  Joseph Myers  <joseph@codesourcery.com>
2028         * sysdeps/sparc/sparc32/fpu/s_signbit.S (signbit): Remove alias.
2029         (signbitf): Likewise.
2030         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S (signbit):
2031         Likewise.
2032         (signbitl): Likewise.
2033         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S (signbitf):
2034         Likewise.
2035         * sysdeps/sparc/sparc64/fpu/s_signbit.S (signbit): Likewise.
2036         (signbitl): Likewise.
2037         * sysdeps/sparc/sparc64/fpu/s_signbitf.S (signbitf): Likewise.
2039 2017-05-12  Florian Weimer  <fweimer@redhat.com>
2041         [BZ #21386]
2042         * sysdeps/nptl/fork.c (__libc_fork): Remove assertions on the
2043         parent PID.  The assertion in the child is incorrect with PID
2044         namespaces.
2046 2017-05-12  Joseph Myers  <joseph@codesourcery.com>
2048         * sysdeps/unix/sysv/linux/kernel-features.h
2049         (__ASSUME_STATFS_F_FLAGS): Remove macro.
2050         * sysdeps/unix/sysv/linux/internal_statvfs.c
2051         [!__ASSUME_STATFS_F_FLAGS]: Remove conditional code.
2053 2017-05-11  Zack Weinberg  <zackw@panix.com>
2055         * Makerules: New subdir configuration variables 'tests-internal'
2056         and 'test-internal-extras'.  Test files in these categories will
2057         still be compiled with MODULE_NAME=nonlib.  Test files in the
2058         existing categories (tests, xtests, test-srcs, test-extras) are
2059         now compiled with MODULE_NAME=testsuite.
2060         New subdir configuration variable 'modules-names-tests'.  Files
2061         which are in both 'modules-names' and 'modules-names-tests' will
2062         be compiled with MODULE_NAME=testsuite instead of
2063         MODULE_NAME=extramodules.
2064         (gen-as-const-headers): Move to tests-internal.
2065         (do-tests-clean, common-mostlyclean): Support tests-internal.
2066         * Makeconfig (built-modules): Add testsuite.
2067         * Makefile: Change libof-check-installed-headers-c and
2068         libof-check-installed-headers-cxx to 'testsuite'.
2069         * Rules: Likewise.  Support tests-internal.
2070         * benchtests/strcoll-inputs/filelist#en_US.UTF-8:
2071         Remove extra-modules.mk.
2073         * config.h.in: Don't check for __OPTIMIZE__ or __FAST_MATH__ here.
2074         * include/libc-symbols.h: Move definitions of _GNU_SOURCE,
2075         PASTE_NAME, PASTE_NAME1, IN_MODULE, IS_IN, and IS_IN_LIB to the
2076         very top of the file and rationalize their order.
2077         If MODULE_NAME is not defined at all, define IS_IN to always be
2078         false, and don't define _ISOMAC.
2079         If any of IS_IN (testsuite), IS_IN_build, or __cplusplus are
2080         true, define _ISOMAC and suppress everything else in this file,
2081         starting with the inclusion of config.h.
2082         Do check for inappropriate definitions of __OPTIMIZE__ and
2083         __FAST_MATH__ here, but only if _ISOMAC is not defined.
2084         Correct some out-of-date commentary.
2086         * include/math.h: If _ISOMAC is defined, undefine NO_LONG_DOUBLE
2087         and _Mlong_double_ before including math.h.
2088         * include/string.h: If _ISOMAC is defined, don't expose
2089         _STRING_ARCH_unaligned. Move a comment to a more appropriate
2090         location.
2092         * include/errno.h, include/stdio.h, include/stdlib.h, include/string.h
2093         * include/time.h, include/unistd.h, include/wchar.h: No need to
2094         check __cplusplus nor use __BEGIN_DECLS/__END_DECLS.
2096         * misc/sys/cdefs.h (__NTHNL): New macro.
2097         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h
2098         (__m81_defun): Use __NTHNL to avoid errors with GCC 6.
2100         * elf/tst-env-setuid-tunables.c: Include config.h with _LIBC
2101         defined, for HAVE_TUNABLES.
2102         * inet/tst-checks-posix.c: No need to define _ISOMAC.
2103         * intl/tst-gettext2.c: Provide own definition of N_.
2104         * math/test-signgam-finite-c99.c: No need to define _ISOMAC.
2105         * math/test-signgam-main.c: No need to define _ISOMAC.
2106         * stdlib/tst-strtod.c: Convert to test-driver. Split locale_test to...
2107         * stdlib/tst-strtod1i.c: ...this new file.
2108         * stdlib/tst-strtod5.c: Convert to test-driver and add copyright notice.
2109         Split tests of __strtod_internal to...
2110         * stdlib/tst-strtod5i.c: ...this new file.
2111         * string/test-string.h: Include stdint.h. Duplicate definition of
2112         inhibit_loop_to_libcall here (from libc-symbols.h).
2113         * string/test-strstr.c: Provide dummy definition of
2114         libc_hidden_builtin_def when including strstr.c.
2115         * sysdeps/ia64/fpu/libm-symbols.h: Suppress entire file in _ISOMAC
2116         mode; no need to test __STRICT_ANSI__ nor __cplusplus as well.
2117         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
2118         Don't include init-arch.h.
2119         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
2120         Don't include init-arch.h.
2122         * elf/Makefile: Move tst-ptrguard1-static, tst-stackguard1-static,
2123         tst-tls1-static, tst-tls2-static, tst-tls3-static, loadtest,
2124         unload, unload2, circleload1, neededtest, neededtest2,
2125         neededtest3, neededtest4, tst-tls1, tst-tls2, tst-tls3,
2126         tst-tls6, tst-tls7, tst-tls8, tst-dlmopen2, tst-ptrguard1,
2127         tst-stackguard1, tst-_dl_addr_inside_object, and all of the
2128         ifunc tests to tests-internal.
2129         Don't add $(modules-names) to test-extras.
2130         * inet/Makefile: Move tst-inet6_scopeid_pton to tests-internal.
2131         Add tst-deadline to tests-static-internal.
2132         * malloc/Makefile: Move tst-mallocstate and tst-scratch_buffer to
2133         tests-internal.
2134         * misc/Makefile: Move tst-atomic and tst-atomic-long to tests-internal.
2135         * nptl/Makefile: Move tst-typesizes, tst-rwlock19, tst-sem11,
2136         tst-sem12, tst-sem13, tst-barrier5, tst-signal7, tst-tls3,
2137         tst-tls3-malloc, tst-tls5, tst-stackguard1, tst-sem11-static,
2138         tst-sem12-static, and tst-stackguard1-static to tests-internal.
2139         Link tests-internal with libpthread also.
2140         Don't add $(modules-names) to test-extras.
2141         * nss/Makefile: Move tst-field to tests-internal.
2142         * posix/Makefile: Move bug-regex5, bug-regex20, bug-regex33,
2143         tst-rfc3484, tst-rfc3484-2, and tst-rfc3484-3 to tests-internal.
2144         * stdlib/Makefile: Move tst-strtod1i, tst-strtod3, tst-strtod4,
2145         tst-strtod5i, tst-tls-atexit, and tst-tls-atexit-nodelete to
2146         tests-internal.
2147         * sunrpc/Makefile: Move tst-svc_register to tests-internal.
2148         * sysdeps/powerpc/Makefile: Move test-get_hwcap and
2149         test-get_hwcap-static to tests-internal.
2150         * sysdeps/unix/sysv/linux/Makefile: Move tst-setgetname to
2151         tests-internal.
2152         * sysdeps/x86_64/fpu/Makefile: Add all libmvec test modules to
2153         modules-names-tests.
2155 2017-05-11  Zack Weinberg  <zackw@panix.com>
2157         * libio/libio.h: Condition dummy definition of _IO_lock_t on
2158         _IO_lock_t_defined, not _IO_MTSAFE_IO. Unconditionally use the
2159         non-_IO_MTSAFE_IO definitions for _IO_peekc, _IO_flockfile,
2160         _IO_funlockfile, and _IO_ftrylockfile.  Only define
2161         _IO_cleanup_region_start and _IO_cleanup_region_end if not
2162         already defined.
2163         * include/libio.h: If _IO_MTSAFE_IO is defined, redefine
2164         _IO_peekc, _IO_flockfile, _IO_funlockfile, and _IO_ftrylockfile
2165         appropriately.
2166         * sysdeps/generic/stdio-lock.h, sysdeps/nptl/stdio-lock.h:
2167         Define _IO_lock_t_defined after defining _IO_lock_t.
2169 2016-05-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2171         * sysdeps/powerpc/powerpc32/backtrace.c (is_sigtramp_address): Use
2172         void* for argument type and use VDSO_SYMBOL macro.
2173         (is_sigtramp_address_rt): Likewise.
2174         (__backtrace): Setup expected frame pointer address for signal
2175         handling.
2176         * sysdeps/powerpc/powerpc64/backtrace.c (is_sigtramp_address): Use
2177         void* for argumetn type and use VSDO_SYMBOL macro.
2178         (__backtrace): Setup expected frame pointer address for signal
2179         handling.
2181         * sysdeps/unix/sysv/linux/writev.c: New file.
2183         * sysdeps/unix/sysv/linux/readv.c: New file.
2185         * include/unistd.h (write): Add hidden proto.
2186         * io/Makefile (CFLAGS-write.c): New define.
2187         * nptl/Makefile (CFLAGS-write.c): Likewise.
2188         * sysdeps/unix/sysv/linux/write.c: New file.
2190         [BZ #21428]
2191         * include/unistd.h (read): Add hidden proto.
2192         * io/Makefile (CFLAGS-read.c): New define.
2193         * nptl/Makefile (CFLAGS-read.c): Likewise.
2194         * sysdeps/unix/sysv/linux/read.c: New file.
2196         * io/Makefile (CFLAGS-creat.c): New rule.
2197         (CFLAGS-creat64.c): Likewise.
2198         * sysdeps/unix/sysv/linux/alpha/creat.c: Remove file.
2199         * sysdeps/unix/sysv/linux/generic/creat.c: Likewise.
2200         * sysdeps/unix/sysv/linux/wordsize-64/creat64.c: Likewise.
2201         * sysdeps/unix/sysv/linux/creat.c: New file.
2202         * sysdeps/unix/sysv/linux/creat64.c: Likewise.
2203         * sysdeps/unix/sysv/linux/syscalls.list: Remove create from
2204         auto-generated list.
2205         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
2207         * sysdeps/unix/sysv/linux/generic/open.c: Remove file.
2208         * sysdeps/unix/sysv/linux/generic/open64.c: Likewise.
2209         * sysdeps/unix/sysv/linux/wordsize-64/open64.c: Likewise.
2210         * sysdeps/unix/sysv/linux/open.c: New file.
2211         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Define symbol
2212         iff __WORDSIZE != 64 and use __NR_openat when available.
2213         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Remove open
2214         from auto-generated list.
2216         * nptl/Makefile (CFLAGS-close.c): New flag.
2217         * sysdeps/unix/sysv/linux/close.c: New file.
2219 2017-05-11  DJ Delorie  <dj@redhat.com>
2221         * MAINTAINERS: New.  Points to wiki.
2223 2017-05-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
2225         * scripts/gen-tunables.awk: Add attribute_relro to
2226         tunable_list.
2228 2017-05-11  Joseph Myers  <joseph@codesourcery.com>
2230         [BZ #21457]
2231         * sysdeps/arm/sys/ucontext.h (R0): Condition on [__USE_MISC].
2232         (R1): Likewise.
2233         (R2): Likewise.
2234         (R3): Likewise.
2235         (R4): Likewise.
2236         (R5): Likewise.
2237         (R6): Likewise.
2238         (R7): Likewise.
2239         (R8): Likewise.
2240         (R9): Likewise.
2241         (R10): Likewise.
2242         (R11): Likewise.
2243         (R12): Likewise.
2244         (R13): Likewise.
2245         (R14): Likewise.
2246         (R15): Likewise.
2247         * sysdeps/i386/sys/ucontext.h (REG_GS): Likewise.
2248         (REG_FS): Likewise.
2249         (REG_ES): Likewise.
2250         (REG_DS): Likewise.
2251         (REG_EDI): Likewise.
2252         (REG_ESI): Likewise.
2253         (REG_EBP): Likewise.
2254         (REG_ESP): Likewise.
2255         (REG_EBX): Likewise.
2256         (REG_EDX): Likewise.
2257         (REG_ECX): Likewise.
2258         (REG_EAX): Likewise.
2259         (REG_TRAPNO): Likewise.
2260         (REG_ERR): Likewise.
2261         (REG_EIP): Likewise.
2262         (REG_CS): Likewise.
2263         (REG_EFL): Likewise.
2264         (REG_UESP): Likewise.
2265         (REG_SS): Likewise.
2266         * sysdeps/m68k/sys/ucontext.h (R_D0): Likewise.
2267         (R_D1): Likewise.
2268         (R_D2): Likewise.
2269         (R_D3): Likewise.
2270         (R_D4): Likewise.
2271         (R_D5): Likewise.
2272         (R_D6): Likewise.
2273         (R_D7): Likewise.
2274         (R_A0): Likewise.
2275         (R_A1): Likewise.
2276         (R_A2): Likewise.
2277         (R_A3): Likewise.
2278         (R_A4): Likewise.
2279         (R_A5): Likewise.
2280         (R_A6): Likewise.
2281         (R_A7): Likewise.
2282         (R_SP): Likewise.
2283         (R_PC): Likewise.
2284         (R_PS): Likewise.
2285         (fpregset_t): Likewise.
2286         (MCONTEXT_VERSION): Likewise.
2287         * sysdeps/mips/sys/ucontext.h (CTX_R0): Likewise.
2288         (CTX_AT): Likewise.
2289         (CTX_V0): Likewise.
2290         (CTX_V1): Likewise.
2291         (CTX_A0): Likewise.
2292         (CTX_A1): Likewise.
2293         (CTX_A2): Likewise.
2294         (CTX_A3): Likewise.
2295         (CTX_T0): Likewise.
2296         (CTX_T1): Likewise.
2297         (CTX_T2): Likewise.
2298         (CTX_T3): Likewise.
2299         (CTX_T4): Likewise.
2300         (CTX_T5): Likewise.
2301         (CTX_T6): Likewise.
2302         (CTX_T7): Likewise.
2303         (CTX_S0): Likewise.
2304         (CTX_S1): Likewise.
2305         (CTX_S2): Likewise.
2306         (CTX_S3): Likewise.
2307         (CTX_S4): Likewise.
2308         (CTX_S5): Likewise.
2309         (CTX_S6): Likewise.
2310         (CTX_S7): Likewise.
2311         (CTX_T8): Likewise.
2312         (CTX_T9): Likewise.
2313         (CTX_K0): Likewise.
2314         (CTX_K1): Likewise.
2315         (CTX_GP): Likewise.
2316         (CTX_SP): Likewise.
2317         (CTX_S8): Likewise.
2318         (CTX_RA): Likewise.
2319         (CTX_MDLO): Likewise.
2320         (CTX_MDHI): Likewise.
2321         (CTX_CAUSE): Likewise.
2322         (CTX_EPC): Likewise.
2323         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h: Condition
2324         inclusion of <sys/procfs.h> on [__USE_MISC].
2325         (greg_t): Condition on [__USE_MISC].
2326         (gregset_t): Likewise.
2327         (fpregset_t): Likewise.
2328         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h (greg_t): Likewise.
2329         (NGREG): Likewise.
2330         (gregset_t): Likewise.
2331         (REG_R0): Likewise.
2332         (REG_R1): Likewise.
2333         (REG_R2): Likewise.
2334         (REG_R3): Likewise.
2335         (REG_R4): Likewise.
2336         (REG_R5): Likewise.
2337         (REG_R6): Likewise.
2338         (REG_R7): Likewise.
2339         (REG_R8): Likewise.
2340         (REG_R9): Likewise.
2341         (REG_R10): Likewise.
2342         (REG_R11): Likewise.
2343         (REG_R12): Likewise.
2344         (REG_R13): Likewise.
2345         (REG_R14): Likewise.
2346         (REG_R15): Likewise.
2347         (struct _libc_fpstate): Likewise.
2348         (fpregset_t): Likewise.
2349         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h (NGREG): Likewise.
2350         (NFPREG): Likewise.
2351         (gregset_t): Likewise.
2352         (fpregset_t): Likewise.
2353         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h (R_D0): Likewise.
2354         (R_D1): Likewise.
2355         (R_D2): Likewise.
2356         (R_D3): Likewise.
2357         (R_D4): Likewise.
2358         (R_D5): Likewise.
2359         (R_D6): Likewise.
2360         (R_D7): Likewise.
2361         (R_A0): Likewise.
2362         (R_A1): Likewise.
2363         (R_A2): Likewise.
2364         (R_A3): Likewise.
2365         (R_A4): Likewise.
2366         (R_A5): Likewise.
2367         (R_A6): Likewise.
2368         (R_A7): Likewise.
2369         (R_SP): Likewise.
2370         (R_PC): Likewise.
2371         (R_PS): Likewise.
2372         (fpregset_t): Likewise.
2373         (MCONTEXT_VERSION): Likewise.
2374         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h (MCONTEXT_VERSION):
2375         Likewise.
2376         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (REG_R0): Likewise.
2377         (REG_R1): Likewise.
2378         (REG_R2): Likewise.
2379         (REG_R3): Likewise.
2380         (REG_R4): Likewise.
2381         (REG_R5): Likewise.
2382         (REG_R6): Likewise.
2383         (REG_R7): Likewise.
2384         (REG_R8): Likewise.
2385         (REG_R9): Likewise.
2386         (REG_R10): Likewise.
2387         (REG_R11): Likewise.
2388         (REG_R12): Likewise.
2389         (REG_R13): Likewise.
2390         (REG_R14): Likewise.
2391         (REG_R15): Likewise.
2392         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h: Condition inclusion
2393         of <arch/abi.h> on [__USE_MISC].
2394         (greg_t): Condition on [__USE_MISC].
2395         (NGREG): Likewise.
2396         (gregset_t): Likewise.
2398 2017-05-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2400         * sysdeps/arm/nptl/bits/pthreadtypes-arch.h
2401         (__pthread_rwlock_arch_t): Remove __data definition.
2402         * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h
2403         (__pthread_rwlock_arch_t): Likewise.
2405 2017-05-11  Florian Weimer  <fweimer@redhat.com>
2407         * resolv/inet_pton.c: Reformat in GNU style.  Remove
2408         internal_function on static functions.
2410 2017-05-11  Florian Weimer  <fweimer@redhat.com>
2412         * support/support_format_addrinfo.c (format_ai_flags_1): Renamed
2413         from format_ai_flags.
2414         (format_ai_flags): New function.  Incorporate flag formatting code
2415         from format_ai_one.
2416         (format_ai_canonname): New function.
2417         (format_ai_one): Remove flags parameter.
2418         (format_ai_family): Likewise.
2419         (support_format_addrinfo): Call format_ai_flags,
2420         format_ai_canonname.
2421         * resolv/tst-resolv-basic.c (check_ai_hints): Extracted from
2422         check_ai.
2423         (check_ai): Call check_ai_hints.
2424         (do_test): Add AI_CANONNAME tests.
2426 2017-05-11  Florian Weimer  <fweimer@redhat.com>
2428         * sysdeps/posix/getaddrinfo.c (gethosts): Remove malloc_addrmem.
2429         (gaih_inet): Likewise.
2431 2017-05-10  Andreas Schwab  <schwab@suse.de>
2433         * nptl/tst-fork1.c: Include <support/test-driver.c>.
2434         (main): Rename to do_test and make static.
2436 2017-05-10  Joseph Myers  <joseph@codesourcery.com>
2438         * string/rawmemchr.c: Include <libc-diag.h>.
2439         (RAWMEMCHR): Disable -Wstringop-overflow around call to memchr
2440         with size (size_t)-1.
2442 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
2444         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Remove file.
2445         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
2446         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
2448         * sysdeps/unix/sysv/linux/accept4.c (accept4): Use syscall if
2449         [__ASSUME_ACCEPT4_SYSCALL], otherwise socketcall.
2450         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Use syscall if
2451         [__ASSUME_RECVMMSG_SYSCALL], otherwise socketcall.
2452         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Use syscall if
2453         [__ASSUME_SENDMMSG_SYSCALL], otherwise socketcall.
2454         * sysdeps/unix/sysv/linux/kernel-features.h
2455         (__ASSUME_ACCEPT4_SYSCALL): Move to general list of macros for
2456         socket syscalls.
2457         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
2458         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
2459         * sysdeps/unix/sysv/linux/i386/kernel-features.h
2460         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove.
2461         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2462         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
2463         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Remove.
2464         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
2465         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2466         * sysdeps/unix/sysv/linux/sh/kernel-features.h
2467         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2468         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
2469         (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
2470         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2471         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
2473 2017-05-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2475         * posix/Makefile (headers): Add pthreadtypes-arch.h and
2476         thread-shared-types.h.
2477         * sysdeps/aarch64/nptl/bits/pthreadtypes-arch.h: New file: arch
2478         specific thread definition.
2479         * sysdeps/alpha/nptl/bits/pthreadtypes-arch.h: Likewise.
2480         * sysdeps/arm/nptl/bits/pthreadtypes-arch.h: Likewise.
2481         * sysdeps/hppa/nptl/bits/pthreadtypes-arch.h: Likewise.
2482         * sysdeps/ia64/nptl/bits/pthreadtypes-arch.h: Likewise.
2483         * sysdeps/m68k/nptl/bits/pthreadtypes-arch.h: Likewise.
2484         * sysdeps/microblaze/nptl/bits/pthreadtypes-arch.h: Likewise.
2485         * sysdeps/mips/nptl/bits/pthreadtypes-arch.h: Likewise.
2486         * sysdeps/nios2/nptl/bits/pthreadtypes-arch.h: Likewise.
2487         * sysdeps/powerpc/nptl/bits/pthreadtypes-arch.h: Likewise.
2488         * sysdeps/s390/nptl/bits/pthreadtypes-arch.h: Likewise.
2489         * sysdeps/sh/nptl/bits/pthreadtypes-arch.h: Likewise.
2490         * sysdeps/sparc/nptl/bits/pthreadtypes-arch.h: Likewise.
2491         * sysdeps/tile/nptl/bits/pthreadtypes-arch.h: Likewise.
2492         * sysdeps/x86/nptl/bits/pthreadtypes-arch.h: Likewise.
2493         * sysdeps/nptl/bits/thread-shared-types.h: New file: shared
2494         thread definition between POSIX and C11.
2495         * sysdeps/aarch64/nptl/bits/pthreadtypes.h.: Remove file.
2496         * sysdeps/alpha/nptl/bits/pthreadtypes.h: Likewise.
2497         * sysdeps/arm/nptl/bits/pthreadtypes.h: Likewise.
2498         * sysdeps/hppa/nptl/bits/pthreadtypes.h: Likewise.
2499         * sysdeps/m68k/nptl/bits/pthreadtypes.h: Likewise.
2500         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Likewise.
2501         * sysdeps/mips/nptl/bits/pthreadtypes.h: Likewise.
2502         * sysdeps/nios2/nptl/bits/pthreadtypes.h: Likewise.
2503         * sysdeps/ia64/nptl/bits/pthreadtypes.h: Likewise.
2504         * sysdeps/powerpc/nptl/bits/pthreadtypes.h: Likewise.
2505         * sysdeps/s390/nptl/bits/pthreadtypes.h: Likewise.
2506         * sysdeps/sh/nptl/bits/pthreadtypes.h: Likewise.
2507         * sysdeps/sparc/nptl/bits/pthreadtypes.h: Likewise.
2508         * sysdeps/tile/nptl/bits/pthreadtypes.h: Likewise.
2509         * sysdeps/x86/nptl/bits/pthreadtypes.h: Likewise.
2510         * sysdeps/nptl/bits/pthreadtypes.h: New file: common thread
2511         definitions shared across all architectures.
2513 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
2515         * sysdeps/unix/sysv/linux/kernel-features.h
2516         (__ASSUME_SENDMMSG_SYSCALL): Define unconditionally.
2517         (__ASSUME_SENDMMSG): Likewise.
2518         (__ASSUME_SENDMMSG_SOCKETCALL): Remove macro.
2519         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Define using
2520         sendmmsg syscall if that can be assumed to be present, socketcall
2521         otherwise, with no fallback for runtime failure.
2523         * sysdeps/unix/sysv/linux/kernel-features.h
2524         (__ASSUME_RECVMMSG_SYSCALL): Define unconditionally.
2525         (__ASSUME_RECVMMSG_SOCKETCALL): Remove macro.
2526         (__ASSUME_RECVMMSG): Likewise.
2527         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Define using
2528         recvmmsg syscall if it can be assumed to be present, socketcall
2529         otherwise, with no fallback for runtime failure.
2531 2017-05-09  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2532             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2534         * bits/libc-header-start.h:
2535         (__GLIBC_USE_IEC_60559_TYPES_EXT): New macro.
2536         * include/features.h: Describe __STDC_WANT_IEC_60559_TYPES_EXT__.
2537         * manual/creature.texi: Likewise.
2539 2017-05-09  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2540             Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
2542         * math/Makefile:
2543         (type-float128-suffix): New variable
2544         (type-float128-routines): Likewise
2545         (type-float128-yes): Likewise
2546         (types): Append float128 if supported
2547         (types-basic): New variable to control the use of templates for
2548         float, double, and long double, but not for float128 or newer types.
2549         (type-basic-foreach): Likewise.
2551         * sysdeps/ieee754/float128/Makeconfig: New file.
2552         * sysdeps/ieee754/float128/Versions: New file.
2554 2017-05-09  Joseph Myers  <joseph@codesourcery.com>
2556         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PRLIMIT64):
2557         Remove macro.
2558         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Assume
2559         prlimit64 is always available and does not give an ENOSYS error.
2560         * sysdeps/unix/sysv/linux/prlimit.c [__NR_prlimit64]: Make code
2561         unconditional.
2562         [!__NR_prlimit64]: Remove conditional code.
2563         * sysdeps/unix/sysv/linux/setrlimit.c (__setrlimit): Assume
2564         prlimit64 is always available and does not give an ENOSYS error.
2565         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit64): Likewise.
2567 2017-05-09  Zack Weinberg  <zackw@panix.com>
2569         * sunrpc/tst-xdrmem2.c: Include stdint.h.
2571 2017-05-09  Florian Weimer  <fweimer@redhat.com>
2573         [BZ #21474]
2574         * resolv/res_libc.c (res_init): Use RES_DFLRETRY.
2575         (__res_maybe_init): Likewise.
2577 2017-05-09  Zack Weinberg  <zackw@panix.com>
2579         * extra-modules.mk: Delete file.
2580         * cppflags-iterator.mk: Rename to ...
2581         * libof-iterator.mk: ...this.  Adjust comments.
2583         * Makerules, extra-lib.mk, benchtests/Makefile, elf/Makefile
2584         * elf/rtld-Rules, iconv/Makefile, locale/Makefile, malloc/Makefile
2585         * nscd/Makefile, sunrpc/Makefile, sysdeps/s390/Makefile:
2586         Use libof-iterator.mk instead of cppflags-iterator.mk or
2587         extra-modules.mk.
2589         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Remove
2590         extra-modules.mk and cppflags-iterator.mk, add libof-iterator.mk.
2592 2017-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
2594         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
2596 2017-05-08  Carlos O'Donell  <carlos@redhat.com>
2598         * stdio-common/vfprintf.c (EXTSIZ): Define.
2599         (vfprintf): Use EXTSIZ.
2600         (printf_positional): Likewise.
2602 2017-05-08  Joseph Myers  <joseph@codesourcery.com>
2604         * sysdeps/unix/sysv/linux/kernel-features.h
2605         (__ASSUME_PROC_PID_TASK_COMM): Remove macro.
2606         * sysdeps/unix/sysv/linux/tst-setgetname.c: Do not include
2607         <kernel-features.h>.
2608         (do_test) [!__ASSUME_PROC_PID_TASK_COMM]: Remove conditional code.
2610         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
2611         (__ASSUME_GETCPU_SYSCALL): Remove macro.
2613 2017-05-08  Florian Weimer  <fweimer@redhat.com>
2615         Prevent multiple deletion of temporary files.
2616         * support/temp_file.c (struct temp_name_list): Add owner member.
2617         (add_temp_file): Record owner.
2618         (support_delete_temp_files): Delete file only if owner matches.
2619         * posix/tst-exec.c (temp_fd1, temp_fd2): Define.
2620         (do_prepare): Use create_temp_file instead of add_temp_file.
2621         Initialize temp_fd1, temp_fd2.
2622         (do_test): Use global temp_fd1, temp_fd2 variables.  Let the test
2623         framework remove the temporary files.
2624         * posix/tst-exec.c (temp_fd1, temp_fd2, temp_fd3): Define.
2625         (do_prepare): Use create_temp_file instead of add_temp_file.
2626         Initialize temp_fd1, temp_fd2, temp_fd3.
2627         (do_test): Use global temp_fd1, temp_fd2, temp_fd3 variables.  Let
2628         the test framework remove the temporary files.
2629         * posix/tst-vfork3.c (do_prepare): Adjust for LIFO order of file
2630         deletion.
2631         * posix/tst-pathconf.c (do_test): Do not call rmdir on the
2632         temporary directory.  It is removed by the test framework.
2633         * dirent/tst-scandir.c (do_test): Likewise.
2635 2017-05-08  Florian Weimer  <fweimer@redhat.com>
2637         Delete temporary files in LIFO order.
2638         * support/temp_file.c (struct temp_name_list): Replace q member
2639         with next.
2640         (add_temp_file): Add new file to front of linked list.
2641         (support_delete_temp_files): Use next member.
2642         (support_print_temp_files): Likewise.
2644 2017-05-08  Florian Weimer  <fweimer@redhat.com>
2646         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
2647         sys/ultrasound.h.
2648         * sysdeps/unix/sysv/linux/sys/ultrasound.h: Remove file.
2650 2017-05-08  Joseph Myers  <joseph@codesourcery.com>
2652         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
2653         Remove.
2654         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
2655         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
2656         (arch_minimum_kernel): Remove.
2657         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
2658         * README: Update statement about Linux kernel requirements.
2660 2017-05-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2662         * manual/llio.texi: Add preadv and pwritev documentation.
2664 2017-05-04  Joseph Myers  <joseph@codesourcery.com>
2666         [BZ #21455]
2667         * bits/stdint-intn.h: New file.
2668         * bits/stdint-uintn.h: Likewise.
2669         * stdlib/Makefile (headers): Add bits/stdint-intn.h and
2670         bits/stdint-uintn.h.
2671         * inet/netinet/in.h: Include <bits/stdint-uintn.h> instead of
2672         <stdint.h>.
2673         * posix/sys/types.h: Include <bits/stdint-intn.h>.
2674         (__int8_t_defined): Do not define here.
2675         (int8_t): Likewise.
2676         (int16_t): Likewise.
2677         (int32_t): Likewise.
2678         (int64_t): Likewise.
2679         [__GNUC_PREREQ (2, 7)] (__intN_t): Likewise.
2680         * resolv/netdb.h: Include <bits/stdint-uintn.h> instead of
2681         <stdint.h>.
2682         * include/netdb.h [_ISOMAC]: Do not include <stdint.h>.
2683         * sysdeps/generic/stdint.h: Include <bits/stdint-intn.h> and
2684         <bits/stdint-uintn.h>.
2685         (int8_t): Do not define here.
2686         (int16_t): Likewise.
2687         (int32_t): Likewise.
2688         (int64_t): Likewise.
2689         (uint8_t): Likewise.
2690         (uint16_t): Likewise.
2691         (uint32_t): Likewise.
2692         (uint64_t): Likewise.
2693         * conform/Makefile (test-xfail-XPG42/arpa/inet.h/conform): Remove
2694         variable.
2695         (test-xfail-XPG42/netdb.h/conform): Likewise.
2696         (test-xfail-XPG42/netinet/in.h/conform): Likewise.
2697         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
2698         (test-xfail-UNIX98/netdb.h/conform): Likewise.
2699         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
2701 2017-05-04  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2703         * sysdeps/generic/math_private.h (mathx_hidden_def): New macro.
2704         * sysdeps/ieee754/ldbl-128/s_finitel.c: Replace hidden_def with
2705         the above.
2706         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
2707         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
2709 2017-05-04  Joseph Myers  <joseph@codesourcery.com>
2711         [BZ #21445]
2712         * signal/signal.h [__USE_XOPEN2K8] (bsd_signal): Do not declare.
2714         [BZ #21457]
2715         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
2716         [_MIPS_SIM != _ABIO32] (mcontext_t): Rename field reserved to
2717         __glibc_reserved1.
2718         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h
2719         (struct _fpx_sw_bytes): Rename field padding to __glibc_reserved1.
2720         (struct _fpxreg): Likewise.
2721         [!__x86_64__] (struct _fpstate): Rename field reserved to
2722         __glibc_reserved1.  Rename field padding to __glibc_reserved2.
2723         [__x86_64__] (struct _fpstate): Rename field padding to
2724         __glibc_reserved1.
2725         (struct _xsave_hdr): Rename field reserved1 to __glibc_reserved1.
2726         Rename field reserved2 to __glibc_reserved2.
2727         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h
2728         [__x86_64__] (struct _libc_fpxreg): Rename field padding to
2729         __glibc_reserved1.
2730         [__x86_64__] (struct _libc_fpstate): Rename field padding to
2731         __glibc_reserved1.
2733 2017-05-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
2735         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Correct hwcap
2736         variable name.
2738 2017-05-03  H.J. Lu  <hongjiu.lu@intel.com>
2740         [BZ #21391]
2741         * sysdeps/i386/dl-machine.h (dl_platform_init) [IS_IN (rtld)]:
2742         Only call init_cpu_features.
2743         [!IS_IN (rtld)]: Only set GLRO(dl_platform) to NULL if needed.
2744         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
2745         * sysdeps/i386/dl-procinfo.h: Removed.
2746         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Don't include
2747         <sysdeps/i386/dl-procinfo.h> nor <ldsodefs.h>.  Include
2748         <sysdeps/x86/dl-procinfo.h>.
2749         (_dl_procinfo): Replace _DL_HWCAP_COUNT with 32.
2750         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h [!IS_IN (ldconfig)]:
2751         Include <sysdeps/x86/dl-procinfo.h> instead of
2752          <sysdeps/generic/dl-procinfo.h>.
2753         * sysdeps/x86/cpu-features.c: Include <dl-hwcap.h>.
2754         (init_cpu_features): Set dl_platform, dl_hwcap and dl_hwcap_mask.
2755         * sysdeps/x86/cpu-features.h (bit_cpu_LZCNT): New.
2756         (bit_cpu_MOVBE): Likewise.
2757         (bit_cpu_BMI1): Likewise.
2758         (bit_cpu_BMI2): Likewise.
2759         (index_cpu_BMI1): Likewise.
2760         (index_cpu_BMI2): Likewise.
2761         (index_cpu_LZCNT): Likewise.
2762         (index_cpu_MOVBE): Likewise.
2763         (index_cpu_POPCNT): Likewise.
2764         (reg_BMI1): Likewise.
2765         (reg_BMI2): Likewise.
2766         (reg_LZCNT): Likewise.
2767         (reg_MOVBE): Likewise.
2768         (reg_POPCNT): Likewise.
2769         * sysdeps/x86/dl-hwcap.h: New file.
2770         * sysdeps/x86/dl-procinfo.h: Likewise.
2771         * sysdeps/x86/dl-procinfo.c (_dl_x86_hwcap_flags): New.
2772         (_dl_x86_platforms): Likewise.
2774 2017-05-03  DJ Delorie  <dj@redhat.com>
2776         [BZ #21411]
2777         * malloc/malloc.c: Tweak realloc/MREMAP comment to be more accurate.
2779 2017-05-03  Phil Blundell  <pb@pbcl.net>
2781         * inet/netinet/in.h (struct ip_mreq_source): Correct misplaced
2782         comments.
2784 2017-05-03  Carlos O'Donell  <carlos@redhat.com>
2786         [BZ #20116]
2787         * nptl/pthread_create.c: Expand comments to describe
2788         semaphore-like and mutex-like uses of PD->lock.
2790 2017-04-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2792         * sysdeps/unix/sysv/linux/epoll_wait.c: New file.
2793         * sysdeps/unix/sysv/linux/generic/epoll_wait.c: Remove file.
2794         * sysdeps/unix/sysv/linux/syscalls.list: Remove epoll_wait from
2795         auto-generation list.
2796         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add
2797         epoll_wait.
2798         * sysdeps/unix/sysv/linux/generic/Makefile (sysdep_routines):
2799         Remove epoll_wait.
2801         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdep_routines): Add
2802         osf_select.
2803         * sysdeps/unix/sysv/linux/alpha/select.c: New file.
2804         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove select and
2805         osf_select from auto-generation list.
2806         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
2807         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
2808         * sysdeps/unix/sysv/linux/generic/select.c: Remove file.
2809         * sysdeps/unix/sysv/linux/select.c: New file.
2811         * sysdeps/unix/sysv/linux/generic/poll.c: Remove file.
2812         * sysdeps/unix/sysv/linux/poll.c: New file.
2813         * sysdeps/unix/sysv/linux/syscalls.list: Remove poll from
2814         auto-generation list.
2816 2017-05-03  Joseph Myers  <joseph@codesourcery.com>
2818         * sysdeps/unix/sysv/linux/aarch64/bits/hwcap.h (HWCAP_ASIMDRDM):
2819         New macro.
2821 2017-05-02  Vladimir Mezentsev <vladimir.mezentsev@oracle.com>
2823         [BZ #21179]
2824         * sysdeps/sparc/sparc64/dl-machine.h: Handle R_SPARC_DISP64 and
2825         R_SPARC_REGISTER relocations.
2827 2017-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2829         * include/unistd.h (__pread): Add libc_hidden_proto.
2830         (__pread64): Likewise.
2831         (__pwrite): Likewise.
2832         * sysdeps/unix/sysv/linux/microblaze/localplt.data [libc.so]
2833         (__pread64): Remove.
2834         * sysdeps/unix/sysv/linux/pread.c (__pread64): Add libc_hidden_weak.
2835         * sysdeps/unix/sysv/linux/pread64.c (__pread64): Likewise.
2836         * sysdeps/unix/sysv/linux/pwrite.c (__pwrite): Likewise.
2838 2017-05-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2840         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
2842 2017-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
2844         * nptl/tst-cancel4-common.c: Use libsupport.
2845         * nptl/tst-cancel4-common.h: Likewise.
2846         * nptl/tst-cancel4.c (tf_read): Likewise.
2847         (tf_readv): Likewise.
2848         (tf_write): Likewise.
2849         (tf_writev): Likewise.
2850         (tf_sleep): Likewise.
2851         (tf_usleep): Likewise.
2852         (tf_nanosleep): Likewise.
2853         (tf_select): Likewise.
2854         (tf_pselect): Likewise.
2855         (tf_poll): Likewise.
2856         (tf_ppoll): Likewise.
2857         (tf_wait): Likewise.
2858         (tf_waitpid): Likewise.
2859         (tf_waitid): Likewise.
2860         (tf_sigpause): Likewise.
2861         (tf_sigsuspend): Likewise.
2862         (tf_sigwait): Likewise.
2863         (tf_sigwaitinfo): Likewise.
2864         (tf_sigtimedwait): Likewise.
2865         (tf_pause): Likewise.
2866         (tf_accept): Likewise.
2867         (tf_send): Likewise.
2868         (tf_recv): Likewise.
2869         (tf_recvfrom): Likewise.
2870         (tf_recvmsg): Likewise.
2871         (tf_open): Likewise.
2872         (tf_close): Likewise.
2873         (tf_pread): Likewise.
2874         (tf_pwrite): Likewise.
2875         (tf_preadv): Likewise.
2876         (tf_pwritev): Likewise.
2877         (tf_fsync): Likewise.
2878         (tf_fdatasync): Likewise.
2879         (tf_msync): Likewise.
2880         (tf_sendto): Likewise.
2881         (tf_sendmsg): Likewise.
2882         (tf_creat): Likewise.
2883         (tf_connect): Likewise.
2884         (tf_tcdrain): Likewise.
2885         (tf_msgrcv): Likewise.
2886         (tf_msgsnd): Likewise.
2887         * nptl/tst-cancel4_1.c (tf_sendmmsg): Likewise.
2888         * nptl/tst-cancel4_2.c (tf_recvmmsg): Likewise.
2890         * misc/tst-preadvwritev-common.c (do_prepare): Use libsupport
2891         expected arguments.
2892         (do_test): Adapt to use libsupport.
2894 2017-05-01  Joseph Myers  <joseph@codesourcery.com>
2896         * sysdeps/gnu/netinet/tcp.h (TCP_FASTOPEN_CONNECT): New macro.
2898         * sysdeps/unix/sysv/linux/bits/socket.h (PF_SMC): New macro.
2899         (PF_MAX): Set to 44.
2900         (AF_SMC): New macro.
2902         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
2903         kernel version to 4.11.
2905 2017-04-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
2907         [BZ #21280]
2908         * sysdeps/powerpc/power7/fpu/s_logbl.c (__logbl): Ignore the
2909         signal of subnormals and adjust the exponent of power of 2 down
2910         when low part has opposite sign.
2912 2017-04-28  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
2914         * sysdeps/powerpc/powerpc64le/Implies: New file.
2915         * sysdeps/powerpc/powerpc64le/fpu/Implies: New file.
2916         * sysdeps/powerpc/powerpc64le/fpu/multiarch/Implies: New file.
2917         * sysdeps/powerpc/powerpc64le/multiarch/Implies: New file.
2918         * sysdeps/powerpc/powerpc64le/power7/Implies: New file.
2919         * sysdeps/powerpc/powerpc64le/power7/fpu/Implies: New file.
2920         * sysdeps/powerpc/powerpc64le/power7/fpu/multiarch/Implies: New file.
2921         * sysdeps/powerpc/powerpc64le/power7/multiarch/Implies: New file.
2922         * sysdeps/powerpc/powerpc64le/power8/Implies: New file.
2923         * sysdeps/powerpc/powerpc64le/power8/fpu/Implies: New file.
2924         * sysdeps/powerpc/powerpc64le/power8/fpu/multiarch/Implies: New file.
2925         * sysdeps/powerpc/powerpc64le/power8/multiarch/Implies: New file.
2926         * sysdeps/powerpc/powerpc64le/power9/Implies: New file.
2927         * sysdeps/powerpc/powerpc64le/power9/fpu/Implies: New file.
2928         * sysdeps/powerpc/powerpc64le/power9/fpu/multiarch/Implies: New file.
2929         * sysdeps/powerpc/powerpc64le/power9/multiarch/Implies: New file.
2930         * sysdeps/powerpc/preconfigure: New file.
2931         * sysdeps/unix/sysv/linux/powerpc/powerpc64le/Implies: New file.
2932         * sysdeps/unix/sysv/linux/powerpc/powerpc64le/fpu/Implies: New file.
2934 2017-04-28  Joseph Myers  <joseph@codesourcery.com>
2936         * conform/data/semaphore.h-data [XOPEN2K] (time.h): Allow header
2937         inclusion.
2938         * conform/Makefile (test-xfail-XOPEN2K/semaphore.h/conform):
2939         Remove.
2941 2017-04-27  Joseph Myers  <joseph@codesourcery.com>
2943         * conform/GlibcConform.pm (XPG4): Rename standard to XPG42.
2944         (XPG3): Rename standard to XPG4.
2945         * conform/Makefile: Likewise.
2946         * conform/list-header-symbols.pl: Likewise.
2947         * conform/data/aio.h-data: Likewise.
2948         * conform/data/arpa/inet.h-data: Likewise.
2949         * conform/data/complex.h-data: Likewise.
2950         * conform/data/ctype.h-data: Likewise.
2951         * conform/data/dlfcn.h-data: Likewise.
2952         * conform/data/fcntl.h-data: Likewise.
2953         * conform/data/fenv.h-data: Likewise.
2954         * conform/data/float.h-data: Likewise.
2955         * conform/data/fmtmsg.h-data: Likewise.
2956         * conform/data/ftw.h-data: Likewise.
2957         * conform/data/grp.h-data: Likewise.
2958         * conform/data/inttypes.h-data: Likewise.
2959         * conform/data/iso646.h-data: Likewise.
2960         * conform/data/langinfo.h-data: Likewise.
2961         * conform/data/libgen.h-data: Likewise.
2962         * conform/data/limits.h-data: Likewise.
2963         * conform/data/locale.h-data: Likewise.
2964         * conform/data/math.h-data: Likewise.
2965         * conform/data/mqueue.h-data: Likewise.
2966         * conform/data/ndbm.h-data: Likewise.
2967         * conform/data/net/if.h-data: Likewise.
2968         * conform/data/netdb.h-data: Likewise.
2969         * conform/data/netinet/in.h-data: Likewise.
2970         * conform/data/poll.h-data: Likewise.
2971         * conform/data/pthread.h-data: Likewise.
2972         * conform/data/pwd.h-data: Likewise.
2973         * conform/data/sched.h-data: Likewise.
2974         * conform/data/search.h-data: Likewise.
2975         * conform/data/semaphore.h-data: Likewise.
2976         * conform/data/signal.h-data: Likewise.
2977         * conform/data/spawn.h-data: Likewise.
2978         * conform/data/stdbool.h-data: Likewise.
2979         * conform/data/stdint.h-data: Likewise.
2980         * conform/data/stdio.h-data: Likewise.
2981         * conform/data/stdlib.h-data: Likewise.
2982         * conform/data/string.h-data: Likewise.
2983         * conform/data/strings.h-data: Likewise.
2984         * conform/data/stropts.h-data: Likewise.
2985         * conform/data/sys/mman.h-data: Likewise.
2986         * conform/data/sys/resource.h-data: Likewise.
2987         * conform/data/sys/select.h-data: Likewise.
2988         * conform/data/sys/socket.h-data: Likewise.
2989         * conform/data/sys/stat.h-data: Likewise.
2990         * conform/data/sys/statvfs.h-data: Likewise.
2991         * conform/data/sys/time.h-data: Likewise.
2992         * conform/data/sys/timeb.h-data: Likewise.
2993         * conform/data/sys/types.h-data: Likewise.
2994         * conform/data/sys/uio.h-data: Likewise.
2995         * conform/data/sys/un.h-data: Likewise.
2996         * conform/data/sys/wait.h-data: Likewise.
2997         * conform/data/syslog.h-data: Likewise.
2998         * conform/data/termios.h-data: Likewise.
2999         * conform/data/tgmath.h-data: Likewise.
3000         * conform/data/time.h-data: Likewise.
3001         * conform/data/ucontext.h-data: Likewise.
3002         * conform/data/unistd.h-data: Likewise.
3003         * conform/data/utmpx.h-data: Likewise.
3004         * conform/data/varargs.h-data: Likewise.
3005         * conform/data/wchar.h-data: Likewise.
3006         * conform/data/wctype.h-data: Likewise.
3008 2017-04-26  Joseph Myers  <joseph@codesourcery.com>
3010         * scripts/build-many-glibcs.py (Context.checkout): Default gcc
3011         version to 7 branch.
3013 2017-04-25  Uros Bizjak  <ubizjak@gmail.com>
3015         * sysdeps/alpha/fpu/math_private.h (__ieee754_sqrt): Add
3016         earlyclobber to output operand of sqrt insn.
3017         (__ieee754_sqrtf): Ditto.
3019 2017-04-25  Joseph Myers  <joseph@codesourcery.com>
3021         [BZ #21426]
3022         * misc/bits/types/struct_iovec.h: New file.
3023         * misc/Makefile (headers): Add bits/types/struct_iovec.h.
3024         * include/bits/types/struct_iovec.h: New file.
3025         * bits/uio.h (struct iovec): Replace by inclusion of
3026         <bits/types/struct_iovec.h>.
3027         * sysdeps/unix/sysv/linux/bits/uio.h (struct iovec): Likewise.
3028         * socket/sys/socket.h: Include <bits/types/struct_iovec.h> instead
3029         of <sys/uio.h>.
3030         * nptl/tst-cancel4.c: Include <sys/uio.h>
3031         * posix/test-errno.c: Likewise.
3032         * support/resolv_test.c: Likewise.
3033         * conform/Makefile (test-xfail-POSIX2008/arpa/inet.h/conform):
3034         Remove.
3035         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
3036         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
3037         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
3039         * conform/data/sys/socket.h-data (*_t): Allow.
3041 2017-04-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3043         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Remove ununsed
3044         assignment.
3046 2017-04-24  Daurnimator  <quae@daurnimator.com>
3047             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3049         [BZ #21340]
3050         * posix/Makefile (tests): Add tst-posix_spawn-setsid to list of tests.
3051         * posix/spawn.h: define POSIX_SPAWN_SETSID flag.
3052         * posix/spawnattr_setflags.c (ALL_FLAGS): Add POSIX_SPAWN_SETSID to
3053         valid flags.
3054         * posix/tst-posix_spawn-setsid.c: Add test for POSIX_SPAWN_SETSID.
3055         * sysdeps/mach/hurd/spawni.c (__spawni): Implementation of
3056         POSIX_SPAWN_SETSID.
3057         * sysdeps/posix/spawni.c (__spawni): Likewise.
3058         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Likewise.
3059         * NEWS: Add note about POSIX_SPAWN_SETSID support.
3061 2017-04-24  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3063         * sysdeps/generic/math_private.h: Move the declaration of many
3064         functions to sysdeps/generic/math_private_calls.h.
3065         * sysdeps/generic/math_private_calls.h: New file with the
3066         declarations of the functions removed from math_private.h
3067         macroized by floating-point type.
3069 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
3071         * sysdeps/s390/multiarch/utf8-utf32-z9.c: New File.
3072         * sysdeps/s390/utf8-utf32-z9.c: Move ifunc resolvers to multiarch
3073         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
3074         (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
3075         FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
3076         TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
3078 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
3080         * sysdeps/s390/multiarch/utf16-utf32-z9.c: New File.
3081         * sysdeps/s390/utf16-utf32-z9.c: Move ifunc resolvers to multiarch
3082         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|VX].
3083         (HAVE_FROM_C, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX, FROM_LOOP_DEFAULT,
3084         FROM_LOOP_C, FROM_LOOP_VX, TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX):
3085         New Define.
3087 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
3089         * sysdeps/s390/multiarch/utf8-utf16-z9.c: New File.
3090         * sysdeps/s390/utf8-utf16-z9.c: Move ifunc resolvers to multiarch
3091         folder and define ifunc versions depending on HAVE_[FROM|TO]_[C|CU|VX].
3092         (HAVE_FROM_C, HAVE_FROM_CU, HAVE_FROM_VX, HAVE_TO_C, HAVE_TO_VX,
3093         FROM_LOOP_DEFAULT, FROM_LOOP_C, FROM_LOOP_CU, FROM_LOOP_VX,
3094         TO_LOOP_DEFAULT, TO_LOOP_C, TO_LOOP_VX): New Define.
3096 2017-04-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
3098         * sysdeps/s390/multiarch/ifunc-resolve.h
3099         (s390_libc_ifunc_expr_init, s390_libc_ifunc_expr): New Define.
3100         * sysdeps/s390/multiarch/8bit-generic.c
3101         (__to_generic, __from_generic): Use s390_libc_ifunc_expr to
3102         define ifunc resolvers.
3104 2017-04-21  Florian Weimer  <fweimer@redhat.com>
3106         [BZ #20424]
3107         * manual/memory.texi (Replacing malloc): New section.
3108         (Allocating Storage For Program Data): Reference it.
3109         (The GNU Allocator): Likewise.
3111 2017-04-20  Joseph Myers  <joseph@codesourcery.com>
3113         * stdlib/Versions (__strtod_internal): List explicitly, not as
3114         wildcard.
3115         (__strtof_internal): Likewise.
3116         (__strtold_internal): Likewise.
3117         (__strtol_internal): Likewise.
3118         (__strtoll_internal): Likewise.
3119         (__strtoul_internal): Likewise.
3120         (__strtoull_internal): Likewise.
3121         (__strtoq_internal): Likewise.
3122         (__strtouq_internal): Likewise.
3123         * wcsmbs/Versions (__wcstod_internal): Likewise.
3124         (__wcstof_internal): Likewise.
3125         (__wcstold_internal): Likewise.
3126         (__wcstol_internal): Likewise.
3127         (__wcstoll_internal): Likewise.
3128         (__wcstoul_internal): Likewise.
3129         (__wcstoull_internal): Likewise.
3131 2017-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3133         * io/sys/stat.h: Use __USE_XOPEN2K8 insteaf of __USE_ATFILE for
3134         struct timespec definition.
3136 2017-04-19  Florian Weimer  <fweimer@redhat.com>
3138         * resolv/nss_dns/dns-host.c (getanswer_r): Fix parentheses.
3140 2017-04-19  Florian Weimer  <fweimer@redhat.com>
3142         * inet/rcmd.c (rresvport_af): Fix typo in comment.
3143         * inet/rexec.c (rexec_af): Likewise.
3145 2017-04-19  Zack Weinberg  <zackw@panix.com>
3147         * posix/tst-mmap-offset.c: Include stdint.h.
3148         * resolv/tst-ns_name_compress.c: Include string.h.
3149         * resolv/tst-resolv-edns.c: Include resolv.h.
3151 2017-04-19  Florian Weimer  <fweimer@redhat.com>
3153         * resolv/gai_suspend.c (gai_suspend): Replace __builtin_expect
3154         with __glibc_likely.
3155         * resolv/nss_dns/dns-host.c (getanswer_r, gaih_getanswer_slice):
3156         Replace __builtin_expect with __glibc_unlikely.
3157         * resolv/res_init.c (__res_vinit): Likewise.
3158         * resolv/res_query.c (__libc_res_nquery): Likewise.
3159         * resolv/res_send.c (__libc_res_nsend): Likewise.
3161 2017-04-19  Florian Weimer  <fweimer@redhat.com>
3163         [BZ #15722]
3164         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Create socket
3165         with SOCK_CLOEXEC.
3166         * resolv/res_send.c (send_vc, reopen): Likewise.
3167         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Likewise.
3168         * sysdeps/unix/sysv/linux/check_native.c (__check_native):
3169         Likewise.
3170         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_open): Likewise.
3171         * inet/rexec.c (rexec_af): Add comment.
3172         * inet/rcmd.c (rresvport_af): Likewise.
3174 2017-04-19  Florian Weimer  <fweimer@redhat.com>
3176         * nscd/connections.c (have_accept4): Removed definition.
3177         (nscd_run_worker, main_loop_poll, main_loop_epolll): Assume that
3178         accept4 works.
3179         * manual/install.texi (Linux): Require at least kernel 3.2.18 for
3180         ia64 because that was the first version with accept4 support.
3181         * support/Makefile (libsupport-routines): Add xaccept4.
3182         * support/xsocket.h (xaccept4): Declare.
3183         * support/xaccept4.c: New file.
3184         * socket/tst-accept4.c: New file.
3185         * socket/Makefile (tests): Add tst-accept4.
3186         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Remove
3187         definition.
3188         * sysdeps/nacl/kernel-features.h (__ASSUME_ACCEPT4): Remove
3189         comment.
3190         * sysdeps/unix/sysv/linux/accept4.c: Assume that an accept4
3191         implementation is available.
3192         (accept4): Use the system call if available, otherwise use the
3193         socket call.
3194         * sysdeps/unix/sysv/linux/ia64/configure.ac (arch_minimum_kernel):
3195         Set to 3.2.18.
3196         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
3197         (__ASSUME_ACCEPT4_SYSCALL, __ASSUME_ACCEPT4): Do not undefine.
3198         accept4 is unconditionally available in later 3.2 stable kernels.
3199         (__ASSUME_ACCEPT4_SYSCALL): Define.
3200         * sysdeps/unix/sysv/linux/kernel-features.h
3201         (__ASSUME_ACCEPT4_SOCKETCALL, __ASSUME_ACCEPT4): Remove
3202         definitions.
3203         * sysdeps/unix/sysv/linux/i386/kernel-features.h
3204         (__ASSUME_ACCEPT4_SYSCALL): Define for Linux 4.3 or later.
3206 2017-04-18  Joseph Myers  <joseph@codesourcery.com>
3208         * conform/Makefile (tests-special): Do not make addition of
3209         $(conformtest-header-tests) conditional on [$(cross-compiling) = no].
3210         (generated): Do not make addition of $(conformtest-header-base)
3211         conditional on [$(cross-compiling) = no].
3213         [BZ #21267]
3214         * sysdeps/unix/sysv/linux/bits/socket.h (IOCSIZE_MASK): Undefine
3215         if defined by <asm/socket.h> and not previously defined.
3216         (IOCSIZE_SHIFT): Likewise.
3217         (IOC_IN): Likewise.
3218         (IOC_INOUT): Likewise.
3219         (IOC_OUT): Likewise.
3221 2017-04-18  H.J. Lu  <hongjiu.lu@intel.com>
3223         [BZ #21396]
3224         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
3225         Prefer_No_AVX512 if AVX512ER isn't available.
3226         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_No_AVX512): New.
3227         (index_arch_Prefer_No_AVX512): Likewise.
3228         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Don't use
3229         AVX512 version if Prefer_No_AVX512 is set.
3230         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk):
3231         Likewise.
3232         * sysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Likewise.
3233         * sysdeps/x86_64/multiarch/memmove_chk.S (__memmove_chk):
3234         Likewise.
3235         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
3236         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk):
3237         Likewise.
3238         * sysdeps/x86_64/multiarch/memset.S (memset): Likewise.
3239         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk):
3240         Likewise.
3242 2017-04-18  H.J. Lu  <hongjiu.lu@intel.com>
3244         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
3245         Prefer_No_VZEROUPPER if AVX512ER is available.
3246         * sysdeps/x86/cpu-features.h
3247         (bit_cpu_AVX512PF): New.
3248         (bit_cpu_AVX512ER): Likewise.
3249         (bit_cpu_AVX512CD): Likewise.
3250         (bit_cpu_AVX512BW): Likewise.
3251         (bit_cpu_AVX512VL): Likewise.
3252         (index_cpu_AVX512PF): Likewise.
3253         (index_cpu_AVX512ER): Likewise.
3254         (index_cpu_AVX512CD): Likewise.
3255         (index_cpu_AVX512BW): Likewise.
3256         (index_cpu_AVX512VL): Likewise.
3257         (reg_AVX512PF): Likewise.
3258         (reg_AVX512ER): Likewise.
3259         (reg_AVX512CD): Likewise.
3260         (reg_AVX512BW): Likewise.
3261         (reg_AVX512VL): Likewise.
3263 2017-04-18  Florian Weimer  <fweimer@redhat.com>
3265         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Assume that
3266         O_CLOEXEC is defined.
3267         * include/fcntl.h (__have_o_cloexec): Remove declaration.
3268         * io/Makefile (aux): Remove.
3269         * io/have_o_cloexec.c: Remove file.
3270         * libio/fileops.c (_IO_new_file_fopen): Assume that O_CLOEXEC is
3271         defined and works.
3272         * libio/iopopen.c (_IO_new_proc_open): Assume that O_CLOEXEC is
3273         defined.
3274         * login/utmp_file.c (O_flags): Remove definition.
3275         (setutent_file): Use O_CLOEXEC instead of O_flags.  Assume that
3276         O_CLOEXEC works.
3277         (pututline_file): Likewise.
3278         * malloc/mtrace.c: Assume that O_CLOEXEC works.
3279         * nis/nss_compat/compat-grp.c (__compat_have_cloexec): Remove
3280         definition.
3281         (internal_setgrent): Assume that O_CLOEXEC works.
3282         * nis/nss_compat/compat-initgroups.c (__compat_have_cloexec):
3283         Remove definition.
3284         (internal_setgrent): Assume that O_CLOEXEC works.
3285         * nis/nss_compat/compat-pwd.c (__compat_have_cloexec): Remove
3286         definition.
3287         (internal_setpwent): Assume that O_CLOEXEC works.
3288         * nis/nss_compat/compat-spwd.c (__compat_have_cloexec): Remove
3289         definition.
3290         (internal_setspent): Assume that O_CLOEXEC works.
3291         * nscd/connections.c (EXTRA_O_FLAGS): Remove definition.
3292         (nscd_init): Use O_CLOEXEC instead of EXTRA_O_FLAGS.  Assume that
3293         O_CLOEXEC is defined and works.
3294         * nss/Makefile (libnss_files-routines): Remove
3295         files-have_o_cloexec.
3296         * nss/nss_db/db-open.c (internal_setent): Assume that O_CLOEXEC is
3297         defined.
3298         * nss/nss_files/files-XXX.c (internal_setent): Assume that
3299         O_CLOEXEC is defined and works.
3300         * nss/nss_files/files-alias.c (internal_setent): Likewise.
3301         * nss/nss_files/files-have_o_cloexec.c: Remove.
3302         * posix/wordexp.c (exec_comm_child): Assume that O_CLOEXEC is
3303         defined.
3304         * shadow/lckpwdf.c (__lckpwdf): Assume that O_CLOEXEC is defined
3305         and works.
3306         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_O_CLOEXEC): Remove
3307         definition.
3308         * sysdeps/nacl/kernel-features.h (__ASSUME_O_CLOEXEC): Likewise.
3309         * sysdeps/posix/getcwd.c (__getcwd): Assume that O_CLOEXEC works.
3310         * sysdeps/posix/opendir.c (opendir_oflags): Turn into enum constant.
3311         (__opendirat, __opendir): Adjust opendir_oflags call.
3312         (check_have_o_cloexec): Remove.
3313         (__alloc_dir): Assume that O_CLOEXEC is defined and works.
3314         * sysdeps/posix/shm_open.c (shm_open): Assume that O_CLOEXEC is
3315         defined.
3316         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_O_CLOEXEC):
3317         Remove definition.
3319 2017-04-18  Florian Weimer  <fweimer@redhat.com>
3321         * include/unistd.h (__have_dup3): Remove declaration.
3322         * libio/freopen.c (freopen): Assume that O_CLOEXEC is defined and
3323         dup3 is available.
3324         * libio/freopen64.c (freopen64): Likewise.
3325         * socket/Makefile (aux): Remove have_sock_cloexec.
3326         * socket/have_sock_cloexec.c: Remove file.
3327         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Remove
3328         definition.
3329         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_DUP3):
3330         Likewise.
3331         * sysdeps/nacl/kernel-features.h: Update comment.
3333 2017-04-18  Florian Weimer  <fweimer@redhat.com>
3335         * include/unistd.h (__have_pipe2): Remove declaration.
3336         * socket/have_sock_cloexec.c (__have_pipe2): Remove definition.
3337         * libio/iopopen.c (_IO_new_proc_open): Assume that pipe2 is
3338         available.
3339         * posix/wordexp.c (exec_comm_child, exec_comm): Likewise.
3340         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PIPE2):
3341         Remove definition.
3343 2017-04-18  Florian Weimer  <fweimer@redhat.com>
3345         * malloc/malloc.c (cfree): Turn into compat symbol.
3346         (__cfree): Remove alias.
3347         * stdlib/stdlib.h (cfree): Remove declaration.
3348         * malloc/malloc.h (cfree): Likewise.
3349         * manual/memory.texi (Freeing after Malloc): Remove cfree.
3350         * malloc/Versions (GLIBC_2.26): Add.
3352 2017-04-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3354         * sysdeps/powerpc/powerpc64/multiarch/Makefile
3355         (sysdep_routines): Add strrchr-power8.
3356         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3357         (strrchr): Add __strrchr_power8 to list of strrchr functions.
3358         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power8.S: New file.
3359         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c
3360         (strrchr): Add __strrchr_power8 to ifunc list.
3361         * sysdeps/powerpc/powerpc64/power8/strrchr.S: New file.
3363 2017-04-17  Rabin Vincent  <rabinv@axis.com>
3365         [BZ #21357]
3366         * sysdeps/generic/unwind-dw2-fde.c (__deregister_frame_info_bases):
3367         Call free() outside of mutex.
3369 2017-04-13  Florian Weimer  <fweimer@redhat.com>
3371         * csu/check_fds.c (__libc_check_standard_fds): Assume O_NOFOLLOW
3372         is defined.
3373         * elf/rtld.c (process_envvars): Likewise.
3374         * sysdeps/posix/shm_open.c (shm_open): Likewise.
3375         * elf/dl-profile.c (EXTRA_FLAGS): Remove definition.  Use
3376         O_NOFOLLOW directly.
3377         * gmon/gmon.c (O_NOFOLLOW): Remove definition.
3379 2017-04-13  Florian Weimer  <fweimer@redhat.com>
3381         [BZ #21369]
3382         Remove EDNS fallback.
3383         * resolv/res_query.c (__libc_res_nquery): Remove RES_F_EDNS0ERR
3384         handling.
3385         * resolv/res_send.c (send_dg): Likewise.
3386         * resolv/tst-resolv-edns.c (response): Handle "formerr." and
3387         "tcp." prefixes.
3388         (do_test): Send a "formerr."-prefixed query in an attempt to
3389         trigger EDNS fallback.
3391 2017-04-13  Florian Weimer  <fweimer@redhat.com>
3393         [BZ #21361]
3394         Limit EDNS buffer size to 1200 bytes.
3395         * include/resolv.h (__res_nopt): Remove declaration.
3396         * resolv/Makefile (tests): tst-resolv-edns.
3397         (tst-resolv-edns): Link with -lresolv, -lpthread.
3398         * resolv/res_mkquery.c (__res_ntop): Limit EDNS buffer size to the
3399         interval [512, 1200].
3400         * resolv/res_query.c (__libc_res_nquery): Use 1200 buffer size if
3401         we can resize the buffer.
3402         * resolv/resolv-internal.h (RESOLV_EDNS_BUFFER_SIZE): Define.
3403         (__res_nopt): Declare.
3404         * resolv/tst-resolv-edns.c: New file.
3405         * resolv/resolv_test.h (struct resolv_edns_info): Define.
3406         (struct resolv_response_context): Add edns member.
3407         * resolv/resolv_test.c (struct query_info): Add edns member.
3408         (parse_query): Extract EDNS information from the query.
3409         (server_thread_udp_process_one): Propagate EDNS data.
3410         (server_thread_tcp_client): Likewise.
3412 2017-04-13  Florian Weimer  <fweimer@redhat.com>
3414         [BZ #21359]
3415         * resolv/ns_name.c (ns_name_pack): Do not require an additional
3416         byte in the destination buffer.  Avoid out-of-bounds pointer
3417         arithmetic.
3418         * resolv/Makefile (tests): Add tst-ns_name_compress.
3419         (tst-ns_name_compress): Link with -lresolv.
3420         * resolv/tst-ns_name_compress.c: New file.
3421         * resolv/tst-resolv-basic.c (LONG_NAME): Define.
3422         (response): Recognize LONG_NAME.
3423         (do_test): Add LONG_NAME tests.
3424         * resolv/tst-ns_name.c (run_test_case): Fix expected data check
3425         for ns_name_unpack.  Add tests for ns_name_pton and
3426         ns_name_compress.
3428 2017-04-13  Florian Weimer  <fweimer@redhat.com>
3430         * resolv/resolv.h (RES_EXHAUSTIVE, p_section, res_npquery)
3431         (res_nisourserver): Remove definition.
3432         (p_section, res_npquery, res_nisourserver): Remove declaration.
3433         (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR): Move ...
3434         * resolv/resolv-internal.h (RES_F_VC, RES_F_CONN, RES_F_EDNS0ERR):
3435         ... here.
3436         * resolv/res_send.c: Include <resolv/resolv-internal.h> instead of
3437         <resolv.h>.
3438         * resolv/res_query.c: Likewise.
3439         * resolv/res_debug.c (p_section): Define as static.
3441 2017-04-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
3443         * sysdeps/powerpc/powerpc64/multiarch/Makefile (sysdep_routines): Add
3444         strncat-power8.
3445         * sysdeps/powerpc/powerpc64/multiarch/strncat.c (strncat): Add
3446         __strncat_power8 to ifunc list.
3447         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3448         (strncat): Add __strncat_power8 to list of strncat functions.
3449         * sysdeps/powerpc/powerpc64/multiarch/strncat-power8.c: New file.
3451 2017-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3453         [BZ #21270]
3454         * posix/tst-mmap-offset.c (do_prepare): New function.
3455         (do_test): Rename to do_test_bz18877 and use FAIL_RET.
3456         (do_test_bz21270): New function.
3457         * sysdeps/unix/sysv/linux/aarch64/mmap.c: Remove file.
3458         * sysdeps/unix/sysv/linux/arm/mmap.c: Remove file.
3459         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c: Likewise.
3460         * sysdeps/unix/sysv/linux/hppa/mmap.c: Likewise.
3461         * sysdeps/unix/sysv/linux/i386/mmap.c: Likewise.
3462         * sysdeps/unix/sysv/linux/m68k/mmap.S: Likewise.
3463         * sysdeps/unix/sysv/linux/m68k/mmap64.c: Likewise.
3464         * sysdeps/unix/sysv/linux/microblaze/mmap.S: Likewise.
3465         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: Likewise.
3466         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: Likewise.
3467         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: Likewise.
3468         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
3469         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
3470         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
3471         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: Likewise.
3472         * sysdeps/unix/sysv/linux/wordsize-64/mmap64.c: Likewise.
3473         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
3474         * sysdeps/unix/sysv/linux/mmap_internal.h: New file.
3475         * sysdeps/unix/sysv/linux/m68k/mmap_internal.h: Likewise.
3476         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap_internal.h: Likewise.
3477         * sysdeps/unix/sysv/linux/s390/mmap_internal.h: Likewise.
3478         * sysdeps/unix/sysv/linux/x86_64/64/mmap_internal.h: Likewise.
3479         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list: Remove mmap
3480         from auto-generation list.
3481         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list: Likewise.
3482         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
3483         * sysdeps/unix/sysv/linux/mmap.c: New file.
3484         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Add check for invalid
3485         offsets and support for mmap2 syscall.
3487         * posix/globtest.sh: Add cleanup routine on trap 0.
3489 2017-04-11  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
3491         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: Define the
3492         implementation-specific function name and remove unneeded
3493         macros definition.
3494         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: Likewise.
3495         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: Likewise.
3496         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Set a default function
3497         name if not defined and pass as parameter to macros accordingly.
3498         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
3499         * sysdeps/powerpc/powerpc64/power7/memmove.S: Likewise.
3501         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: Define the
3502         implementation-specific function name and remove unneeded
3503         macros definition.
3504         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: Likewise.
3505         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: Likewise.
3506         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: Likewise.
3507         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: Likewise.
3508         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
3509         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: Likewise.
3510         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Set a default function
3511         name if not defined and pass as parameter to macros accordingly.
3512         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
3513         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
3514         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
3515         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
3516         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
3517         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.
3519         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: Define the
3520         implementation-specific function name and remove unneeded macros
3521         definition.
3522         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: Likewise.
3523         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: Likewise.
3524         * sysdeps/powerpc/powerpc64/power7/memchr.S: Set a default
3525         function name if not defined and pass as parameter to macros
3526         accordingly.
3527         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
3528         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Likewise.
3530         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: Define the
3531         implementation-specific function name and remove unneeded macros
3532         definition.
3533         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
3534         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
3535         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: Likewise.
3536         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
3537         * sysdeps/powerpc/powerpc64/memset.S: Set a default function name if
3538         not defined and pass as parameter to macros accordingly.
3539         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
3540         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
3541         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
3542         * sysdeps/powerpc/powerpc64/power8/memset.S: Likewise.
3544         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Define the
3545         strcasestr implementation name and remove unneeded macros definition.
3546         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: Define
3547         strstr implementation name and remove unneeded macros definition.
3548         * sysdeps/powerpc/powerpc64/power7/strstr.S: Set a default function
3549         name if not defined and pass as parameter to macros accordingly.
3550         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: Likewise.
3552         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: Define the
3553         implementation-specific function name and remove unneeded macros
3554         definition.
3555         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: Likewise.
3556         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: Likewise.
3557         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: Likewise.
3558         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: Likewise.
3559         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: Likewise.
3560         * sysdeps/powerpc/powerpc64/power7/strchr.S: Set a default
3561         function name if not defined and pass as parameter to macros
3562         accordingly.
3563         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Likewise.
3564         * sysdeps/powerpc/powerpc64/power7/strrchr.S: Likewise.
3565         * sysdeps/powerpc/powerpc64/power8/strchr.S: Likewise.
3566         * sysdeps/powerpc/powerpc64/strchr.S: Likewise.
3568         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: Define
3569         the strlen implementation name and remove unneeded macros definition.
3570         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: Likewise.
3571         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
3572         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Define
3573         the strnlen implementation name and remove unneeded macros definition.
3574         * sysdeps/powerpc/powerpc64/power7/strlen.S: Set a default function
3575         name if not defined and pass as parameter to macros accordingly.
3576         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Likewise.
3577         * sysdeps/powerpc/powerpc64/power8/strlen.S: Likewise.
3578         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
3580         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Define
3581         the implementation-specific function name and remove unneeded
3582         macros definition.
3583         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: Likewise.
3584         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S Likewise.
3585         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: Likewise.
3586         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
3587         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: Likewise.
3588         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: Likewise.
3589         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: Likewise.
3590         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: Likewise.
3591         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
3592         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Set a default function
3593         name if not defined and pass as parameter to macros accordingly.
3594         * sysdeps/powerpc/powerpc64/power7/strcmp.S: Likewise.
3595         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
3596         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Likewise.
3597         * sysdeps/powerpc/powerpc64/power8/strncmp.S: Likewise.
3598         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
3599         * sysdeps/powerpc/powerpc64/power9/strncmp.S: Likewise.
3600         * sysdeps/powerpc/powerpc64/strcmp.S: Likewise.
3601         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
3603         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: Define the
3604         implementation-specific function name and remove unneeded macros
3605         definition.
3606         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: Likewise.
3607         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Likewise.
3608         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: Likewise.
3609         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: Likewise.
3610         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Likewise.
3611         * sysdeps/powerpc/powerpc64/power7/strncpy.S: Set a default
3612         function name if not defined.
3613         * sysdeps/powerpc/powerpc64/power8/strcpy.S: Likewise.
3614         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Likewise.
3616 2017-04-11  Paul Clarke  <pc@us.ibm.com>
3618         * elf/elf.h (AT_L1I_CACHESIZE, AT_L1I_CACHEGEOMETRY, AT_L1D_CACHESIZE,
3619         AT_L1D_CACHEGEOMETRY, AT_L2_CACHESIZE, AT_L2_CACHEGEOMETRY,
3620         AT_L3_CACHESIZE, AT_L3_CACHEGEOMETRY): New.  Add auxvec
3621         identifiers from kernel arch/powerpc/include/uapi/asm/auxvec.h.
3623 2017-04-11  Florian Weimer  <fweimer@redhat.com>
3624             Zack Weinberg  <zackw@panix.com>
3626         * manual/filesys.texi (Reading/Closing Directory): Mark readdir,
3627         readdir64 as thread-safe.  Update warning about readdir_r.
3629 2017-04-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3631         * sysdeps/unix/sysv/linux/x86/Implies: New file.
3632         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: Move to ...
3633         * sysdeps/alpha/nptl/bits/pthreadtypes.h: ... here.
3634         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Move to ...
3635         * sysdeps/powerpc/nptl/bits/pthreadtypes.h: ... here.
3636         * sysdeps/x86/bits/pthreadtypes.h: Move to ...
3637         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
3639 2017-04-10  H.J. Lu  <hongjiu.lu@intel.com>
3641         * sysdeps/i386/dl-procinfo.c: Include
3642         <sysdeps/x86/dl-procinfo.c>.
3643         * sysdeps/x86_64/dl-procinfo.c: Likewise.
3644         * sysdeps/x86/dl-procinfo.c: New file.
3646 2017-04-10  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
3648         * sysdeps/generic/math_private.h: Remove declarations of
3649         many functions that are already declared in math.h.
3650         * sysdeps/ieee754/ldbl-128/e_logl.c: Include math.h to get the
3651         declaration for __frexpl.
3652         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Include math.h to get
3653         the declarations for __scalbnl and fabsl.
3655 2017-04-09  Dmitry V. Levin  <ldv@altlinux.org>
3657         [BZ #20831]
3658         * elf/dl-map-segments.h (_dl_map_segments): Check for failure
3659         of __mprotect to change protection on the excess portion
3660         to disallow all access.
3662 2017-04-07  H.J. Lu  <hongjiu.lu@intel.com>
3664         * sysdeps/i386/fpu/fclrexcpt.c (__feclearexcept): Use
3665         HAS_CPU_FEATURE to check for SSE.
3666         * sysdeps/i386/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
3667         * sysdeps/i386/fpu/feenablxcpt.c (feenableexcept): Likewise.
3668         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Likewise.
3669         * sysdeps/i386/fpu/fegetmode.c (fegetmode): Likewise.
3670         * sysdeps/i386/fpu/feholdexcpt.c (__feholdexcept): Likewise.
3671         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Likewise.
3672         * sysdeps/i386/fpu/fesetmode.c (fesetmode): Likewise.
3673         * sysdeps/i386/fpu/fesetround.c (__fesetround): Likewise.
3674         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
3675         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Likewise.
3676         * sysdeps/i386/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
3677         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
3678         * sysdeps/i386/setfpucw.c (__setfpucw): Likewise.
3679         * sysdeps/x86/cpu-features.h (bit_cpu_SSE): New.
3680         (index_cpu_SSE): Likewise.
3681         (reg_SSE): Likewise.
3683 2017-04-07  Paul Eggert  <eggert@cs.ucla.edu>
3685         * posix/getopt1.c: Include <config.h>, not "config.h".
3687 2017-04-07  Zack Weinberg  <zackw@panix.com>
3689         * posix/bits/getopt_core.h, posix/bits/getopt_ext.h
3690         * posix/getopt.c, posix/getopt1.c, posix/getopt_int.h:
3691         Mention in top-of-file boilerplate that these files are shared
3692         with gnulib.
3693         * posix/getopt.h, posix/bits/getopt_posix.h:
3694         Mention in top-of-file boilerplate that these files are NOT shared
3695         with gnulib, unlike the rest of the getopt implementation.
3697         * posix/bits/getopt_core.h, posix/bits/getopt_ext.h:
3698         New files, intended to be shared with gnulib.
3699         * posix/bits/getopt_posix.h:
3700         New file, not intended to be shared with gnulib.
3701         * posix/getopt.h: Now just includes features.h,
3702         bits/getopt_core.h, and bits/getopt_ext.h.  Will
3703         no longer be shared with gnulib.
3704         * include/bits/getopt_core.h, include/bits/getopt_ext.h
3705         * include/bits/getopt_posix.h: New wrappers.
3706         * posix/Makefile: Install new headers.
3707         * posix/unistd.h, libio/stdio.h:
3708         Include bits/getopt_posix.h instead of getopt.h.
3710         * include/libc-symbols.h: For gnulib compatibility, define
3711         _GL_UNUSED, _GL_UNUSED_LABEL, _GL_ATTRIBUTE_PURE, and
3712         _GL_ATTRIBUTE_CONST.
3713         * posix/getopt.c (_getopt_initialize): Mark argc and argv
3714         parameters with _GL_UNUSED.
3716         * posix/getopt.c: When used standalone, define __libc_use_alloca
3717         as always false and alloca to abort if called.
3718         (process_long_option): Rewrite handling of ambiguous long options
3719         to use a single boolean vector, not a linked list; use
3720         __libc_use_alloca to decide whether to allocate this using alloca.
3721         * posix/tst-getopt_long1.c: Adjust text of expected error message.
3723         * posix/getopt.c (process_long_option): New function split out
3724         from _getopt_internal_r.
3725         (_getopt_internal_r): Replace both copies of the long-option
3726         processing code with calls to process_long_option.
3727         * posix/bug-getopt4.c (one_test): Print argv[0] in error messages.
3728         (do_test): Differentiate argv[0] in the two subtests.
3730         * posix/getopt_int.h (_getopt_data): Remove __posixly_correct field.
3731         * posix/getopt.c (_getopt_internal_r): Move some initialization code...
3732         (_getopt_initialize): ...here. Don't set d->__posixly_correct.
3734         * posix/getopt.h: Add backup definition of __nonnull for
3735         consistency with gnulib.  Define __getopt_argv_const to const
3736         if not already defined.
3737         (getopt): Update doc comment from gnulib.  Prototype
3738         unconditionally.  Add __nonnull annotation.
3739         (__posix_getopt): Add __nonnull annotation.
3740         (getopt_long, getopt_long_only): Use __getopt_argv_const in
3741         prototypes for consistency with gnulib.  Add __nonnull
3742         annotations.
3743         * posix/getopt.c (_getopt_initialize, _getopt_internal_r)
3744         (getopt_internal): Change 'argv' argument to type 'char **'.
3745         Remove now-unnecessary casts.
3746         (getopt, __posix_getopt): Eliminate repetition with a macro.
3747         Cast 'argv' to 'char **' when calling _getopt_internal.
3748         * posix/getopt1.c (getopt_long, getopt_long_only):
3749         Use __getopt_argv_const for consistency with gnulib.
3750         Cast 'argv' to 'char **' when calling _getopt_internal.
3751         (_getopt_long_r, _getopt_long_only_r):
3752         Change 'argv' argument to type 'char **'.
3753         (main): Constify 'long_options'.
3754         * posix/getopt_int.h (getopt_internal, _getopt_internal_r)
3755         (_getopt_long_r, _getopt_long_only_r):
3756         Change 'argv' argument to type 'char **'.
3758         * stdio-common/fxprintf.c (__fxprintf_nocancel): New function.
3759         (locked_vfxprintf): New helper function. Handle arbitrary
3760         multibyte strings, not just ASCII.
3761         * include/stdio.h: Declare __fxprintf_nocancel.
3762         * posix/getopt.c: When _LIBC is defined, define fprintf to
3763         __fxprintf_nocancel, flockfile to _IO_flockfile, and funlockfile
3764         to _IO_funlockfile.  When neither _LIBC nor
3765         _POSIX_THREAD_SAFE_FUNCTIONS is defined, define flockfile and
3766         funlockfile as no-ops.
3767         (_getopt_internal_r): Remove all internal #ifdef _LIBC blocks;
3768         the standalone error-printing code can now be used for libc as
3769         well.  Add an flockfile/funlockfile pair around one case where
3770         the error message is printed in several chunks.  Don't use fputc.
3771         * posix/tst-getopt-cancel.c: New test.
3772         * posix/Makefile: Run it.
3774         * posix/getopt.c (_getopt_internal_r): Don't increment
3775         d->optind a second time when reporting ambiguous -W options.
3777         * posix/getopt_int.h: Include getopt.h.
3778         Use impl-namespace names for all arguments to _getopt_internal and
3779         _getopt_internal_r.
3780         Declare __ordering enum outside the struct.
3781         Harmonize comments with gnulib.
3782         * posix/getopt1.c: Simplify #ifdeffage at top of file. Remove
3783         ELIDE_CODE logic entirely.  Move inclusion of stdlib.h to
3784         #ifdef TEST block and make unconditional.  Do not define NULL.
3785         * posix/getopt.c: Partial merge from gnulib, covering the
3786         initial includes and global declarations, commentary, and
3787         a couple of semantically-neutral code changes.
3789         * posix/getopt.c, posix/getopt.h, posix/getopt1.c, posix/getopt_int.h:
3790         Use '...' instead of `...' for quotation marks inside
3791         comments and strings.
3793         * config.h.in (USE_NONOPTION_FLAGS): Remove.
3794         * csu/init-first.c: Remove all #ifdef USE_NONOPTION_FLAGS blocks.
3795         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
3796         * posix/getopt_int.h: Likewise.
3797         * posix/getopt.c: Likewise. Also remove SWAP_FLAGS and the
3798         __libc_argc and __libc_argv externs, which were only used by
3799         #ifdef USE_NONOPTION_FLAGS blocks.
3800         * posix/getopt_init.c: Remove file.
3801         * posix/Makefile (routines): Remove getopt_init.
3802         * include/getopt.h: Don't declare __getopt_initialize_environment.
3803         * manual/getopt.texi: Remove mention of USE_NONOPTION_FLAGS in
3804         a comment.
3806 2017-04-07  Florian Weimer  <fweimer@redhat.com>
3808         * resolv/res_mkquery.c (res_nmkquery): Remove IQUERY support.
3810 2017-04-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3812         * sysdeps/sparc/sparc32/Makefile (libc.so-gnulib): New rule.
3813         * sysdeps/sparc/sparc32/sparcv8/udiv.S (.udiv): Make a strong_alias
3814         to __wrap_.udiv.
3815         * sysdeps/sparc/sparc32/sparcv9/udiv.S (.udiv): Likewise.
3816         * sysdeps/sparc/sparc32/udiv.S (.udiv): Likewise.
3818         * sysdeps/i386/symbol-hacks.h: New file.
3819         * sysdeps/m68k/symbol-hacks.h: New file.
3820         * sysdeps/powerpc/powerpc32/symbol-hacks.h: New file.
3821         * sysdeps/s390/s390-32/symbol-hacks.h: New file.
3822         * sysdeps/unix/sysv/linux/i386/Makefile
3823         [$(subdir) = csu] (sysdep_routines): New rule: divdi3 object.
3824         [$(subdir) = csu] (sysdep-only-routines): Likewise.
3825         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
3826         * sysdeps/unix/sysv/linux/m68k/Makefile
3827         [$(subdir) = csu] (sysdep_routines): Likewise.
3828         [$(subdir) = csu] (sysdep-only-routines): Likewise.
3829         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
3830         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
3831         [$(subdir) = csu] (sysdep_routines): Likewise.
3832         [$(subdir) = csu] (sysdep-only-routines): Likewise.
3833         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
3834         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
3835         [$(subdir) = csu] (sysdep_routines): Likewise.
3836         [$(subdir) = csu] (sysdep-only-routines): Likewise.
3837         [$(subdir) = csu] (CFLAGS-divdi3.c): Likewise.
3838         * sysdeps/wordsize-32/Makefile: Remove file.
3839         * sysdeps/wordsize-32/symbol-hacks.h: Definitions move to ...
3840         * sysdeps/wordsize-32/divdi3-symbol-hacks.h: ... here.
3842 2017-04-05  H.J. Lu  <hongjiu.lu@intel.com>
3844         * elf/tst-dlopen-aout.c (TEST_FUNCTION): Removed.
3845         (TEST_FUNCTION_ARGV): New.
3847 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
3849         * elf/next.c: Import support/test-driver.c instead of
3850         test-skeleton.c and delete TEST_FUNCTION macro definition.
3851         * elf/nodelete.c: Likewise.
3852         * elf/order2.c: Likewise.
3853         * elf/tst-_dl_addr_inside_object.c: Likewise.
3854         * elf/tst-addr1.c: Likewise.
3855         * elf/tst-align.c: Likewise.
3856         * elf/tst-align2.c: Likewise.
3857         * elf/tst-audit11.c: Likewise.
3858         * elf/tst-audit12.c: Likewise.
3859         * elf/tst-audit2.c: Likewise.
3860         * elf/tst-audit9.c: Likewise.
3861         * elf/tst-auxv.c: Likewise and define TEST_FUNCTION_ARGV macro.
3862         * elf/tst-deep1.c: Likewise.
3863         * elf/tst-dl-iter-static.c: Likewise.
3864         * elf/tst-dlmodcount.c: Likewise.
3865         * elf/tst-dlmopen1.c: Likewise.
3866         * elf/tst-dlmopen2.c: Likewise.
3867         * elf/tst-dlmopen3.c: Likewise.
3868         * elf/tst-dlopen-aout.c: Likewise.
3869         * elf/tst-dlopenrpath.c: Likewise.
3870         * elf/tst-dlsym-error.c: Likewise.
3871         * elf/tst-execstack-needed.c: Likewise.
3872         * elf/tst-execstack-prog.c: Likewise.
3873         * elf/tst-execstack.c: Likewise.
3874         * elf/tst-global1.c: Likewise.
3875         * elf/tst-gnu2-tls1.c: Likewise.
3876         * elf/tst-latepthread.c: Likewise.
3877         * elf/tst-leaks1.c: Likewise.
3878         * elf/tst-linkall-static.c: Likewise.
3879         (do_test): New function.
3880         * elf/tst-nodelete-opened.c: Likewise.
3881         * elf/tst-nodelete.cc: Likewise.
3882         * elf/tst-nodelete2.c: Likewise.
3883         * elf/tst-noload.c: Likewise.
3884         * elf/tst-null-argv.c: Likewise and define TEST_FUNCTION_ARGV marcro.
3885         * elf/tst-order-main.c: Likewise.
3886         * elf/tst-pathopt.c: Likewise.
3887         * elf/tst-pie2.c: Likewise.
3888         * elf/tst-piemod1.c: Likewise.
3889         * elf/tst-prelink.c: Likewise.
3890         * elf/tst-protected1a.c: Likewise.
3891         * elf/tst-protected1b.c: Likewise.
3892         * elf/tst-ptrguard1.c: Likewise, import getopt.h,
3893         and define _GNU_SOURCE macro.
3894         (cmdline_process_function): New function.
3895         * elf/tst-relsort1.c: Likewise.
3896         * elf/tst-stackguard1.c: Likewise, import getopt.h,
3897         and define _GNU_SOURCE macro.
3898         (cmdline_process_function): New function.
3899         * elf/tst-thrlock.c: Likewise.
3900         * elf/tst-tls-dlinfo.c: Likewise.
3901         * elf/tst-tls-manydynamic.c: Likewise and import support/xthread.h.
3902         * elf/tst-tls1.c: Likewise.
3903         * elf/tst-tls10.c: Likewise.
3904         * elf/tst-tls11.c: Likewise.
3905         * elf/tst-tls12.c: Likewise.
3906         * elf/tst-tls13.c: Likewise.
3907         * elf/tst-tls14.c: Likewise.
3908         * elf/tst-tls15.c: Likewise.
3909         * elf/tst-tls16.c: Likewise.
3910         * elf/tst-tls17.c: Likewise.
3911         * elf/tst-tls18.c: Likewise.
3912         * elf/tst-tls19.c: Likewise.
3913         * elf/tst-tls2.c: Likewise.
3914         * elf/tst-tls3.c: Likewise.
3915         * elf/tst-tls4.c: Likewise.
3916         * elf/tst-tls5.c: Likewise.
3917         * elf/tst-tls6.c: Likewise.
3918         * elf/tst-tls7.c: Likewise.
3919         * elf/tst-tls8.c: Likewise.
3920         * elf/tst-tls9.c: Likewise.
3921         * elf/tst-tlsalign-extern.c: Likewise.
3922         * elf/tst-tlsalign.c: Likewise.
3923         * elf/tst-unique1.c: Likewise.
3924         * elf/tst-unique2.c: Likewise.
3925         * elf/vismain.c: Likewise.
3927 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
3929         * string/test-strnlen.c (do_page_tests): New function
3930         to check length of strings ending at the page boundary.
3931         (test_main): Added call to the do_page_tests function.
3933 2017-04-05  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
3934             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
3936         * sysdeps/powerpc/powerpc64/multiarch/Makefile
3937         (sysdep_routines): Add strnlen-power8.
3938         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
3939         (strnlen): Add __strnlen_power8 to list of strnlen functions.
3940         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power8.S: New file.
3941         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c
3942         (__strnlen): Add __strnlen_power8 to ifunc list.
3943         * sysdeps/powerpc/powerpc64/power8/strnlen.S: New file.
3945 2017-04-04  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
3947         * wcsmbs/tst-btowc.c: Import support/test-driver.c and remove
3948         the TEST_FUNCTION macro definition.
3949         * wcsmbs/tst-mbrtowc2.c: Likewise.
3950         * wcsmbs/tst-mbsrtowcs.c: Likewise.
3951         * wcsmbs/tst-wchar-h.c: Likewise.
3952         * wcsmbs/tst-wcpncpy.c: Likewise.
3953         * wcsmbs/tst-wcrtomb.c: Likewise.
3954         * wcsmbs/tst-wcsnlen.c: Likewise.
3955         * wcsmbs/tst-wcstof.c: Likewise.
3957 2017-04-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
3959         * nptl/pthread_create.c (START_THREAD_DEFN): Remove
3960         CALL_THREAD_FCT macro usage.
3961         * sysdeps/i386/nptl/tls.h (CALL_THREAD_FCT): Remove definition.
3962         * sysdeps/x86_64/nptl/tls.h (CALL_THREAD_FCT): Likewise.
3963         * sysdeps/x86_64/32/nptl/tls.h: Remove file.
3965         * nptl/pthreadP.h (USE_REQUEUE_PI): Remove ununsed macro.
3966         * sysdeps/unix/sysv/linux/arm/kernel-features.h
3967         (__ASSUME_REQUEUE_PI): Likewise.
3968         * sysdeps/unix/sysv/linux/kernel-features.h
3969         (__ASSUME_REQUEUE_PI): Likewise.
3970         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
3971         (__ASSUME_REQUEUE_PI): Likewise.
3972         * sysdeps/unix/sysv/linux/mips/kernel-features.h
3973         (__ASSUME_REQUEUE_PI): Likewise.
3974         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
3975         (__ASSUME_REQUEUE_PI): Likewise.
3977 2017-04-04  Florian Weimer  <fweimer@redhat.com>
3979         * resolv/tst-resolv-canonname.c: New file.
3980         * resolv/Makefile (tests): Add tst-resolv-canonname.
3981         (tst-resolv-canonname): Link with -ldl, -lresolv, -lpthread.
3983 2017-04-04  Florian Weimer  <fweimer@redhat.com>
3985         * include/arpa/nameser.h (__ns_name_ntop, __ns_name_unpack):
3986         Declare.
3987         * resolv/nss_dns/dns-network.c: Include <arpa/nameser.h>.
3988         (NS_MAXCDNAME): Remove definition.
3989         (__ns_name_ntop, __ns_name_unpack): Remove declaration.
3990         * resolv/nss_dns/dns-host.c: Include <arpa/nameser.h>.
3991         (NS_MAXCDNAME): Remove definition.
3992         (__ns_name_ntop, __ns_name_unpack): Remove declaration.
3994 2017-04-04  Florian Weimer  <fweimer@redhat.com>
3996         * resolv/nss_dns/dns-network.c (getanswer_r): Remove __dn_expand
3997         call whose result is not used.
3999 2017-04-04  Florian Weimer  <fweimer@redhat.com>
4001         * resolv/tst-ns_name.c, resolv/tst-ns_name.data: New file.
4002         * resolv/Makefile (tests): Add tst-ns_name.
4003         (tst-ns_name): Link with -lresolv.
4004         (tst-ns_name.out): Depend on the input data file.
4006 2017-04-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
4008         * sysdeps/s390/s390-32/tls-macros.h (TLS_LD, TLS_GD):
4009         Clobber also r14.
4011 2017-04-03  Mike Frysinger  <vapier@gentoo.org>
4013         [BZ #21253]
4014         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Increase argv_size
4015         slack space by 32KiB.
4017 2017-04-01  Wladimir van der Laan  <laanwj@gmail.com>
4019         [BZ #21338]
4020         * malloc/malloc.c: Call do_set_arena_max for M_ARENA_MAX
4021         instead of incorrect do_set_arena_test
4023 2017-03-31  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4025         * math/math.h: Fix check for __MATH_DECLARE_LDOUBLE.
4026         * math/bits/math-finite.h: Likewise.
4028 2017-03-31  Slava Barinov  <v.barinov@samsung.com>
4030         [BZ #21289]
4031         * io/fts.h (fts_set): Replace __REDIRECT with __REDIRECT_NTH.
4033 2017-03-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4035         * sysdeps/unix/sysv/linux/test-errno-linux.c (do_test): Handle
4036         non expected inotify_add_watch and quotactl return.
4038 2017-03-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4040         * math/e_rem_pio2l.c (__ieee754_rem_pio2l): Change return type
4041         to int32_t.
4042         * sysdeps/generic/math_private.h: Declare __ieee754_rem_pio2l
4043         as returning int32_t.
4045 2017-03-30  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4047         * math/math.h: Include bits/math-finite.h once per
4048         floating-point type.
4049         * math/bits/math-finite.h: Macroize all declarations by
4050         floating-point type.
4052 2017-03-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4054         [BZ #21182]
4055         * string/test-memchr.c (do_test): Add BZ#21182 checks for address
4056         near end of a page.
4057         * sysdeps/i386/i686/multiarch/memchr-sse2.S (__memchr): Fix
4058         overflow calculation.
4060 2017-03-28  Steve Ellcey  <sellcey@caviumnetworks.com>
4062         * benchtests/bench-memcpy-random.c (TEST_NAME): Change to memcpy.
4063         (IMPL) Call with 1 instead of 0 as argument.
4065 2017-03-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4067         * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
4068         * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
4069         * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
4070         * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
4071         * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
4072         * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
4073         * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
4074         * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
4075         * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
4076         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
4077         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
4078         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
4079         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
4080         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
4081         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
4082         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
4083         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
4084         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
4085         * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
4086         * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
4087         * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
4088         * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
4089         * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
4090         * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
4091         * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
4092         * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
4093         * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
4094         * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
4095         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
4096         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
4097         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
4098         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
4099         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
4100         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
4101         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
4102         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
4103         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
4104         * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
4105         * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
4106         * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
4107         * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
4108         * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
4109         * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
4110         * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
4111         * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
4112         * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
4113         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
4114         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
4115         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
4116         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
4117         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
4118         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
4119         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
4120         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
4121         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
4122         * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
4123         INLINE_SYSCALL_ERROR_RETURN_VALUE.
4124         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
4125         * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
4126         defined.
4127         * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
4128         __NR_setgroups32 if defined.
4129         * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
4130         if defined.
4131         * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
4132         __NR_setresgid32 is defined.
4133         * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
4134         __NR_setresuid32 if defined.
4135         * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
4136         __NR_setreuid32 if defined.
4137         * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
4138         defined.
4139         * sysdeps/unix/sysv/linux/arm/setegid.c: Remove file.
4140         * sysdeps/unix/sysv/linux/arm/seteuid.c: Likewise.
4141         * sysdeps/unix/sysv/linux/arm/setgid.c: Likewise.
4142         * sysdeps/unix/sysv/linux/arm/setgroups.c: Likewise.
4143         * sysdeps/unix/sysv/linux/arm/setregid.c: Likewise.
4144         * sysdeps/unix/sysv/linux/arm/setresgid.c: Likewise.
4145         * sysdeps/unix/sysv/linux/arm/setresuid.c: Likewise.
4146         * sysdeps/unix/sysv/linux/arm/setreuid.c: Likewise.
4147         * sysdeps/unix/sysv/linux/arm/setuid.c: Likewise.
4148         * sysdeps/unix/sysv/linux/i386/setegid.c: Likewise.
4149         * sysdeps/unix/sysv/linux/i386/seteuid.c: Likewise.
4150         * sysdeps/unix/sysv/linux/i386/setgid.c: Likewise.
4151         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
4152         * sysdeps/unix/sysv/linux/i386/setregid.c: Likewise.
4153         * sysdeps/unix/sysv/linux/i386/setresgid.c: Likewise.
4154         * sysdeps/unix/sysv/linux/i386/setresuid.c: Likewise.
4155         * sysdeps/unix/sysv/linux/i386/setreuid.c: Likewise.
4156         * sysdeps/unix/sysv/linux/i386/setuid.c: Likewise.
4157         * sysdeps/unix/sysv/linux/m68k/setegid.c: Likewise.
4158         * sysdeps/unix/sysv/linux/m68k/seteuid.c: Likewise.
4159         * sysdeps/unix/sysv/linux/m68k/setgid.c: Likewise.
4160         * sysdeps/unix/sysv/linux/m68k/setgroups.c: Likewise.
4161         * sysdeps/unix/sysv/linux/m68k/setregid.c: Likewise.
4162         * sysdeps/unix/sysv/linux/m68k/setresgid.c: Likewise.
4163         * sysdeps/unix/sysv/linux/m68k/setresuid.c: Likewise.
4164         * sysdeps/unix/sysv/linux/m68k/setreuid.c: Likewise.
4165         * sysdeps/unix/sysv/linux/m68k/setuid.c: Likewise.
4166         * sysdeps/unix/sysv/linux/microblaze/setgroups.c: Likewise.
4167         * sysdeps/unix/sysv/linux/s390/s390-32/setegid.c: Likewise.
4168         * sysdeps/unix/sysv/linux/s390/s390-32/seteuid.c: Likewise.
4169         * sysdeps/unix/sysv/linux/s390/s390-32/setgid.c: Likewise.
4170         * sysdeps/unix/sysv/linux/s390/s390-32/setgroups.c: Likewise.
4171         * sysdeps/unix/sysv/linux/s390/s390-32/setregid.c: Likewise.
4172         * sysdeps/unix/sysv/linux/s390/s390-32/setresgid.c: Likewise.
4173         * sysdeps/unix/sysv/linux/s390/s390-32/setresuid.c: Likewise.
4174         * sysdeps/unix/sysv/linux/s390/s390-32/setreuid.c: Likewise.
4175         * sysdeps/unix/sysv/linux/s390/s390-32/setuid.c: Likewise.
4176         * sysdeps/unix/sysv/linux/sh/setegid.c: Likewise.
4177         * sysdeps/unix/sysv/linux/sh/seteuid.c: Likewise.
4178         * sysdeps/unix/sysv/linux/sh/setgid.c: Likewise.
4179         * sysdeps/unix/sysv/linux/sh/setgroups.c: Likewise.
4180         * sysdeps/unix/sysv/linux/sh/setregid.c: Likewise.
4181         * sysdeps/unix/sysv/linux/sh/setresgid.c: Likewise.
4182         * sysdeps/unix/sysv/linux/sh/setresuid.c: Likewise.
4183         * sysdeps/unix/sysv/linux/sh/setreuid.c: Likewise.
4184         * sysdeps/unix/sysv/linux/sh/setuid.c: Likewise.
4185         * sysdeps/unix/sysv/linux/sparc/sparc32/setegid.c: Likewise.
4186         * sysdeps/unix/sysv/linux/sparc/sparc32/seteuid.c: Likewise.
4187         * sysdeps/unix/sysv/linux/sparc/sparc32/setgid.c: Likewise.
4188         * sysdeps/unix/sysv/linux/sparc/sparc32/setgroups.c: Likewise.
4189         * sysdeps/unix/sysv/linux/sparc/sparc32/setregid.c: Likewise.
4190         * sysdeps/unix/sysv/linux/sparc/sparc32/setresgid.c: Likewise.
4191         * sysdeps/unix/sysv/linux/sparc/sparc32/setresuid.c: Likewise.
4192         * sysdeps/unix/sysv/linux/sparc/sparc32/setreuid.c: Likewise.
4193         * sysdeps/unix/sysv/linux/sparc/sparc32/setuid.c: Likewise.
4194         * sysdeps/unix/sysv/linux/setegid.c (setegid): Use
4195         INLINE_SYSCALL_ERROR_RETURN_VALUE.
4196         * sysdeps/unix/sysv/linux/seteuid.c (seteuid): Likewise.
4197         * sysdeps/unix/sysv/linux/setgid.c (setgid): Use __NR_setgid32 if
4198         defined.
4199         * sysdeps/unix/sysv/linux/setgroups.c (setgroups): Use
4200         __NR_setgroups32 if defined.
4201         * sysdeps/unix/sysv/linux/setregid.c (__setregid): Use __NR_setregid32
4202         if defined.
4203         * sysdeps/unix/sysv/linux/setresgid.c (__setresgid): Use
4204         __NR_setresgid32 is defined.
4205         * sysdeps/unix/sysv/linux/setresuid.c (__setresuid): Use
4206         __NR_setresuid32 if defined.
4207         * sysdeps/unix/sysv/linux/setreuid.c (__setreuid): Use
4208         __NR_setreuid32 if defined.
4209         * sysdeps/unix/sysv/linux/setuid.c (__setuid): Use __NR_setuid32 if
4210         defined.
4212 2017-03-27  Joseph Myers  <joseph@codesourcery.com>
4214         [BZ #21277]
4215         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IUCLC): Define
4216         unconditionally.
4217         (IMAXBEL): Likewise.
4218         (IUTF8): Likewise.
4220 2017-03-27  Szabolcs Nagy  <szabolcs.nagy@arm.com>
4222         * sysdeps/aarch64/libm-test-ulps: Update.
4224 2017-03-24  Sunyeop Lee  <sunyeop97@gmail.com>
4226         * README.tunables: Updated descriptions.
4227         * elf/dl-tunables.list: Fixed typo: SXID_NONE -> NONE.
4228         * scripts/gen-tunables.awk: Updated the code related to the
4229         commit.
4231 2017-03-23  Wilco Dijkstra  <wdijkstr@arm.com>
4233         * benchtests/Makefile (string-benchset): Add memcpy-random.
4234         * benchtests/bench-memcpy-random.c: New file.
4236 2017-03-23  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4238         * stdio-common/printf.h (register_printf_modifier): Change the
4239         order of __wur and __THROW.
4240         (register_printf_type): Likewise.
4242 2017-03-23  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
4244         * string/test-string.h (TEST_FUNCTION): Use test_main instead of
4245         test_main ().
4246         (CMDLINE_PROCESS): Use function instead of defined macro.
4247         * debug/test-strcpy_chk.c: Import support/test-driver.c and also
4248         <suppport/support.h> to use set_fortify_handler().
4249         * string/bug-envz1.c: Import support/test-driver.c instead of
4250         test-skeleton.c.
4251         * string/bug-strcoll2.c: Likewise.
4252         * string/bug-strtok1.c: Likewise.
4253         * string/stratcliff.c: Likewise.
4254         * string/test-ffs.c: Likewise.
4255         * string/test-memccpy.c: Likewise.
4256         * string/test-memchr.c: Likewise.
4257         * string/test-memcmp.c: Likewise.
4258         * string/test-memcpy.c: Likewise.
4259         * string/test-memmem.c: Likewise.
4260         * string/test-memmove.c: Likewise.
4261         * string/test-memrchr.c: Likewise.
4262         * string/test-memset.c: Likewise.
4263         * string/test-rawmemchr.c: Likewise.
4264         * string/test-strcasecmp.c: Likewise.
4265         * string/test-strcasestr.c: Likewise.
4266         * string/test-strcat.c: Likewise.
4267         * string/test-strchr.c: Likewise.
4268         * string/test-strcmp.c: Likewise.
4269         * string/test-strcpy.c: Likewise.
4270         * string/test-string.h: Likewise.
4271         * string/test-strlen.c: Likewise.
4272         * string/test-strncasecmp.c: Likewise.
4273         * string/test-strncat.c: Likewise.
4274         * string/test-strncmp.c: Likewise.
4275         * string/test-strncpy.c: Likewise.
4276         * string/test-strnlen.c: Likewise.
4277         * string/test-strpbrk.c: Likewise.
4278         * string/test-strrchr.c: Likewise.
4279         * string/test-strspn.c: Likewise.
4280         * string/test-strstr.c: Likewise.
4281         * string/tst-bswap.c: Likewise.
4282         * string/tst-cmp.c: Likewise.
4283         * string/tst-endian.c: Likewise.
4284         * string/tst-inlcall.c: Likewise.
4285         * string/tst-strcoll-overflow.c: Likewise.
4286         * string/tst-strfry.c: Likewise.
4287         * string/tst-strlen.c: Likewise.
4288         * string/tst-strtok.c: Likewise.
4289         * string/tst-strtok_r.c: Likewise.
4290         * string/tst-strxfrm.c: Likewise.
4291         * string/tst-strxfrm2.c: Likewise.
4292         * string/tst-svc.c: Likewise.
4293         * string/tst-svc2.c: Likewise.
4295 2017-03-22  Zack Weinberg  <zackw@panix.com>
4297         * stdio-common/bug25.c: Include stdlib.h.
4298         * support/tst-support_format_dns_packet.c: Include stdio.h,
4299         stdlib.h, and string.h.
4300         * support/tst-support_record_failure.c: Include string.h.
4301         * support/tst-support_record_failure-2.sh: Adjust line number
4302         expectations and correct a typo in an error message.
4304 2017-03-21  H.J. Lu  <hongjiu.lu@intel.com>
4306         [BZ #21258]
4307         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve_opt):
4308         Define only if _dl_runtime_resolve is defined to
4309         _dl_runtime_resolve_sse_vex.
4310         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_opt):
4311         Fallthrough to _dl_runtime_resolve_sse_vex.
4313 2017-03-21  Joseph Myers  <joseph@codesourcery.com>
4315         * INSTALL: Regenerated.
4317 2017-03-21  Thorsten Kukuk  <kukuk@suse.com>
4319         * config.h.in: Add LINK_OBSOLETE_NSL.
4320         * config.make.in: Add build-obsolete-nsl.
4321         * configure.ac: Add obsolete-nsl option.
4322         * include/libc-symbols.h: Define libnsl_hidden_nolink_def.
4323         * include/rpcsvc/yp.h: Add missing functions as libnsl_hidden_proto.
4324         * include/rpcsvc/nislib.h: Likewise.
4325         * include/rpcsvc/ypclnt.h: Likewise.
4326         * manual/install.texi: Document --enable-obsolete-nsl.
4327         * nis/Makefile: Build only libnsl by default (add build-obsolete-nsl).
4328         * nis/nis_add.c: Replace libnsl_hidden_def with
4329         libnsl_hidden_nolink_def.
4330         * nis/nis_addmember.c: Likewise.
4331         * nis/nis_call.c: Likewise.
4332         * nis/nis_clone_obj.c: Likewise.
4333         * nis/nis_defaults.c: Likeise.
4334         * nis/nis_domain_of_r.c: Likewise.
4335         * nis/nis_error.c: Likewise.
4336         * nis/nis_file.c: Likewise.
4337         * nis/nis_free.c: Likewise.
4338         * nis_local_names.c: Likewise.
4339         * nis/nis_lookup.c: Likewise.
4340         * nis/nis_modify.c: Likewise.
4341         * nis/nis_print.c: Likewise.
4342         * nis/nis_remove.c: Likewise.
4343         * nis/nis_table.c: Likewise.
4344         * nis/nis_util.c: Likewise.
4345         * nis/nis_xdr.c: Likewise.
4346         * nis/yp_xdr.c: Likewise.
4347         * nis/ypclnt.c: Likewise.
4348         * nis/ypupdate_xdr.c: Likewise.
4349         * nis/nis_checkpoint.c: Add libnsl_hidden_nolink_def to all functions.
4350         * nis/nis_clone_dir.c: Likewise.
4351         * nis/nis_clone_res.c: Likewise.
4352         * nis/nis_creategroup.c: Likewise.
4353         * nis/nis_destroygroup.c: Likewise.
4354         * nis/nis_domain_of.c: Likewise.
4355         * nis/nis_getservlist.c: Likewise.
4356         * nis/nis_ismember.c: Likewise.
4357         * nis/nis_mkdir.c: Likewise.
4358         * nis/nis_ping.c: Likewise.
4359         * nis/nis_print_group_entry.c: Likewise.
4360         * nis/nis_removemember.c: Likewise.
4361         * nis/nis_rmdir.c: Likewise.
4362         * nis/nis_server.c: Likewise.
4363         * nis/nis_subr.c: Likewise.
4364         * nis/nis_verifygroup.c: Likewise.
4366 2017-03-21  Stefan Liebler  <stli@linux.vnet.ibm.com>
4368         * malloc/tst-interpose-aux.c (check_for_allocations):
4369         Move compiler barrier before free.
4371 2017-03-20  Joseph Myers  <joseph@codesourcery.com>
4373         [BZ #21279]
4374         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
4375         [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
4376         * conform/data/mqueue.h-data (mq_attr.mq_flags): XFAIL for
4377         x86_64-x32-linux.
4378         (mq_attr.mq_maxmsg): Likewise.
4379         (mq_attr.mq_msgsize): Likewise.
4380         (mq_attr.mq_curmsgs): Likewise.
4382         [BZ #21278]
4383         * sysdeps/unix/sysv/linux/mips/mips32/Makefile
4384         [$(subdir) = conform] (conformtest-xfail-conds): Update comment.
4385         * conform/data/sys/stat.h-data (stat.st_rdev): XFAIL for
4386         mips-o32-linux.
4388         [BZ #21268]
4389         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (NL2): Define only
4390         if [__USE_MISC]
4391         (NL3): Likewise.
4393 2017-03-20  Mike Frysinger  <vapier@gentoo.org>
4395         [BZ #21275]
4396         * sysdeps/unix/sysv/linux/spawni.c [__ia64__] (CLONE): Rename
4397         __stack to __stackbase.
4398         (STACK): Invert _STACK_GROWS_DOWN and _STACK_GROWS_UP order of
4399         checks so we can include defined(__ia64__) first.
4401 2017-03-19  Christian Brauner  <christian.brauner@ubuntu.com>
4403         * sysdeps/unix/sysv/linux/ttyname.h: New file.
4404         * sysdeps/unix/sysv/linux/ttyname.c: Include "ttyname.h".
4405         (ttyname) [!_STATBUF_ST_RDEV]: Make code unconditional.
4406         Call is_pty when the link does not exist or does not match, fail
4407         with ENODEV when it returns true.
4408         * sysdeps/unix/sysv/linux/ttyname_r.c: Include "ttyname.h".
4409         (__ttyname_r) [!_STATBUF_ST_RDEV]: Make code unconditional.
4410         Call is_pty when the link does not exist or does not match, fail
4411         with ENODEV when it returns true.
4413 2017-03-18  Joseph Myers  <joseph@codesourcery.com>
4415         [BZ #16437]
4416         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile
4417         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
4418         * conform/data/signal.h-data (timespec.tv_nsec): XFAIL for
4419         x86_64-x32-linux.
4420         * conform/data/sys/select.h-data (timespec.tv_nsec): Likewise.
4421         * conform/data/sys/stat.h-data (timespec.tv_nsec): Likewise.
4422         * conform/data/time.h-data (timespec.tv_nsec): Likewise.
4424         [BZ #21261]
4425         * sysdeps/unix/sysv/linux/sparc/bits/setjmp.h
4426         [__WORDSIZE == 64 && !_ASM] (__sparc64_jmp_buf): Use reserved
4427         names for all fields.
4428         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Update
4429         for jmp_buf field renaming.
4430         (_JMPBUF_UNWINDS_ADJ): Likewise.
4432         * conform/conformtest.pl: Handle xfail[cond]- in header mentioned
4433         with allow-header.
4435 2017-03-17  Chris Evans  <scarybeasts@gmail.com>
4437         * malloc/malloc.c (unlink): Add consistency check between size and
4438         next->prev->size, to further harden against 1-byte overflows.
4440 2017-03-17  H.J. Lu  <hongjiu.lu@intel.com>
4442         * sysdeps/x86/cpu-features.c (init_cpu_features): Check AVX with
4443         CPU_FEATURES_CPU_P.
4445 2017-03-17  Joseph Myers  <joseph@codesourcery.com>
4447         [BZ #21259]
4448         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (IXANY): Define
4449         unconditionally, not just for [__USE_MISC].
4451         [BZ #17786]
4452         * sysdeps/unix/sysv/linux/mips/mips32/Makefile: New file.
4453         * conform/data/sys/stat.h-data (stat.st_dev): XFAIL for
4454         mips-o32-linux.
4456         [BZ #21260]
4457         * sysdeps/unix/sysv/linux/alpha/Makefile
4458         [$(subdir) = conform] (conformtest-xfail-conds): New variable.
4459         * conform/data/netdb.h-data (netent.n_net): XFAIL for alpha-linux.
4461         * conform/conformtest.pl ($cross): New variable.
4462         (--cross): New command-line option.
4463         (runtest): Skip test execution when cross-compiling.
4464         * conform/Makefile (conformtest-cross): New variable.
4465         ($(conformtest-header-tests)): Pass $(conformtest-cross) to
4466         conformtest.pl.
4468         * conform/conformtest.pl ($xfail_str): New variable.
4469         (--xfail=): New command-line option.
4470         (top level): Handle expectations starting xfail[cond]-.
4471         * conform/Makefile (conformtest-xfail): New variable.
4472         ($(conformtest-header-tests)): Pass $(conformtest-xfail) to
4473         conformtest.pl.
4475 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
4477         * conform/conformtest.pl: Use compilation instead of execution
4478         tests for testing values of constants and usability in #if.
4480 2017-03-16  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
4482         * math/auto-libm-test-in: Mark some catan and catanh as
4483         xfail-rounding:ibm128-libgcc.
4484         * math/auto-libm-test-out-catan: Regenerate.
4485         * math/auto-libm-test-out-catanh: Likewise.
4487 2017-03-16  Joseph Myers  <joseph@codesourcery.com>
4489         * misc/sys/cdefs.h (__BEGIN_NAMESPACE_STD): Remove macro.
4490         (__END_NAMESPACE_STD): Likewise.
4491         (__USING_NAMESPACE_STD): Likewise.
4492         (__BEGIN_NAMESPACE_C99): Likewise.
4493         (__END_NAMESPACE_C99): Likewise.
4494         (__USING_NAMESPACE_C99): Likewise.
4495         * math/math.h (_Mdouble_BEGIN_NAMESPACE): Do not define and
4496         undefine macro.
4497         (_Mdouble_END_NAMESPACE): Likewise.
4498         * ctype/ctype.h: Do not handle C++ namespaces.
4499         * libio/bits/stdio-ldbl.h: Likewise.
4500         * libio/stdio.h: Likewise.
4501         * locale/locale.h: Likewise.
4502         * math/bits/mathcalls.h: Likewise.
4503         * setjmp/setjmp.h: Likewise.
4504         * signal/signal.h: Likewise.
4505         * stdlib/bits/stdlib-float.h: Likewise.
4506         * stdlib/bits/stdlib-ldbl.h: Likewise.
4507         * stdlib/stdlib.h: Likewise.
4508         * string/string.h: Likewise.
4509         * sysdeps/x86/fpu/bits/mathinline.h: Likewise.
4510         * time/bits/types/clock_t.h: Likewise.
4511         * time/bits/types/struct_tm.h: Likewise.
4512         * time/bits/types/time_t.h: Likewise.
4513         * time/time.h: Likewise.
4514         * wcsmbs/bits/wchar-ldbl.h: Likewise.
4515         * wcsmbs/uchar.h: Likewise.
4516         * wcsmbs/wchar.h: Likewise.
4517         [_GLIBCPP_USE_NAMESPACES] (wint_t): Remove conditional definition.
4518         * wctype/wctype.h: Do not handle C++ namespaces.
4519         * scripts/begin-end-check.pl: Remove.
4520         * Makefile (installed-headers): Likewise.
4521         (tests-special): Do not add $(objpfx)begin-end-check.out.
4522         ($(objpfx)begin-end-check.out): Remove.
4524 2017-03-15  Steve Ellcey  <sellcey@caviumnetworks.com>
4525             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4527         * sysdeps/aarch64/dl-machine.h: Include cpu-features.c.
4528         (DL_PLATFORM_INIT): New define.
4529         (dl_platform_init): New function.
4530         * sysdeps/aarch64/ldsodefs.h: Include cpu-features.h.
4531         * sysdeps/unix/sysv/linux/aarch64/cpu-features.c: New file.
4532         * sysdeps/unix/sysv/linux/aarch64/cpu-features.h: Likewise.
4533         * sysdeps/unix/sysv/linux/aarch64/dl-procinfo.c: Likewise.
4534         * sysdeps/unix/sysv/linux/aarch64/libc-start.c: Likewise.
4536 2017-03-15  Mike Frysinger  <vapier@gentoo.org>
4538         * sysdeps/x86_64/mempcpy_chk.S (__mempcpy_chk): Check for SHARED
4539         instead of PIC.
4541 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
4543         [BZ #21094]
4544         * sysdeps/ieee754/flt-32/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
4545         24+24+24-bit pi for wider range of values around pi/2.
4546         * math/auto-libm-test-in: Add more tests of cos and tan.
4547         * math/auto-libm-test-out-cos: Regenerated.
4548         * math/auto-libm-test-out-tan: Likewise.
4550 2017-03-15  John David Anglin  <danglin@gcc.gnu.org>
4552         * sysdeps/hppa/dl-machine.h (DL_STACK_END): Define.
4553         (RTLD_START): Don't record stack end address in _dl_start_user.
4555 2017-03-15  Alexey Neyman  <stilor@att.net>
4557         [BZ #21088]
4558         * nss/nsswitch.c (nscd_init_cb, is_nscd): Make the #if check
4559         around definitions match those around use.
4561 2017-03-15  Alexey Neyman  <stilor@att.net>
4563         * configure.ac: Avoid empty subexpression in grep.
4564         * configure: Regenerate.
4566 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4568         * posix/test-errno.c (do_test): Initialize setsockopt optlen.
4569         * sysdeps/unix/sysv/linux/test-errno.c: Move to ...
4570         * sysdeps/unix/sysv/linux/test-errno-linux.c: ... here.
4571         (test_wrp_rv): Fix format.
4572         (test_wrp_rv2): New macro.
4573         (do_test): Handle mlock return on 64 bits kernels with 32 bits
4574         binaries.
4576 2017-03-15  Joseph Myers  <joseph@codesourcery.com>
4578         * sysdeps/x86/fpu/test-math-vector-sincos.h (INIT_VEC_PTRS_LOOP):
4579         Use a union when storing pointers.
4580         (VECTOR_WRAPPER_fFF_2): Do not take address of integer vector and
4581         cast result when passing to INIT_VEC_PTRS_LOOP.
4582         (VECTOR_WRAPPER_fFF_3): Likewise.
4583         (VECTOR_WRAPPER_fFF_4): Likewise.
4585 2017-03-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4587         * include/bits/mathcalls-helper-functions.h: New file.
4588         * math/Makefile (headers): Add bits/mathcalls-helper-functions.h.
4589         * math/bits/mathcalls.h (__finite, __fpclassify, __iseqsig)
4590         (__isinf, __isnan, __issignaling, __signbit): Move declarations to
4591         math/bits/mathcalls-helper-functions.h.
4592         * math/bits/mathcalls-helper-functions.h: New file.
4593         * math/math.h: Include bits/mathcalls-helper-functions.h for
4594         float, double, and long double.
4596 2017-03-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
4598         * math/s_iseqsig_template.c (__iseqsig): Use __feraiseexcept
4599         instead of feraiseexcept.
4601 2017-03-15  Florian Weimer  <fweimer@redhat.com>
4603         [BZ #21243]
4604         * support/temp_file.c (support_delete_temp_files): Add comment
4605         about ignored errors.
4607 2017-03-15  Florian Weimer  <fweimer@redhat.com>
4609         [BZ #21244]
4610         * support/xclose.c: New file.
4611         * support/Makefile (libsupport-routines): Add xclose.
4612         * support/xunistd.h (xclose): Declare.
4613         * support/resolv_test.c (server_thread_tcp_client)
4614         (server_thread_tcp, make_server_sockets, resolv_test_start)
4615         (resolv_test_end): Call xclose instead of close.
4616         * support/support_enter_network_namespace.c
4617         (support_enter_network_namespace): Likewise.
4618         * support/support_run_diff.c (write_to_temp_file): Likewise.
4620 2017-03-15  Florian Weimer  <fweimer@redhat.com>
4622         * support/support_format_dns_packet.c (support_format_dns_packet):
4623         Handle CNAME records in the response.  Extract RDATA names from
4624         rdata, not the whole packet.  Check AAAA record length.
4625         * support/tst-support_format_dns_packet.c: New file.
4626         * support/Makefile (tests): Add tst-support_format_dns_packet.
4627         (tst-support_format_dns_packet): Link against libresolv.
4629 2017-03-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4631         [BZ #21232]
4632         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c: Add
4633         posix_fadvise64 weak_alias for static build.
4635 2017-03-14  Andreas Schwab  <schwab@suse.de>
4637         * sysdeps/generic/dl-procinfo.h (_dl_platform_string): Remove.
4638         * sysdeps/alpha/dl-procinfo.h (_dl_platform_string): Remove.
4639         (_dl_string_platform): Use GLRO(dl_alpha_platforms) directly.
4640         * sysdeps/i386/dl-procinfo.h (_dl_platform_string): Remove.
4641         * sysdeps/mips/dl-procinfo.h (_dl_platform_string): Remove.
4642         (_dl_string_platform): Use GLRO(dl_mips_platforms) directly.
4643         * sysdeps/s390/dl-procinfo.h (_dl_platform_string): Remove.
4644         * sysdeps/sparc/dl-procinfo.h (_dl_platform_string): Remove.
4646 2017-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
4648         * sysdeps/mach/hurd/send.c (__send): Convert hurdish error code into
4649         posix error code.
4650         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
4652 2017-03-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4654         * scripts/build-many-glibcs.py (Context.add_all_configs): Remove
4655         no_isolate usage for SH.
4657 2017-03-13  Wilco Dijkstra  <wdijkstr@arm.com>
4659         [BZ #15105]
4660         [BZ #19463]
4661         * elf/dl-cache.c (_dl_load_cache_lookup): Use __strdup.
4662         * inet/rcmd.c (rcmd_af): Likewise.
4663         * inet/rexec.c   (rexec_af): Likewise.
4664         * intl/dcigettext.c (_LIBC): Likewise.
4665         * intl/finddomain.c (_nl_find_domain): Use strdup expansion.
4666         * locale/loadarchive.c (_nl_load_locale_from_archive): Use __strdup.
4667         * locale/setlocale.c (setlocale): Likewise.
4668         * posix/spawn_faction_addopen.c
4669         (posix_spawn_file_actions_addopen): Likewise.
4670         * stdlib/putenv.c (putenv): Use __strndup.
4671         * sunrpc/svc_simple.c (__registerrpc): Use __strdup.
4672         * sysdeps/posix/getaddrinfo.c (gaih_inet): Use __strdup/__strndup.
4673         * include/stdlib.h (__need_malloc_and_calloc): Remove uses.
4674         (__Need_M_And_C) Remove define/undef.
4675         * stdlib/stdlib.h (__need_malloc_and_calloc): Remove uses.
4676         (__malloc_and_calloc_defined): Remove define.
4677         * string/bits/string2.h (__strdup): Remove define.
4678         (strdup): Likewise.
4679         (__strndup): Likewise.
4680         (strndup): Likewise.
4682 2017-03-13  Joseph Myers  <joseph@codesourcery.com>
4684         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_AUTOFLOWLABEL): New
4685         macro.
4686         (IPV6_ADDR_PREFERENCES): Likewise.
4687         (IPV6_MINHOPCOUNT): Likewise.
4688         (IPV6_ORIGDSTADDR): Likewise.
4689         (IPV6_RECVORIGDSTADDR): Likewise.
4690         (IPV6_TRANSPARENT): Likewise.
4691         (IPV6_UNICAST_IF): Likewise.
4692         (IPV6_RECVFRAGSIZE): Likewise.
4694 2017-03-13  Thorsten Kukuk  <kukuk@suse.com>
4696         * sunrpc/Makefile: only run rpcgen tests if we build rpcgen.
4698 2017-03-12  Alexey Neyman <stilor@att.net>
4700         * sysdeps/sh/dl-machine.h (elf_machine_rela): The condition
4701         in R_SH_DIR32 case is always false when inlined from
4702         dl-conflict.c. Ifdef out to prevent GCC from insertin an
4704 2016-03-12  Marko Myllynen  <myllynen@redhat.com>
4706         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4707         (__ASSUME_RECV_SYSCALL): Replace duplicate by
4708         __ASSUME_SEND_SYSCALL.
4710 2017-03-11  Thorsten Kukuk  <kukuk@suse.com>
4712         * sunrpc/Makefile: don't build and install rpcsvc header
4713         files, rpcgen and librpcsvc.a by default.
4715 2017-03-10  Stefan Liebler  <stli@linux.vnet.ibm.com>
4717         * math/auto-libm-test-out-catan: Regenerated.
4718         * math/auto-libm-test-out-catanh: Likewise.
4719         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
4721 2017-03-09  Joseph Myers  <joseph@codesourcery.com>
4723         * sysdeps/mips/mips64/libm-test-ulps: Update catan and catanh ulps
4724         for long double with corrected test expectations.
4726 2016-03-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4728         * sysdeps/unix/sysv/linux/sysdep.h (HAVE_INTERNAL_SEND_SYMBOL):
4729         Define.
4730         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
4731         (HAVE_INTERNAL_SEND_SYMBOL): Undefine.
4732         * sysdeps/unix/sysv/linux/nios2/sysdep.h
4733         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
4734         * sysdeps/unix/sysv/linux/tile/sysdep.h
4735         (HAVE_INTERNAL_SEND_SYMBOL): Likewise.
4736         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4737         (__ASSUME_RECV_SYSCALL): Define.
4738         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4739         (__ASSUME_RECV_SYSCALL): Likewise.
4740         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4741         (__ASSUME_RECV_SYSCALL): Likewise.
4742         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4743         (__ASSUME_RECV_SYSCALL): Likewise.
4744         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4745         (__ASSUME_RECV_SYSCALL): Likewise.
4746         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4747         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Remove define.
4748         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4749         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
4750         * sysdeps/unix/sysv/linux/s390/kernel-features.h
4751         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
4752         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove send from
4753         auto-generation list.
4754         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
4755         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
4756         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewike.
4757         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
4758         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
4759         * sysdeps/unix/sysv/linux/send.c: Simplify includes.
4760         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Replace by
4761         __ASSUME_SENDTO_SYSCALL.
4762         * sysdeps/unix/sysv/linux/x86_64/send.c: Remove file.
4763         * sysdeps/unix/sysv/linux/mips/mips64/send.c: Likewise.
4764         * sysdeps/unix/sysv/linux/generic/send.c: Likewise.
4766         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove sendto from
4767         auto-generation list.
4768         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
4769         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
4770         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
4771         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
4772         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
4773         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
4774         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
4775         * sysdeps/unix/sysv/linux/kernel-features.h
4776         (__ASSUME_SENDTO_SYSCALL): Define by default.
4777         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4778         (__ASSUME_SENDTO_SYSCALL): Undef it is kernel does not support
4779         __NR_sendto.
4780         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4781         (__ASSUME_SENDTO_SYSCALL): Likewise.
4782         * sysdeps/unix/sysv/linux/s390/kernel-features.h
4783         (__ASSUME_SENDTO_SYSCALL): Likewise.
4784         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4785         (__ASSUME_SENDTO_SYSCALL): Remove definition.
4786         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4787         (__ASSUME_SENDTO_SYSCALL): Likewise.
4788         * sysdeps/unix/sysv/linux/sh/kernel-features.h:
4789         (__ASSUME_SENDTO_SYSCALL): Likewise.
4790         * sysdeps/unix/sysv/linux/sendto.c: Simplify includes.
4792         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recv from
4793         auto-generation list.
4794         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
4795         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
4796         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
4797         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
4798         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
4799         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
4800         (__ASSUME_RECV_SYSCALL): New define.
4801         * sysdeps/unix/sysv/linux/arm/kernel-features.h
4802         (__ASSUME_RECV_SYSCALL): Likewise.
4803         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
4804         (__ASSUME_RECV_SYSCALL): Likewise.
4805         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
4806         (__ASSUME_RECV_SYSCALL): Likewise.
4807         * sysdeps/unix/sysv/linux/mips/kernel-features.h
4808         (__ASSUME_RECV_SYSCALL): Likewise.
4809         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4810         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
4811         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4812         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
4813         * sysdeps/unix/sysv/linux/s390/kernel-features.h
4814         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Remove define.
4815         * sysdeps/unix/sysv/linux/generic/recv.c: Remove file.
4816         * sysdeps/unix/sysv/linux/mips/mips64/recv.c: Likewise.
4817         * sysdeps/unix/sysv/linux/x86_64/recv.c: Likewise.
4818         * sysdeps/unix/sysv/linux/recv.c: Simplify includes.
4819         (__libc_recv): Use __ASSUME_RECVFROM_SYSCALL instead of
4820         __ASSUME_RECVFROM_FOR_RECV_SYSCALL to issue recvfrom syscall.
4822         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove recvfrom from
4823         auto-generation list.
4824         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
4825         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
4826         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
4827         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
4828         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
4829         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
4830         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
4831         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4832         (__ASSUME_RECVFROM_SYSCALL): Define by default.
4833         * sysdeps/unix/sysv/linux/kernel-features.h
4834         (__ASSUME_RECVFROM_SYSCALL): Undef it if kernel does not support
4835         __NR_recvfrom.
4836         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4837         (__ASSUME_RECVFROM_SYSCALL): Likewise.
4838         * sysdeps/unix/sysv/linux/s390/kernel-features.h
4839         (__ASSUME_RECVFROM_SYSCALL): Likewise.
4840         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4841         (__ASSUME_RECVFROM_SYSCALL): Remove definition.
4842         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4843         (__ASSUME_RECVFROM_SYSCALL): Likewise.
4844         * sysdeps/unix/sysv/linux/sh/kernel-features.h
4845         (__ASSUME_RECVFROM_SYSCALL): Likewise.
4846         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
4847         (__ASSUME_RECVFROM_SYSCALL): Likewise.
4848         * sysdeps/unix/sysv/linux/recvfrom.c: Simplify includes.
4850         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove connect from
4851         auto-generation list.
4852         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
4853         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
4854         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
4855         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
4856         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
4857         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
4858         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
4859         * sysdeps/unix/sysv/linux/connect.c: Simplify include list.
4860         * sysdeps/unix/sysv/linux/kernel-features.h
4861         (__ASSUME_CONNECT_SYSCALL): Define.
4862         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4863         (__ASSUME_CONNECT_SYSCALL): Undef if kernel does not support it.
4864         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4865         (__ASSUME_CONNECT_SYSCALL): Likewise.
4866         * sysdeps/unix/sysv/linux/s390/kernel-features.h
4867         (__ASSUME_CONNECT_SYSCALL): Likewise.
4868         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
4869         (__ASSUME_CONNECT_SYSCALL): Likewise.
4871         * sysdeps/unix/sysv/linux/accept.c (__libc_accept): Replace
4872         __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL by __ASSUME_ACCEPT4_SYSCALL.
4873         * sysdeps/unix/sysv/linux/alpha/syscalls.list?: Remove accept from
4874         auto-generation list.
4875         * sysdeps/unix/sysv/linux/arm/syscalls.list: Likewise.
4876         * sysdeps/unix/sysv/linux/generic/syscalls.list: Likewise.
4877         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
4878         * sysdeps/unix/sysv/linux/ia64/syscalls.list: Likewise.
4879         * sysdeps/unix/sysv/linux/mips/syscalls.list: Likewise.
4880         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list: Likewise.
4881         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
4882         * sysdeps/unix/sysv/linux/i386/kernel-features.h
4883         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
4884         (__ASSUME_ACCEPT_SYSCALL): Undefine.
4885         * sysdeps/unix/sysv/linux/kernel-features.h
4886         (__ASSUME_ACCEPT_SYSCALL): New define.
4887         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
4888         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
4889         (__ASSUME_ACCEPT_SYSCALL): Define wheter kernel version supports.
4890         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
4891         (__ASSUME_ACCEPT_SYSCALL): Define.
4892         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
4893         (__ASSUME_ACCEPT_SYSCALL): Undefine.
4894         * sysdeps/unix/sysv/linux/s390/kernel-features.h
4895         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Remove define.
4896         (__ASSUME_ACCEPT_SYSCALL): Undefine.
4897         * sysdeps/unix/sysv/linux/sh/kernel-features.h
4898         (__ASSUME_ACCEPT_SYSCALL): Undefine.
4899         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
4900         (__ASSUME_ACCEPT_SYSCALL): Undefine for 32 bits.
4902 2017-03-08  Yury Norov <ynorov@caviumnetworks.com>
4903             Zack Weinberg  <zackw@panix.com>
4905         * posix/test-errno.c: New file.
4906         * posix/Makefile (tests): Add test-errno.
4907         * sysdeps/unix/sysv/linux/test-errno.c: New file.
4908         * sysdeps/unix/sysv/linux/Makefile (tests): Add test-errno.
4910 2017-03-08  Stefan Liebler  <stli@linux.vnet.ibm.com>
4912         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
4914 2017-03-07  Florian Weimer  <fweimer@redhat.com>
4916         * time/tzset.c (compute_offset): Open-code min macro.
4917         (min, max, sign): Remove.
4919 2017-03-07  Florian Weimer  <fweimer@redhat.com>
4921         [BZ #15576]
4922         Remove TZNAME_MAX limit from sysconf.
4923         * include/time.h (__tzname_cur_max, __tzname_max): Remove
4924         declaration.
4925         * time/tzfile.c (__tzfile_read, __tzfile_default): Do not call
4926         compute_tzname_max.
4927         (compute_tzname_max): Remove.
4928         * time/tzset.c (__tzname_cur_max, __tzname_max): Remove.
4929         (update_vars): Do not update __tzname_cur_max.
4930         (tzset_internal): Remove argument.
4931         (__tzset): Adjust call to tzset_internal.
4932         (__tz_convert): Likewise.
4934         * posix/sysconf.c (__sysconf): Return -1 for _SC_TZNAME_MAX.
4935         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
4936         * manual/conf.texi (Sysconf Definition): Update comment.
4938 2017-03-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
4940         [BZ #21209]
4941         * elf/rtld.c (process_envvars): Ignore LD_HWCAP_MASK for
4942         AT_SECURE processes.
4943         * sysdeps/generic/unsecvars.h: Add LD_HWCAP_MASK.
4944         * elf/tst-env-setuid.c (test_parent): Test LD_HWCAP_MASK.
4945         (test_child): Likewise.
4946         * elf/Makefile (tst-env-setuid-ENV): Add LD_HWCAP_MASK.
4948 2017-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
4950         * sysdeps/unix/sysv/linux/hppa/ipc_priv.h: New file.
4952 2017-03-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
4954         * sysdeps/s390/atomic-machine.h
4955         (USE_ATOMIC_COMPILER_BUILTINS): Define to 1.
4956         (__arch_compare_and_exchange_val_8_acq,
4957         __arch_compare_and_exchange_val_16_acq,
4958         __arch_compare_and_exchange_val_32_acq,
4959         __arch_compare_and_exchange_val_64_acq):
4960         Delete macro.
4961         (atomic_compare_and_exchange_val_acq,
4962         atomic_compare_and_exchange_val_rel,
4963         atomic_compare_and_exchange_bool_acq,
4964         catomic_compare_and_exchange_bool_acq,
4965         atomic_exchange_acq, atomic_exchange_rel,
4966         atomic_exchange_and_add_acq,
4967         atomic_exchange_and_add_rel,
4968         catomic_exchange_and_add, atomic_or_val,
4969         atomic_or, catomic_or, atomic_bit_test_set,
4970         atomic_and_val, atomic_and, catomic_and):
4971         Define macros with help of C11 atomic builtins.
4973 2017-03-03  Justus Winter <justus@gnupg.org>
4975         * sysdeps/mach/hurd/ftruncate64.c: New file.
4976         * sysdeps/mach/hurd/truncate64.c: Likewise.
4978 2017-03-03  Florian Weimer  <fweimer@redhat.com>
4980         * time/tzfile.c (NOID): Do not define.
4981         * time/tzset.c (NOID): Likewise.
4983 2017-03-03  Florian Weimer  <fweimer@redhat.com>
4985         * time/tzset.c (compute_offset): Remove __attribute_noinline__.
4987 2017-03-02  Florian Weimer  <fweimer@redhat.com>
4989         * elf/get-dynamic-info.h: Remove header file inclusion guard.
4991 2017-03-02  Florian Weimer  <fweimer@redhat.com>
4993         [BZ #21015]
4994         * manual/install.texi (Configuring and compiling): Document
4995         --enable-bind-now.
4996         * Makeconfig [bind-now] (LDFLAGS-lib.so): Set.
4997         (build-shlib-helper): Use $(LDFLAGS-lib.so).
4998         (format.lds): Likewise.
4999         [bind-now] (LDFLAGS-c.so): Remove.
5000         * sysdeps/x86_64/localplt.data (libm.so): matherr relocation can
5001         be R_X86_64_GLOB_DAT.
5002         * sysdeps/unix/sysv/linux/i386/localplt.data (libm.so): matherr
5003         relocation can be R_386_GLOB_DAT.
5004         * sysdeps/unix/sysv/linux/alpha/localplt.data (libm.so): matherr
5005         relocaiton can be R_ALPHA_GLOB_DAT.
5006         * iconvdata/Makefile [bind-now] (LDFLAGS.so): Add -Wl,-z,now.
5008 2017-03-01  Zack Weinberg  <zackw@panix.com>
5010         * include/libc-pointer-arith.h: New file.  Define
5011         cast_to_integer, ALIGN_UP, ALIGN_DOWN, PTR_ALIGN_UP, and
5012         PTR_ALIGN_DOWN here.
5013         * include/libc-internal.h: Definitions of above macros
5014         moved from here.  Don't include libc-diag.h anymore either.
5015         * posix/wordexp-test.c: Include stdint.h and libc-pointer-arith.h.
5016         Don't include libc-internal.h.
5018         * debug/pcprofile.c, elf/dl-tunables.c, elf/soinit.c, io/openat.c
5019         * io/openat64.c, misc/ptrace.c, nptl/pthread_clock_gettime.c
5020         * nptl/pthread_clock_settime.c, nptl/pthread_cond_common.c
5021         * string/strcoll_l.c, sysdeps/nacl/brk.c
5022         * sysdeps/unix/clock_settime.c
5023         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c
5024         * sysdeps/unix/sysv/linux/ia64/get_clockfreq.c
5025         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
5026         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c:
5027         Don't include libc-internal.h.
5029         * elf/get-dynamic-info.h, iconv/loop.c
5030         * iconvdata/iso-2022-cn-ext.c, locale/weight.h, locale/weightwc.h
5031         * misc/reboot.c, nis/nis_table.c, nptl_db/thread_dbP.h
5032         * nscd/connections.c, resolv/res_send.c, soft-fp/fmadf4.c
5033         * soft-fp/fmasf4.c, soft-fp/fmatf4.c, stdio-common/vfscanf.c
5034         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
5035         * sysdeps/ieee754/dbl-64/k_rem_pio2.c
5036         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
5037         * sysdeps/ieee754/flt-32/k_rem_pio2f.c
5038         * sysdeps/ieee754/ldbl-128/k_tanl.c
5039         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
5040         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
5041         * sysdeps/ieee754/ldbl-96/k_tanl.c, sysdeps/nptl/futex-internal.h:
5042         Include libc-diag.h instead of libc-internal.h.
5044         * elf/dl-load.c, elf/dl-reloc.c, locale/programs/locarchive.c
5045         * nptl/nptl-init.c, string/strcspn.c, string/strspn.c
5046         * malloc/malloc.c, sysdeps/i386/nptl/tls.h
5047         * sysdeps/nacl/dl-map-segments.h, sysdeps/x86_64/atomic-machine.h
5048         * sysdeps/unix/sysv/linux/spawni.c
5049         * sysdeps/x86_64/nptl/tls.h:
5050         Include libc-pointer-arith.h instead of libc-internal.h.
5052         * elf/get-dynamic-info.h, sysdeps/nacl/dl-map-segments.h
5053         * sysdeps/x86_64/atomic-machine.h:
5054         Add multiple include guard.
5056         * nss/tst-cancel-getpwuid_r.c: Include nss.h.
5057         * string/strcasestr.c: No need to include config.h.
5058         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c: Include
5059         sys/auxv.h. Don't include sysdep.h.
5060         * sysdeps/powerpc/tst-set_ppr.c: Don't include dl-procinfo.h.
5062         * dlfcn/tst-dladdr.c: Don't include ldsodefs.h.  Don't use
5063         DL_LOOKUP_ADDRESS.
5064         * math/test-misc.c: Instead of testing NO_LONG_DOUBLE, test whether
5065         LDBL_MANT_DIG is greater than DBL_MANT_DIG.
5066         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Use
5067         sysconf (_SC_PAGESIZE) instead of __getpagesize in definition
5068         of ARTIFICIAL_LIMIT.
5069         * sysdeps/unix/sysv/linux/tst-clone.c [__ia64__]: Add extern
5070         declaration of __clone2.
5072 2017-02-28  Florian Weimer  <fweimer@redhat.com>
5074         * scripts/backport-support.sh (latest_commit): New file.
5076 2017-02-28  Florian Weimer  <fweimer@redhat.com>
5078         [BZ #20257]
5079         * inet/Makefile (routines): Add deadline.
5080         (tests-static): Add tst-deadline.
5081         * inet/net-internal.h (struct deadline_current_time)
5082         (__deadline_current_time, struct deadline, __deadline_is_infinite)
5083         (__deadline_elapsed, __deadline_first, __deadline_from_timeval)
5084         (__deadline_to_ms, __is_timeval_valid_timeout): Declare.
5085         * inet/deadline.c: New file.
5086         * inet/tst-deadline.c: Likewise.
5087         * sunrpc/Makefile (tests): Add tst-udp-nonblocking,
5088         tst-udp-timeout, tst-udp-garbage.
5089         (tst-udp-nonblocking, tst-udp-timeout): Link against libc.so
5090         explicitly.
5091         (tst-udp-garbage): Likewise.  Also link against thread library.
5092         * sunrpc/clnt_udp.c (struct cu_data): Mention in comment that the
5093         struct layout is part of the ABI.
5094         (clntudp_call): Rework timeout handling.
5095         * sunrpc/tst-udp-garbage.c: New file.
5096         * sunrpc/tst-udp-nonblocking.c: Likewise.
5097         * sunrpc/tst-udp-timeout.c: Likewise.
5099 2017-02-28  Florian Weimer  <fweimer@redhat.com>
5101         [BZ #5010]
5102         * sunrpc/svc.c (svc_is_mapped): Remove.
5103         (svc_unregister): Obtain mapped status while the service is still
5104         registered.
5105         * sunrpc/Makefile [have-thread-library] (tests): Add
5106         tst-svc_register.
5107         (tst-svc_register): Link against libc.so explicitly and the thread
5108         library.
5109         * sunrpc/tst-svc_register.c: New file.
5111 2017-02-28  Andreas Schwab  <schwab@linux-m68k.org>
5113         * bits/sigthread.h: Refer to <signal.h>, not <pthread.h>.
5114         * sysdeps/pthread/bits/sigthread.h: Likewise.
5116 2017-02-27  Florian Weimer  <fweimer@redhat.com>
5118         [BZ #21115]
5119         * sunrpc/clnt_udp.c (clntudp_call): Free ancillary data later.
5120         * sunrpc/Makefile (tests): Add tst-udp-error.
5121         (tst-udp-error): Link against libc.so explicitly.
5122         * sunrpc/tst-udp-error: New file.
5124 2017-02-25  Zack Weinberg  <zackw@panix.com>
5126         * sysdeps/generic/math_private.h: Use __BIG_ENDIAN and
5127         __LITTLE_ENDIAN, not BIG_ENDIAN and LITTLE_ENDIAN.
5129         * sysdeps/generic/math_ldbl.h
5130         * sysdeps/ia64/fpu/math_ldbl.h
5131         * sysdeps/ieee754/ldbl-128/math_ldbl.h
5132         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
5133         * sysdeps/ieee754/ldbl-96/math_ldbl.h
5134         * sysdeps/powerpc/fpu/math_ldbl.h
5135         * sysdeps/x86_64/fpu/math_ldbl.h:
5136         Allow direct inclusion.  Use uintNN_t instead of u_intNN_t.
5137         Use __BIG_ENDIAN and __LITTLE_ENDIAN, not BIG_ENDIAN and
5138         LITTLE_ENDIAN.  Include endian.h and/or stdint.h if necessary.
5139         Add copyright notices.
5141         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
5142         Don't use EXTRACT_WORDS64.
5144         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c
5145         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c
5146         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c
5147         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c:
5148         Include math_ldbl.h, not math_private.h.
5150 2017-02-25  Zack Weinberg  <zackw@panix.com>
5152         * include/libc-diag.h: New file.  Define ignore_value,
5153         DIAG_PUSH_NEEDS_COMMENT, DIAG_POP_NEEDS_COMMENT,
5154         DIAG_IGNORE_NEEDS_COMMENT, and DIAG_IGNORE_Os_NEEDS_COMMENT here.
5156         * include/libc-internal.h: Definitions of above macros moved from
5157         here.  Include libc-diag.h.  Add copyright notice.
5159         * malloc/tst-malloc.c, malloc/tst-memcheck.c, malloc/tst-realloc.c
5160         * misc/tst-error1.c, posix/tst-dir.c, stdio-common/bug21.c
5161         * stdio-common/scanf14.c, stdio-common/scanf4.c, stdio-common/scanf7.c
5162         * stdio-common/test-vfprintf.c, stdio-common/tst-printf.c
5163         * stdio-common/tst-printfsz.c, stdio-common/tst-sprintf.c
5164         * stdio-common/tst-unlockedio.c, stdio-common/tstdiomisc.c
5165         * stdlib/bug-getcontext.c, string/tester.c, string/tst-endian.c
5166         * time/tst-strptime2.c, wcsmbs/tst-wcstof.c:
5167         Include libc-diag.h instead of libc-internal.h.
5169         * stdlib/tst-environ.c: Include libc-diag.h.  Suppress -Wnonnull for
5170         call to unsetenv (NULL).
5171         * nptl/tst-mutex1.c: Include libc-diag.h.  Suppress -Wnonnull for
5172         call to pthread_mutexattr_destroy (NULL).
5174 2017-02-25  Zack Weinberg  <zackw@panix.com>
5176         * include/features.h (__GLIBC_USE_DEPRECATED_GETS): New macro.
5177         * libio/stdio.h, libio/bits/stdio2.h: Condition gets on
5178         __GLIBC_USE (DEPRECATED_GETS).  Update comments to indicate
5179         gets was removed from C++ in C++14.
5180         * include/stdio.h: Remove redundant declaration of gets.
5181         * debug/tst-chk1.c, stdio-common/tst-gets.c: Force gets to
5182         be declared, since we are testing it.
5183         * stdio-common/Makefile (tst-gets.c): Compile with
5184         -Wno-deprecated-declarations.
5185         * debug/Makefile (tst-chk1.c, tst-chk2.c, tst-chk3.c, tst-chk4.cc)
5186         (tst-chk5.cc, tst-chk6.cc, tst-lfschk1.c, tst-lfschk2.c)
5187         (tst-lfschk3.c, tst-lfschk4.cc, tst-lfschk5.cc, tst-lfschk6.cc):
5188         Compile with -Wno-deprecated-declarations.
5190 2017-02-24  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5192         * math/libm-test-support.c (check_ulp): Use LIT() around literal
5193         numbers.
5195 2017-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
5197         * resolv/tst-resolv-qtypes.c (domain):
5198         Change type to const pointer to const char.
5200 2017-02-24  Joseph Myers  <joseph@codesourcery.com>
5202         * math/Makefile (libm-tests-generated): Remove variable.
5203         (libm-tests-base-normal): New variable.
5204         (libm-tests-base-finite): Likewise.
5205         (libm-tests-base-inline): Likewise.
5206         (libm-tests-base): Likewise.
5207         (libm-tests-normal): Likewise.
5208         (libm-tests-finite): Likewise.
5209         (libm-tests-inline): Likewise.
5210         (libm-tests-vector): Likewise.
5211         (libm-tests): Define in terms of these new variables.
5212         (libm-tests-for-type): New variable.
5213         (libm-tests.o): Move definition.
5214         (tests): Move addition of $(libm-tests).
5215         (generated): Update for new and removed libm test files.
5216         ($(objpfx)libm-test.c): Remove target.
5217         ($(objpfx)libm-have-vector-test.h): Likewise.
5218         (CFLAGS-test-double-vlen2.c): Remove variable.
5219         (CFLAGS-test-double-vlen4.c): Likewise.
5220         (CFLAGS-test-double-vlen8.c): Likewise.
5221         (CFLAGS-test-float-vlen4.c): Likewise.
5222         (CFLAGS-test-float-vlen8.c): Likewise.
5223         (CFLAGS-test-float-vlen16.c): Likewise.
5224         (CFLAGS-test-float.c): Likewise.
5225         (CFLAGS-test-float-finite.c): Likewise.
5226         (CFLAGS-libm-test-support-float.c): Likewise.
5227         (CFLAGS-test-double.c): Likewise.
5228         (CFLAGS-test-double-finite.c): Likewise.
5229         (CFLAGS-libm-test-support-double.c): Likewise.
5230         (CFLAGS-test-ldouble.c): Likewise.
5231         (CFLAGS-test-ldouble-finite.c): Likewise.
5232         (CFLAGS-libm-test-support-ldouble.c): Likewise.
5233         (libm-test-inline-cflags): New variable.
5234         (CFLAGS-test-ifloat.c): Remove variable.
5235         (CFLAGS-test-idouble.c): Likewise.
5236         (CFLAGS-test-ildouble.c): Likewise.
5237         ($(addprefix $(objpfx), $(libm-tests.o))): Move target and update
5238         dependencies.
5239         ($(foreach t,$(libm-tests-normal),$(objpfx)$(t).c)): New rule.
5240         ($(foreach t,$(libm-tests-finite),$(objpfx)$(t).c)): Likewise.
5241         ($(foreach t,$(libm-tests-inline),$(objpfx)$(t).c)): Likewise.
5242         ($(foreach t,$(libm-tests-vector),$(objpfx)$(t).c)): Likewise.
5243         ($(foreach t,$(types),$(objpfx)libm-test-support-$(t).c)):
5244         Likewise.
5245         (dependencies on libm-test-support-*.o): Remove.
5246         ($(foreach f,$(libm-test-funcs-all),$(objpfx)$(o)-$(f).o)): New
5247         rules using iterators.
5248         ($(addprefix $(objpfx),$(call libm-tests-for-type,$(o)))):
5249         Likewise.
5250         ($(objpfx)libm-test-support-$(o).o): Likewise.
5251         ($(addprefix $(objpfx),$(filter-out $(tests-static)
5252         $(libm-vec-tests),$(tests)))): Filter out $(libm-tests-vector)
5253         instead.
5254         ($(addprefix $(objpfx), $(libm-vec-tests))): Use iterator to
5255         define rule instead.
5256         * math/README.libm-test: Update.
5257         * math/libm-test-acos.inc: Include libm-test-driver.c.
5258         (do_test): New function.
5259         * math/libm-test-acosh.inc: Include libm-test-driver.c.
5260         (do_test): New function.
5261         * math/libm-test-asin.inc: Include libm-test-driver.c.
5262         (do_test): New function.
5263         * math/libm-test-asinh.inc: Include libm-test-driver.c.
5264         (do_test): New function.
5265         * math/libm-test-atan.inc: Include libm-test-driver.c.
5266         (do_test): New function.
5267         * math/libm-test-atan2.inc: Include libm-test-driver.c.
5268         (do_test): New function.
5269         * math/libm-test-atanh.inc: Include libm-test-driver.c.
5270         (do_test): New function.
5271         * math/libm-test-cabs.inc: Include libm-test-driver.c.
5272         (do_test): New function.
5273         * math/libm-test-cacos.inc: Include libm-test-driver.c.
5274         (do_test): New function.
5275         * math/libm-test-cacosh.inc: Include libm-test-driver.c.
5276         (do_test): New function.
5277         * math/libm-test-canonicalize.inc: Include libm-test-driver.c.
5278         (do_test): New function.
5279         * math/libm-test-carg.inc: Include libm-test-driver.c.
5280         (do_test): New function.
5281         * math/libm-test-casin.inc: Include libm-test-driver.c.
5282         (do_test): New function.
5283         * math/libm-test-casinh.inc: Include libm-test-driver.c.
5284         (do_test): New function.
5285         * math/libm-test-catan.inc: Include libm-test-driver.c.
5286         (do_test): New function.
5287         * math/libm-test-catanh.inc: Include libm-test-driver.c.
5288         (do_test): New function.
5289         * math/libm-test-cbrt.inc: Include libm-test-driver.c.
5290         (do_test): New function.
5291         * math/libm-test-ccos.inc: Include libm-test-driver.c.
5292         (do_test): New function.
5293         * math/libm-test-ccosh.inc: Include libm-test-driver.c.
5294         (do_test): New function.
5295         * math/libm-test-ceil.inc: Include libm-test-driver.c.
5296         (do_test): New function.
5297         * math/libm-test-cexp.inc: Include libm-test-driver.c.
5298         (do_test): New function.
5299         * math/libm-test-cimag.inc: Include libm-test-driver.c.
5300         (do_test): New function.
5301         * math/libm-test-clog.inc: Include libm-test-driver.c.
5302         (do_test): New function.
5303         * math/libm-test-clog10.inc: Include libm-test-driver.c.
5304         (do_test): New function.
5305         * math/libm-test-conj.inc: Include libm-test-driver.c.
5306         (do_test): New function.
5307         * math/libm-test-copysign.inc: Include libm-test-driver.c.
5308         (do_test): New function.
5309         * math/libm-test-cos.inc: Include libm-test-driver.c.
5310         (do_test): New function.
5311         * math/libm-test-cosh.inc: Include libm-test-driver.c.
5312         (do_test): New function.
5313         * math/libm-test-cpow.inc: Include libm-test-driver.c.
5314         (do_test): New function.
5315         * math/libm-test-cproj.inc: Include libm-test-driver.c.
5316         (do_test): New function.
5317         * math/libm-test-creal.inc: Include libm-test-driver.c.
5318         (do_test): New function.
5319         * math/libm-test-csin.inc: Include libm-test-driver.c.
5320         (do_test): New function.
5321         * math/libm-test-csinh.inc: Include libm-test-driver.c.
5322         (do_test): New function.
5323         * math/libm-test-csqrt.inc: Include libm-test-driver.c.
5324         (do_test): New function.
5325         * math/libm-test-ctan.inc: Include libm-test-driver.c.
5326         (do_test): New function.
5327         * math/libm-test-ctanh.inc: Include libm-test-driver.c.
5328         (do_test): New function.
5329         * math/libm-test-erf.inc: Include libm-test-driver.c.
5330         (do_test): New function.
5331         * math/libm-test-erfc.inc: Include libm-test-driver.c.
5332         (do_test): New function.
5333         * math/libm-test-exp.inc: Include libm-test-driver.c.
5334         (do_test): New function.
5335         * math/libm-test-exp10.inc: Include libm-test-driver.c.
5336         (do_test): New function.
5337         * math/libm-test-exp2.inc: Include libm-test-driver.c.
5338         (do_test): New function.
5339         * math/libm-test-expm1.inc: Include libm-test-driver.c.
5340         (do_test): New function.
5341         * math/libm-test-fabs.inc: Include libm-test-driver.c.
5342         (do_test): New function.
5343         * math/libm-test-fdim.inc: Include libm-test-driver.c.
5344         (do_test): New function.
5345         * math/libm-test-floor.inc: Include libm-test-driver.c.
5346         (do_test): New function.
5347         * math/libm-test-fma.inc: Include libm-test-driver.c.
5348         (do_test): New function.
5349         * math/libm-test-fmax.inc: Include libm-test-driver.c.
5350         (do_test): New function.
5351         * math/libm-test-fmaxmag.inc: Include libm-test-driver.c.
5352         (do_test): New function.
5353         * math/libm-test-fmin.inc: Include libm-test-driver.c.
5354         (do_test): New function.
5355         * math/libm-test-fminmag.inc: Include libm-test-driver.c.
5356         (do_test): New function.
5357         * math/libm-test-fmod.inc: Include libm-test-driver.c.
5358         (do_test): New function.
5359         * math/libm-test-fpclassify.inc: Include libm-test-driver.c.
5360         (do_test): New function.
5361         * math/libm-test-frexp.inc: Include libm-test-driver.c.
5362         (do_test): New function.
5363         * math/libm-test-fromfp.inc: Include libm-test-driver.c.
5364         (do_test): New function.
5365         * math/libm-test-fromfpx.inc: Include libm-test-driver.c.
5366         (do_test): New function.
5367         * math/libm-test-getpayload.inc: Include libm-test-driver.c.
5368         (do_test): New function.
5369         * math/libm-test-hypot.inc: Include libm-test-driver.c.
5370         (do_test): New function.
5371         * math/libm-test-ilogb.inc: Include libm-test-driver.c.
5372         (do_test): New function.
5373         * math/libm-test-iscanonical.inc: Include libm-test-driver.c.
5374         (do_test): New function.
5375         * math/libm-test-iseqsig.inc: Include libm-test-driver.c.
5376         (do_test): New function.
5377         * math/libm-test-isfinite.inc: Include libm-test-driver.c.
5378         (do_test): New function.
5379         * math/libm-test-isgreater.inc: Include libm-test-driver.c.
5380         (do_test): New function.
5381         * math/libm-test-isgreaterequal.inc: Include libm-test-driver.c.
5382         (do_test): New function.
5383         * math/libm-test-isinf.inc: Include libm-test-driver.c.
5384         (do_test): New function.
5385         * math/libm-test-isless.inc: Include libm-test-driver.c.
5386         (do_test): New function.
5387         * math/libm-test-islessequal.inc: Include libm-test-driver.c.
5388         (do_test): New function.
5389         * math/libm-test-islessgreater.inc: Include libm-test-driver.c.
5390         (do_test): New function.
5391         * math/libm-test-isnan.inc: Include libm-test-driver.c.
5392         (do_test): New function.
5393         * math/libm-test-isnormal.inc: Include libm-test-driver.c.
5394         (do_test): New function.
5395         * math/libm-test-issignaling.inc: Include libm-test-driver.c.
5396         (do_test): New function.
5397         * math/libm-test-issubnormal.inc: Include libm-test-driver.c.
5398         (do_test): New function.
5399         * math/libm-test-isunordered.inc: Include libm-test-driver.c.
5400         (do_test): New function.
5401         * math/libm-test-iszero.inc: Include libm-test-driver.c.
5402         (do_test): New function.
5403         * math/libm-test-j0.inc: Include libm-test-driver.c.
5404         (do_test): New function.
5405         * math/libm-test-j1.inc: Include libm-test-driver.c.
5406         (do_test): New function.
5407         * math/libm-test-jn.inc: Include libm-test-driver.c.
5408         (do_test): New function.
5409         * math/libm-test-lgamma.inc: Include libm-test-driver.c.
5410         (do_test): New function.
5411         * math/libm-test-llogb.inc: Include libm-test-driver.c.
5412         (do_test): New function.
5413         * math/libm-test-llrint.inc: Include libm-test-driver.c.
5414         (do_test): New function.
5415         * math/libm-test-llround.inc: Include libm-test-driver.c.
5416         (do_test): New function.
5417         * math/libm-test-log.inc: Include libm-test-driver.c.
5418         (do_test): New function.
5419         * math/libm-test-log10.inc: Include libm-test-driver.c.
5420         (do_test): New function.
5421         * math/libm-test-log1p.inc: Include libm-test-driver.c.
5422         (do_test): New function.
5423         * math/libm-test-log2.inc: Include libm-test-driver.c.
5424         (do_test): New function.
5425         * math/libm-test-logb.inc: Include libm-test-driver.c.
5426         (do_test): New function.
5427         * math/libm-test-lrint.inc: Include libm-test-driver.c.
5428         (do_test): New function.
5429         * math/libm-test-lround.inc: Include libm-test-driver.c.
5430         (do_test): New function.
5431         * math/libm-test-modf.inc: Include libm-test-driver.c.
5432         (do_test): New function.
5433         * math/libm-test-nearbyint.inc: Include libm-test-driver.c.
5434         (do_test): New function.
5435         * math/libm-test-nextafter.inc: Include libm-test-driver.c.
5436         (do_test): New function.
5437         * math/libm-test-nextdown.inc: Include libm-test-driver.c.
5438         (do_test): New function.
5439         * math/libm-test-nexttoward.inc: Include libm-test-driver.c.
5440         (do_test): New function.
5441         * math/libm-test-nextup.inc: Include libm-test-driver.c.
5442         (do_test): New function.
5443         * math/libm-test-pow.inc: Include libm-test-driver.c.
5444         (do_test): New function.
5445         * math/libm-test-remainder.inc: Include libm-test-driver.c.
5446         (do_test): New function.
5447         * math/libm-test-remquo.inc: Include libm-test-driver.c.
5448         (do_test): New function.
5449         * math/libm-test-rint.inc: Include libm-test-driver.c.
5450         (do_test): New function.
5451         * math/libm-test-round.inc: Include libm-test-driver.c.
5452         (do_test): New function.
5453         * math/libm-test-roundeven.inc: Include libm-test-driver.c.
5454         (do_test): New function.
5455         * math/libm-test-scalb.inc: Include libm-test-driver.c.
5456         (do_test): New function.
5457         * math/libm-test-scalbln.inc: Include libm-test-driver.c.
5458         (do_test): New function.
5459         * math/libm-test-scalbn.inc: Include libm-test-driver.c.
5460         (do_test): New function.
5461         * math/libm-test-setpayload.inc: Include libm-test-driver.c.
5462         (do_test): New function.
5463         * math/libm-test-setpayloadsig.inc: Include libm-test-driver.c.
5464         (do_test): New function.
5465         * math/libm-test-signbit.inc: Include libm-test-driver.c.
5466         (do_test): New function.
5467         * math/libm-test-significand.inc: Include libm-test-driver.c.
5468         (do_test): New function.
5469         * math/libm-test-sin.inc: Include libm-test-driver.c.
5470         (do_test): New function.
5471         * math/libm-test-sincos.inc: Include libm-test-driver.c.
5472         (do_test): New function.
5473         * math/libm-test-sinh.inc: Include libm-test-driver.c.
5474         (do_test): New function.
5475         * math/libm-test-sqrt.inc: Include libm-test-driver.c.
5476         (do_test): New function.
5477         * math/libm-test-tan.inc: Include libm-test-driver.c.
5478         (do_test): New function.
5479         * math/libm-test-tanh.inc: Include libm-test-driver.c.
5480         (do_test): New function.
5481         * math/libm-test-tgamma.inc: Include libm-test-driver.c.
5482         (do_test): New function.
5483         * math/libm-test-totalorder.inc: Include libm-test-driver.c.
5484         (do_test): New function.
5485         * math/libm-test-totalordermag.inc: Include libm-test-driver.c.
5486         (do_test): New function.
5487         * math/libm-test-trunc.inc: Include libm-test-driver.c.
5488         (do_test): New function.
5489         * math/libm-test-ufromfp.inc: Include libm-test-driver.c.
5490         (do_test): New function.
5491         * math/libm-test-ufromfpx.inc: Include libm-test-driver.c.
5492         (do_test): New function.
5493         * math/libm-test-y0.inc: Include libm-test-driver.c.
5494         (do_test): New function.
5495         * math/libm-test-y1.inc: Include libm-test-driver.c.
5496         (do_test): New function.
5497         * math/libm-test-yn.inc: Include libm-test-driver.c.
5498         (do_test): New function.
5499         * math/libm-test-driver.c: Do not include libm-have-vector-test.h.
5500         (HAVE_VECTOR): Remove macro.
5501         (START): Do not call HAVE_VECTOR.
5502         * math/test-double-vlen2.h (FUNC_TEST): Remove macro.
5503         * math/test-double-vlen4.h (FUNC_TEST): Remove macro.
5504         * math/test-double-vlen8.h (FUNC_TEST): Remove macro.
5505         * math/test-float-vlen16.h (FUNC_TEST): Remove macro.
5506         * math/test-float-vlen4.h (FUNC_TEST): Remove macro.
5507         * math/test-float-vlen8.h (FUNC_TEST): Remove macro.
5508         * math/test-math-vector.h (FUNC_TEST): New macro.
5509         (WRAPPER_DECL): Rename to WRAPPER_DECL_f.
5510         * sysdeps/x86_64/fpu/Makefile (double-vlen2-funcs): New variable.
5511         (double-vlen4-funcs): Likewise.
5512         (double-vlen4-avx2-funcs): Likewise.
5513         (double-vlen8-funcs): Likewise.
5514         (float-vlen4-funcs): Likewise.
5515         (float-vlen8-funcs): Likewise.
5516         (float-vlen8-avx2-funcs): Likewise.
5517         (float-vlen16-funcs): Likewise.
5518         (CFLAGS-test-double-vlen4-avx2.c): Remove variable.
5519         (CFLAGS-test-float-vlen8-avx2.c): Likewise.
5520         * sysdeps/x86_64/fpu/test-double-vlen4.h (TEST_VECTOR_cos): Remove
5521         macro.
5522         (TEST_VECTOR_sin): Likewise.
5523         (TEST_VECTOR_sincos): Likewise.
5524         (TEST_VECTOR_log): Likewise.
5525         (TEST_VECTOR_exp): Likewise.
5526         (TEST_VECTOR_pow): Likewise.
5527         * sysdeps/x86_64/fpu/test-double-vlen8.h (TEST_VECTOR_cos):
5528         Likewise.
5529         (TEST_VECTOR_sin): Likewise.
5530         (TEST_VECTOR_sincos): Likewise.
5531         (TEST_VECTOR_log): Likewise.
5532         (TEST_VECTOR_exp): Likewise.
5533         (TEST_VECTOR_pow): Likewise.
5534         * sysdeps/x86_64/fpu/test-float-vlen16.h (TEST_VECTOR_cosf):
5535         Likewise.
5536         (TEST_VECTOR_sinf): Likewise.
5537         (TEST_VECTOR_sincosf): Likewise.
5538         (TEST_VECTOR_logf): Likewise.
5539         (TEST_VECTOR_expf): Likewise.
5540         (TEST_VECTOR_powf): Likewise.
5541         * sysdeps/x86_64/fpu/test-float-vlen8.h (TEST_VECTOR_cosf):
5542         Likewise.
5543         (TEST_VECTOR_sinf): Likewise.
5544         (TEST_VECTOR_sincosf): Likewise.
5545         (TEST_VECTOR_logf): Likewise.
5546         (TEST_VECTOR_expf): Likewise.
5547         (TEST_VECTOR_powf): Likewise.
5548         * math/gen-libm-have-vector-test.sh: Remove file.
5549         * math/libm-test.inc: Likewise.
5550         * math/libm-test-support-double.c: Likewise.
5551         * math/libm-test-support-float.c: Likewise.
5552         * math/libm-test-support-ldouble.c: Likewise.
5553         * math/test-double-finite.c: Likewise.: Likewise.
5554         * math/test-double.c: Likewise.
5555         * math/test-float-finite.c: Likewise.
5556         * math/test-float.c: Likewise.
5557         * math/test-idouble.c: Likewise.
5558         * math/test-ifloat.c: Likewise.
5559         * math/test-ildouble.c: Likewise.
5560         * math/test-ldouble-finite.c: Likewise.
5561         * math/test-ldouble.c: Likewise.
5562         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
5563         * sysdeps/x86_64/fpu/test-double-vlen2.h: Likewise.
5564         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
5565         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
5566         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
5567         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
5568         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
5569         * sysdeps/x86_64/fpu/test-float-vlen4.h: Likewise.
5570         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
5571         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
5573 2017-02-23 Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5574            Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
5576         * math/Makefile: Add wrappers to gen-libm-calls.
5577         * math/w_acos_template.c: New file.
5578         * math/w_acosh_template.c: Likewise.
5579         * math/w_asin_template.c: Likewise.
5580         * math/w_atan2_template.c: Likewise.
5581         * math/w_atanh_template.c: Likewise.
5582         * math/w_cosh_template.c: Likewise.
5583         * math/w_exp10_template.c: Likewise.
5584         * math/w_exp2_template.c: Likewise.
5585         * math/w_exp_template.c: Likewise.
5586         * math/w_fmod_template.c: Likewise.
5587         * math/w_hypot_template.c: Likewise.
5588         * math/w_j0_template.c: Likewise.
5589         * math/w_j1_template.c: Likewise.
5590         * math/w_jn_template.c: Likewise.
5591         * math/w_lgamma_r_template.c: Likewise.
5592         * math/w_lgamma_template.c: Likewise.
5593         * math/w_log10_template.c: Likewise.
5594         * math/w_log2_template.c: Likewise.
5595         * math/w_log_template.c: Likewise.
5596         * math/w_pow_template.c: Likewise.
5597         * math/w_remainder_template.c: Likewise.
5598         * math/w_sinh_template.c: Likewise.
5599         * math/w_sqrt_template.c: Likewise.
5600         * math/w_tgamma_template.c: Likewise.: Likewise.
5601         * sysdeps/generic/math-type-macros-double.h
5602         (__USE_WRAPPER_TEMPLATE): New macro to control inclusion of
5603         the new wrappers.
5604         * sysdeps/generic/math-type-macros-float.h: Likewise.
5605         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
5607 2017-02-22  Joseph Myers  <joseph@codesourcery.com>
5609         * sysdeps/unix/sysv/linux/sys/timerfd.h (TFD_TIMER_CANCEL_ON_SET):
5610         New enum constant and macro.
5612         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
5613         kernel version to 4.10.
5615 2017-02-21  Joseph Myers  <joseph@codesourcery.com>
5617         * sysdeps/unix/sysv/linux/bits/in.h (IP_RECVFRAGSIZE): New macro.
5619 2017-02-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5621         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
5623 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
5625         * sysdeps/powerpc/tst-set_ppr.c: New file.
5626         Implement test cases for __ppc_set_ppr_* functions.
5627         * sysdeps/powerpc/Makefile ($(subdir),misc): Add tst-set_ppr
5628         in the list of tests.
5630 2017-02-21  Wainer dos Santos Moschetta  <wainersm@linux.vnet.ibm.com>
5632         * sysdeps/powerpc/test-get_hwcap.c: Use <support/test-driver.c>
5633         instead of test-skeleton.c.
5634         (do_test): Replaced pthread_create and pthread_join with
5635         xpthread_create and xpthread_join.  Use TEST_VERIFY_EXIT macro.
5636         Removed unneeded status variable.
5637         * sysdeps/powerpc/test-gettimebase.c: Use <support/test-driver.c>
5638         instead of test-skeleton.c.
5639         * sysdeps/powerpc/tst-tlsopt-powerpc.c: Likewise.
5641 2017-02-20  Mike FABIAN  <mfabian@redhat.com>
5643         [BZ #20313]
5644         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
5645         201605L, for Unicode 9.
5647 2017-02-20  Joseph Myers  <joseph@codesourcery.com>
5649         * math/libm-test-support.h (EXCEPTIONS_OK): Remove macro.
5650         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
5651         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
5652         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
5653         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
5654         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
5656 2017-02-19  Zack Weinberg  <zackw@panix.com>
5658         * rt/tst-mqueue4.c: Include stdint.h.
5660 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
5662         * sysdeps/arm/libm-test-ulps: Update.
5663         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
5664         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
5665         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
5667 2017-01-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
5669         [BZ #21029]
5670         * config.h.in [CAN_USE_REGISTER_ASM_EBP]: New define.
5671         * sysdeps/unix/sysv/linux/i386/Makefile
5672         [$(subdir) = elf] (sysdep-dl-routines): Add libc-do-syscall.
5673         (uses-6-syscall-arguments): Remove.
5674         [$(subdir) = misc] (CFLAGS-epoll_pwait.o): Likewise.
5675         [$(subdir) = misc] (CFLAGS-epoll_pwait.os): Likewise.
5676         [$(subdir) = misc] (CFLAGS-mmap.o): Likewise.
5677         [$(subdir) = misc] (CFLAGS-mmap.os): Likewise.
5678         [$(subdir) = misc] (CFLAGS-mmap64.o): Likewise.
5679         [$(subdir) = misc] (CFLAGS-mmap64.os): Likewise.
5680         [$(subdir) = misc] (CFLAGS-pselect.o): Likewise.
5681         [$(subdir) = misc] (cflags-pselect.o): Likewise.
5682         [$(subdir) = misc] (cflags-pselect.os): Likewise.
5683         [$(subdir) = misc] (cflags-rtld-mmap.os): Likewise.
5684         [$(subdir) = sysvipc] (cflags-semtimedop.o): Likewise.
5685         [$(subdir) = sysvipc] (cflags-semtimedop.os): Likewise.
5686         [$(subdir) = io] (CFLAGS-posix_fadvise64.o): Likewise.
5687         [$(subdir) = io] (CFLAGS-posix_fadvise64.os): Likewise.
5688         [$(subdir) = io] (CFLAGS-posix_fallocate.o): Likewise.
5689         [$(subdir) = io] (CFLAGS-posix_fallocate.os): Likewise.
5690         [$(subdir) = io] (CFLAGS-posix_fallocate64.o): Likewise.
5691         [$(subdir) = io] (CFLAGS-posix_fallocate64.os): Likewise.
5692         [$(subdir) = io] (CFLAGS-sync_file_range.o): Likewise.
5693         [$(subdir) = io] (CFLAGS-sync_file_range.os): Likewise.
5694         [$(subdir) = io] (CFLAGS-fallocate.o): Likewise.
5695         [$(subdir) = io] (CFLAGS-fallocate.os): Likewise.
5696         [$(subdir) = io] (CFLAGS-fallocate64.o): Likewise.
5697         [$(subdir) = io] (CFLAGS-fallocate64.os): Likewise.
5698         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o):
5699         Likewise.
5700         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrdlock.os):
5701         Likewise.
5702         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.o):
5703         Likewise.
5704         [$(subdir) = nptl] (CFLAGS-pthread_rwlock_timedrwlock.os):
5705         Likewise.
5706         [$(subdir) = nptl] (CFLAGS-sem_wait.o): Likewise.
5707         [$(subdir) = nptl] (CFLAGS-sem_wait.os): Likewise.
5708         [$(subdir) = nptl] (CFLAGS-sem_timedwait.o): Likewise.
5709         [$(subdir) = nptl] (CFLAGS-sem_timedwait.os): Likewise.
5710         * sysdeps/unix/sysv/linux/i386/configure.ac: Add check if compiler allows
5711         ebp on inline assembly.
5712         * sysdeps/unix/sysv/linux/i386/configure: Regenerate.
5713         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
5714         Set if CAN_USE_REGISTER_ASM_EBP is set.
5716 2017-02-17  H.J. Lu  <hongjiu.lu@intel.com>
5718         * sysdeps/x86/cpu-features.c (init_cpu_features): Use
5719         index_cpu_RTM and reg_RTM to clear the bit_cpu_RTM bit.
5721 2017-02-17  Joseph Myers  <joseph@codesourcery.com>
5723         * math/auto-libm-test-in: Add tests of catan and catanh.
5724         * math/auto-libm-test-out-catan: New generated file.
5725         * math/auto-libm-test-out-catanh: Likewise.
5726         * math/libm-test-catan.inc (catan_test_data): Use AUTO_TESTS_c_c.
5727         Move tests with finite inputs, except divide-by-zero cases, to
5728         auto-libm-test-in.
5729         * math/libm-test-catanh.inc (catanh_test_data): Likewise.
5730         * math/Makefile (libm-test-funcs-auto): Add catan and catanh.
5731         (libm-test-funcs-noauto): Remove catan and catanh.
5732         * sysdeps/i386/fpu/libm-test-ulps: Update.
5733         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
5734         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5736         * math/auto-libm-test-in: Add tests of casin and casinh.
5737         * math/auto-libm-test-out-casin: New generated file.
5738         * math/auto-libm-test-out-casinh: Likewise.
5739         * math/libm-test-casin.inc (casin_test_data): Use AUTO_TESTS_c_c.
5740         Move tests with finite inputs to auto-libm-test-in.
5741         * math/libm-test-casinh.inc (casinh_test_data): Likewise.
5742         * math/Makefile (libm-test-funcs-auto): Add casin and casinh.
5743         (libm-test-funcs-noauto): Remove casin and casinh.
5744         * sysdeps/i386/fpu/libm-test-ulps: Update.
5745         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
5746         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5748         * math/auto-libm-test-in: Add tests of cacos and cacosh.
5749         * math/auto-libm-test-out-cacos: New generated file.
5750         * math/auto-libm-test-out-cacosh: Likewise.
5751         * math/libm-test-cacos.inc (cacos_test_data): Use AUTO_TESTS_c_c.
5752         Move tests with finite inputs to auto-libm-test-in.
5753         * math/libm-test-cacosh.inc (cacosh_test_data): Likewise.
5754         * math/Makefile (libm-test-funcs-auto): Add cacos and cacosh.
5755         (libm-test-funcs-noauto): Remove cacos and cacosh.
5756         * sysdeps/i386/fpu/libm-test-ulps: Update.
5757         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Likewise.
5758         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
5760         Revert:
5761         2017-02-16  Zack Weinberg  <zackw@panix.com>
5763         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
5764         Don't include init-arch.h.
5765         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
5766         Don't include init-arch.h.
5768 2017-02-17  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
5770         [BZ #21171]
5771         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Return
5772         +Inf and raise divide-by-zero when x is negative.
5773         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Likewise.
5774         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Likewise.
5775         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10):  Return
5776         -Inf and raise divide-by-zero when x = +-0.
5777         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
5778         * sysdeps/ieee754/flt-32/e_log10f.c (__ieee754_log10f): Likewise.
5779         * sysdeps/ieee754/flt-32/e_log2f.c (__ieee754_log2f): Likewise.
5780         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Likewise.
5781         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
5782         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
5783         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
5785 2017-02-16  Zack Weinberg  <zackw@panix.com>
5787         * scripts/build-many-glibcs.py (bot_build_mail): If the
5788         bot_config does not contain all of the necessary email-
5789         related settings, just print a warning and continue.
5791 2017-02-16  Zack Weinberg  <zackw@panix.com>
5793         * crypt/md5.h: Test _LIBC with #if defined, not #if.
5794         * dirent/opendir-tst1.c: Include sys/stat.h.
5795         * dirent/tst-fdopendir.c: Include sys/stat.h.
5796         * dirent/tst-fdopendir2.c: Include stdlib.h.
5797         * dirent/tst-scandir.c: Include stdbool.h.
5798         * elf/tst-auditmod1.c: Include link.h and stddef.h.
5799         * elf/tst-tls15.c: Include stdlib.h.
5800         * elf/tst-tls16.c: Include stdlib.h.
5801         * elf/tst-tls17.c: Include stdlib.h.
5802         * elf/tst-tls18.c: Include stdlib.h.
5803         * iconv/tst-iconv6.c: Include endian.h.
5804         * iconvdata/bug-iconv11.c: Include limits.h.
5805         * io/test-utime.c: Include stdint.h.
5806         * io/tst-faccessat.c: Include sys/stat.h.
5807         * io/tst-fchmodat.c: Include sys/stat.h.
5808         * io/tst-fchownat.c: Include sys/stat.h.
5809         * io/tst-fstatat.c: Include sys/stat.h.
5810         * io/tst-futimesat.c: Include sys/stat.h.
5811         * io/tst-linkat.c: Include sys/stat.h.
5812         * io/tst-mkdirat.c: Include sys/stat.h and stdbool.h.
5813         * io/tst-mkfifoat.c: Include sys/stat.h and stdbool.h.
5814         * io/tst-mknodat.c: Include sys/stat.h and stdbool.h.
5815         * io/tst-openat.c: Include stdbool.h.
5816         * io/tst-readlinkat.c: Include sys/stat.h.
5817         * io/tst-renameat.c: Include sys/stat.h.
5818         * io/tst-symlinkat.c: Include sys/stat.h.
5819         * io/tst-unlinkat.c: Include stdbool.h.
5820         * libio/bug-memstream1.c: Include stdlib.h.
5821         * libio/bug-wmemstream1.c: Include stdlib.h.
5822         * libio/tst-fwrite-error.c: Include stdlib.h.
5823         * libio/tst-memstream1.c: Include stdlib.h.
5824         * libio/tst-memstream2.c: Include stdlib.h.
5825         * libio/tst-memstream3.c: Include stdlib.h.
5826         * malloc/tst-interpose-aux.c: Include stdint.h.
5827         * misc/tst-preadvwritev-common.c: Include sys/stat.h.
5828         * nptl/tst-basic7.c: Include limits.h.
5829         * nptl/tst-cancel25.c: Include pthread.h, not pthreadP.h.
5830         * nptl/tst-cancel4.c: Include stddef.h, limits.h, and sys/stat.h.
5831         * nptl/tst-cancel4_1.c: Include stddef.h.
5832         * nptl/tst-cancel4_2.c: Include stddef.h.
5833         * nptl/tst-cond16.c: Include limits.h.
5834         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
5835         * nptl/tst-cond18.c: Include limits.h.
5836         Use sysconf(_SC_PAGESIZE) instead of __getpagesize.
5837         * nptl/tst-cond4.c: Include stdint.h.
5838         * nptl/tst-cond6.c: Include stdint.h.
5839         * nptl/tst-stack2.c: Include limits.h.
5840         * nptl/tst-stackguard1.c: Include stddef.h.
5841         * nptl/tst-tls4.c: Include stdint.h. Don't include tls.h.
5842         * nptl/tst-tls4moda.c: Include stddef.h.
5843         Don't include stdio.h, unistd.h, or tls.h.
5844         * nptl/tst-tls4modb.c: Include stddef.h.
5845         Don't include stdio.h, unistd.h, or tls.h.
5846         * nptl/tst-tls5.h: Include stddef.h. Don't include stdlib.h or tls.h.
5847         * posix/tst-getaddrinfo2.c: Include stdio.h.
5848         * posix/tst-getaddrinfo5.c: Include stdio.h.
5849         * posix/tst-pathconf.c: Include sys/stat.h.
5850         * posix/tst-posix_fadvise-common.c: Include stdint.h.
5851         * posix/tst-preadwrite-common.c: Include sys/stat.h.
5852         * posix/tst-regex.c: Include stdint.h.
5853         Don't include spawn.h or spawn_int.h.
5854         * posix/tst-regexloc.c: Don't include spawn.h or spawn_int.h.
5855         * posix/tst-vfork3.c: Include sys/stat.h.
5856         * resolv/tst-bug18665-tcp.c: Include stdlib.h.
5857         * resolv/tst-res_hconf_reorder.c: Include stdlib.h.
5858         * resolv/tst-resolv-search.c: Include stdlib.h.
5859         * stdio-common/tst-fmemopen2.c: Include stdint.h.
5860         * stdio-common/tst-vfprintf-width-prec.c: Include stdlib.h.
5861         * stdlib/test-canon.c: Include sys/stat.h.
5862         * stdlib/tst-tls-atexit.c: Include stdbool.h.
5863         * string/test-memchr.c: Include stdint.h.
5864         * string/tst-cmp.c: Include stdint.h.
5865         * sysdeps/pthread/tst-timer.c: Include stdint.h.
5866         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Include stdint.h.
5867         * sysdeps/wordsize-64/tst-writev.c: Include limits.h and stdint.h.
5868         * sysdeps/x86_64/fpu/math-tests-arch.h: Include cpu-features.h.
5869         Don't include init-arch.h.
5870         * sysdeps/x86_64/multiarch/test-multiarch.h: Include cpu-features.h.
5871         Don't include init-arch.h.
5872         * sysdeps/x86_64/tst-auditmod10b.c: Include link.h and stddef.h.
5873         * sysdeps/x86_64/tst-auditmod3b.c: Include link.h and stddef.h.
5874         * sysdeps/x86_64/tst-auditmod4b.c: Include link.h and stddef.h.
5875         * sysdeps/x86_64/tst-auditmod5b.c: Include link.h and stddef.h.
5876         * sysdeps/x86_64/tst-auditmod6b.c: Include link.h and stddef.h.
5877         * sysdeps/x86_64/tst-auditmod6c.c: Include link.h and stddef.h.
5878         * sysdeps/x86_64/tst-auditmod7b.c: Include link.h and stddef.h.
5879         * time/clocktest.c: Include stdint.h.
5880         * time/tst-posixtz.c: Include stdint.h.
5881         * timezone/tst-timezone.c: Include stdint.h.
5883 2017-02-16  Zack Weinberg  <zackw@panix.com>
5885         * string/string.h [__USE_MISC]: Include strings.h.
5886         (__bzero, bcmp, bcopy, bzero, index, rindex)
5887         (strcasecmp, strncasecmp, strcasecmp_l, strncasecmp_l)
5888         (ffs, ffsl, ffsll): Don't declare.
5889         * string/strings.h: Do not suppress the file if string.h has
5890         already been included.
5891         (bcmp, bcopy, bzero, strcasecmp, strncasecmp): Add __nonnull
5892         annotations.
5893         (index, rindex): Define inline forwarders even if
5894         __CORRECT_ISO_CPP_STRING_H_PROTO is defined.
5895         (ffs): Use __attribute_const__.
5896         (ffsl, ffsll): Declare here.
5897         (strcasecmp_l, strncasecmp_l): Correct comments; these functions
5898         have now been standardized.
5899         * include/string.h (__bzero): Declare here.
5901         * bits/types.h: Move to posix/bits.
5902         * include/bits/types.h: New wrapper.
5904 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
5906         * string/bits/string2.h (strcmp): Remove define.
5907         (__strcmp_cg): Likewise.
5908         (strncmp): Likewise.
5910 2017-02-15  Wilco Dijkstra  <wdijkstr@arm.com>
5912         * include/string.h: Add __cplusplus check.
5914 2017-02-15  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5916         [BZ #21134]
5917         * sysdeps/ieee754/dbl-64/e_j0.c (__ieee754_y0): Raise the
5918         "divide by zero" exception when the input is zero.
5919         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_y1): Likewise.
5920         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Likewise.
5921         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Likewise.
5922         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Likewise.
5923         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
5925 2017-02-15  Joseph Myers  <joseph@codesourcery.com>
5927         * sysdeps/x86_64/fpu/test-double-vlen2.c: Move most contents to,
5928         and include ...
5929         * sysdeps/x86_64/fpu/test-double-vlen2.h: ... here.  New file.
5930         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Move most contents
5931         to, and include ...
5932         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.h: ... here.  New
5933         file.
5934         * sysdeps/x86_64/fpu/test-double-vlen4.c: Move most contents to,
5935         and include ...
5936         * sysdeps/x86_64/fpu/test-double-vlen4.h: ... here.  New file.
5937         * sysdeps/x86_64/fpu/test-double-vlen8.c: Move most contents to,
5938         and include ...
5939         * sysdeps/x86_64/fpu/test-double-vlen8.h: ... here.  New file.
5940         * sysdeps/x86_64/fpu/test-float-vlen16.c: Move most contents to,
5941         and include ...
5942         * sysdeps/x86_64/fpu/test-float-vlen16.h: ... here.  New file.
5943         * sysdeps/x86_64/fpu/test-float-vlen4.c: Move most contents to,
5944         and include ...
5945         * sysdeps/x86_64/fpu/test-float-vlen4.h: ... here.  New file.
5946         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Move most contents
5947         to, and include ...
5948         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.h: ... here.  New file.
5949         * sysdeps/x86_64/fpu/test-float-vlen8.c: Move most contents to,
5950         and include ...
5951         * sysdeps/x86_64/fpu/test-float-vlen8.h: ... here.  New file.
5953 2017-02-14  Joseph Myers  <joseph@codesourcery.com>
5955         * math/libm-test-support.h: Do not include <math-tests-arch.h>
5956         here.
5957         * math/libm-test-support.c (libm_test_init): Do not call
5958         INIT_ARCH_EXT here.
5959         * math/libm-test-driver.c: Include <math-tests-arch.h>.
5960         (main): Call INIT_ARCH_EXT.
5962 2017-02-12  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
5964         [BZ #21130]
5965         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_y0l): Return NAN
5966         with the "invalid" exception raised when x is -Inf.
5967         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
5969 2017-02-10  Wilco Dijkstra  <wdijkstr@arm.com>
5971         * string/bits/string2.h (strchr): Remove define.
5973 2017-02-09  H.J. Lu  <hongjiu.lu@intel.com>
5975         * sysdeps/x86_64/Makefile (tests): Add tst-sse, tst-avx and
5976         tst-avx512.
5977         (test-extras): Add tst-avx-aux and tst-avx512-aux.
5978         (extra-test-objs): Add tst-avx-aux.o and tst-avx512-aux.o.
5979         (modules-names): Add tst-ssemod, tst-avxmod and tst-avx512mod.
5980         ($(objpfx)tst-sse): New rule.
5981         ($(objpfx)tst-avx): Likewise.
5982         ($(objpfx)tst-avx512): Likewise.
5983         (CFLAGS-tst-avx-aux.c): New.
5984         (CFLAGS-tst-avxmod.c): Likewise.
5985         (CFLAGS-tst-avx512-aux.c): Likewise.
5986         (CFLAGS-tst-avx512mod.c): Likewise.
5987         * sysdeps/x86_64/tst-avx-aux.c: New file.
5988         * sysdeps/x86_64/tst-avx.c: Likewise.
5989         * sysdeps/x86_64/tst-avx512-aux.c: Likewise.
5990         * sysdeps/x86_64/tst-avx512.c: Likewise.
5991         * sysdeps/x86_64/tst-avx512mod.c: Likewise.
5992         * sysdeps/x86_64/tst-avxmod.c: Likewise.
5993         * sysdeps/x86_64/tst-sse.c: Likewise.
5994         * sysdeps/x86_64/tst-ssemod.c: Likewise.
5996 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
5998         * math/auto-libm-test-in: Add more tests of csin and csinh.
5999         * math/auto-libm-test-out-csin: Regenerated.
6000         * math/auto-libm-test-out-csinh: Likewise.
6001         * math/libm-test-csin.inc (csin_test_data): Remove tests moved to
6002         auto-libm-test-in.
6003         * math/libm-test-csinh.inc (csinh_test_data): Likewise.
6005 2017-02-09  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6007         * math/Makefile (libm-compat-calls-ldouble-yes): Merge into
6008         libm-compat-calls-auto.
6009         (libm-compat-calls): Likewise.
6010         (libm-compat-calls-auto): Rename to libm-compat-calls and add
6011         w_lgamma_compatF and k_standardF (merged from the items above).
6012         (libm-routines): Use libm-compat-calls, instead of
6013         libm-compat-calls-auto, with type-foreach.
6015 2017-02-09  Joseph Myers  <joseph@codesourcery.com>
6017         * math/test-math-inline.h (__LIBC_INTERNAL_MATH_INLINES): Undefine
6018         macro.
6019         * math/Makefile (CPPFLAGS-test-ifloat.c): Rename to ...
6020         (CFLAGS-test-ifloat.c): ... this.  Remove
6021         -U__LIBC_INTERNAL_MATH_INLINES.
6022         * math/Makefile (CPPFLAGS-test-idouble.c): Rename to ...
6023         (CFLAGS-test-idouble.c): ... this.  Remove
6024         -U__LIBC_INTERNAL_MATH_INLINES.
6025         * math/Makefile (CPPFLAGS-test-ildouble.c): Rename to ...
6026         (CFLAGS-test-ildouble.c): ... this.  Remove
6027         -U__LIBC_INTERNAL_MATH_INLINES.
6029 2017-02-08  Joseph Myers  <joseph@codesourcery.com>
6031         * math/libm-test-support.c: New file.  Content from
6032         math/libm-test-driver.c.
6033         * math/libm-test-support.h: Likewise.
6034         * math/libm-test-support-double.c: New file.
6035         * math/libm-test-support-float.c: Likewise.
6036         * math/libm-test-support-ldouble.c: Likewise.
6037         * math/libm-test-driver.c: Remove main comment and header
6038         includes.  Include libm-test-support.h.
6039         [!_GNU_SOURCE] (_GNU_SOURCE): Do not define.
6040         (flag_test_errno): Remove static.
6041         (flag_test_exceptions): Likewise.
6042         (flag_test_finite): Likewise.
6043         (flag_test_inline): Likewise.
6044         (flag_test_mathvec): Likewise.
6045         (test_msg): Likewise.
6046         (NO_EXCEPTION): Remove.
6047         (INVALID_EXCEPTION): Likewise.
6048         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
6049         (OVERFLOW_EXCEPTION): Likewise.
6050         (UNDERFLOW_EXCEPTION): Likewise.
6051         (INEXACT_EXCEPTION): Likewise.
6052         (INVALID_EXCEPTION_OK): Likewise.
6053         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
6054         (OVERFLOW_EXCEPTION_OK): Likewise.
6055         (UNDERFLOW_EXCEPTION_OK): Likewise.
6056         (NO_INEXACT_EXCEPTION): Likewise.
6057         (EXCEPTIONS_OK): Likewise.
6058         (IGNORE_ZERO_INF_SIGN): Likewise.
6059         (TEST_NAN_SIGN): Likewise.
6060         (TEST_NAN_PAYLOAD): Likewise.
6061         (NO_TEST_INLINE): Likewise.
6062         (XFAIL_TEST): Likewise.
6063         (ERRNO_UNCHANGED): Likewise.
6064         (ERRNO_EDOM): Likewise.
6065         (ERRNO_ERANGE): Likewise.
6066         (IGNORE_RESULT): Likewise.
6067         (NON_FINITE): Likewise.
6068         (TEST_SNAN): Likewise.
6069         (NO_TEST_MATHVEC): Likewise.
6070         (__CONCATX): Likewise.
6071         (TYPE_MIN): Likewise.
6072         (TYPE_TRUE_MIN): Likewise.
6073         (TYPE_MAX): Likewise.
6074         (MIN_EXP): Likewise.
6075         (MAX_EXP): Likewise.
6076         (MANT_DIG): Likewise.
6077         (FSTR_MAX): Likewise.
6078         (ulp_idx): Likewise.
6079         (qtype_str): Remove static.
6080         (TEST_COND_binary32): Remove.
6081         (TEST_COND_binary64): Likewise.
6082         (TEST_COND_binary128): Likewise.
6083         (TEST_COND_ibm128): Likewise.
6084         (TEST_COND_intel96): Likewise.
6085         (TEST_COND_m68k96): Likewise.
6086         (TEST_COND_ibm128_libgcc): Likewise.
6087         (XFAIL_IBM128_LIBGCC): Likewise.
6088         (PAYLOAD_DIG): Likewise.
6089         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
6090         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
6091         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
6092         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
6093         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
6094         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
6095         (TEST_COND_long32): Likewise.
6096         (TEST_COND_long64): Likewise.
6097         (TEST_COND_before_rounding): Likewise.
6098         (TEST_COND_after_rounding): Likewise.
6099         (ulps_file_name): Likewise.
6100         (ulps_file): Likewise.
6101         (output_ulps): Likewise.
6102         (output_dir): Likewise.
6103         (noErrors): Likewise.
6104         (noTests): Likewise.
6105         (noExcTests): Likewise.
6106         (noErrnoTests): Likewise.
6107         (verbose): Likewise.
6108         (output_max_error): Likewise.
6109         (output_points): Likewise.
6110         (ignore_max_ulp): Likewise.
6111         (max_error): Likewise.
6112         (real_max_error): Likewise.
6113         (imag_max_error): Likewise.
6114         (prev_max_error): Likewise.
6115         (prev_real_max_error): Likewise.
6116         (prev_imag_max_error): Likewise.
6117         (max_valid_error): Likewise.
6118         (TYPE_DECIMAL_DIG): Likewise.
6119         (TYPE_HEX_DIG): Likewise.
6120         (fmt_ftostr): Likewise.
6121         (compare_ulp_data): Likewise.
6122         (find_ulps): Likewise.
6123         (init_max_error): Likewise.
6124         (set_max_error): Likewise.
6125         (print_float): Likewise.
6126         (print_screen): Likewise.
6127         (print_screen_max_error): Likewise.
6128         (update_stats): Likewise.
6129         (print_function_ulps): Likewise.
6130         (print_complex_function_ulps): Likewise.
6131         (fpstack_test): Likewise.
6132         (print_max_error): Likewise.
6133         (print_complex_max_error): Likewise.
6134         (test_single_exception): Likewise.
6135         (test_exceptions): Likewise.
6136         (test_single_errno): Likewise.
6137         (test_errno): Likewise.
6138         (ULPDIFF): Likewise.
6139         (ulp): Likewise.
6140         (check_float_internal): Likewise.
6141         (check_float): Likewise.
6142         (check_complex): Likewise.
6143         (check_int): Likewise.
6144         (check_long): Likewise.
6145         (check_bool): Likewise.
6146         (check_longlong): Likewise.
6147         (check_intmax_t): Likewise.
6148         (check_uintmax_t): Likewise.
6149         (enable_test): Likewise.
6150         (matherr): Likewise.
6151         (initialize): Likewise.
6152         (options): Likewise.
6153         (doc): Remove static.
6154         (argp): Likewise.
6155         (parse_opt): Remove.
6156         (check_ulp): Likewise.
6157         (libm_test_init): Likewise.
6158         (libm_test_finish): Likewise.
6159         * math/Makefile (libm-test-support): New variable.
6160         (test-extras): Add libm-test-support files.
6161         (extra-test-objs): Likewise.
6162         (CFLAGS-libm-test-support-float.c): New variable.
6163         (CFLAGS-libm-test-support-double.c): Likewise.
6164         (CFLAGS-libm-test-support-ldouble.c): Likewise.
6165         ($(addprefix $(objpfx),$(libm-tests)): Depend on appropriate
6166         libm-test-support objects.
6168 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6170         * math/Makefile (libm-calls): Move w_exp...
6171         (libm-compat-calls-auto): Here.
6173         * math/w_expl.c: Add suffix "_compat" to filename.
6174         * sysdeps/ia64/fpu/w_expl.c: Likewise.
6175         * sysdeps/ia64/fpu/w_expf.c: Likewise.
6176         * sysdeps/ia64/fpu/w_exp.c: Likewise.
6177         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
6178         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
6179         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
6180         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
6181         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
6183         * math/w_expl_compat.c: New file, copied from above.
6184         * sysdeps/ia64/fpu/w_exp_compat.c: Likewise.
6185         * sysdeps/ia64/fpu/w_expf_compat.c: Likewise.
6186         * sysdeps/ia64/fpu/w_expl_compat.c: Likewise.
6187         * sysdeps/ieee754/dbl-64/w_exp_compat.c: Likewise.
6188         * sysdeps/ieee754/flt-32/w_expf_compat.c: Likewise.
6189         * sysdeps/ieee754/ldbl-128/w_expl_compat.c: Likewise.
6190         * sysdeps/ieee754/ldbl-128ibm/w_expl_compat.c: Likewise.
6191         * sysdeps/ieee754/ldbl-96/w_expl_compat.c: Likewise.
6193         * sysdeps/ieee754/ldbl-64-128/w_expl.c: Add suffix "_compat"
6194         to filename.
6195         * sysdeps/ieee754/ldbl-opt/w_exp.c: Likewise.
6197         * sysdeps/ieee754/ldbl-64-128/w_expl_compat.c: New file,
6198         copied from above and adjusted for the new filenames.
6199         * sysdeps/ieee754/ldbl-opt/w_exp_compat.c: Likewise.
6201 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6203         * math/Makefile (libm-calls): Move w_lgammaF...
6204         (libm-compat-calls-auto): Here.
6206         * math/w_lgamma.c: Add suffix "_compat2" to filename.
6207         * math/w_lgammaf.c: Likewise.
6208         * math/w_lgammal.c: Likewise.
6210         * math/w_lgamma_compat2.c: New file, copied from above.
6211         * math/w_lgammaf_compat2.c: Likewise.
6212         * math/w_lgammal_compat2.c: Likewise.
6214 2017-02-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
6216         * math/Makefile (libm-calls): Move w_lgammaF_r...
6217         (libm-compat-calls-auto): Here.
6219         * math/w_lgamma_r.c: Add suffix "_compat" to filename.
6220         * math/w_lgammaf_r.c: Likewise.
6221         * math/w_lgammal_r.c: Likewise.
6222         * sysdeps/ia64/fpu/w_lgammal_r.c: Likewise.
6223         * sysdeps/ia64/fpu/w_lgammaf_r.c: Likewise.
6224         * sysdeps/ia64/fpu/w_lgamma_r.c: Likewise.
6226         * math/w_lgamma_r_compat.c: New file, copied from above.
6227         * math/w_lgammaf_r_compat.c: Likewise.
6228         * math/w_lgammal_r_compat.c: Likewise.
6229         * sysdeps/ia64/fpu/w_lgamma_r_compat.c: Likewise.
6230         * sysdeps/ia64/fpu/w_lgammaf_r_compat.c: Likewise.
6231         * sysdeps/ia64/fpu/w_lgammal_r_compat.c: Likewise.
6233         * sysdeps/ieee754/ldbl-opt/w_lgamma_r.c: Add suffix "_compat"
6234         to filename.
6235         * sysdeps/ieee754/ldbl-opt/w_lgammal_r.c: Likewise.
6237         * sysdeps/ieee754/ldbl-opt/w_lgamma_r_compat.c: New file
6238         copied from above and adjusted for the new filenames.
6239         * sysdeps/ieee754/ldbl-opt/w_lgammal_r_compat.c: Likewise.
6241 2017-02-08  Yury Norov  <ynorov@caviumnetworks.com>
6243         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: use PTR_REG() for offset
6244         calculation in SYSCALL_ERROR_HANDLER().
6246 2017-02-08  Rical Jasan  <ricaljasan@pacific.net>
6248         * manual/contrib.texi: Fix typo.
6250 2017-02-08  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6252         [BZ #21109]
6253         * elf/dl-tunable-types.h (tunable_callback_t): Accept
6254         tunable_val_t as argument.
6255         * elf/dl-tunables.c (__tunable_set_val): Add comment.
6256         * malloc/arena.c (set_mallopt_check): Take tunable_val_t as
6257         argument.
6258         (DL_TUNABLE_CALLBACK_FNDECL): Likewise.
6260 2017-02-08  Kir Kolyshkin  <kir@openvz.org>
6262         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h (__ptrace_eventcodes):
6263         Add PTRACE_EVENT_STOP.
6264         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
6265         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
6266         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
6267         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
6268         * sysdeps/unix/sysv/linux/sys/ptrace.h: Likewise.
6269         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h: Likewise.
6271 2017-02-07  Joseph Myers  <joseph@codesourcery.com>
6273         * math/test-math-finite.h (TEST_EXCEPTIONS): New macro.
6274         * math/test-math-no-finite.h (TEST_EXCEPTIONS): Likewise.
6275         * math/test-math-vector.h (TEST_EXCEPTIONS): Likewise.
6276         * math/test-math-no-inline.h (TEST_EXCEPTIONS): Remove macro.
6277         * math/test-double-vlen2.h (EXCEPTION_TESTS_double): Likewise.
6278         * math/test-double-vlen4.h (EXCEPTION_TESTS_double): Likewise.
6279         * math/test-double-vlen8.h (EXCEPTION_TESTS_double): Likewise.
6280         * math/test-float-vlen4.h (EXCEPTION_TESTS_float): Likewise.
6281         * math/test-float-vlen8.h (EXCEPTION_TESTS_float): Likewise.
6282         * math/test-float-vlen16.h (EXCEPTION_TESTS_float): Likewise.
6284         [BZ #21112]
6285         * sysdeps/ieee754/flt-32/e_powf.c (cp_h): Use value with trailing
6286         12 bits zero.
6287         (cp_l): Update for new value of cp_h.
6288         * math/auto-libm-test-in: Add another test of pow.
6289         * math/auto-libm-test-out-pow: Regenerated.
6291 2017-02-07  Siddhesh Poyarekar  <siddhesh@sourceware.org>
6293         * manual/contrib.texi: Fix typo.
6295 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6297         [BZ #15998]
6298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
6299         (arch_minimum_kernel): Set as 3.10.0 for ppc64le.
6300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
6302 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6304         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: Redefine
6305         STRCHR as __strchr_power8.
6306         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Redefine
6307         strlen as __strlen_power8.
6309 2017-02-07  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
6311         * sysdeps/powerpc/powerpc64/power8/strcmp.S: Adjust address for
6312         unaligned load for shorter strings.
6313         * sysdeps/powerpc/powerpc64/power9/strcmp.S: Likewise.
6315 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
6317         * math/libm-test-driver.c (flag_test_errno): New variable.
6318         (flag_test_exceptions): Likewise.
6319         (flag_test_finite): Likewise.
6320         (flag_test_inline): Likewise.
6321         (flag_test_mathvec): Likewise.
6322         (test_msg): Likewise.
6323         (ulp_idx): Likewise.
6324         (qtype_str): Likewise.
6325         (ULP_IDX): Remove macro.
6326         (QTYPE_STR): Likewise.
6327         (find_ulps): Use ulp_idx not ULP_IDX.
6328         (print_function_ulps): Use qtype_str, printed with %s, not
6329         QTYPE_STR, printed with concatentation to format string.
6330         (print_complex_function_ulps): Likewise.
6331         (test_exceptions): Use flag_test_exceptions not TEST_EXCEPTIONS.
6332         (test_errno): Use flag_test_errno not TEST_ERRNO.
6333         (enable_test): Use flag_test_inline, flag_test_finite and
6334         flag_test_mathvec instead of TEST_INLINE, TEST_FINITE and
6335         TEST_MATHVEC.
6336         (libm_test_init): New function.  Factored out of main.
6337         (libm_test_finish): Likewise.
6338         (main): Call libm_test_init and libm_test_finish and move most
6339         code to those functions.
6341         * math/libm-test-driver.c (STRX): New macro.
6342         (STR): Likewise.
6343         (STR_FLOAT): Likewise.
6344         (STR_VEC_LEN): Likewise.
6345         (TEST_MSG): Likewise.  Define here instead of expecting to be
6346         defined by including file.
6347         * math/test-double-finite.c (TEST_MSG): Remove macro.
6348         * math/test-double-vlen2.h (TEST_MSG): Likewise.
6349         * math/test-double-vlen4.h (TEST_MSG): Likewise.
6350         * math/test-double-vlen8.h (TEST_MSG): Likewise.
6351         * math/test-double.c (TEST_MSG): Likewise.
6352         * math/test-float-finite.c (TEST_MSG): Likewise.
6353         * math/test-float-vlen16.h (TEST_MSG): Likewise.
6354         * math/test-float-vlen4.h (TEST_MSG): Likewise.
6355         * math/test-float-vlen8.h (TEST_MSG): Likewise.
6356         * math/test-float.c (TEST_MSG): Likewise.
6357         * math/test-idouble.c (TEST_MSG): Likewise.
6358         * math/test-ifloat.c (TEST_MSG): Likewise.
6359         * math/test-ildouble.c (TEST_MSG): Likewise.
6360         * math/test-ldouble-finite.c (TEST_MSG): Likewise.
6361         * math/test-ldouble.c (TEST_MSG): Likewise.
6363         * math/libm-test.inc: Move all tests of individual functions to
6364         libm-test-*.inc and #include libm-test-*.c files.
6365         (acos_test_data): Remove.
6366         (acos_test): Likewise.
6367         (acosh_test_data): Likewise.
6368         (acosh_test): Likewise.
6369         (asin_test_data): Likewise.
6370         (asin_test): Likewise.
6371         (asinh_test_data): Likewise.
6372         (asinh_test): Likewise.
6373         (atan_test_data): Likewise.
6374         (atan_test): Likewise.
6375         (atanh_test_data): Likewise.
6376         (atanh_test): Likewise.
6377         (atan2_test_data): Likewise.
6378         (atan2_test): Likewise.
6379         (cabs_test_data): Likewise.
6380         (cabs_test): Likewise.
6381         (cacos_test_data): Likewise.
6382         (cacos_test): Likewise.
6383         (cacosh_test_data): Likewise.
6384         (cacosh_test): Likewise.
6385         (canonicalize_test_data): Likewise.
6386         (canonicalize_test): Likewise.
6387         (carg_test_data): Likewise.
6388         (carg_test): Likewise.
6389         (casin_test_data): Likewise.
6390         (casin_test): Likewise.
6391         (casinh_test_data): Likewise.
6392         (casinh_test): Likewise.
6393         (catan_test_data): Likewise.
6394         (catan_test): Likewise.
6395         (catanh_test_data): Likewise.
6396         (catanh_test): Likewise.
6397         (cbrt_test_data): Likewise.
6398         (cbrt_test): Likewise.
6399         (ccos_test_data): Likewise.
6400         (ccos_test): Likewise.
6401         (ccosh_test_data): Likewise.
6402         (ccosh_test): Likewise.
6403         (ceil_test_data): Likewise.
6404         (ceil_test): Likewise.
6405         (cexp_test_data): Likewise.
6406         (cexp_test): Likewise.
6407         (cimag_test_data): Likewise.
6408         (cimag_test): Likewise.
6409         (clog_test_data): Likewise.
6410         (clog_test): Likewise.
6411         (clog10_test_data): Likewise.
6412         (clog10_test): Likewise.
6413         (conj_test_data): Likewise.
6414         (conj_test): Likewise.
6415         (copysign_test_data): Likewise.
6416         (copysign_test): Likewise.
6417         (cos_test_data): Likewise.
6418         (cos_test): Likewise.
6419         (cosh_test_data): Likewise.
6420         (cosh_test): Likewise.
6421         (cpow_test_data): Likewise.
6422         (cpow_test): Likewise.
6423         (cproj_test_data): Likewise.
6424         (cproj_test): Likewise.
6425         (creal_test_data): Likewise.
6426         (creal_test): Likewise.
6427         (csin_test_data): Likewise.
6428         (csin_test): Likewise.
6429         (csinh_test_data): Likewise.
6430         (csinh_test): Likewise.
6431         (csqrt_test_data): Likewise.
6432         (csqrt_test): Likewise.
6433         (ctan_test_data): Likewise.
6434         (ctan_test): Likewise.
6435         (ctanh_test_data): Likewise.
6436         (ctanh_test): Likewise.
6437         (erf_test_data): Likewise.
6438         (erf_test): Likewise.
6439         (erfc_test_data): Likewise.
6440         (erfc_test): Likewise.
6441         (exp_test_data): Likewise.
6442         (exp_test): Likewise.
6443         (exp10_test_data): Likewise.
6444         (exp10_test): Likewise.
6445         (pow10_test): Likewise.
6446         (exp2_test_data): Likewise.
6447         (exp2_test): Likewise.
6448         (expm1_test_data): Likewise.
6449         (expm1_test): Likewise.
6450         (fabs_test_data): Likewise.
6451         (fabs_test): Likewise.
6452         (fdim_test_data): Likewise.
6453         (fdim_test): Likewise.
6454         (floor_test_data): Likewise.
6455         (floor_test): Likewise.
6456         (fma_test_data): Likewise.
6457         (fma_test): Likewise.
6458         (fmax_test_data): Likewise.
6459         (fmax_test): Likewise.
6460         (fmaxmag_test_data): Likewise.
6461         (fmaxmag_test): Likewise.
6462         (fmin_test_data): Likewise.
6463         (fmin_test): Likewise.
6464         (fminmag_test_data): Likewise.
6465         (fminmag_test): Likewise.
6466         (fmod_test_data): Likewise.
6467         (fmod_test): Likewise.
6468         (fpclassify_test_data): Likewise.
6469         (fpclassify_test): Likewise.
6470         (frexp_test_data): Likewise.
6471         (frexp_test): Likewise.
6472         (fromfp_test_data): Likewise.
6473         (fromfp_test): Likewise.
6474         (fromfpx_test_data): Likewise.
6475         (fromfpx_test): Likewise.
6476         (getpayload_test_data): Likewise.
6477         (getpayload_test): Likewise.
6478         (hypot_test_data): Likewise.
6479         (hypot_test): Likewise.
6480         (ilogb_test_data): Likewise.
6481         (ilogb_test): Likewise.
6482         (iscanonical_test_data): Likewise.
6483         (iscanonical_test): Likewise.
6484         (iseqsig_test_data): Likewise.
6485         (iseqsig_test): Likewise.
6486         (isfinite_test_data): Likewise.
6487         (isfinite_test): Likewise.
6488         (finite_test): Likewise.
6489         (isgreater_test_data): Likewise.
6490         (isgreater_test): Likewise.
6491         (isgreaterequal_test_data): Likewise.
6492         (isgreaterequal_test): Likewise.
6493         (isinf_test_data): Likewise.
6494         (isinf_test): Likewise.
6495         (isless_test_data): Likewise.
6496         (isless_test): Likewise.
6497         (islessequal_test_data): Likewise.
6498         (islessequal_test): Likewise.
6499         (islessgreater_test_data): Likewise.
6500         (islessgreater_test): Likewise.
6501         (isnan_test_data): Likewise.
6502         (isnan_test): Likewise.
6503         (isnormal_test_data): Likewise.
6504         (isnormal_test): Likewise.
6505         (issignaling_test_data): Likewise.
6506         (issignaling_test): Likewise.
6507         (issubnormal_test_data): Likewise.
6508         (issubnormal_test): Likewise.
6509         (isunordered_test_data): Likewise.
6510         (isunordered_test): Likewise.
6511         (iszero_test_data): Likewise.
6512         (iszero_test): Likewise.
6513         (j0_test_data): Likewise.
6514         (j0_test): Likewise.
6515         (j1_test_data): Likewise.
6516         (j1_test): Likewise.
6517         (jn_test_data): Likewise.
6518         (jn_test): Likewise.
6519         (lgamma_test_data): Likewise.
6520         (lgamma_test): Likewise.
6521         (gamma_test): Likewise.
6522         (llogb_test_data): Likewise.
6523         (llogb_test): Likewise.
6524         (lrint_test_data): Likewise.
6525         (lrint_test): Likewise.
6526         (llrint_test_data): Likewise.
6527         (llrint_test): Likewise.
6528         (log_test_data): Likewise.
6529         (log_test): Likewise.
6530         (log10_test_data): Likewise.
6531         (log10_test): Likewise.
6532         (log1p_test_data): Likewise.
6533         (log1p_test): Likewise.
6534         (log2_test_data): Likewise.
6535         (log2_test): Likewise.
6536         (logb_test_data): Likewise.
6537         (logb_test): Likewise.
6538         (lround_test_data): Likewise.
6539         (lround_test): Likewise.
6540         (llround_test_data): Likewise.
6541         (llround_test): Likewise.
6542         (modf_test_data): Likewise.
6543         (modf_test): Likewise.
6544         (nearbyint_test_data): Likewise.
6545         (nearbyint_test): Likewise.
6546         (nextafter_test_data): Likewise.
6547         (nextafter_test): Likewise.
6548         (nextup_test_data): Likewise.
6549         (nextup_test): Likewise.
6550         (nextdown_test_data): Likewise.
6551         (nextdown_test): Likewise.
6552         (nexttoward_test_data): Likewise.
6553         (nexttoward_test): Likewise.
6554         (pow_test_data): Likewise.
6555         (pow_test): Likewise.
6556         (remainder_test_data): Likewise.
6557         (remainder_test): Likewise.
6558         (drem_test): Likewise.
6559         (remquo_test_data): Likewise.
6560         (remquo_test): Likewise.
6561         (rint_test_data): Likewise.
6562         (rint_test): Likewise.
6563         (round_test_data): Likewise.
6564         (round_test): Likewise.
6565         (roundeven_test_data): Likewise.
6566         (roundeven_test): Likewise.
6567         (scalb_test_data): Likewise.
6568         (scalb_test): Likewise.
6569         (scalbn_test_data): Likewise.
6570         (scalbn_test): Likewise.
6571         (ldexp_test): Likewise.
6572         (scalbln_test_data): Likewise.
6573         (scalbln_test): Likewise.
6574         (setpayload_test_data): Likewise.
6575         (setpayload_test): Likewise.
6576         (setpayloadsig_test_data): Likewise.
6577         (setpayloadsig_test): Likewise.
6578         (signbit_test_data): Likewise.
6579         (signbit_test): Likewise.
6580         (sin_test_data): Likewise.
6581         (sin_test): Likewise.
6582         (sincos_test_data): Likewise.
6583         (sincos_test): Likewise.
6584         (sinh_test_data): Likewise.
6585         (sinh_test): Likewise.
6586         (sqrt_test_data): Likewise.
6587         (sqrt_test): Likewise.
6588         (tan_test_data): Likewise.
6589         (tan_test): Likewise.
6590         (tanh_test_data): Likewise.
6591         (tanh_test): Likewise.
6592         (tgamma_test_data): Likewise.
6593         (tgamma_test): Likewise.
6594         (totalorder_test_data): Likewise.
6595         (totalorder_test): Likewise.
6596         (totalordermag_test_data): Likewise.
6597         (totalordermag_test): Likewise.
6598         (trunc_test_data): Likewise.
6599         (trunc_test): Likewise.
6600         (ufromfp_test_data): Likewise.
6601         (ufromfp_test): Likewise.
6602         (ufromfpx_test_data): Likewise.
6603         (ufromfpx_test): Likewise.
6604         (y0_test_data): Likewise.
6605         (y0_test): Likewise.
6606         (y1_test_data): Likewise.
6607         (y1_test): Likewise.
6608         (yn_test_data): Likewise.
6609         (yn_test): Likewise.
6610         (significand_test_data): Likewise.
6611         (significand_test): Likewise.
6612         * math/Makefile (auto-libm-test-out-files): Remove variable.
6613         (libm-test-funcs-noauto): New variable.
6614         (libm-test-funcs-all): Likewise.
6615         (libm-test-c-auto): Likewise.
6616         (libm-test-c-noauto): Likewise.
6617         (libm-tests-generated): Add $(libm-test-c-auto) and
6618         $(libm-test-c-noauto).
6619         (generated): Do not add auto-libm-test-out.
6620         (libm-test-c-auto-obj): New variable.
6621         (libm-test-c-noauto-obj): Likewise.
6622         ($(objpfx)libm-test.c): Do not generate or use auto-libm-test-out.
6623         ($(libm-test-c-noauto-obj)): New static pattern rule.
6624         ($(libm-test-c-auto-obj)): Likewise.
6625         (libm-test-incs): New variable.
6626         ($(objpfx)libm-have-vector-test.h): Depend on $(libm-test-incs)
6627         and pass it to gen-libm-have-vector-test.sh.
6628         * math/gen-libm-have-vector-test.sh: Expect list of .inc files to
6629         be passed on command line.
6630         * math/libm-test-acos.inc: New file.  Content from
6631         math/libm-test.inc.
6632         * math/libm-test-acosh.inc: Likewise.
6633         * math/libm-test-asin.inc: Likewise.
6634         * math/libm-test-asinh.inc: Likewise.
6635         * math/libm-test-atan.inc: Likewise.
6636         * math/libm-test-atan2.inc: Likewise.
6637         * math/libm-test-atanh.inc: Likewise.
6638         * math/libm-test-cabs.inc: Likewise.
6639         * math/libm-test-cacos.inc: Likewise.
6640         * math/libm-test-cacosh.inc: Likewise.
6641         * math/libm-test-canonicalize.inc: Likewise.
6642         * math/libm-test-carg.inc: Likewise.
6643         * math/libm-test-casin.inc: Likewise.
6644         * math/libm-test-casinh.inc: Likewise.
6645         * math/libm-test-catan.inc: Likewise.
6646         * math/libm-test-catanh.inc: Likewise.
6647         * math/libm-test-cbrt.inc: Likewise.
6648         * math/libm-test-ccos.inc: Likewise.
6649         * math/libm-test-ccosh.inc: Likewise.
6650         * math/libm-test-ceil.inc: Likewise.
6651         * math/libm-test-cexp.inc: Likewise.
6652         * math/libm-test-cimag.inc: Likewise.
6653         * math/libm-test-clog.inc: Likewise.
6654         * math/libm-test-clog10.inc: Likewise.
6655         * math/libm-test-conj.inc: Likewise.
6656         * math/libm-test-copysign.inc: Likewise.
6657         * math/libm-test-cos.inc: Likewise.
6658         * math/libm-test-cosh.inc: Likewise.
6659         * math/libm-test-cpow.inc: Likewise.
6660         * math/libm-test-cproj.inc: Likewise.
6661         * math/libm-test-creal.inc: Likewise.
6662         * math/libm-test-csin.inc: Likewise.
6663         * math/libm-test-csinh.inc: Likewise.
6664         * math/libm-test-csqrt.inc: Likewise.
6665         * math/libm-test-ctan.inc: Likewise.
6666         * math/libm-test-ctanh.inc: Likewise.
6667         * math/libm-test-erf.inc: Likewise.
6668         * math/libm-test-erfc.inc: Likewise.
6669         * math/libm-test-exp.inc: Likewise.
6670         * math/libm-test-exp10.inc: Likewise.
6671         * math/libm-test-exp2.inc: Likewise.
6672         * math/libm-test-expm1.inc: Likewise.
6673         * math/libm-test-fabs.inc: Likewise.
6674         * math/libm-test-fdim.inc: Likewise.
6675         * math/libm-test-floor.inc: Likewise.
6676         * math/libm-test-fma.inc: Likewise.
6677         * math/libm-test-fmax.inc: Likewise.
6678         * math/libm-test-fmaxmag.inc: Likewise.
6679         * math/libm-test-fmin.inc: Likewise.
6680         * math/libm-test-fminmag.inc: Likewise.
6681         * math/libm-test-fmod.inc: Likewise.
6682         * math/libm-test-fpclassify.inc: Likewise.
6683         * math/libm-test-frexp.inc: Likewise.
6684         * math/libm-test-fromfp.inc: Likewise.
6685         * math/libm-test-fromfpx.inc: Likewise.
6686         * math/libm-test-getpayload.inc: Likewise.
6687         * math/libm-test-hypot.inc: Likewise.
6688         * math/libm-test-ilogb.inc: Likewise.
6689         * math/libm-test-iscanonical.inc: Likewise.
6690         * math/libm-test-iseqsig.inc: Likewise.
6691         * math/libm-test-isfinite.inc: Likewise.
6692         * math/libm-test-isgreater.inc: Likewise.
6693         * math/libm-test-isgreaterequal.inc: Likewise.
6694         * math/libm-test-isinf.inc: Likewise.
6695         * math/libm-test-isless.inc: Likewise.
6696         * math/libm-test-islessequal.inc: Likewise.
6697         * math/libm-test-islessgreater.inc: Likewise.
6698         * math/libm-test-isnan.inc: Likewise.
6699         * math/libm-test-isnormal.inc: Likewise.
6700         * math/libm-test-issignaling.inc: Likewise.
6701         * math/libm-test-issubnormal.inc: Likewise.
6702         * math/libm-test-isunordered.inc: Likewise.
6703         * math/libm-test-iszero.inc: Likewise.
6704         * math/libm-test-j0.inc: Likewise.
6705         * math/libm-test-j1.inc: Likewise.
6706         * math/libm-test-jn.inc: Likewise.
6707         * math/libm-test-lgamma.inc: Likewise.
6708         * math/libm-test-llogb.inc: Likewise.
6709         * math/libm-test-llrint.inc: Likewise.
6710         * math/libm-test-llround.inc: Likewise.
6711         * math/libm-test-log.inc: Likewise.
6712         * math/libm-test-log10.inc: Likewise.
6713         * math/libm-test-log1p.inc: Likewise.
6714         * math/libm-test-log2.inc: Likewise.
6715         * math/libm-test-logb.inc: Likewise.
6716         * math/libm-test-lrint.inc: Likewise.
6717         * math/libm-test-lround.inc: Likewise.
6718         * math/libm-test-modf.inc: Likewise.
6719         * math/libm-test-nearbyint.inc: Likewise.
6720         * math/libm-test-nextafter.inc: Likewise.
6721         * math/libm-test-nextdown.inc: Likewise.
6722         * math/libm-test-nexttoward.inc: Likewise.
6723         * math/libm-test-nextup.inc: Likewise.
6724         * math/libm-test-pow.inc: Likewise.
6725         * math/libm-test-remainder.inc: Likewise.
6726         * math/libm-test-remquo.inc: Likewise.
6727         * math/libm-test-rint.inc: Likewise.
6728         * math/libm-test-round.inc: Likewise.
6729         * math/libm-test-roundeven.inc: Likewise.
6730         * math/libm-test-scalb.inc: Likewise.
6731         * math/libm-test-scalbln.inc: Likewise.
6732         * math/libm-test-scalbn.inc: Likewise.
6733         * math/libm-test-setpayload.inc: Likewise.
6734         * math/libm-test-setpayloadsig.inc: Likewise.
6735         * math/libm-test-signbit.inc: Likewise.
6736         * math/libm-test-significand.inc: Likewise.
6737         * math/libm-test-sin.inc: Likewise.
6738         * math/libm-test-sincos.inc: Likewise.
6739         * math/libm-test-sinh.inc: Likewise.
6740         * math/libm-test-sqrt.inc: Likewise.
6741         * math/libm-test-tan.inc: Likewise.
6742         * math/libm-test-tanh.inc: Likewise.
6743         * math/libm-test-tgamma.inc: Likewise.
6744         * math/libm-test-totalorder.inc: Likewise.
6745         * math/libm-test-totalordermag.inc: Likewise.
6746         * math/libm-test-trunc.inc: Likewise.
6747         * math/libm-test-ufromfp.inc: Likewise.
6748         * math/libm-test-ufromfpx.inc: Likewise.
6749         * math/libm-test-y0.inc: Likewise.
6750         * math/libm-test-y1.inc: Likewise.
6751         * math/libm-test-yn.inc: Likewise.
6752         * math/README.libm-test: Update.
6754         * math/gen-auto-libm-tests.c: Update comment about use of program.
6755         (generate_output): Add argument FUNCTION.
6756         (main): Require extra argument.  Pass function name to
6757         generate_output.
6758         * math/Makefile (generated): Add auto-libm-test-out.
6759         (libm-test-funcs-auto): New variable.
6760         (auto-libm-test-out-files): New variable.
6761         ($(objpfx)libm-test.c): Depend on $(auto-libm-test-out-files).
6762         Concatenate those files to form $(objpfx)auto-libm-test-out and
6763         use it as input to gen-libm-test.pl.
6764         * math/README.libm-test: Update.
6765         * math/auto-libm-test-out: Remove.
6766         * math/auto-libm-test-out-acos: New generated file.
6767         * math/auto-libm-test-out-acosh: Likewise.
6768         * math/auto-libm-test-out-asin: Likewise.
6769         * math/auto-libm-test-out-asinh: Likewise.
6770         * math/auto-libm-test-out-atan: Likewise.
6771         * math/auto-libm-test-out-atan2: Likewise.
6772         * math/auto-libm-test-out-atanh: Likewise.
6773         * math/auto-libm-test-out-cabs: Likewise.
6774         * math/auto-libm-test-out-carg: Likewise.
6775         * math/auto-libm-test-out-cbrt: Likewise.
6776         * math/auto-libm-test-out-ccos: Likewise.
6777         * math/auto-libm-test-out-ccosh: Likewise.
6778         * math/auto-libm-test-out-cexp: Likewise.
6779         * math/auto-libm-test-out-clog: Likewise.
6780         * math/auto-libm-test-out-clog10: Likewise.
6781         * math/auto-libm-test-out-cos: Likewise.
6782         * math/auto-libm-test-out-cosh: Likewise.
6783         * math/auto-libm-test-out-cpow: Likewise.
6784         * math/auto-libm-test-out-csin: Likewise.
6785         * math/auto-libm-test-out-csinh: Likewise.
6786         * math/auto-libm-test-out-csqrt: Likewise.
6787         * math/auto-libm-test-out-ctan: Likewise.
6788         * math/auto-libm-test-out-ctanh: Likewise.
6789         * math/auto-libm-test-out-erf: Likewise.
6790         * math/auto-libm-test-out-erfc: Likewise.
6791         * math/auto-libm-test-out-exp: Likewise.
6792         * math/auto-libm-test-out-exp10: Likewise.
6793         * math/auto-libm-test-out-exp2: Likewise.
6794         * math/auto-libm-test-out-expm1: Likewise.
6795         * math/auto-libm-test-out-fma: Likewise.
6796         * math/auto-libm-test-out-hypot: Likewise.
6797         * math/auto-libm-test-out-j0: Likewise.
6798         * math/auto-libm-test-out-j1: Likewise.
6799         * math/auto-libm-test-out-jn: Likewise.
6800         * math/auto-libm-test-out-lgamma: Likewise.
6801         * math/auto-libm-test-out-log: Likewise.
6802         * math/auto-libm-test-out-log10: Likewise.
6803         * math/auto-libm-test-out-log1p: Likewise.
6804         * math/auto-libm-test-out-log2: Likewise.
6805         * math/auto-libm-test-out-pow: Likewise.
6806         * math/auto-libm-test-out-sin: Likewise.
6807         * math/auto-libm-test-out-sincos: Likewise.
6808         * math/auto-libm-test-out-sinh: Likewise.
6809         * math/auto-libm-test-out-sqrt: Likewise.
6810         * math/auto-libm-test-out-tan: Likewise.
6811         * math/auto-libm-test-out-tanh: Likewise.
6812         * math/auto-libm-test-out-tgamma: Likewise.
6813         * math/auto-libm-test-out-y0: Likewise.
6814         * math/auto-libm-test-out-y1: Likewise.
6815         * math/auto-libm-test-out-yn: Likewise.
6817         * math/Makefile (generated): Do not include libm-test.stmp.
6818         ($(addprefix $(objpfx), $(libm-tests-generated))): Do not depend
6819         on $(objpfx)libm-test.stmp.
6820         ($(objpfx)libm-test.stmp): Remove rule.
6821         ($(objpfx)libm-test-ulps.h): New rule.
6822         ($(objpfx)libm-test.c): Likewise.
6823         ($(objpfx)libm-have-vector-test.h): Likewise.
6824         ($(addprefix $(objpfx), $(libm-tests.o)): Depend directly on
6825         individual generated files, not libm-test.stmp.
6827         * math/gen-libm-test.pl ($output_dir): Remove variable.
6828         ($srcdir): Likewise.
6829         ($opt_a): New variable.
6830         ($opt_c): Likewise.
6831         ($opt_C): Likewise.
6832         ($opt_H): Likewise.
6833         (-n): Make option take argument and use it as NewUlps output.
6834         (-a): New option.  Use its argument for auto-libm-test-out input.
6835         (-c): New option.  Use its argument for libm-test.inc input.
6836         (-C): New option.  Use its argument for libm-test.c output.
6837         (-H): New option.  Use its argument for libm-test-ulps.h output.
6838         (top level): Only process inputs needed to generate outputs
6839         specified by command-line options.  Only generate outputs
6840         specified by command-line options.
6841         * math/README.libm-test: Update example gen-libm-test.pl command.
6842         * math/Makefile ($(objpfx)libm-test.stmp): Update gen-libm-test.pl
6843         commands.
6844         (regen-ulps): Likewise.
6846 2017-02-06  Wilco Dijkstra  <wdijkstr@arm.com>
6848         * hurd/path-lookup.c (file_name_path_scan): Rename index to strchr.
6849         * include/string.h (index): Remove define.
6850         (rindex): Likewise.
6851         * misc/getttyent.c (__getttyent): Rename index to strchr.
6852         * misc/ttyslot.c (ttyslot): Rename rindex to strrchr.
6853         * sunrpc/rpc_main.c (mkfile_output): Likewise.
6855 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
6857         * math/libm-test-driver.c: New file.  Based on math/libm-test.inc.
6858         * math/libm-test.inc: Move all contents, other than tests of
6859         individual functions, to libm-test-driver.c.
6860         [!FE_TONEAREST] (FE_TONEAREST): Move to libm-test-driver.c.
6861         [!FE_TOWARDZERO] (FE_TOWARDZERO): Likewise.
6862         [!FE_UPWARD] (FE_UPWARD): Likewise.
6863         [!FE_DOWNWARD] (FE_DOWNWARD): Likewise.
6864         (NO_EXCEPTION): Likewise.
6865         (INVALID_EXCEPTION): Likewise.
6866         (DIVIDE_BY_ZERO_EXCEPTION): Likewise.
6867         (OVERFLOW_EXCEPTION): Likewise.
6868         (UNDERFLOW_EXCEPTION): Likewise.
6869         (INEXACT_EXCEPTION): Likewise.
6870         (INVALID_EXCEPTION_OK): Likewise.
6871         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
6872         (OVERFLOW_EXCEPTION_OK): Likewise.
6873         (UNDERFLOW_EXCEPTION_OK): Likewise.
6874         (NO_INEXACT_EXCEPTION): Likewise.
6875         (EXCEPTIONS_OK): Likewise.
6876         (IGNORE_ZERO_INF_SIGN): Likewise.
6877         (TEST_NAN_SIGN): Likewise.
6878         (TEST_NAN_PAYLOAD): Likewise.
6879         (NO_TEST_INLINE): Likewise.
6880         (XFAIL_TEST): Likewise.
6881         (ERRNO_UNCHANGED): Likewise.
6882         (ERRNO_EDOM): Likewise.
6883         (ERRNO_ERANGE): Likewise.
6884         (IGNORE_RESULT): Likewise.
6885         (NON_FINITE): Likewise.
6886         (TEST_SNAN): Likewise.
6887         (NO_TEST_MATHVEC): Likewise.
6888         (TEST_NAN_PAYLOAD_CANONICALIZE): Likewise.
6889         (__CONCATX): Likewise.
6890         (TYPE_MIN): Likewise.
6891         (TYPE_TRUE_MIN): Likewise.
6892         (TYPE_MAX): Likewise.
6893         (MIN_EXP): Likewise.
6894         (MAX_EXP): Likewise.
6895         (MANT_DIG): Likewise.
6896         (FSTR_MAX): Likewise.
6897         (ULP_IDX): Likewise.
6898         (QTYPE_STR): Likewise.
6899         (TEST_COND_binary32): Likewise.
6900         (TEST_COND_binary64): Likewise.
6901         (TEST_COND_binary128): Likewise.
6902         (TEST_COND_ibm128): Likewise.
6903         (TEST_COND_intel96): Likewise.
6904         (TEST_COND_m68k96): Likewise.
6905         (TEST_COND_ibm128_libgcc): Likewise.
6906         (XFAIL_IBM128_LIBGCC): Likewise.
6907         (PAYLOAD_DIG): Likewise.
6908         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
6909         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
6910         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
6911         (UNDERFLOW_EXCEPTION_OK_DOUBLE): Likewise.
6912         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
6913         (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): Likewise.
6914         (TEST_COND_long32): Likewise.
6915         (TEST_COND_long64): Likewise.
6916         (TEST_COND_before_rounding): Likewise.
6917         (TEST_COND_after_rounding): Likewise.
6918         (lit_pi_3_m_4_d): Likewise.
6919         (lit_pi_3_m_4_ln10_m_d): Likewise.
6920         (lit_pi_2_ln10_m_d): Likewise.
6921         (lit_pi_4_ln10_m_d): Likewise.
6922         (lit_pi_ln10_d): Likewise.
6923         (lit_pi_2_d): Likewise.
6924         (lit_pi_4_d): Likewise.
6925         (lit_pi): Likewise.
6926         (lit_e): Likewise.
6927         (ulps_file_name): Likewise.
6928         (ulps_file): Likewise.
6929         (output_ulps): Likewise.
6930         (output_dir): Likewise.
6931         (noErrors): Likewise.
6932         (noTests): Likewise.
6933         (noExcTests): Likewise.
6934         (noErrnoTests): Likewise.
6935         (verbose): Likewise.
6936         (output_max_error): Likewise.
6937         (output_points): Likewise.
6938         (ignore_max_ulp): Likewise.
6939         (plus_zero): Likewise.
6940         (minus_zero): Likewise.
6941         (plus_infty): Likewise.
6942         (minus_infty): Likewise.
6943         (qnan_value_pl): Likewise.
6944         (qnan_value): Likewise.
6945         (snan_value_pl): Likewise.
6946         (snan_value): Likewise.
6947         (max_value): Likewise.
6948         (min_value): Likewise.
6949         (min_subnorm_value): Likewise.
6950         (snan_value_ld): Likewise.
6951         (max_error): Likewise.
6952         (real_max_error): Likewise.
6953         (imag_max_error): Likewise.
6954         (prev_max_error): Likewise.
6955         (prev_real_max_error): Likewise.
6956         (prev_imag_max_error): Likewise.
6957         (max_valid_error): Likewise.
6958         (TYPE_DECIMAL_DIG): Likewise.
6959         (TYPE_HEX_DIG): Likewise.
6960         (fmt_ftostr): Likewise.
6961         (compare_ulp_data): Likewise.
6962         (find_ulps): Likewise.
6963         (init_max_error): Likewise.
6964         (set_max_error): Likewise.
6965         (print_float): Likewise.
6966         (print_screen): Likewise.
6967         (print_screen_max_error): Likewise.
6968         (update_stats): Likewise.
6969         (print_function_ulps): Likewise.
6970         (print_complex_function_ulps): Likewise.
6971         (fpstack_test): Likewise.
6972         (print_max_error): Likewise.
6973         (print_complex_max_error): Likewise.
6974         (test_single_exception): Likewise.
6975         (test_exceptions): Likewise.
6976         (test_single_errno): Likewise.
6977         (test_errno): Likewise.
6978         (ULPDIFF): Likewise.
6979         (ulp): Likewise.
6980         (check_float_internal): Likewise.
6981         (check_float): Likewise.
6982         (check_complex): Likewise.
6983         (check_int): Likewise.
6984         (check_long): Likewise.
6985         (check_bool): Likewise.
6986         (check_longlong): Likewise.
6987         (check_intmax_t): Likewise.
6988         (check_uintmax_t): Likewise.
6989         (enable_test): Likewise.
6990         (struct test_f_f_data): Likewise.
6991         (struct test_ff_f_data): Likewise.
6992         (struct test_fj_f_data): Likewise.
6993         (struct test_fi_f_data): Likewise.
6994         (struct test_fl_f_data): Likewise.
6995         (struct test_if_f_data): Likewise.
6996         (struct test_fff_f_data): Likewise.
6997         (struct test_fiu_M_data): Likewise.
6998         (struct test_fiu_U_data): Likewise.
6999         (struct test_c_f_data): Likewise.
7000         (struct test_f_f1_data): Likewise.
7001         (struct test_fF_f1_data): Likewise.
7002         (struct test_ffI_f1_data): Likewise.
7003         (struct test_c_c_data): Likewise.
7004         (struct test_cc_c_data): Likewise.
7005         (struct test_f_i_data): Likewise.
7006         (struct test_ff_i_data): Likewise.
7007         (struct test_f_l_data): Likewise.
7008         (struct test_f_L_data): Likewise.
7009         (struct test_fFF_11_data): Likewise.
7010         (struct test_Ff_b1_data): Likewise.
7011         (IF_ROUND_INIT_): Likewise.
7012         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
7013         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
7014         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
7015         (IF_ROUND_INIT_FE_UPWARD): Likewise.
7016         (ROUND_RESTORE_): Likewise.
7017         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
7018         (ROUND_RESTORE_FE_TONEAREST): Likewise.
7019         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
7020         (ROUND_RESTORE_FE_UPWARD): Likewise.
7021         (RM_): Likewise.
7022         (RM_FE_DOWNWARD): Likewise.
7023         (RM_FE_TONEAREST): Likewise.
7024         (RM_FE_TOWARDZERO): Likewise.
7025         (RM_FE_UPWARD): Likewise.
7026         (COMMON_TEST_SETUP): Likewise.
7027         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
7028         (COMMON_TEST_CLEANUP): Likewise.
7029         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
7030         (RUN_TEST_f_f): Likewise.
7031         (RUN_TEST_LOOP_f_f): Likewise.
7032         (RUN_TEST_fp_f): Likewise.
7033         (RUN_TEST_LOOP_fp_f): Likewise.
7034         (RUN_TEST_2_f): Likewise.
7035         (RUN_TEST_LOOP_2_f): Likewise.
7036         (RUN_TEST_ff_f): Likewise.
7037         (RUN_TEST_LOOP_ff_f): Likewise.
7038         (RUN_TEST_LOOP_fj_f): Likewise.
7039         (RUN_TEST_fi_f): Likewise.
7040         (RUN_TEST_LOOP_fi_f): Likewise.
7041         (RUN_TEST_fl_f): Likewise.
7042         (RUN_TEST_LOOP_fl_f): Likewise.
7043         (RUN_TEST_if_f): Likewise.
7044         (RUN_TEST_LOOP_if_f): Likewise.
7045         (RUN_TEST_fff_f): Likewise.
7046         (RUN_TEST_LOOP_fff_f): Likewise.
7047         (RUN_TEST_fiu_M): Likewise.
7048         (RUN_TEST_LOOP_fiu_M): Likewise.
7049         (RUN_TEST_fiu_U): Likewise.
7050         (RUN_TEST_LOOP_fiu_U): Likewise.
7051         (RUN_TEST_c_f): Likewise.
7052         (RUN_TEST_LOOP_c_f): Likewise.
7053         (RUN_TEST_f_f1): Likewise.
7054         (RUN_TEST_LOOP_f_f1): Likewise.
7055         (RUN_TEST_fF_f1): Likewise.
7056         (RUN_TEST_LOOP_fF_f1): Likewise.
7057         (RUN_TEST_fI_f1): Likewise.
7058         (RUN_TEST_LOOP_fI_f1): Likewise.
7059         (RUN_TEST_ffI_f1_mod8): Likewise.
7060         (RUN_TEST_LOOP_ffI_f1_mod8): Likewise.
7061         (RUN_TEST_Ff_b1): Likewise.
7062         (RUN_TEST_LOOP_Ff_b1): Likewise.
7063         (RUN_TEST_Ffp_b1): Likewise.
7064         (RUN_TEST_LOOP_Ffp_b1): Likewise.
7065         (RUN_TEST_c_c): Likewise.
7066         (RUN_TEST_LOOP_c_c): Likewise.
7067         (RUN_TEST_cc_c): Likewise.
7068         (RUN_TEST_LOOP_cc_c): Likewise.
7069         (RUN_TEST_f_i): Likewise.
7070         (RUN_TEST_LOOP_f_i): Likewise.
7071         (RUN_TEST_f_i_tg): Likewise.
7072         (RUN_TEST_LOOP_f_i_tg): Likewise.
7073         (RUN_TEST_ff_b): Likewise.
7074         (RUN_TEST_LOOP_ff_b): Likewise.
7075         (RUN_TEST_ff_i_tg): Likewise.
7076         (RUN_TEST_LOOP_ff_i_tg): Likewise.
7077         (RUN_TEST_f_b): Likewise.
7078         (RUN_TEST_LOOP_f_b): Likewise.
7079         (RUN_TEST_f_b_tg): Likewise.
7080         (RUN_TEST_LOOP_f_b_tg): Likewise.
7081         (RUN_TEST_f_l): Likewise.
7082         (RUN_TEST_LOOP_f_l): Likewise.
7083         (RUN_TEST_f_L): Likewise.
7084         (RUN_TEST_LOOP_f_L): Likewise.
7085         (RUN_TEST_fFF_11): Likewise.
7086         (RUN_TEST_LOOP_fFF_11): Likewise.
7087         (VEC_SUFF): Likewise.
7088         (STR_CONCAT): Likewise.
7089         (STR_CON3): Likewise.
7090         (HAVE_VECTOR): Likewise.
7091         (START): Likewise.
7092         (END): Likewise.
7093         (END_COMPLEX): Likewise.
7094         (ALL_RM_TEST): Likewise.
7095         (matherr): Likewise.
7096         (initialize): Likewise.
7097         (options): Likewise.
7098         (doc): Likewise.
7099         (parse_opt): Likewise.
7100         (argp): Likewise.
7101         (check_ulp): Likewise.
7102         (main): Likewise.
7103         (do_test): New function.  Call tests of individual functions
7104         previously called from main.
7106         * math/libm-test.inc: Remove comment listing functions tested and
7107         not tested.
7109 2016-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7111         * nptl/allocatestack.c [COLORING_INCREMENT] (nptl_ncreated): Remove.
7112         (allocate_stack): Remove COLORING_INCREMENT usage.
7113         * nptl/stack-aliasing.h (COLORING_INCREMENT). Likewise.
7114         * sysdeps/i386/i686/stack-aliasing.h (COLORING_INCREMENT): Likewise.
7116 2017-02-06  Joseph Myers  <joseph@codesourcery.com>
7118         * manual/libm-err-tab.pl (@all_functions): Change to
7119         %all_functions.  Initialize as empty.
7120         (parse_ulps): Add to %all_functions based on functions found in
7121         ulps files.  Ignore results for non-default rounding modes and
7122         vector functions.
7123         (print_platforms): Use %all_platforms.
7124         * manual/math.texi (Errors in Math Functions): Document omissions
7125         from the table.
7127         * math/Makefile (before-compile): Remove.
7129 2017-02-06  Ivo Raisr <ivo.raisr@oracle.com>
7131         [BZ #21075]
7132         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Remove
7133         unused assignment.
7134         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
7136 2017-02-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
7138         * sysdeps/nptl/lowlevellock.h (lll_trylock, lll_cond_trylock):
7139         Add __glibc_unlikely hint.
7141 2017-02-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7143         [BZ #16640]
7144         * sysdeps/i386/i686/strtok.S: Remove file.
7145         * sysdeps/i386/i686/strtok_r.S: Likewise.
7146         * sysdeps/i386/strtok.S: Likewise.
7147         * sysdeps/i386/strtok_r.S: Likewise.
7148         * sysdeps/powerpc/powerpc64/strtok.S: Likewise.
7149         * sysdeps/powerpc/powerpc64/strtok_r.S: Likewise.
7150         * sysdeps/x86_64/strtok.S: Likewise.
7151         * sysdeps/x86_64/strtok_r.S: Likewise.
7153         * sysdeps/unix/sysv/linux/arm/posix_fadvise.c: Remove file.
7154         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
7155         * sysdeps/unix/sysv/linux/mips/kernel-features.h
7156         (__ASSUME_FADVISE64_AS_64_64): Define.
7157         * sysdeps/unix/sysv/linux/posix_fadvise.c [__NR_fadvise64]: Add
7158         !defined __ASSUME_FADVISE64_AS_64_64 to use syscall issue.
7159         [!__NR_fadvise64 && __ASSUME_FADVISE64_64_6ARG]: Remove
7160         __ALIGNMENT_ARG usage.
7161         [!__NR_fadvise64 && !__ASSUME_FADVISE64_64_6ARG]: Define
7162         __NR_fadvise64_64 if it is not defined.
7164 2017-02-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7166         * version.h (RELEASE): Set to "development"
7167         (VERSION): Set to 2.25.90.
7168         * NEWS: Add 2.26 section.
7170         * version.h (RELEASE): Set to "stable"
7171         (VERSION): Set to 2.25.
7172         * include/features.h (__GLIBC_MINOR__): Set to 25.
7174         * manual/contrib.texi: Add more contributors from this release
7175         and past releases.
7177         * NEWS (2.25): Add list of bugs fixed.
7179         * NEWS: Add missing news items.
7181 2017-02-04  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7183         * elf/tst-env-setuid.c (do_execve): Return EXIT_UNSUPPORTED in
7184         parent if child exited in that manner.  Print WEXITSTATUS
7185         instead of the raw status.
7186         (do_test_prep): Rename to do_test.
7187         (do_test): Return the result of run_executable_sgid.
7188         (TEST_FUNCTION_ARGV): Adjust.
7190 2017-02-03  Alexandre Oliva  <aoliva@redhat.com>
7191             Florian Weimer  <fweimer@redhat.com>
7192             Carlos O'Donell  <carlos@redhat.com>
7194         [BZ #20915]
7195         * elf/dl-reloc.c (_dl_nothread_init_static_tls):
7196         Do not initialize DTV.
7197         * nptl/allocatestack.c (init_one_static_tls): Likewise.
7199 2017-02-03  David S. Miller  <davem@davemloft.net>
7201         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax-vis3.S: Remove file.
7202         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
7203         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: Likewise.
7204         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
7205         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: Likewise.
7206         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
7207         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: Likewise.
7208         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
7209         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
7210         (libm-sysdep_routines): Update.
7211         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Remove file.
7212         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: Likewise.
7213         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
7214         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: Likewise.
7215         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
7216         * sysdeps/sparc/sparc64/fpu/s_fmax.S: Likewise.
7217         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: Likewise.
7218         * sysdeps/sparc/sparc64/fpu/s_fmin.S: Likewise.
7219         * sysdeps/sparc/sparc64/fpu/s_fminf.S: Likewise.
7220         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S:
7221         Likewise.
7222         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
7223         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S:
7224         Likewise.
7225         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
7226         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S:
7227         Likewise.
7228         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
7229         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S:
7230         Likewise.
7231         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
7232         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
7233         (libm-sysdep_routines): Update.
7235 2017-02-02  H.J. Lu  <hongjiu.lu@intel.com>
7237         * sysdeps/i386/dl-machine.h (elf_machine_rel): Replace
7238         _dl_fatal_printf with _dl_error_printf for IFUNC relocation
7239         against unrelocated shared library.
7240         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
7242 2017-02-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7244         * sysdeps/generic/unsecvars.h: Add GLIBC_TUNABLES.
7245         * elf/tst-env-setuid-tunables.c
7246         (test_child_tunables)[!HAVE_TUNABLES]: Verify that
7247         GLIBC_TUNABLES is removed in a setgid process.
7249         [BZ #21073]
7250         * elf/dl-tunable-types.h (tunable_seclevel_t): New enum.
7251         * elf/dl-tunables.c (tunables_strdup): Remove.
7252         (get_next_env): Also return the previous envp.
7253         (parse_tunables): Erase tunables of category
7254         TUNABLES_SECLEVEL_SXID_ERASE.
7255         (maybe_enable_malloc_check): Make MALLOC_CHECK_
7256         TUNABLE_SECLEVEL_NONE if /etc/setuid-debug is accessible.
7257         (__tunables_init)[TUNABLES_FRONTEND ==
7258         TUNABLES_FRONTEND_valstring]: Update GLIBC_TUNABLES envvar
7259         after parsing.
7260         [TUNABLES_FRONTEND != TUNABLES_FRONTEND_valstring]: Erase
7261         tunable envvars of category TUNABLES_SECLEVEL_SXID_ERASE.
7262         * elf/dl-tunables.h (struct _tunable): Change member is_secure
7263         to security_level.
7264         * elf/dl-tunables.list: Add security_level annotations for all
7265         tunables.
7266         * scripts/gen-tunables.awk: Recognize and generate enum values
7267         for security_level.
7268         * elf/tst-env-setuid.c: New test case.
7269         * elf/tst-env-setuid-tunables: new test case.
7270         * elf/Makefile (tests-static): Add them.
7272 2017-02-01  Richard Henderson  <rth@twiddle.net>
7274         * sysdeps/alpha/memchr.c (__memchr): Use saturating arithmetic
7275         adjusting the byte count.
7277 2017-02-01  Andreas Schwab  <schwab@linux-m68k.org>
7279         * conform/Makefile (linknamespace-libs): Define.
7281         * sysdeps/m68k/m680x0/m68020/atomic-machine.h
7282         (__arch_compare_and_exchange_val_64_acq, atomic_exchange_acq)
7283         (atomic_exchange_and_add, atomic_add): Add casts to 64 bit asm
7284         operands.
7286 2017-01-31  Chung-Lin Tang  <cltang@codesourcery.com>
7288         * sysdeps/unix/sysv/linux/nios2/ipc_priv.h: New file.
7290 2017-01-30  H.J. Lu  <hongjiu.lu@intel.com>
7292         [BZ #21081]
7293         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
7294         (L(stosb)): Add VZEROUPPER before ret.
7296 2016-01-28  Carlos O'Donell  <carlos@redhat.com>
7297             Alexey Makhalov <amakhalov@vmware.com>
7298             Florian Weimer <fweimer@redhat.com>
7300         [BZ #20116]
7301         * nptl/pthread_create.c: Document concurrency notes.
7302         Enhance thread creation notes.
7303         (create_thread): Use bool *stopped_start.
7304         (START_THREAD_DEFN): Comment ownership of PD.
7305         (__pthread_create_2_1): Add local bool stopped_start and use
7306         that instead of pd->stopped_start where appropriate.
7307         * nptl/createthread.c (create_thread): Use bool *stopped_start.
7308         * sysdeps/nacl/createthread.c (create_thread): Use bool *stopped_start.
7309         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
7310         * nptl/tst-create-detached.c: New file.
7311         * nptl/Makefile (tests): Add tst-create-detached.
7312         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
7313         Reference the enhanced thread creation notes.
7314         * nptl/pthread_setschedparam.c (__pthread_setschedparam): Likewise.
7315         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
7316         * nptl/tpp.c (__pthread_tpp_change_priority): Likewise.
7317         (__pthread_current_priority): Likewise.
7318         * support/Makefile (libsupport-routines): Add xpthread_attr_destroy
7319         xpthread_attr_init, xpthread_attr_setdetachstate, and
7320         xpthread_attr_setstacksize.
7321         * support/xpthread_attr_destroy.c: New file.
7322         * support/xpthread_attr_init.c: New file.
7323         * support/xpthread_attr_setdetachstate.c: New file.
7324         * support/xpthread_attr_setstacksize.c: New file.
7325         * support/xthread.h: Define prototypes for xpthread_attr_destroy
7326         xpthread_attr_init, xpthread_attr_setdetachstate, and
7327         xpthread_attr_setstacksize.
7329 2017-01-27  Florian Weimer  <fweimer@redhat.com>
7331         * nptl/Makefile (tests): Add tst-robust-fork.
7332         * nptl/tst-robust-fork.c: New file.
7333         * support/Makefile (libsupport-routines): Add xmmap, xmunmap,
7334         xpthread_mutex_consistent, xpthread_mutex_destroy,
7335         xpthread_mutex_init, xpthread_mutexattr_destroy,
7336         xpthread_mutexattr_init, xpthread_mutexattr_setprotocol,
7337         xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust,
7338         xpthread_mutexattr_settype.
7339         * support/xmmap.c: New file.
7340         * support/xmunmap.c: Likewise.
7341         * support/xpthread_mutex_consistent.c: Likewise.
7342         * support/xpthread_mutex_destroy.c: Likewise.
7343         * support/xpthread_mutex_init.c: Likewise.
7344         * support/xpthread_mutexattr_destroy.c: Likewise.
7345         * support/xpthread_mutexattr_init.c: Likewise.
7346         * support/xpthread_mutexattr_setprotocol.c: Likewise.
7347         * support/xpthread_mutexattr_setpshared.c: Likewise.
7348         * support/xpthread_mutexattr_setrobust.c: Likewise.
7349         * support/xpthread_mutexattr_settype.c: Likewise.
7350         * support/xthread.h (xpthread_mutexattr_destroy)
7351         (xpthread_mutexattr_init, xpthread_mutexattr_setprotocol)
7352         (xpthread_mutexattr_setpshared, xpthread_mutexattr_setrobust)
7353         (xpthread_mutexattr_settype, xpthread_mutex_init)
7354         (xpthread_mutex_destroy, xpthread_mutex_consistent): Declare.
7355         * support/xunistd.h (xmmap, xmunmap): Likewise.
7357 2017-01-25  Florian Weimer  <fweimer@redhat.com>
7359         * string/Makefile (xtests): Add comment.
7360         (LOCALES): Add en_GB.UTF-8.
7361         (tst-strcoll-overflow.out): Depend on generated locales.
7362         * string/tst-strcoll-overflow.c: Convert to support/test-driver.c.
7363         (SIZE, TIMEOUT): Update comments.
7364         (do_test): Define as static.  Fail test if setlocale fails.
7365         Return EXIT_UNSUPPORTED if insufficient memory.  Enhance output
7366         messages.
7367         (EXPECTED_SIGNAL, EXPECTED_STATUS, TEST_FUNCTION): Remove.
7368         TIMEOUT at 300 seconds should be enough to run this test
7369         successfully.
7371 2017-01-24  Jakub Jelinek  <jakub@redhat.com>
7373         * soft-fp/op-common.h (_FP_MUL, _FP_FMA, _FP_DIV): Add
7374         /* FALLTHRU */ comments.
7376 2017-01-24  James Clarke  <jrtc27@jrtc27.com>
7378         [BZ #21053]
7379         * sysdeps/unix/sysv/linux/sh/sh3/ucontext_i.sym: Use new REG_R*
7380         constants instead of the old R* ones.
7381         * sysdeps/unix/sysv/linux/sh/sh4/ucontext_i.sym: Likewise.
7382         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h (NGPREG): Rename...
7383         (NGREG): ... to this, to fit in with other architectures.
7384         (gpregset_t): Use new NGREG macro.
7385         [__USE_GNU]: Remove condition; all architectures other than tile
7386         are unconditional.
7387         (R*): Rename to REG_R*.
7389 2017-01-20  DJ Delorie  <dj@redhat.com>
7391         * elf/dl-tunables.c (tunable_set_val_if_valid_range): Split into ...
7392         (tunable_set_val_if_valid_range_signed) ... this, and ...
7393         (tunable_set_val_if_valid_range_unsigned) ... this.
7394         (tunable_initialize): Call the correct one of the above based on type.
7396 2017-01-20  Joseph Myers  <joseph@codesourcery.com>
7398         * sysdeps/hppa/fpu/libm-test-ulps: Remove *_tonearest entries.
7399         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
7400         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
7401         * sysdeps/microblaze/libm-test-ulps: Likewise.
7402         * sysdeps/sh/libm-test-ulps: Likewise.
7404         * math/README.libm-test: Update list of characters for input and
7405         output types.
7407 2017-01-20  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7409         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
7410         (__lll_unlock_elision): Fix adapt_count decrement.
7412 2017-01-14  Martin Galvan  <martingalvan@sourceware.org>
7414         * README.pretty-printers (Known issues): Warn about printers not
7415         always covering everything.
7416         * nptl/nptl-printers.py (MutexPrinter): Change output.
7417         * nptl/test-mutex-printers.py: Fix test and adapt to changed output.
7419 2017-01-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
7421         * sysdeps/unix/sysv/linux/s390/htm.h: Adjust comments.
7422         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
7423         * sysdeps/unix/sysv/linux/s390/elision-lock.c: Adjust comments.
7424         (__lll_lock_elision): Do not test futex before starting a
7425         transaction.  Use __glibc_likely instead of __builtin_expect.
7426         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Adjust comments.
7427         (__lll_trylock_elision): Do not test futex before starting a
7428         transaction.  Use __glibc_likely instead of __builtin_expect.
7430 2017-01-20  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7432         * po/Makefile (update-translations): New target.
7434 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
7436         [BZ #21061]
7437         * sysdeps/unix/sysv/linux/microblaze/clock-compat.c: New file.
7439 2017-01-19  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7441         * elf/dl-tunables (get_next_env): Always advance envp.
7442         * stdlib/tst-empty-env.c: New test case.
7443         * stdlib/Makefile (tests): Use it.
7445 2017-01-19  Joseph Myers  <joseph@codesourcery.com>
7447         [BZ #21047]
7448         * sysdeps/arm/fpu_control.h [!__SOFTFP__] (_FPU_GETCW): Use VFP
7449         name for instruction.
7450         [!__SOFTFP__] (_FPU_SETCW): Likewise.
7452 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
7454         * scripts/build-many-glibcs.py (Config.build_cross_tool): Use -j1
7455         for make install.
7457 2017-01-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7459         * po/bg.po: Merge from Translation Project.
7460         * po/fr.po: Likewise.
7461         * po/ko.po: Likewise.
7462         * po/nl.po: Likewise.
7463         * po/sv.po: Likewise.
7465 2017-01-18  Joseph Myers  <joseph@codesourcery.com>
7467         * manual/install.texi (Tools for Compilation): Update GCC version
7468         known to work to build glibc.
7469         * INSTALL: Regenerated.
7471 2017-01-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
7473         [BZ #21006]
7474         * string/Makefile (LDFLAGS-tst-xbzero-opt): New variable.
7476 2017-01-16  Joseph Myers  <joseph@codesourcery.com>
7478         [BZ #21045]
7479         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
7480         (__CONTEXT_FUNC_NAME): Pass address of signal mask to be restored
7481         to __sigprocmask.
7483 2017-01-16  Chris Metcalf  <cmetcalf@mellanox.com>
7485         * sysdeps/tile/tilegx/memchr.c (__memchr): Handle pointer
7486         wrap-around.
7487         * sysdeps/tile/tilepro/memchr.c (__memchr): Likewise.
7489         * sysdeps/unix/sysv/linux/tile/ipc_priv.h: New file.
7491 2016-01-14  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7493         * NEWS: Fix typo.
7495 2016-01-13  Torvald Riegel  <triegel@redhat.com>
7497         * nptl/descr.h (ENQUEUE_MUTEX_BOTH, DEQUEUE_MUTEX): Add compiler
7498         barriers and comments.
7499         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Likewise.
7500         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
7501         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
7503 2016-01-13  Torvald Riegel  <triegel@redhat.com>
7505         [BZ #19402]
7506         * sysdeps/nptl/fork.c (__libc_fork): Clear list of acquired robust
7507         mutexes.
7509 2016-01-13  Torvald Riegel  <triegel@redhat.com>
7511         [BZ #20985]
7512         * nptl/Makefile: Adapt.
7513         * nptl/pthread_mutex_cond_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
7514         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
7515         * nptl/pthread_mutex_lock.c (LLL_ROBUST_MUTEX_LOCK): Remove.
7516         (LLL_ROBUST_MUTEX_LOCK_MODIFIER): New.
7517         (__pthread_mutex_lock_full): Inline lll_robust* functions and adapt.
7518         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Inline
7519         lll_robust* functions and adapt.
7520         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
7521         * sysdeps/nptl/lowlevellock.h (__lll_robust_lock_wait,
7522         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
7523         __lll_robust_timedlock, __lll_robust_unlock): Remove.
7524         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_robust_lock,
7525         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
7526         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_robust_lock,
7527         lll_robust_cond_lock, lll_robust_timedlock, lll_robust_unlock): Remove.
7528         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (__lll_robust_lock_wait,
7529         __lll_robust_lock, lll_robust_cond_lock, __lll_robust_timedlock_wait,
7530         __lll_robust_timedlock, __lll_robust_unlock): Remove.
7531         * nptl/lowlevelrobustlock.c: Remove file.
7532         * nptl/lowlevelrobustlock.sym: Likewise.
7533         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Likewise.
7534         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Likewise.
7536 2017-01-13  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
7538         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
7540 2017-01-12  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7542         * po/cs.po: Merge translations from the Translation Project.
7543         * po/de.po: Likewise.
7544         * po/pl.po: Likewise.
7545         * po/ru.po: Likewise.
7546         * po/tr.po: Likewise.
7547         * po/uk.po: Likewise.
7548         * po/vi.po: Likewise.
7549         * po/zh_CN.po: Likewise.
7551 2017-01-12  Joseph Myers  <joseph@codesourcery.com>
7553         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: New file.
7555         * math/fgetexcptflg.c (__fegetexceptflag): Store 0 in fexcept_t
7556         object.
7558 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
7560         [BZ #16458]
7561         * bits/uintn-identity.h: New file.
7562         * inet/netinet/in.h: Include <bits/uintn-identity.h>.
7563         [__BYTE_ORDER == __BIG_ENDIAN] (ntohl): Use __uint32_identity.
7564         [__BYTE_ORDER == __BIG_ENDIAN] (ntohs): Use __uint16_identity.
7565         [__BYTE_ORDER == __BIG_ENDIAN] (htonl): Use __uint32_identity.
7566         [__BYTE_ORDER == __BIG_ENDIAN] (htohs): Use __uint16_identity.
7567         * string/endian.h: Include <bits/uintn-identity.h>.
7568         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole16): Use
7569         __uint16_identity.
7570         [__BYTE_ORDER == __LITTLE_ENDIAN] (le16toh): Likewise.
7571         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole32): Use
7572         __uint32_identity.
7573         [__BYTE_ORDER == __LITTLE_ENDIAN] (le32toh): Likewise.
7574         [__BYTE_ORDER == __LITTLE_ENDIAN] (htole64): Use
7575         __uint64_identity.
7576         [__BYTE_ORDER == __LITTLE_ENDIAN] (le64toh): Likewise.
7577         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe16): Use
7578         __uint16_identity.
7579         [__BYTE_ORDER != __LITTLE_ENDIAN] (be16toh): Likewise.
7580         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe32): Use
7581         __uint32_identity.
7582         [__BYTE_ORDER != __LITTLE_ENDIAN] (be32toh): Likewise.
7583         [__BYTE_ORDER != __LITTLE_ENDIAN] (htobe64): Use
7584         __uint64_identity.
7585         [__BYTE_ORDER != __LITTLE_ENDIAN] (be64toh): Likewise.
7586         * string/Makefile (headers): Add bits/uintn-identity.h.
7587         (tests): Add test-endian-types.
7588         * string/test-endian-types.c: New file.
7589         * inet/Makefile (tests): Add test-hnto-types.
7590         * inet/test-hnto-types.c: New file.
7592 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7594         * po/be.po: Update from Translation Project.
7595         * po/bg.po: Likewise.
7596         * po/ca.po: Likewise.
7597         * po/cs.po: Likewise.
7598         * po/da.po: Likewise.
7599         * po/de.po: Likewise.
7600         * po/el.po: Likewise.
7601         * po/eo.po: Likewise.
7602         * po/es.po: Likewise.
7603         * po/fi.po: Likewise.
7604         * po/fr.po: Likewise.
7605         * po/gl.po: Likewise.
7606         * po/hr.po: Likewise.
7607         * po/hu.po: Likewise.
7608         * po/ia.po: Likewise.
7609         * po/id.po: Likewise.
7610         * po/it.po: Likewise.
7611         * po/ja.po: Likewise.
7612         * po/ko.po: Likewise.
7613         * po/lt.po: Likewise.
7614         * po/nb.po: Likewise.
7615         * po/nl.po: Likewise.
7616         * po/pl.po: Likewise.
7617         * po/pt_BR.po: Likewise.
7618         * po/ru.po: Likewise.
7619         * po/rw.po: Likewise.
7620         * po/sk.po: Likewise.
7621         * po/sl.po: Likewise.
7622         * po/sv.po: Likewise.
7623         * po/tr.po: Likewise.
7624         * po/uk.po: Likewise.
7625         * po/vi.po: Likewise.
7626         * po/zh_CN.po: Likewise.
7627         * po/zh_TW.po: Likewise.
7629 2017-01-11  Joseph Myers  <joseph@codesourcery.com>
7631         * stdio-common/tst-printf.c [__GNUC_PREREQ (7, 0)]: Ignore
7632         -Wformat-truncation instead of -Wformat-length.
7633         * time/tst-strptime2.c (mkbuf) [__GNUC_PREREQ (7, 0)]: Likewise.
7634         * stdio-common/tstdiomisc.c (F): Ignore -Wformat-truncation for
7635         GCC 7.
7636         * wcsmbs/tst-wcstof.c: Include <libc-internal.h>.
7637         (do_test): Ignore -Wformat-truncation for GCC 7.
7639         * locale/programs/ld-address.c (INT_STR_ELEM): Increase size of
7640         buffer used to print long int value.
7642         * elf/sotruss-lib.c (init): Increase space allocated for pid by
7643         one byte.  Print it with %ld, cast to long int.
7645 2017-01-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
7647         * scripts/build-many-glibcs.py (os.cpu_count): Add compatibility definition.
7648         (re.fullmatch, subprocess.run): Likewise.
7650 2016-01-11  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7652         * po/libc.pot: Regenerate.
7654 2016-01-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
7656         * elf/dl-tunables.c (tunables_unsetenv): Remove function.
7657         (min_strlen): Likewise.
7658         (disable_tunable): Likewise.
7659         (maybe_disable_malloc_check): Rename to
7660         maybe_enable_malloc_check.
7661         (maybe_enable_malloc_check): Enable glibc.malloc.check tunable
7662         if /etc/suid-debug file exists.
7663         (__tunables_init): Update caller.
7664         * elf/dl-tunables.list (glibc.malloc.check): Don't mark as
7665         secure.
7667 2016-01-10  Torvald Riegel  <triegel@redhat.com>
7669         * nptl/DESIGN-rwlock.txt: Remove.
7670         * nptl/lowlevelrwlock.sym: Remove.
7671         * nptl/Makefile: Add new tests.
7672         * nptl/pthread_rwlock_common.c: New file.  Contains the new rwlock.
7673         * nptl/pthreadP.h (PTHREAD_RWLOCK_PREFER_READER_P): Remove.
7674         (PTHREAD_RWLOCK_WRPHASE, PTHREAD_RWLOCK_WRLOCKED,
7675         PTHREAD_RWLOCK_RWAITING, PTHREAD_RWLOCK_READER_SHIFT,
7676         PTHREAD_RWLOCK_READER_OVERFLOW, PTHREAD_RWLOCK_WRHANDOVER,
7677         PTHREAD_RWLOCK_FUTEX_USED): New.
7678         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Adapt to new
7679         implementation.
7680         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow): Remove.
7681         (__pthread_rwlock_rdlock): Adapt.
7682         * nptl/pthread_rwlock_timedrdlock.c
7683         (pthread_rwlock_timedrdlock): Adapt.
7684         * nptl/pthread_rwlock_timedwrlock.c
7685         (pthread_rwlock_timedwrlock): Adapt.
7686         * nptl/pthread_rwlock_trywrlock.c (pthread_rwlock_trywrlock): Adapt.
7687         * nptl/pthread_rwlock_tryrdlock.c (pthread_rwlock_tryrdlock): Adapt.
7688         * nptl/pthread_rwlock_unlock.c (pthread_rwlock_unlock): Adapt.
7689         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow): Remove.
7690         (__pthread_rwlock_wrlock): Adapt.
7691         * nptl/tst-rwlock10.c: Adapt.
7692         * nptl/tst-rwlock11.c: Adapt.
7693         * nptl/tst-rwlock17.c: New file.
7694         * nptl/tst-rwlock18.c: New file.
7695         * nptl/tst-rwlock19.c: New file.
7696         * nptl/tst-rwlock2b.c: New file.
7697         * nptl/tst-rwlock8.c: Adapt.
7698         * nptl/tst-rwlock9.c: Adapt.
7699         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7700         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7701         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7702         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7703         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7704         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7705         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7706         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7707         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7708         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7709         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7710         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7711         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
7712         (pthread_rwlock_t): Adapt.
7713         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
7714         (pthread_rwlock_t): Adapt.
7715         * sysdeps/x86/bits/pthreadtypes.h (pthread_rwlock_t): Adapt.
7716         * nptl/nptl-printers.py (): Adapt.
7717         * nptl/nptl_lock_constants.pysym: Adapt.
7718         * nptl/test-rwlock-printers.py: Adapt.
7719         * nptl/test-rwlockattr-printers.c: Adapt.
7720         * nptl/test-rwlockattr-printers.py: Adapt.
7722 2017-01-10  Joseph Myers  <joseph@codesourcery.com>
7724         * math/libm-test.inc (XFAIL_IBM128_LIBGCC): New macro.
7725         (fdim_test_data): Use XFAIL_ROUNDING_IBM128_LIBGCC for some tests.
7726         (fma_test_data): Likewise.
7727         (hypot_test_data): Likewise.
7728         (log1p_test_data): Likewise.
7729         (modf_test_data): Likewise.
7730         (pow_test_data): Likewise.
7731         (remainder_test_data): Likewise.
7732         (remquo_test_data): Likewise.
7733         (scalb_test_data): Likewise.
7734         (scalbn_test_data): Likewise.
7735         (scalbln_test_data): Likewise.
7736         * math/gen-libm-test.pl (parse_args): Transform
7737         XFAIL_ROUNDING_IBM128_LIBGCC to XFAIL_IBM128_LIBGCC or 0 depending
7738         on the rounding mode.
7740 2017-01-09  Joseph Myers  <joseph@codesourcery.com>
7742         * math/gen-auto-libm-tests.c (output_for_one_input_case): Apply
7743         xfail-rounding:ibm128-libgcc automatically to tests overflowing
7744         and those that can underflow to zero.
7745         * math/auto-libm-test-in: Remove most XFAILs for ibm128-libgcc and
7746         add others.
7747         * math/auto-libm-test-out: Regenerated.
7749         * math/test-fenv.c (fe_tests): Skip most tests when exceptions not
7750         supported.
7751         (feholdexcept_tests): Skip tests requiring exceptions or rounding
7752         modes support if not supported.
7754         * sysdeps/unix/sysv/linux/microblaze/localplt.data (__pread64):
7755         Add libc.so PLT entry.
7756         (__tls_get_addr): Make ld.so PLT entry optional.
7758 2017-01-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7760         * string/bits/strings_fortified.h (explicit_bzero): Move back to ..
7761         * string/bits/string3.h: ... here.
7763 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
7765         [BZ #21028]
7766         * math/fsetexcptflg.c (__fesetexceptflag): Always return 0.
7767         * math/test-fexcept.c (test_set): Allow failure of feraiseexcept
7768         if EXCEPTION_TESTS returns false.
7770 2017-01-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
7772         [BZ #20558]
7773         * string/bits/string3.h [__USE_MISC] (bcopy): Move to
7774         strings_fortified.h.
7775         [__USE_MISC] (bzero): Likewise.
7776         [__USE_MISC] (explicit_bzero): Likewise.
7777         * string/strings.h: Include strings_fortified.h.
7778         * string/Makefile (headers): Add strings_fortified.h.
7779         * string/bits/strings_fortified.h: New file.
7780         * include/bits/strings_fortified.h: Likewise.
7782 2017-01-05  Joseph Myers  <joseph@codesourcery.com>
7784         * elf/tst-tls13.c (TIMEOUT): Remove.
7785         * iconvdata/tst-loading.c (TIMEOUT): Likewise.
7786         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Increase to 100.
7787         * malloc/tst-mallocfork2.c (TIMEOUT): Define to 100.
7788         * nss/tst-cancel-getpwuid_r.c (TIMEOUT): Define to 900.
7789         * nss/tst-nss-getpwent.c (TIMEOUT): Define to 300.
7791         [BZ #21026]
7792         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list
7793         (readahead): New syscall entry.
7795 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
7797         * string/tester.c (test_strncat): Disable -Wstringop-overflow=
7798         around tests of strncat with large sizes.
7800         * malloc/tst-malloc.c: Include <libc-internal.h>.
7801         (do_test): Disable -Walloc-size-larger-than= around tests of
7802         malloc with negative sizes.
7803         * malloc/tst-mcheck.c: Include <libc-internal.h>.
7804         (do_test): Disable -Walloc-size-larger-than= around tests of
7805         malloc and realloc with negative sizes.
7806         * malloc/tst-realloc.c: Include <libc-internal.h>.
7807         (do_test): Disable -Walloc-size-larger-than= around tests of
7808         realloc with negative sizes.
7810         * math/libm-test.inc (TEST_COND_ibm128_libgcc): New macro.
7811         (init_max_error) [TEST_COND_ibm128]: Increase maximum error
7812         allowed to 16 ulps.
7813         * math/auto-libm-test-in: Change most XFAILs for ibm128 to use
7814         ibm128-libgcc.  XFAIL more tests for ibm128-libgcc.
7815         * math/auto-libm-test-out: Regenerated.
7817 2017-01-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
7819         * math/Makefile (libm-calls): Move wrappers...
7820         (libm-compat-call-auto): Here.
7821         (libm-routines): Add items in libm-compat-calls-auto.
7822         * sysdeps/powerpc/nofpu/Makefile: Add suffix ("_compat") to
7823         the filenames of the wrappers that have been renamed.
7824         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Likewise.
7825         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
7827         * math/w_acos.c: Add _compat suffix to filename.
7828         * math/w_acosf.c: Likewise.
7829         * math/w_acosh.c: Likewise.
7830         * math/w_acoshf.c: Likewise.
7831         * math/w_acoshl.c: Likewise.
7832         * math/w_acosl.c: Likewise.
7833         * math/w_asin.c: Likewise.
7834         * math/w_asinf.c: Likewise.
7835         * math/w_asinl.c: Likewise.
7836         * math/w_atan2.c: Likewise.
7837         * math/w_atan2f.c: Likewise.
7838         * math/w_atan2l.c: Likewise.
7839         * math/w_atanh.c: Likewise.
7840         * math/w_atanhf.c: Likewise.
7841         * math/w_atanhl.c: Likewise.
7842         * math/w_cosh.c: Likewise.
7843         * math/w_coshf.c: Likewise.
7844         * math/w_coshl.c: Likewise.
7845         * math/w_exp10.c: Likewise.
7846         * math/w_exp10f.c: Likewise.
7847         * math/w_exp10l.c: Likewise.
7848         * math/w_exp2.c: Likewise.
7849         * math/w_exp2f.c: Likewise.
7850         * math/w_exp2l.c: Likewise.
7851         * math/w_fmod.c: Likewise.
7852         * math/w_fmodf.c: Likewise.
7853         * math/w_fmodl.c: Likewise.
7854         * math/w_hypot.c: Likewise.
7855         * math/w_hypotf.c: Likewise.
7856         * math/w_hypotl.c: Likewise.
7857         * math/w_j0.c: Likewise.
7858         * math/w_j0f.c: Likewise.
7859         * math/w_j0l.c: Likewise.
7860         * math/w_j1.c: Likewise.
7861         * math/w_j1f.c: Likewise.
7862         * math/w_j1l.c: Likewise.
7863         * math/w_jn.c: Likewise.
7864         * math/w_jnf.c: Likewise.
7865         * math/w_jnl.c: Likewise.
7866         * math/w_log10.c: Likewise.
7867         * math/w_log10f.c: Likewise.
7868         * math/w_log10l.c: Likewise.
7869         * math/w_log2.c: Likewise.
7870         * math/w_log2f.c: Likewise.
7871         * math/w_log2l.c: Likewise.
7872         * math/w_log.c: Likewise.
7873         * math/w_logf.c: Likewise.
7874         * math/w_logl.c: Likewise.
7875         * math/w_pow.c: Likewise.
7876         * math/w_powf.c: Likewise.
7877         * math/w_powl.c: Likewise.
7878         * math/w_remainder.c: Likewise.
7879         * math/w_remainderf.c: Likewise.
7880         * math/w_remainderl.c: Likewise.
7881         * math/w_scalb.c: Likewise.
7882         * math/w_scalbf.c: Likewise.
7883         * math/w_scalbl.c: Likewise.
7884         * math/w_sinh.c: Likewise.
7885         * math/w_sinhf.c: Likewise.
7886         * math/w_sinhl.c: Likewise.
7887         * math/w_sqrt.c: Likewise.
7888         * math/w_sqrtf.c: Likewise.
7889         * math/w_sqrtl.c: Likewise.
7890         * math/w_tgamma.c: Likewise.
7891         * math/w_tgammaf.c: Likewise.
7892         * math/w_tgammal.c: Likewise.
7894         * math/w_acos_compat.c: New file copied from above and
7895         adjusted for new #includes path
7896         * math/w_acosf_compat.c: Likewise.
7897         * math/w_acosh_compat.c: Likewise.
7898         * math/w_acoshf_compat.c: Likewise.
7899         * math/w_acoshl_compat.c: Likewise.
7900         * math/w_acosl_compat.c: Likewise.
7901         * math/w_asin_compat.c: Likewise.
7902         * math/w_asinf_compat.c: Likewise.
7903         * math/w_asinl_compat.c: Likewise.
7904         * math/w_atan2_compat.c: Likewise.
7905         * math/w_atan2f_compat.c: Likewise.
7906         * math/w_atan2l_compat.c: Likewise.
7907         * math/w_atanh_compat.c: Likewise.
7908         * math/w_atanhf_compat.c: Likewise.
7909         * math/w_atanhl_compat.c: Likewise.
7910         * math/w_cosh_compat.c: Likewise.
7911         * math/w_coshf_compat.c: Likewise.
7912         * math/w_coshl_compat.c: Likewise.
7913         * math/w_exp10_compat.c: Likewise.
7914         * math/w_exp10f_compat.c: Likewise.
7915         * math/w_exp10l_compat.c: Likewise.
7916         * math/w_exp2_compat.c: Likewise.
7917         * math/w_exp2f_compat.c: Likewise.
7918         * math/w_exp2l_compat.c: Likewise.
7919         * math/w_fmod_compat.c: Likewise.
7920         * math/w_fmodf_compat.c: Likewise.
7921         * math/w_fmodl_compat.c: Likewise.
7922         * math/w_hypot_compat.c: Likewise.
7923         * math/w_hypotf_compat.c: Likewise.
7924         * math/w_hypotl_compat.c: Likewise.
7925         * math/w_j0_compat.c: Likewise.
7926         * math/w_j0f_compat.c: Likewise.
7927         * math/w_j0l_compat.c: Likewise.
7928         * math/w_j1_compat.c: Likewise.
7929         * math/w_j1f_compat.c: Likewise.
7930         * math/w_j1l_compat.c: Likewise.
7931         * math/w_jn_compat.c: Likewise.
7932         * math/w_jnf_compat.c: Likewise.
7933         * math/w_jnl_compat.c: Likewise.
7934         * math/w_log10_compat.c: Likewise.
7935         * math/w_log10f_compat.c: Likewise.
7936         * math/w_log10l_compat.c: Likewise.
7937         * math/w_log2_compat.c: Likewise.
7938         * math/w_log2f_compat.c: Likewise.
7939         * math/w_log2l_compat.c: Likewise.
7940         * math/w_log_compat.c: Likewise.
7941         * math/w_logf_compat.c: Likewise.
7942         * math/w_logl_compat.c: Likewise.
7943         * math/w_pow_compat.c: Likewise.
7944         * math/w_powf_compat.c: Likewise.
7945         * math/w_powl_compat.c: Likewise.
7946         * math/w_remainder_compat.c: Likewise.
7947         * math/w_remainderf_compat.c: Likewise.
7948         * math/w_remainderl_compat.c: Likewise.
7949         * math/w_scalb_compat.c: Likewise.
7950         * math/w_scalbf_compat.c: Likewise.
7951         * math/w_scalbl_compat.c: Likewise.
7952         * math/w_sinh_compat.c: Likewise.
7953         * math/w_sinhf_compat.c: Likewise.
7954         * math/w_sinhl_compat.c: Likewise.
7955         * math/w_sqrt_compat.c: Likewise.
7956         * math/w_sqrtf_compat.c: Likewise.
7957         * math/w_sqrtl_compat.c: Likewise.
7958         * math/w_tgamma_compat.c: Likewise.
7959         * math/w_tgammaf_compat.c: Likewise.
7960         * math/w_tgammal_compat.c: Likewise.
7962         * sysdeps/i386/fpu/w_sqrt.c: Add _compat suffix to filename.
7963         * sysdeps/ia64/fpu/w_sqrtl.c: Likewise.
7964         * sysdeps/ia64/fpu/w_acosl.c: Likewise.
7965         * sysdeps/ia64/fpu/w_sqrtf.c: Likewise.
7966         * sysdeps/ia64/fpu/w_sqrt.c: Likewise.
7967         * sysdeps/ia64/fpu/w_sinhl.c: Likewise.
7968         * sysdeps/ia64/fpu/w_acosf.c: Likewise.
7969         * sysdeps/ia64/fpu/w_sinhf.c: Likewise.
7970         * sysdeps/ia64/fpu/w_sinh.c: Likewise.
7971         * sysdeps/ia64/fpu/w_scalbl.c: Likewise.
7972         * sysdeps/ia64/fpu/w_scalbf.c: Likewise.
7973         * sysdeps/ia64/fpu/w_scalb.c: Likewise.
7974         * sysdeps/ia64/fpu/w_remainderl.c: Likewise.
7975         * sysdeps/ia64/fpu/w_remainderf.c: Likewise.
7976         * sysdeps/ia64/fpu/w_remainder.c: Likewise.
7977         * sysdeps/ia64/fpu/w_powl.c: Likewise.
7978         * sysdeps/ia64/fpu/w_powf.c: Likewise.
7979         * sysdeps/ia64/fpu/w_pow.c: Likewise.
7980         * sysdeps/ia64/fpu/w_logl.c: Likewise.
7981         * sysdeps/ia64/fpu/w_logf.c: Likewise.
7982         * sysdeps/ia64/fpu/w_log2l.c: Likewise.
7983         * sysdeps/ia64/fpu/w_log2f.c: Likewise.
7984         * sysdeps/ia64/fpu/w_log2.c: Likewise.
7985         * sysdeps/ia64/fpu/w_log10l.c: Likewise.
7986         * sysdeps/ia64/fpu/w_log10f.c: Likewise.
7987         * sysdeps/ia64/fpu/w_log10.c: Likewise.
7988         * sysdeps/ia64/fpu/w_log.c: Likewise.
7989         * sysdeps/ia64/fpu/w_hypotl.c: Likewise.
7990         * sysdeps/ia64/fpu/w_hypotf.c: Likewise.
7991         * sysdeps/ia64/fpu/w_hypot.c: Likewise.
7992         * sysdeps/ia64/fpu/w_fmodl.c: Likewise.
7993         * sysdeps/ia64/fpu/w_fmodf.c: Likewise.
7994         * sysdeps/ia64/fpu/w_fmod.c: Likewise.
7995         * sysdeps/ia64/fpu/w_exp2l.c: Likewise.
7996         * sysdeps/ia64/fpu/w_exp2f.c: Likewise.
7997         * sysdeps/ia64/fpu/w_exp2.c: Likewise.
7998         * sysdeps/ia64/fpu/w_exp10l.c: Likewise.
7999         * sysdeps/ia64/fpu/w_exp10f.c: Likewise.
8000         * sysdeps/ia64/fpu/w_exp10.c: Likewise.
8001         * sysdeps/ia64/fpu/w_coshl.c: Likewise.
8002         * sysdeps/ia64/fpu/w_coshf.c: Likewise.
8003         * sysdeps/ia64/fpu/w_cosh.c: Likewise.
8004         * sysdeps/ia64/fpu/w_atanhl.c: Likewise.
8005         * sysdeps/ia64/fpu/w_atanhf.c: Likewise.
8006         * sysdeps/ia64/fpu/w_atanh.c: Likewise.
8007         * sysdeps/ia64/fpu/w_atan2l.c: Likewise.
8008         * sysdeps/ia64/fpu/w_atan2f.c: Likewise.
8009         * sysdeps/ia64/fpu/w_atan2.c: Likewise.
8010         * sysdeps/ia64/fpu/w_asinl.c: Likewise.
8011         * sysdeps/ia64/fpu/w_asinf.c: Likewise.
8012         * sysdeps/ia64/fpu/w_asin.c: Likewise.
8013         * sysdeps/ia64/fpu/w_acoshl.c: Likewise.
8014         * sysdeps/ia64/fpu/w_acoshf.c: Likewise.
8015         * sysdeps/ia64/fpu/w_acosh.c: Likewise.
8016         * sysdeps/ia64/fpu/w_acos.c: Likewise.
8017         * sysdeps/ia64/fpu/w_tgamma.S: Likewise.
8018         * sysdeps/ia64/fpu/w_tgammaf.S: Likewise.
8019         * sysdeps/ia64/fpu/w_tgammal.S: Likewise.
8020         * sysdeps/ieee754/ldbl-opt/w_acos.c: Likewise.
8021         * sysdeps/ieee754/ldbl-opt/w_acosh.c: Likewise.
8022         * sysdeps/ieee754/ldbl-opt/w_acoshl.c: Likewise.
8023         * sysdeps/ieee754/ldbl-opt/w_acosl.c: Likewise.
8024         * sysdeps/ieee754/ldbl-opt/w_asin.c: Likewise.
8025         * sysdeps/ieee754/ldbl-opt/w_asinl.c: Likewise.
8026         * sysdeps/ieee754/ldbl-opt/w_atan2.c: Likewise.
8027         * sysdeps/ieee754/ldbl-opt/w_atan2l.c: Likewise.
8028         * sysdeps/ieee754/ldbl-opt/w_atanh.c: Likewise.
8029         * sysdeps/ieee754/ldbl-opt/w_atanhl.c: Likewise.
8030         * sysdeps/ieee754/ldbl-opt/w_cosh.c: Likewise.
8031         * sysdeps/ieee754/ldbl-opt/w_coshl.c: Likewise.
8032         * sysdeps/ieee754/ldbl-opt/w_exp10.c: Likewise.
8033         * sysdeps/ieee754/ldbl-opt/w_exp10l.c: Likewise.
8034         * sysdeps/ieee754/ldbl-opt/w_fmod.c: Likewise.
8035         * sysdeps/ieee754/ldbl-opt/w_fmodl.c: Likewise.
8036         * sysdeps/ieee754/ldbl-opt/w_hypot.c: Likewise.
8037         * sysdeps/ieee754/ldbl-opt/w_hypotl.c: Likewise.
8038         * sysdeps/ieee754/ldbl-opt/w_j0.c: Likewise.
8039         * sysdeps/ieee754/ldbl-opt/w_j0l.c: Likewise.
8040         * sysdeps/ieee754/ldbl-opt/w_j1.c: Likewise.
8041         * sysdeps/ieee754/ldbl-opt/w_j1l.c: Likewise.
8042         * sysdeps/ieee754/ldbl-opt/w_jn.c: Likewise.
8043         * sysdeps/ieee754/ldbl-opt/w_jnl.c: Likewise.
8044         * sysdeps/ieee754/ldbl-opt/w_log10.c: Likewise.
8045         * sysdeps/ieee754/ldbl-opt/w_log10l.c: Likewise.
8046         * sysdeps/ieee754/ldbl-opt/w_log2.c: Likewise.
8047         * sysdeps/ieee754/ldbl-opt/w_log2l.c: Likewise.
8048         * sysdeps/ieee754/ldbl-opt/w_log.c: Likewise.
8049         * sysdeps/ieee754/ldbl-opt/w_logl.c: Likewise.
8050         * sysdeps/ieee754/ldbl-opt/w_pow.c: Likewise.
8051         * sysdeps/ieee754/ldbl-opt/w_powl.c: Likewise.
8052         * sysdeps/ieee754/ldbl-opt/w_remainder.c: Likewise.
8053         * sysdeps/ieee754/ldbl-opt/w_remainderl.c: Likewise.
8054         * sysdeps/ieee754/ldbl-opt/w_scalb.c: Likewise.
8055         * sysdeps/ieee754/ldbl-opt/w_scalbl.c: Likewise.
8056         * sysdeps/ieee754/ldbl-opt/w_sinh.c: Likewise.
8057         * sysdeps/ieee754/ldbl-opt/w_sinhl.c: Likewise.
8058         * sysdeps/ieee754/ldbl-opt/w_sqrt.c: Likewise.
8059         * sysdeps/ieee754/ldbl-opt/w_sqrtl.c: Likewise.
8060         * sysdeps/ieee754/ldbl-opt/w_tgamma.c: Likewise.
8061         * sysdeps/ieee754/ldbl-opt/w_tgammal.c: Likewise.
8062         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S:
8063         Likewise.
8064         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S:
8065         Likewise.
8066         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: Likewise.
8067         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S:
8068         Likewise.
8069         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S:
8070         Likewise.
8071         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: Likewise.
8072         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
8073         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
8074         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
8075         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
8076         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
8077         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
8078         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: Likewise.
8079         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
8080         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: Likewise.
8081         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
8082         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
8083         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
8084         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
8085         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
8087         * sysdeps/i386/fpu/w_sqrt_compat.c: New file copied from above
8088         and adjusted for new #includes path
8089         * sysdeps/ia64/fpu/w_acos_compat.c: Likewise.
8090         * sysdeps/ia64/fpu/w_acosf_compat.c: Likewise.
8091         * sysdeps/ia64/fpu/w_acosh_compat.c: Likewise.
8092         * sysdeps/ia64/fpu/w_acoshf_compat.c: Likewise.
8093         * sysdeps/ia64/fpu/w_acoshl_compat.c: Likewise.
8094         * sysdeps/ia64/fpu/w_acosl_compat.c: Likewise.
8095         * sysdeps/ia64/fpu/w_asin_compat.c: Likewise.
8096         * sysdeps/ia64/fpu/w_asinf_compat.c: Likewise.
8097         * sysdeps/ia64/fpu/w_asinl_compat.c: Likewise.
8098         * sysdeps/ia64/fpu/w_atan2_compat.c: Likewise.
8099         * sysdeps/ia64/fpu/w_atan2f_compat.c: Likewise.
8100         * sysdeps/ia64/fpu/w_atan2l_compat.c: Likewise.
8101         * sysdeps/ia64/fpu/w_atanh_compat.c: Likewise.
8102         * sysdeps/ia64/fpu/w_atanhf_compat.c: Likewise.
8103         * sysdeps/ia64/fpu/w_atanhl_compat.c: Likewise.
8104         * sysdeps/ia64/fpu/w_cosh_compat.c: Likewise.
8105         * sysdeps/ia64/fpu/w_coshf_compat.c: Likewise.
8106         * sysdeps/ia64/fpu/w_coshl_compat.c: Likewise.
8107         * sysdeps/ia64/fpu/w_exp10_compat.c: Likewise.
8108         * sysdeps/ia64/fpu/w_exp10f_compat.c: Likewise.
8109         * sysdeps/ia64/fpu/w_exp10l_compat.c: Likewise.
8110         * sysdeps/ia64/fpu/w_exp2_compat.c: Likewise.
8111         * sysdeps/ia64/fpu/w_exp2f_compat.c: Likewise.
8112         * sysdeps/ia64/fpu/w_exp2l_compat.c: Likewise.
8113         * sysdeps/ia64/fpu/w_fmod_compat.c: Likewise.
8114         * sysdeps/ia64/fpu/w_fmodf_compat.c: Likewise.
8115         * sysdeps/ia64/fpu/w_fmodl_compat.c: Likewise.
8116         * sysdeps/ia64/fpu/w_hypot_compat.c: Likewise.
8117         * sysdeps/ia64/fpu/w_hypotf_compat.c: Likewise.
8118         * sysdeps/ia64/fpu/w_hypotl_compat.c: Likewise.
8119         * sysdeps/ia64/fpu/w_log10_compat.c: Likewise.
8120         * sysdeps/ia64/fpu/w_log10f_compat.c: Likewise.
8121         * sysdeps/ia64/fpu/w_log10l_compat.c: Likewise.
8122         * sysdeps/ia64/fpu/w_log2_compat.c: Likewise.
8123         * sysdeps/ia64/fpu/w_log2f_compat.c: Likewise.
8124         * sysdeps/ia64/fpu/w_log2l_compat.c: Likewise.
8125         * sysdeps/ia64/fpu/w_log_compat.c: Likewise.
8126         * sysdeps/ia64/fpu/w_logf_compat.c: Likewise.
8127         * sysdeps/ia64/fpu/w_logl_compat.c: Likewise.
8128         * sysdeps/ia64/fpu/w_pow_compat.c: Likewise.
8129         * sysdeps/ia64/fpu/w_powf_compat.c: Likewise.
8130         * sysdeps/ia64/fpu/w_powl_compat.c: Likewise.
8131         * sysdeps/ia64/fpu/w_remainder_compat.c: Likewise.
8132         * sysdeps/ia64/fpu/w_remainderf_compat.c: Likewise.
8133         * sysdeps/ia64/fpu/w_remainderl_compat.c: Likewise.
8134         * sysdeps/ia64/fpu/w_scalb_compat.c: Likewise.
8135         * sysdeps/ia64/fpu/w_scalbf_compat.c: Likewise.
8136         * sysdeps/ia64/fpu/w_scalbl_compat.c: Likewise.
8137         * sysdeps/ia64/fpu/w_sinh_compat.c: Likewise.
8138         * sysdeps/ia64/fpu/w_sinhf_compat.c: Likewise.
8139         * sysdeps/ia64/fpu/w_sinhl_compat.c: Likewise.
8140         * sysdeps/ia64/fpu/w_sqrt_compat.c: Likewise.
8141         * sysdeps/ia64/fpu/w_sqrtf_compat.c: Likewise.
8142         * sysdeps/ia64/fpu/w_sqrtl_compat.c: Likewise.
8143         * sysdeps/ia64/fpu/w_tgamma_compat.S: Likewise.
8144         * sysdeps/ia64/fpu/w_tgammaf_compat.S: Likewise.
8145         * sysdeps/ia64/fpu/w_tgammal_compat.S: Likewise.
8146         * sysdeps/ieee754/ldbl-opt/w_acos_compat.c: Likewise.
8147         * sysdeps/ieee754/ldbl-opt/w_acosh_compat.c: Likewise.
8148         * sysdeps/ieee754/ldbl-opt/w_acoshl_compat.c: Likewise.
8149         * sysdeps/ieee754/ldbl-opt/w_acosl_compat.c: Likewise.
8150         * sysdeps/ieee754/ldbl-opt/w_asin_compat.c: Likewise.
8151         * sysdeps/ieee754/ldbl-opt/w_asinl_compat.c: Likewise.
8152         * sysdeps/ieee754/ldbl-opt/w_atan2_compat.c: Likewise.
8153         * sysdeps/ieee754/ldbl-opt/w_atan2l_compat.c: Likewise.
8154         * sysdeps/ieee754/ldbl-opt/w_atanh_compat.c: Likewise.
8155         * sysdeps/ieee754/ldbl-opt/w_atanhl_compat.c: Likewise.
8156         * sysdeps/ieee754/ldbl-opt/w_cosh_compat.c: Likewise.
8157         * sysdeps/ieee754/ldbl-opt/w_coshl_compat.c: Likewise.
8158         * sysdeps/ieee754/ldbl-opt/w_exp10_compat.c: Likewise.
8159         * sysdeps/ieee754/ldbl-opt/w_exp10l_compat.c: Likewise.
8160         * sysdeps/ieee754/ldbl-opt/w_fmod_compat.c: Likewise.
8161         * sysdeps/ieee754/ldbl-opt/w_fmodl_compat.c: Likewise.
8162         * sysdeps/ieee754/ldbl-opt/w_hypot_compat.c: Likewise.
8163         * sysdeps/ieee754/ldbl-opt/w_hypotl_compat.c: Likewise.
8164         * sysdeps/ieee754/ldbl-opt/w_j0_compat.c: Likewise.
8165         * sysdeps/ieee754/ldbl-opt/w_j0l_compat.c: Likewise.
8166         * sysdeps/ieee754/ldbl-opt/w_j1_compat.c: Likewise.
8167         * sysdeps/ieee754/ldbl-opt/w_j1l_compat.c: Likewise.
8168         * sysdeps/ieee754/ldbl-opt/w_jn_compat.c: Likewise.
8169         * sysdeps/ieee754/ldbl-opt/w_jnl_compat.c: Likewise.
8170         * sysdeps/ieee754/ldbl-opt/w_log10_compat.c: Likewise.
8171         * sysdeps/ieee754/ldbl-opt/w_log10l_compat.c: Likewise.
8172         * sysdeps/ieee754/ldbl-opt/w_log2_compat.c: Likewise.
8173         * sysdeps/ieee754/ldbl-opt/w_log2l_compat.c: Likewise.
8174         * sysdeps/ieee754/ldbl-opt/w_log_compat.c: Likewise.
8175         * sysdeps/ieee754/ldbl-opt/w_logl_compat.c: Likewise.
8176         * sysdeps/ieee754/ldbl-opt/w_pow_compat.c: Likewise.
8177         * sysdeps/ieee754/ldbl-opt/w_powl_compat.c: Likewise.
8178         * sysdeps/ieee754/ldbl-opt/w_remainder_compat.c: Likewise.
8179         * sysdeps/ieee754/ldbl-opt/w_remainderl_compat.c: Likewise.
8180         * sysdeps/ieee754/ldbl-opt/w_scalb_compat.c: Likewise.
8181         * sysdeps/ieee754/ldbl-opt/w_scalbl_compat.c: Likewise.
8182         * sysdeps/ieee754/ldbl-opt/w_sinh_compat.c: Likewise.
8183         * sysdeps/ieee754/ldbl-opt/w_sinhl_compat.c: Likewise.
8184         * sysdeps/ieee754/ldbl-opt/w_sqrt_compat.c: Likewise.
8185         * sysdeps/ieee754/ldbl-opt/w_sqrtl_compat.c: Likewise.
8186         * sysdeps/ieee754/ldbl-opt/w_tgamma_compat.c: Likewise.
8187         * sysdeps/ieee754/ldbl-opt/w_tgammal_compat.c: Likewise.
8188         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-power5.S:
8189         Likewise.
8190         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat-ppc32.S:
8191         Likewise.
8192         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt_compat.c:
8193         Likewise.
8194         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-power5.S:
8195         Likewise.
8196         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat-ppc32.S:
8197         Likewise.
8198         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf_compat.c:
8199         Likewise.
8200         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt_compat.S: Likewise.
8201         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf_compat.S: Likewise.
8202         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt_compat.S: Likewise.
8203         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf_compat.S: Likewise.
8204         * sysdeps/sparc/sparc32/fpu/w_sqrt_compat.S: Likewise.
8205         * sysdeps/sparc/sparc32/fpu/w_sqrtf_compat.S: Likewise.
8206         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat-vis3.S:
8207         Likewise.
8208         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt_compat.S:
8209         Likewise.
8210         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat-vis3.S:
8211         Likewise.
8212         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf_compat.S:
8213         Likewise.
8214         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt_compat.S: Likewise.
8215         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf_compat.S: Likewise.
8216         * sysdeps/sparc/sparc64/fpu/w_sqrt_compat.S: Likewise.
8217         * sysdeps/sparc/sparc64/fpu/w_sqrtf_compat.S: Likewise.
8219 2017-01-04  Joseph Myers  <joseph@codesourcery.com>
8221         * sysdeps/microblaze/bits/setjmp.h (__jmp_buf): Give struct tag
8222         __jmp_buf_internal_tag.
8224         * sysdeps/mips/mips32/sfp-machine.h (_FP_CHOOSENAN): Always
8225         preserve NaN payload if [__mips_nan2008].
8226         * sysdeps/mips/mips64/sfp-machine.h (_FP_CHOOSENAN): Likewise.
8228         [BZ #21022]
8229         * sysdeps/microblaze/backtrace.c (get_frame_size): Make static.
8231 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
8233         * sysdeps/i386/fpu/libm-test-ulps: Update.
8235 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8237         * sysdeps/ia64/strcat.c: Remove file.
8238         * sysdeps/powerpc/strcat.c: Likewise.
8239         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Use default
8240         C implementation.
8241         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: Likewise.
8242         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: Likewise.
8244 2017-01-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
8245             Steven Munroe  <sjmunroe@us.ibm.com>
8246             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
8248         [BZ #20822]
8249         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
8250         (__lll_lock_elision): Access adapt_count via C11 atomics.
8251         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
8252         (__lll_trylock_elision): Likewise.
8253         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
8254         (__lll_unlock_elision):  Update adapt_count variable inside the
8255         critical section using C11 atomics.
8257 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
8259         * math/test-fenvinline.c (do_test): Disable tests of raised
8260         exceptions if !EXCEPTION_TESTS (FLOAT).
8262 2017-01-03  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8264         [BZ #19390]
8265         * string/test-strncat.c (test_main): Add tests with SIZE_MAX as
8266         maximum string size.
8267         * sysdeps/i386/i686/multiarch/strcat-sse2.S (STRCAT): Avoid overflow
8268         in pointer addition.
8269         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S (STRCPY):
8270         Likewise.
8272 2017-01-03  Joseph Myers  <joseph@codesourcery.com>
8274         * elf/Makefile ($(objpfx)tst-ldconfig-X.out): Correct arguments
8275         passed to tst-ldconfig-X.sh.
8277 2017-01-03  Martin Galvan  <martingalvan@sourceware.org>
8279         * nptl/nptl-printers.py: Fix tabs/spaces mismatches.
8281 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
8283         [BZ #21019]
8284         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (lseek64):
8285         New syscall entry.
8286         * sysdeps/unix/sysv/linux/mips/mips64/n32/lseek.c: New file.
8287         * io/test-lfs.c (do_test): Test offset returned from lseek64 and
8288         lseek.
8290         * scripts/build-many-glibcs.py (Context.add_all_configs): Add
8291         power4 glibc for powerpc-linux-gnu.
8293 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8295         * sysvipc/test-sysvsem.c (do_test): Define and use union semun on
8296         semctl.
8298 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
8300         * math/test-nearbyint-except.c: Include <stdbool.h>.
8301         (any_supported): New variable.
8302         (TEST_FUNC): Return early if !EXCEPTION_TESTS (FLOAT).  Otherwise
8303         set any_supported.
8304         (do_test): Return 77 if no floating-point type supported
8305         exceptions.
8307         * sysdeps/mips/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): Do not
8308         condition on [__mips_hard_float].
8310 2017-01-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8312         [BZ #21014]
8313         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S (MEMCHR): Avoid overflow
8314         in pointer addition.
8315         * sysdeps/i386/i686/multiarch/memchr-sse2.S (MEMCHR): Likewise.
8317 2017-01-02  Torvald Riegel  <triegel@redhat.com>
8319         * sysdeps/sparc/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt to
8320         new condvar.
8322 2017-01-02  Joseph Myers  <joseph@codesourcery.com>
8324         * scripts/build-many-glibcs.py (Context.checkout): Default
8325         binutils version to 2.28 branch.
8327 2017-01-01  Florian Weimer  <fweimer@redhat.com>
8329         * support/support_format_netent.c (support_format_netent): Work
8330         around alpha struct netent definition difference.
8332 2017-01-01  Florian Weimer  <fweimer@redhat.com>
8334         * support/xwrite.c (xwrite): Use %td for pointer difference.
8336 2017-01-01  Florian Weimer  <fweimer@redhat.com>
8338         * malloc/Makefile (tests): Add tst-malloc-usable-tunables for
8339         have-tunables only.
8340         (tests-static): Add tst-malloc-usable-static-tunables for
8341         have-tunables only.
8343 2017-01-01  Joseph Myers  <joseph@codesourcery.com>
8345         * scripts/config.guess: Update to version 2017-01-01.
8346         * scripts/config.sub: Update to version 2017-01-01.
8348         * NEWS: Update copyright dates.
8349         * catgets/gencat.c (print_version): Likewise.
8350         * csu/version.c (banner): Likewise.
8351         * debug/catchsegv.sh: Likewise.
8352         * debug/pcprofiledump.c (print_version): Likewise.
8353         * debug/xtrace.sh (do_version): Likewise.
8354         * elf/ldconfig.c (print_version): Likewise.
8355         * elf/ldd.bash.in: Likewise.
8356         * elf/pldd.c (print_version): Likewise.
8357         * elf/sotruss.sh: Likewise.
8358         * elf/sprof.c (print_version): Likewise.
8359         * iconv/iconv_prog.c (print_version): Likewise.
8360         * iconv/iconvconfig.c (print_version): Likewise.
8361         * locale/programs/locale.c (print_version): Likewise.
8362         * locale/programs/localedef.c (print_version): Likewise.
8363         * login/programs/pt_chown.c (print_version): Likewise.
8364         * malloc/memusage.sh (do_version): Likewise.
8365         * malloc/memusagestat.c (print_version): Likewise.
8366         * malloc/mtrace.pl: Likewise.
8367         * manual/libc.texinfo: Likewise.
8368         * nptl/version.c (banner): Likewise.
8369         * nscd/nscd.c (print_version): Likewise.
8370         * nss/getent.c (print_version): Likewise.
8371         * nss/makedb.c (print_version): Likewise.
8372         * posix/getconf.c (main): Likewise.
8373         * scripts/test-installation.pl: Likewise.
8374         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
8376         * All files with FSF copyright notices: Update copyright dates
8377         using scripts/update-copyrights.
8378         * intl/plural.c: Regenerated.
8379         * locale/programs/charmap-kw.h: Likewise.
8380         * locale/programs/locfile-kw.h: Likewise.
8382 2016-12-31  Florian Weimer  <fweimer@redhat.com>
8384         [BZ #20593]
8385         Update DNS RR type definitions.
8386         * scripts/gen-rrtypes.py: New file.
8387         * resolv/arpa/nameser.h (ns_type): Remove ns_t_zxfr, a
8388         BIND-internal RR type not used on the Internet.  Add ns_t_ds,
8389         ns_t_sshfp, ns_t_ipseckey, ns_t_rrsig, ns_t_nsec, ns_t_dnskey,
8390         ns_t_dhcid, ns_t_nsec3, ns_t_nsec3param, ns_t_tlsa, ns_t_smimea,
8391         ns_t_hip, ns_t_ninfo, ns_t_rkey, ns_t_talink, ns_t_cds,
8392         ns_t_cdnskey, ns_t_openpgpkey, ns_t_csync, ns_t_spf, ns_t_uinfo,
8393         ns_t_uid, ns_t_gid, ns_t_unspec, ns_t_nid, ns_t_l32, ns_t_l64,
8394         ns_t_lp, ns_t_eui48, ns_t_eui64, ns_t_uri, ns_t_caa, ns_t_avc,
8395         ns_t_ta, ns_t_dlv.
8396         * resolv/arpa/nameser_compat.h (T_KX, T_CERT, T_SINK, T_OPT)
8397         (T_APL, T_DS, T_SSHFP, T_IPSECKEY, T_RRSIG, T_NSEC, T_DNSKEY)
8398         (T_DHCID, T_NSEC3, T_NSEC3PARAM, T_TLSA, T_SMIMEA, T_HIP, T_NINFO)
8399         (T_RKEY, T_TALINK, T_CDS, T_CDNSKEY, T_OPENPGPKEY, T_CSYNC, T_SPF)
8400         (T_UINFO, T_UID, T_GID, T_UNSPEC, T_NID, T_L32, T_L64, T_LP)
8401         (T_EUI48, T_EUI64, T_TKEY, T_URI, T_CAA, T_AVC, T_TA, T_DLV):
8402         Define.
8403         * resolv/res_debug.c (__p_type_syms): Update comment.  Remove
8404         entry for ns_t_zxfr.
8406 2016-12-31  Florian Weimer  <fweimer@redhat.com>
8408         [BZ #18784]
8409         CVE-2015-5180
8410         * include/arpa/nameser_compat.h (T_QUERY_A_AND_AAAA): Rename from
8411         T_UNSPEC.  Adjust value.
8412         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Use it.
8413         * resolv/res_query.c (__libc_res_nquery): Likewise.
8414         * resolv/res_mkquery.c (res_nmkquery): Check for out-of-range
8415         QTYPEs.
8416         * resolv/tst-resolv-qtypes.c: New file.
8417         * resolv/Makefile (xtests): Add tst-resolv-qtypes.
8418         (tst-resolv-qtypes): Link against libresolv and libpthread.
8420 2016-12-31  Florian Weimer  <fweimer@redhat.com>
8422         * elf/dl-tunables.h (__tunables_init): Fix unused attribute.
8424 2016-12-31  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8426         * manual/tunables.texi: New chapter.
8427         * manual/Makefile (chapters): Add it.
8428         * manual/probes.texi (@node): Point to the Tunables chapter.
8430         * Makeconfig (have-tunables): Check for non-negative instead
8431         of positive.
8432         * configure.ac: Add 'valstring' as a valid value for
8433         --enable-tunables.
8434         * configure: Regenerate.
8435         * elf/Makefile (have-tunables): Check for non-negative instead
8436         of positive.
8437         (CPPFLAGS-dl-tunables.c): Define TUNABLES_FRONTEND for
8438         dl-tunables.c.
8439         * elf/dl-tunables.c (GLIBC_TUNABLES): Define only when
8440         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
8441         (tunables_strdup): Likewise.
8442         (disable_tunables): Likewise.
8443         (parse_tunables): Likewise.
8444         (__tunables_init): Process GLIBC_TUNABLES envvar only when.
8445         TUNABLES_FRONTEND == TUNABLES_FRONTEND_valstring.
8446         * elf/dl-tunables.h (TUNABLES_FRONTEND_valstring): New macro.
8447         (TUNABLES_FRONTEND_yes): New macro, define as
8448         TUNABLES_FRONTEND_valstring by default.
8449         * manual/install.texi: Document new acceptable values for
8450         --enable-tunables.
8451         * INSTALL: Regenerate.
8453         * config.make.in (have-loop-to-function): Define.
8454         * elf/Makefile (CFLAGS-dl-tunables.c): Add
8455         -fno-tree-loop-distribute-patterns.
8456         * elf/dl-tunables.c: Include libc-internals.h.
8457         (GLIBC_TUNABLES): New macro.
8458         (tunables_strdup): New function.
8459         (parse_tunables): New function.
8460         (min_strlen): New function.
8461         (__tunables_init): Use the new functions and macro.
8462         (disable_tunable): Disable tunable from GLIBC_TUNABLES.
8463         * malloc/tst-malloc-usable-tunables.c: New test case.
8464         * malloc/tst-malloc-usable-static-tunables.c: New test case.
8465         * malloc/Makefile (tests, tests-static): Add tests.
8467         * manual/install.texi: Add --enable-tunables option.
8468         * INSTALL: Regenerate.
8469         * README.tunables: New file.
8470         * Makeconfig (CPPFLAGS): Define TOP_NAMESPACE.
8471         (before-compile): Generate dl-tunable-list.h early.
8472         * config.h.in: Add HAVE_TUNABLES.
8473         * config.make.in: Add have-tunables.
8474         * configure.ac: Add --enable-tunables option.
8475         * configure: Regenerate.
8476         * csu/init-first.c (__libc_init_first): Move
8477         __libc_init_secure earlier...
8478         * csu/init-first.c (LIBC_START_MAIN):... to here.
8479         Include dl-tunables.h, libc-internal.h.
8480         (LIBC_START_MAIN) [!SHARED]: Initialize tunables for static
8481         binaries.
8482         * elf/Makefile (dl-routines): Add dl-tunables.
8483         * elf/Versions (ld): Add __tunable_set_val to GLIBC_PRIVATE
8484         namespace.
8485         * elf/dl-support (_dl_nondynamic_init): Unset MALLOC_CHECK_
8486         only when !HAVE_TUNABLES.
8487         * elf/rtld.c (process_envvars): Likewise.
8488         * elf/dl-sysdep.c [HAVE_TUNABLES]: Include dl-tunables.h
8489         (_dl_sysdep_start): Call __tunables_init.
8490         * elf/dl-tunable-types.h: New file.
8491         * elf/dl-tunables.c: New file.
8492         * elf/dl-tunables.h: New file.
8493         * elf/dl-tunables.list: New file.
8494         * malloc/tst-malloc-usable-static.c: New test case.
8495         * malloc/Makefile (tests-static): Add it.
8496         * malloc/arena.c [HAVE_TUNABLES]: Include dl-tunables.h.
8497         Define TUNABLE_NAMESPACE.
8498         (DL_TUNABLE_CALLBACK (set_mallopt_check)): New function.
8499         (DL_TUNABLE_CALLBACK_FNDECL): New macro.  Use it to define
8500         callback functions.
8501         (ptmalloc_init): Set tunable values.
8502         * scripts/gen-tunables.awk: New file.
8503         * sysdeps/mach/hurd/dl-sysdep.c: Include dl-tunables.h.
8504         (_dl_sysdep_start): Call __tunables_init.
8506 2016-12-31  Florian Weimer  <fweimer@redhat.com>
8508         * resolv/resolv.h (RES_BLAST): Deprecate.
8509         * resolv/res_debug.c (p_option): Remove RES_BLAST.
8510         * resolv/res_send.c (__libc_res_nsend): Remove vestigial reference
8511         to RES_BLAST.
8513 2016-12-27  Florian Weimer  <fweimer@redhat.com>
8515         [BZ #19582]
8516         Deprecate RES_USE_INET6.
8517         * nis/nss_nis/nis-hosts.c (_nss_nis_gethostent_r)
8518         (_nss_nis_gethostbyname2_r, _nss_nis_gethostbyname_r)
8519         (_nss_nis_gethostbyaddr_r): Use res_use_inet6 instead of
8520         RES_USE_INET6.
8521         * nis/nss_nisplus/nisplus-hosts.c (internal_nisplus_gethostent_r)
8522         (_nss_nisplus_gethostbyname2_r, _nss_nisplus_gethostbyname_r)
8523         (_nss_nisplus_gethostbyaddr_r): Likewise.
8524         * nscd/aicache.c (addhstaiX): Use DEPRECATED_RES_USE_INET6 instead
8525         of res_use_inet6.
8526         * nscd/nscd_gethst_r.c (__nscd_gethostbyname_r): Use res_use_inet6
8527         instead of RES_USE_INET6.
8528         * nss/digits_dots.c (__nss_hostname_digits_dots): Likewise.
8529         * nss/nss_files/files-hosts.c (EXTRA_ARGS_VALUE)
8530         (_nss_files_gethostbyname3_r, _nss_files_gethostbyname_r):
8531         Likewise.
8532         * resolv/compat-gethnamaddr.c (getanswer, res_gethostbyname)
8533         (res_gethostbyname2, res_gethostbyaddr, _gethtent, _gethtbyname):
8534         Likewise.
8535         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r)
8536         (_nss_dns_gethostbyname_r): Likewise.
8537         (_nss_dns_gethostbyaddr2_r): Remove commented-out code for
8538         alternate RES_USE_INET6 handling.
8539         * resolv/res_debug.c (p_option): Use DEPRECATED_RES_USE_INET6
8540         instead of RES_USE_INET6.
8541         * resolv/res_init.c (res_setoptions): Likewise.
8542         * resolv/resolv.h (RES_USE_INET6): Mark as deprecated.
8543         * resolv/resolv-internal.h: New file.
8544         * resolv/Makefile (CFLAGS-tst-res_use_inet6.c): Use -Wno-error to
8545         make the deprecation warning non-fatal.
8546         * resolv/README (Using the resolver in multi-threaded code): Drop
8547         reference to RES_USE_INET6.
8548         * sysdeps/posix/getaddrinfo.c (gethosts, gaih_inet): Use
8549         DEPRECATED_RES_USE_INET6 instead of res_use_inet6.
8551 2016-12-31  Florian Weimer  <fweimer@redhat.com>
8553         * resolv/Makefile (tests): Add tst-bug18665, tst-bug18665-tcp,
8554         tst-res_use_inet6, tst-resolv-basic, tst-resolv-network,
8555         tst-resolv-search.
8556         (tst-bug18665, tst-bug18665-tcp, tst-res_use_inet6)
8557         (tst-resolv-basic, tst-resolv-network, tst-resolv-search): Link
8558         with libresolv and libpthread.
8559         * resolv/tst-bug18665.c: New file.
8560         * resolv/tst-bug18665-tcp: Likewise.
8561         * resolv/tst-res_use_inet6: Likewise.
8562         * resolv/tst-resolv-basic: Likewise.
8563         * resolv/tst-resolv-network: Likewise.
8564         * resolv/tst-resolv-search: Likewise.
8565         * support/Makefile (libsupport-routines): Add check_addrinfo,
8566         check_dns_packet, check_hostent, check_netent, resolv_test,
8567         support_format_address_family, support_format_addrinfo,
8568         support_format_dns_packet, support_format_herrno,
8569         support_format_hostent, support_format_netent, support_run_diff,
8570         xaccept, xbind, xconnect, xfclose, xfopen, xgetsockname, xlisten,
8571         xmemstream, xpoll, xpthread_once, xrecvfrom, xsendto, xsetsockopt,
8572         xstrdup, xwrite.
8573         * support/check_addrinfo.c: New file.
8574         * support/check_dns_packet.c: Likewise.
8575         * support/check_hostent.c: Likewise.
8576         * support/check_netent.c: Likewise.
8577         * support/check_nss.h: Likewise.
8578         * support/format_nss.h: Likewise.
8579         * support/resolv_test.c: Likewise.
8580         * support/resolv_test.h: Likewise.
8581         * support/run_diff.h: Likewise.
8582         * support/support_format_address_family.c: Likewise.
8583         * support/support_format_addrinfo.c: Likewise.
8584         * support/support_format_dns_packet.c: Likewise.
8585         * support/support_format_herrno.c: Likewise.
8586         * support/support_format_hostent.c: Likewise.
8587         * support/support_format_netent.c: Likewise.
8588         * support/support_run_diff.c: Likewise.
8589         * support/xaccept.c: Likewise.
8590         * support/xbind.c: Likewise.
8591         * support/xconnect.c: Likewise.
8592         * support/xfclose.c: Likewise.
8593         * support/xfopen.c: Likewise.
8594         * support/xgetsockname.c: Likewise.
8595         * support/xlisten.c: Likewise.
8596         * support/xmemstream.c: Likewise.
8597         * support/xmemstream.h: Likewise.
8598         * support/xpoll.c: Likewise.
8599         * support/xpthread_once.c: Likewise.
8600         * support/xrecvfrom.c: Likewise.
8601         * support/xsendto.c: Likewise.
8602         * support/xsetsockopt.c: Likewise.
8603         * support/xstdio.h: Likewise.
8604         * support/xstrdup.c: Likewise.
8605         * support/support.h (xstrdup): Declare.
8606         * support/xsocket.h (xsetsockopt, xgetsockname, xconnect, xbind)
8607         (xlisten, xaccept, xsendto, xrecvfrom, xpoll): Likewise.
8608         * support/xthread.h (xpthread_once): Likwise.
8609         * support/xunistd.h (xwrite): Declare.
8611 2016-12-31  Florian Weimer  <fweimer@redhat.com>
8613         * support/test-driver.h (TEST_DEFAULT_OPTIONS): Add --verbose.
8614         (test_verbose): Declare.
8615         * support/test-driver.c (main): Use TEST_DEFAULT_OPTIONS.
8616         * support/support_test_main.c (default_options): Likewise.
8617         (usage, support_test_main): Handle 'v'.
8618         (test_verbose): Define.
8619         * support/tst-support_record_failure.c (do_test): Use
8620         test_verbose.
8621         * support/tst-support_record_failure-2.sh (different_status): Add
8622         --verbose test.
8624 2016-12-31  Florian Weimer  <fweimer@redhat.com>
8626         * support/check.h (FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Document that
8627         test failures are recorded.
8628         * support/check.c (support_print_failure_impl): Call
8629         support_record_failure.
8630         (support_exit_failure_impl): Call support_record_failure if status
8631         indicates failure.
8632         * support/delayed_exit.c (delayed_exit_thread): Use FAIL_EXIT1.
8633         * support/xasprintf.c (xasprintf): Likewise.
8634         * support/xfork.c (xfork): Likewise.
8635         * support/xpthread_check_return.c (xpthread_check_return):
8636         Likewise.
8637         * support/xsocket.c (xsocket): Likeweise.
8638         * support/xwaitpid.c (xwaitpid): Likewise.
8639         * support/support_record_failure.c (struct test_failures): Adjust
8640         to coding style.
8641         * support/support_test_verify_impl.c (support_test_verify_impl):
8642         Adjust error messages.
8643         * support/tst-support_record_failure-2.sh (different_status):
8644         Adjust error messages.
8646 2016-12-31  Florian Weimer  <fweimer@redhat.com>
8648         * support/namespace.h: New file.
8649         * support/support_become_root.c: Likewise.
8650         * support/support_enter_network_namespace.c: Likewise.
8651         * support/tst-support-namespace.c: Likewise.
8652         * support/xsocket.c: Likewise.
8653         * support/xsocket.h: Likewise.
8654         * support/Makefile (libsupport-routines): Add support_become_root,
8655         support_enter_network_namespace, xsocket.
8656         (tests): Add tst-support-namespace.
8658 2016-12-31  Florian Weimer  <fweimer@redhat.com>
8660         [BZ #17252]
8661         * posix/unistd.h (getentropy): Declare for __USE_MISC, not just
8662         __USE_GNU.
8664 2016-12-31  Torvald Riegel  <triegel@redhat.com>
8666         [BZ #13165]
8667         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast): Rewrite to
8668         use new algorithm.
8669         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
8670         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
8671         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
8672         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
8673         (__pthread_cond_timedwait): Move here from pthread_cond_timedwait.c.
8674         (__condvar_confirm_wakeup, __condvar_cancel_waiting,
8675         __condvar_cleanup_waiting, __condvar_dec_grefs,
8676         __pthread_cond_wait_common): New.
8677         (__condvar_cleanup): Remove.
8678         * npt/pthread_condattr_getclock.c (pthread_condattr_getclock): Adapt.
8679         * npt/pthread_condattr_setclock.c (pthread_condattr_setclock):
8680         Likewise.
8681         * npt/pthread_condattr_getpshared.c (pthread_condattr_getpshared):
8682         Likewise.
8683         * npt/pthread_condattr_init.c (pthread_condattr_init): Likewise.
8684         * nptl/tst-cond1.c: Add comment.
8685         * nptl/tst-cond20.c (do_test): Adapt.
8686         * nptl/tst-cond22.c (do_test): Likewise.
8687         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (pthread_cond_t): Adapt
8688         structure.
8689         * sysdeps/arm/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
8690         * sysdeps/ia64/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
8691         * sysdeps/m68k/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
8692         * sysdeps/microblaze/nptl/bits/pthreadtypes.h (pthread_cond_t):
8693         Likewise.
8694         * sysdeps/mips/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
8695         * sysdeps/nios2/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
8696         * sysdeps/s390/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
8697         * sysdeps/sh/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
8698         * sysdeps/tile/nptl/bits/pthreadtypes.h (pthread_cond_t): Likewise.
8699         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h (pthread_cond_t):
8700         Likewise.
8701         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h (pthread_cond_t):
8702         Likewise.
8703         * sysdeps/x86/bits/pthreadtypes.h (pthread_cond_t): Likewise.
8704         * sysdeps/nptl/internaltypes.h (COND_NWAITERS_SHIFT): Remove.
8705         (COND_CLOCK_BITS): Adapt.
8706         * sysdeps/nptl/pthread.h (PTHREAD_COND_INITIALIZER): Adapt.
8707         * nptl/pthreadP.h (__PTHREAD_COND_CLOCK_MONOTONIC_MASK,
8708         __PTHREAD_COND_SHARED_MASK): New.
8709         * nptl/nptl-printers.py (CLOCK_IDS): Remove.
8710         (ConditionVariablePrinter, ConditionVariableAttributesPrinter): Adapt.
8711         * nptl/nptl_lock_constants.pysym: Adapt.
8712         * nptl/test-cond-printers.py: Adapt.
8713         * sysdeps/unix/sysv/linux/hppa/internaltypes.h (cond_compat_clear,
8714         cond_compat_check_and_clear): Adapt.
8715         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: Remove file ...
8716         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
8717         (__pthread_cond_timedwait): ... and move here.
8718         * nptl/DESIGN-condvar.txt: Remove file.
8719         * nptl/lowlevelcond.sym: Likewise.
8720         * nptl/pthread_cond_timedwait.c: Likewise.
8721         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: Likewise.
8722         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Likewise.
8723         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: Likewise.
8724         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Likewise.
8725         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: Likewise.
8726         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: Likewise.
8727         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: Likewise.
8728         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Likewise.
8729         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: Likewise.
8730         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: Likewise.
8731         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Likewise.
8732         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Likewise.
8733         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: Likewise.
8734         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Likewise.
8735         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Likewise.
8736         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Likewise.
8738 2016-12-31  Joseph Myers  <joseph@codesourcery.com>
8740         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
8741         (fromfp): New declaration.
8742         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
8743         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
8744         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
8745         * math/tgmath.h (__TGMATH_TERNARY_FIRST_REAL_RET_ONLY): New macro.
8746         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfp): Likewise.
8747         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfp): Likewise.
8748         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fromfpx): Likewise.
8749         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ufromfpx): Likewise.
8750         * math/math.h: Include <bits/types.h>.
8751         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_INT_UPWARD): New enum
8752         constant and macro.
8753         (FP_INT_DOWNWARD): Likewise.
8754         (FP_INT_TOWARDZERO): Likewise.
8755         (FP_INT_TONEARESTFROMZERO): Likewise.
8756         (FP_INT_TONEAREST): Likewise.
8757         * math/Versions (fromfp): New libm symbol at version GLIBC_2.25.
8758         (fromfpf): Likewise.
8759         (fromfpl): Likewise.
8760         (ufromfp): Likewise.
8761         (ufromfpf): Likewise.
8762         (ufromfpl): Likewise.
8763         (fromfpx): Likewise.
8764         (fromfpxf): Likewise.
8765         (fromfpxl): Likewise.
8766         (ufromfpx): Likewise.
8767         (ufromfpxf): Likewise.
8768         (ufromfpxl): Likewise.
8769         * math/Makefile (libm-calls): Add s_fromfpF, s_ufromfpF,
8770         s_fromfpxF and s_ufromfpxF.
8771         * math/gen-fromfp-tests.py: New file.
8772         * math/gen-fromfp-tests-inputs: Likewise.
8773         * math/libm-test.inc: Include <stdint.h>
8774         (check_intmax_t): New function.
8775         (check_uintmax_t): Likewise.
8776         (struct test_fiu_M_data): New type.
8777         (struct test_fiu_U_data): Likewise.
8778         (RUN_TEST_fiu_M): New macro.
8779         (RUN_TEST_LOOP_fiu_M): Likewise.
8780         (RUN_TEST_fiu_U): Likewise.
8781         (RUN_TEST_LOOP_fiu_U): Likewise.
8782         (fromfp_test_data): New array.
8783         (fromfp_test): New function.
8784         (fromfpx_test_data): New array.
8785         (fromfpx_test): New function.
8786         (ufromfp_test_data): New array.
8787         (ufromfp_test): New function.
8788         (ufromfpx_test_data): New array.
8789         (ufromfpx_test): New function.
8790         (main): Call fromfp_test, fromfpx_test, ufromfp_test and
8791         ufromfpx_test.
8792         * math/gen-libm-test.pl (parse_args): Handle u, M and U descriptor
8793         characters.
8794         * math/test-tgmath-ret.c: Include <stdint.h>.
8795         (rm): New variable.
8796         (width): Likewise.
8797         (CHECK_RET_CONST_TYPE): Take extra arguments and pass them to
8798         called function.
8799         (CHECK_RET_CONST_FLOAT): Take extra arguments and pass them to
8800         CHECK_RET_CONST_TYPE.
8801         (CHECK_RET_CONST_DOUBLE): Likewise.
8802         (CHECK_RET_CONST_LDOUBLE): Likewise.
8803         (CHECK_RET_CONST): Take extra arguments and pass them to calls
8804         macros.
8805         (fromfp): New CHECK_RET_CONST call.
8806         (ufromfp): Likewise.
8807         (fromfpx): Likewise.
8808         (ufromfpx): Likewise.
8809         (do_test): Call check_return_fromfp, check_return_ufromfp,
8810         check_return_fromfpx and check_return_ufromfpx.
8811         * math/test-tgmath.c: Include <stdint.h>
8812         (NCALLS): Increase to 138.
8813         (F(compile_test)): Initialize i.  Call fromfp functions.
8814         (F(fromfp)): New function.
8815         (F(fromfpx)): Likewise.
8816         (F(ufromfp)): Likewise.
8817         (F(ufromfpx)): Likewise.
8818         * manual/arith.texi (Rounding Functions): Document FP_INT_UPWARD,
8819         FP_INT_DOWNWARD, FP_INT_TOWARDZERO, FP_INT_TONEARESTFROMZERO,
8820         FP_INT_TONEAREST, fromfp, fromfpf, fromfpl, ufromfp, ufromfpf,
8821         ufromfpl, fromfpx, fromfpxf, fromfpxl, ufromfpx, ufromfpxf and
8822         ufromfpxl.
8823         * manual/libm-err-tab.pl (@all_functions): Add fromfp, fromfpx,
8824         ufromfp and ufromfpx.
8825         * math/fromfp.h: New file.
8826         * sysdeps/ieee754/dbl-64/s_fromfp.c: Likewise.
8827         * sysdeps/ieee754/dbl-64/s_fromfp_main.c: Likewise.
8828         * sysdeps/ieee754/dbl-64/s_fromfpx.c: Likewise.
8829         * sysdeps/ieee754/dbl-64/s_ufromfp.c: Likewise.
8830         * sysdeps/ieee754/dbl-64/s_ufromfpx.c: Likewise.
8831         * sysdeps/ieee754/flt-32/s_fromfpf.c: Likewise.
8832         * sysdeps/ieee754/flt-32/s_fromfpf_main.c: Likewise.
8833         * sysdeps/ieee754/flt-32/s_fromfpxf.c: Likewise.
8834         * sysdeps/ieee754/flt-32/s_ufromfpf.c: Likewise.
8835         * sysdeps/ieee754/flt-32/s_ufromfpxf.c: Likewise.
8836         * sysdeps/ieee754/ldbl-128/s_fromfpl.c: Likewise.
8837         * sysdeps/ieee754/ldbl-128/s_fromfpl_main.c: Likewise.
8838         * sysdeps/ieee754/ldbl-128/s_fromfpxl.c: Likewise.
8839         * sysdeps/ieee754/ldbl-128/s_ufromfpl.c: Likewise.
8840         * sysdeps/ieee754/ldbl-128/s_ufromfpxl.c: Likewise.
8841         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl.c: Likewise.
8842         * sysdeps/ieee754/ldbl-128ibm/s_fromfpl_main.c: Likewise.
8843         * sysdeps/ieee754/ldbl-128ibm/s_fromfpxl.c: Likewise.
8844         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpl.c: Likewise.
8845         * sysdeps/ieee754/ldbl-128ibm/s_ufromfpxl.c: Likewise.
8846         * sysdeps/ieee754/ldbl-96/s_fromfpl.c: Likewise.
8847         * sysdeps/ieee754/ldbl-96/s_fromfpl_main.c: Likewise.
8848         * sysdeps/ieee754/ldbl-96/s_fromfpxl.c: Likewise.
8849         * sysdeps/ieee754/ldbl-96/s_ufromfpl.c: Likewise.
8850         * sysdeps/ieee754/ldbl-96/s_ufromfpxl.c: Likewise.
8851         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fromfp,
8852         ufromfp, fromfpx and ufromfpx.
8853         (CFLAGS-nldbl-fromfp.c): New variable.
8854         (CFLAGS-nldbl-fromfpx.c): Likewise.
8855         (CFLAGS-nldbl-ufromfp.c): Likewise.
8856         (CFLAGS-nldbl-ufromfpx.c): Likewise.
8857         * sysdeps/ieee754/ldbl-opt/nldbl-compat.h: Include <stdint.h>.
8858         * sysdeps/ieee754/ldbl-opt/nldbl-fromfp.c: New file.
8859         * sysdeps/ieee754/ldbl-opt/nldbl-fromfpx.c: Likewise.
8860         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfp.c: Likewise.
8861         * sysdeps/ieee754/ldbl-opt/nldbl-ufromfpx.c: Likewise.
8862         * sysdeps/nacl/libm.abilist: Update.
8863         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
8864         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
8865         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
8866         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
8867         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
8868         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
8869         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
8870         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
8871         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
8872         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
8873         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
8874         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
8875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
8876         Likewise.
8877         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
8878         Likewise.
8879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
8880         Likewise.
8881         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
8882         Likewise.
8883         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
8884         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
8885         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
8886         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
8887         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
8888         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
8889         Likewise.
8890         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
8891         Likewise.
8892         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
8893         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
8894         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
8896 2016-12-30  Florian Weimer  <fweimer@redhat.com>
8898         * resolv/Makefile (libresolv-routines): Rename gethnamaddr to
8899         compat-gethnamaddr.
8900         (CPPFLAGS): Remove.
8901         * resolv/gethnamaddr.c: Rename ...
8902         * resolv/compat-gethnamaddr.c: ... to this file.
8903         (_endhtent): Make static.
8904         (res_gethostbyname): Renamed from gethostbyname.  Turn into compat
8905         symbol.
8906         (res_gethostbyname2): Renamed from gethostbyname2.  Turn into
8907         compat symbol.
8908         (res_gethostbyaddr): Renamed from gethostbyaddr.  Turn into compat
8909         symbol.
8910         (_sethtent, _gethtent, _gethtbyname, gethtbyname2, _gethtbyaddr):
8911         Turn into compat symbol.
8912         * include/resolv.h (_endhtent): Remove declaration.
8914 2016-12-30  Joseph Myers  <joseph@codesourcery.com>
8916         * bits/types.h (__intmax_t): New typedef.
8917         (__uintmax_t): Likewise.
8918         * sysdeps/generic/stdint.h: Include <bits/types.h>.
8919         (intmax_t): Define using __intmax_t.
8920         (uintmax_t): Define using __uintmax_t.
8922         * support/Makefile (tests-special): Make definition conditional on
8923         [$(run-built-tests) = yes].
8924         ($(objpfx)tst-support_record_failure-2.out): Make rule conditional
8925         on [$(run-built-tests) = yes].
8927 2016-12-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
8929         * Rules (tests): Add tests-printers-programs to tests to be
8930         built.
8932 2016-12-28  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
8934         * sysvipc/Makefile (tests): Add test-sysvshm.
8935         * sysvipc/test-sysvshm.c: New file.
8937         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmget): Remove.
8938         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmget): Likewise.
8939         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmget): Likewise.
8940         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmget): Likewise.
8941         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmget): Likewise.
8942         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmget): Likewise.
8943         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmget):
8944         Likewise.
8945         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmget):
8946         Likewise.
8947         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmget): Likewise.
8948         * sysdeps/unix/sysv/linux/shmget.c (shmget): Use shmget syscall if it
8949         is defined.
8951         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmdt): Remove.
8952         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmdt): Likewise.
8953         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmdt): Likewise.
8954         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmdt): Likewise.
8955         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmdt): Likewise.
8956         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmdt): Likewise.
8957         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmdt):
8958         Likewise.
8959         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmdt):
8960         Likewise.
8961         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmdt): Likewise.
8962         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Use shmdt syscall if it is
8963         defined.
8965         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
8966         oldshmctl.
8967         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmctl): Remove.
8968         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmctl): Likewise.
8969         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmctl): Likewise.
8970         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmctl): Likewise.
8971         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmctl): Likewise.
8972         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmctl): Likewise.
8973         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmctl):
8974         Likewise.
8975         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmctl):
8976         Likewise.
8977         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmctl): Likewise.
8978         * sysdeps/unix/sysv/linux/alpha/shmctl.c: Remove file.
8979         * sysdeps/unix/sysv/linux/arm/shmctl.c: Likewise.
8980         * sysdeps/unix/sysv/linux/microblaze/shmctl.c: Likewise.
8981         * sysdeps/unix/sysv/linux/mips/mips64/shmctl.c: Use default
8982         implementation.
8983         * sysdeps/unix/sysv/linux/shmctl.c (__new_shmctl): Use shmctl syscall
8984         if it is defined.
8986         * sysdeps/unix/sysv/linux/alpha/syscalls.list (shmat): Remove.
8987         * sysdeps/unix/sysv/linux/arm/syscalls.list (shmat): Likewise.
8988         * sysdeps/unix/sysv/linux/generic/syscalls.list (shmat): Likewise.
8989         * sysdeps/unix/sysv/linux/hppa/syscalls.list (shmat): Likewise.
8990         * sysdeps/unix/sysv/linux/ia64/syscalls.list (shmat): Likewise.
8991         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (shmat): Likewise.
8992         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (shmat):
8993         Likewise.
8994         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (shmat):
8995         Likewise.
8996         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (shmat): Likewise.
8997         * sysdeps/unix/sysv/linux/alpha/kernel-features.h (__NR_shmat):
8998         Define to __NR_osf_shmat.
8999         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use shmat syscall if it is
9000         defined.
9002         * sysvipc/Makefile (tests): Add test-sysvsem.
9003         * sysvipc/test-sysvsem.c: New file.
9005         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semtimedop): Remove.
9006         * sysdeps/unix/sysv/linux/arm/syscalls.list (semtimedop): Likewise.
9007         * sysdeps/unix/sysv/linux/generic/syscalls.list (semtimedop):
9008         Likewise.
9009         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semtimedop): Likewise.
9010         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semtimedop): Likewise.
9011         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semtimedop):
9012         Likewise.
9013         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semtimedop):
9014         Likewise.
9015         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semtimedop): Likewise.
9016         * sysdeps/unix/sysv/linux/m68k/semtimedop.S: Remove file.
9017         * sysdeps/unix/sysv/linux/s390/semtimedop.c: Reorganize headers and
9018         add a comment about s390 syscall difference from default one.
9019         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Use semtimedop
9020         syscall if it is defined.
9022         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semop): Remove.
9023         * sysdeps/unix/sysv/linux/arm/syscalls.list (semop): Likewise.
9024         * sysdeps/unix/sysv/linux/generic/syscalls.list (semop): Likewise.
9025         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semop): Likewise.
9026         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semop): Likewise.
9027         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semop): Likewise.
9028         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semop):
9029         Likewise.
9030         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semop):
9031         Likewise.
9032         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semop): Likewise.
9033         * sysdeps/unix/sysv/linux/semop.c (semop): Use semop syscall if it is
9034         defined.
9036         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semget): Remove.
9037         * sysdeps/unix/sysv/linux/arm/syscalls.list (semget): Likewise.
9038         * sysdeps/unix/sysv/linux/generic/syscalls.list (semget): Likewise.
9039         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semget): Likewise.
9040         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semget): Likewise.
9041         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (semget): Likewise.
9042         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (semget):
9043         Likewise.
9044         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semget):
9045         Likewise.
9046         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semget): Likewise.
9047         * sysdeps/unix/sysv/linux/semget.c (semget): Use semget syscall
9048         if it is defined.
9050         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
9051         oldsemctl.
9052         * sysdeps/unix/sysv/linux/alpha/semctl.c: Remove file.
9053         * sysdeps/unix/sysv/linux/arm/semctl.c: Likewise.
9054         * sysdeps/unix/sysv/linux/microblaze/semctl.c: Likewise.
9055         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Likewise.
9056         * sysdeps/unix/sysv/linux/mips/mips64/semctl.c: Use defaulf
9057         implementation.
9058         * sysdeps/unix/sysv/linux/semctl.c (__new_semctl): Use semctl
9059         syscall if it is defined.
9060         * sysdeps/unix/sysv/linux/generic/syscalls.list (semctl): Remove.
9061         * sysdeps/unix/sysv/linux/alpha/syscalls.list (semctl): Likewise.
9062         * sysdeps/unix/sysv/linux/hppa/syscalls.list (semctl): Likewise.
9063         * sysdeps/unix/sysv/linux/ia64/syscalls.list (semctl): Likewise.
9064         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (semctl):
9065         Likewise.
9066         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (semctl): Likewise.
9068         * sysvipc/Makefile (tests): Add test-sysvmsg.
9069         * sysvipc/test-sysvmsg.c: New file.
9070         * support/check.h (FAIL_UNSUPPORTED): New define.
9072         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgget): Remove.
9073         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgget): Likewise.
9074         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgget): Likewise.
9075         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgget): Likewise.
9076         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgget): Likewise.
9077         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgget): Likewise.
9078         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgget):
9079         Likewise.
9080         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgget):
9081         Likewise.
9082         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgget): Likewise.
9083         * sysdeps/unix/sysv/linux/msgget.c (msgget): Use msgget syscall if
9084         define.
9086         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgsnd): Remove.
9087         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgsnd): Likewise.
9088         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgsnd): Likewise.
9089         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgsnd): Likewise.
9090         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgsnd): Likewise.
9091         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgsnd): Likewise.
9092         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgsnd):
9093         Likewise.
9094         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgsnd):
9095         Likewise.
9096         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgsnd): Likewise.
9097         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Use msgsnd syscall
9098         if defined.
9100         * sysdeps/unix/sysv/linux/alpha/syscalls.list (msgctl): Remove.
9101         * sysdeps/unix/sysv/linux/arm/syscalls.list (msgctl): Likewise.
9102         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
9103         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
9104         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
9105         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (msgctl): Likewise.
9106         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
9107         Likewise.
9108         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise,
9109         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (msgctl):
9110         Likewise.
9111         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Use msgrcv syscall
9112         if defined.
9113         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Remove file.
9115         * sysdeps/unix/sysv/linux/alpha/Makefile (sysdeps_routines): Remove
9116         oldmsgctl.
9117         * sysdeps/unix/sysv/linux/alpha/msgctl.c: Remove file.
9118         * sysdeps/unix/sysv/linux/arm/msgctl.c: Likewise.
9119         * sysdeps/unix/sysv/linux/microblaze/msgctl.c: Likewise.
9120         * sysdeps/unix/sysv/linux/alpha/syscalls.list (oldmsgctl): Remove.
9121         * sysdeps/unix/sysv/linux/generic/syscalls.list (msgctl): Likewise.
9122         * sysdeps/unix/sysv/linux/hppa/syscalls.list (msgctl): Likewise.
9123         * sysdeps/unix/sysv/linux/ia64/syscalls.list (msgctl): Likewise.
9124         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list (msgctl):
9125         Likewise.
9126         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (msgctl): Likewise.
9127         * sysdeps/unix/sysv/linux/mips/mips64/msgctl.c: Use default
9128         implementation.
9129         * sysdeps/unix/sysv/linux/msgctl.c (__new_msgctl): Use msgctl syscall
9130         if defined.
9132         * sysdeps/unix/sysv/linux/aarch64/ipc_priv.h: New file.
9133         * sysdeps/unix/sysv/linux/alpha/ipc_priv.h: Avoid included other arch
9134         definition and define its own.
9135         * sysdeps/unix/sysv/linux/ipc_ops.h: New file.
9136         * sysdeps/unix/sysv/linux/x86_64/ipc_priv.h: Likewise.
9137         * sysdeps/unix/sysv/linux/mips/ipc_priv.h: Remove file.
9138         * sysdeps/unix/sysv/linux/mips/mips64/ipc_priv.h: New file.
9139         * sysdeps/unix/sysv/linux/ipc_priv.h: Move ipc syscall operation
9140         definitions to common header.
9141         * sysdeps/unix/sysv/linux/powerpc/ipc_priv.h: Use common syscall
9142         operation from ipc_ops.h.
9144         * sysdeps/unix/sysv/linux/kernel-features.h
9145         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): New define.
9146         * sysdeps/unix/sysv/linux/i386/kernel-features.h
9147         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Undef.
9148         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
9149         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
9150         * sysdeps/unix/sysv/linux/mips/kernel-features.h
9151         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
9152         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
9153         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
9154         * sysdeps/unix/sysv/linux/s390/kernel-features.h
9155         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
9156         * sysdeps/unix/sysv/linux/sh/kernel-features.h
9157         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
9158         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
9159         (__ASSUME_DIRECT_SYSVIPC_SYSCALLS): Likewise.
9161 2016-12-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
9163         * sysdeps/powerpc/powerpc32/power7/memchr.S (__memchr): Avoid an
9164         overflow in pointer addition.
9166 2016-12-28  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
9168         * sysdeps/powerpc/powerpc64/multiarch/Makefile
9169         (sysdep_routines): Add strchr-power8 and strchrnul_power8.
9170         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
9171         (strchr): Add __strchr_power8 to list of strchr functions.
9172         (strchrnul): Add __strchrnul_power8 to list of strchr functions.
9173         * sysdeps/powerpc/powerpc64/multiarch/strchr-power8.S: New file.
9174         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power8.S: New file.
9175         * sysdeps/powerpc/powerpc64/multiarch/strchr.c
9176         (strchr): Add __strchr_power8 to ifunc list.
9177         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c
9178         (__strchrnul): Add __strchrnul_power8 to ifunc list.
9179         * sysdeps/powerpc/powerpc64/power8/strchr.S: New file.
9180         * sysdeps/powerpc/powerpc64/power8/strchrnul.S: New file.
9182 2016-12-28  Florian Weimer  <fweimer@redhat.com>
9184         * support/Makefile (libsupport-routines): Add
9185         support_test_verify_impl, support_record_failure, xfork, xwaitpid.
9186         (tests): Add tst-support_record_failure.
9187         (tests-special): tst-support_record_failure-2.
9188         (tst-support_record_failure-2.out): Depend on
9189         tst-support_record_failure-2.sh and tst-support_record_failure.
9190         * support/check.h (TEST_VERIFY, TEST_VERIFY_EXIT): Define.
9191         (support_test_verify_impl, support_record_failure)
9192         (support_report_failure, support_report_failure_reset): Declare.
9193         * support/support_test_main.c (adjust_exit_status): New function.
9194         (support_test_main): Call it to incorporate record test failures.
9195         * support/support_test_verify_impl.c: New file.
9196         * support/support_record_failure.c: Likewise.
9197         * support/tst-support_record_failure.c: Likewise.
9198         * support/tst-support_record_failure-2.sh: Likewise.
9199         * support/xunistd.h: Likewise.
9200         * support/xfork.c: Likewise.
9201         * support/xwaitpid.c: Likewise.
9203 2016-12-27  Steve Ellcey  <sellcey@caviumnetworks.com>
9205         * scripts/check-c++-types.sh: Add comments.
9207 2016-12-27  Dmitry V. Levin  <ldv@altlinux.org>
9209         [BZ #19514]
9210         * resolv/res_send.c: Fix typo in comment.
9211         * sysdeps/i386/i386-mcount.S: Likewise.
9212         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
9213         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
9214         * sysdeps/sparc/sparc-mcount.S: Likewise.
9216 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9218         * sysdeps/powerpc/fpu/s_fmaxf.S: Remove file.
9219         * sysdeps/powerpc/fpu/s_fminf.S: Likewise.
9220         * sysdeps/powerpc/fpu/s_fmax.S: Likewise.
9221         * sysdeps/powerpc/fpu/s_fmin.S: Likewise.
9222         * sysdeps/powerpc/powerpc32/fpu/s_fmax.S: Likewise.
9223         * sysdeps/powerpc/powerpc32/fpu/s_fmin.S: Likewise.
9224         * sysdeps/powerpc/powerpc64/fpu/s_fmax.S: Likewise.
9225         * sysdeps/powerpc/powerpc64/fpu/s_fmin.S: Likewise.
9227 2016-12-27  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9229         * manual/arith.texi (FP Comparison Functions): Fix typo in iseqsig.
9231 2016-12-27  Florian Weimer  <fweimer@redhat.com>
9233         [BZ #17252]
9234         * posix/unistd.h (getentropy): Declare.
9236 2016-12-27  Florian Weimer  <fweimer@redhat.com>
9238         * resolv/res_hconf.h (HCONF_FLAG_SPOOF, HCONF_FLAG_SPOOFALERT):
9239         Remove.
9240         * resolv/res_hconf.c (ENV_SPOOF, arg_spoof): Remove.
9241         (cmd): Remove spoof, nospoof, spoofalert.
9242         (parse_line): Ignore spoof-related lines.
9243         (do_init): Do not process RESOLV_SPOOF_CHECK.
9245 2016-12-27  Florian Weimer  <fweimer@redhat.com>
9247         [BZ #20964]
9248         sunrpc: Always obtain AF_INET addresses from NSS.
9249         * include/rpc/rpc.h (__libc_rpc_gethostbyname): Declare.
9250         * sunrpc/rpc_gethostbyname.c: New file.
9251         * sunrpc/Makefile (routines): Add it.
9252         * sunrpc/clnt_gen.c (clnt_create): Use __libc_rpc_gethostbyname.
9253         * sunrpc/clnt_simp.c (callrpc): Likewise.
9254         * sunrpc/getrpcport.c (getrpcport): Likewise.
9256 2016-12-27  Florian Weimer  <fweimer@redhat.com>
9258         * sunrpc/rpcinfo.c: Remove.
9259         * sunrpc/Makefile: Remove comments referring to rpcinfo.
9261 2016-12-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9263         [BZ #19387]
9264         * sysdeps/x86_64/memchr.S (memchr): Avoid overflow in pointer
9265         addition.
9266         * string/test-memchr.c (do_test): Remove alignment limitation.
9267         (test_main): Add test that trigger BZ #19387.
9269 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
9271         [BZ #7065]
9272         Enable stack protectore if requested by ./configure.
9273         * Makeconfig (+stack-protector): New variable.
9274         (+cflags): Use it.
9276 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
9278         [BZ #7065]
9279         * signal/Makefile (CFLAGS-sigreturn.c): Use $(no-stack-protector).
9280         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c:
9281         (__rt_sigreturn_stub): Use inhibit_stack_protector.
9282         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
9283         (__rt_sigreturn_stub, __sigreturn_stub): Likewise.
9285 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
9287         [BZ #7065]
9288         * login/Makefile (pt_chown-cflags): Remove.
9289         * nscd/Makefile (CFLAGS-nscd): Likewise.
9290         * resolv/Makefile (CFLAGS-libresolv): Likewise.
9292 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
9294         [BZ #7065]
9295         * elf/Makefile (CFLAGS-filtmod1.c): Use $(no-stack-protector) for
9296         non-libc-linking testcase.
9298 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
9299             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9300             Florian Weimer  <fweimer@redhat.com>
9302         [BZ #7065]
9303         PLT avoidance for __stack_chk_fail*.
9304         * debug/Makefile (CFLAGS-stack_chk_fail.c)
9305         (CFLAGS-stack_chk_fail_local.c): Build without stack protector.
9306         * debug/stack_chk_fail.c (__stack_chk_fail): Add
9307         __stack_chk_fail_local alias.
9308         * sysdeps/generic/symbol-hacks.h [IS_IN (libc)]
9309         (__stack_chk_fail): Turn into hidden reference to
9310         __stack_chk_fail_local.
9312 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
9314         [BZ #7065]
9315         * configure.ac: Add check for unsupported stack-protection level.
9316         (libc_cv_predef_stack_protector): Remove.
9317         (no_ssp): New variable.
9318         (STACK_PROTECTOR_LEVEL): Set to zero when --disable-stack-protector.
9319         (stack_protector): Set to -fno-stack-protector similarly.
9320         (libc_cv_ld_gnu_indirect_function): Use no_ssp.
9321         (libc_cv_asm_set_directive): Likewise.
9322         (libc_cv_protected_data): Likewise.
9323         (libc_cv_z_combreloc): Likewise.
9324         (libc_cv_hashstyle): Likewise.
9325         (libc_cv_has_glob_dat): Likewise.
9326         (libc_cv_output_format): Likewise.
9327         (libc_cv_output_format): Likewise.
9328         (libc_cv_ehdr_start): Likewise.
9329         * aclocal.m4 (LIBC_TRY_LINK_STATIC): Likewise.
9330         (LIBC_LINKER_FEATURE): Likewise.
9331         (LIBC_COMPILER_BUILTIN_INLINED): Likewise.
9333 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
9335         [BZ #7065]
9336         * elf/Makefile (dummy-stack-chk-fail): New.
9337         (librtld.map): Use it.
9339 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
9341         [BZ #7065]
9342         Compile the dynamic linker without stack protection.
9343         * elf/Makefile (elide-stack-protector): New.
9344         (CFLAGS-.os): Use it, eliding $(all-rtld-routines).
9345         (CFLAGS-.o, CFLAGS-.op): Likewise, but for $(elide-routines.os).
9346         * elf/rtld-Rules (rtld-CFLAGS): Add $(no-stack-protector).
9347         * sysdeps/i386/Makefile (rtld-CFLAGS): Use +=, not =.
9349 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
9351         [BZ #7065]
9352         * config.make.in (have-ssp, no-stack-protector): New.
9353         * csu/Makefile (CFLAGS-.o, CFLAGS-.op, CFLAGS-.os): Use it.
9354         * misc/Makefile (CFLAGS-sbrk.o): Likewise.
9355         (CFLAGS-sbrk.op): Likewise.
9356         (CFLAGS-brk.o): Likewise.
9357         (CFLAGS-brk.op): Likewise.
9358         * string/Makefile (CFLAGS-memcpy.c): Likewise.
9359         (CFLAGS-wordcopy.c): Likewise.
9361 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
9363         [BZ #7065]
9364         * configure.ac (HAVE_CC_NO_STACK_PROTECTOR): Define.
9365         * config.h.in (HAVE_CC_NO_STACK_PROTECTOR): New macro.
9366         * include/libc-symbols.h (inhibit_stack_protector): New macro.
9367         (__ifunc_resolver): Use it.
9368         * elf/ifuncdep2.c (foo1_ifunc, foo2_ifunc, foo3_ifunc): Apply
9369         inhibit_stack_protector.
9370         * elf/ifuncmain6pie.c (foo_ifunc): Likewise.
9371         * elf/ifuncmain7.c (foo_ifunc): Likewise.
9372         * elf/ifuncmod1.c (foo_ifunc, foo_hidden_ifunc)
9373         (foo_protected_ifunc): Likewise.
9374         * elf/ifuncmod5.c (foo_ifunc, foo_hidden_ifunc)
9375         (foo_protected_ifunc): Likewise.
9376         * sysdeps/generic/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
9377         * sysdeps/nacl/nacl_interface_query.c
9378         (nacl_interface_query_ifunc): Likewise.
9379         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel, ifunc_one): Likewise.
9380         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c (getcpu_ifunc):
9381         Likewise.
9382         * sysdeps/x86_64/ifuncmod8.c (foo_ifunc): Likewise.
9383         * sysdeps/unix/make-syscalls.sh: Apply inhibit_stack_protector to
9384         the generated vDSO syscall resolver.
9386 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
9387             Florian Weimer  <fweimer@redhat.com>
9389         [BZ #7065]
9390         Initialize the stack guard earlier when linking statically.
9391         * sysdeps/generic/ldsodefs.h (__libc_setup_tls)
9392         (__pthread_initialize_minimal): Declare.
9393         * csu/libc-start.c (__pthread_initialize_minimal): Remove
9394         declaration.
9395         (LIBC_START_MAIN): Call __libc_setup_tls early and directly.  Move
9396         stack canary and apply_irel initialization up.  Call
9397         __pthread_initialize_minimal only if linked in.
9398         * csu/libc-tls.c (__libc_setup_tls): Replace arguments with their
9399         constant values.
9400         (__pthread_initialize_minimal): Remove.
9401         * nptl/nptl-init.c (__libc_setup_tls): Remove declaration.
9402         (__pthread_initialize_minimal_internal): Do not call
9403         __libc_setup_tls.
9405 2016-12-26  Nick Alcock  <nick.alcock@oracle.com>
9407         [BZ #7065]
9408         * configure.ac (libc_cv_ssp): Move up.
9409         (libc_cv_ssp_strong): Likewise.
9410         (libc_cv_ssp_all): New.
9411         (stack_protector): Augment, adding -fstack-protector-all.
9412         (no_stack_protector): New.
9413         (STACK_PROTECTOR_LEVEL): New.
9414         (AC_ARG_ENABLE(stack-protector)): New configure flag.
9415         * manual/install.texi (--enable-stack-protector): Document it.
9416         * config.h.in (STACK_PROTECTOR_LEVEL): New macro.
9418 2016-12-24  Carlos O'Donell  <carlos@redhat.com>
9420         * README.pretty-printers: Must specify CPPFLAGS-* also.
9421         * nptl/Makefile (CPPFLAGS-test-mutexattr-printers.c): Define.
9422         (CPPFLAGS-test-mutex-printers.c): Define.
9423         (CPPFLAGS-test-condattr-printers.c): Define.
9424         (CPPFLAGS-test-cond-printers.c): Define.
9425         (CPPFLAGS-test-rwlockattr-printers.c): Define.
9426         (CPPFLAGS-test-rwlock-printers.c): Define.
9428         * nss/Makefile [ifeq (yes,$(have-thread-library))]
9429         (tests): Add tst-cancel-getpwuid_r.
9430         * nss/tst-cancel-getpwuid_r.c: New file.
9432         [BZ #11941]
9433         * elf/dl-close.c (_dl_close): Take dl_load_lock to examine map.
9434         Remove assert (map->l_init_called); if DF_1_NODELETE is set.
9435         * elf/Makefile [ifeq (yes,$(build-shared))] (tests): Add
9436         tst-nodelete-dlclose.
9437         (modules-names): Add tst-nodelete-dlclose-dso and
9438         tst-nodelete-dlclose-plugin.
9439         ($(objpfx)tst-nodelete-dlclose-dso.so): Define.
9440         ($(objpfx)tst-nodelete-dlclose-plugin.so): Define.
9441         ($(objpfx)tst-nodelete-dlclose): Define.
9442         ($(objpfx)tst-nodelete-dlclose.out): Define.
9444 2016-12-23  Florian Weimer  <fweimer@redhat.com>
9446         * scripts/test_printers_common.py: Log GDB output in case of
9447         Python detection failure.
9449 2016-12-22  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9451         * configure.ac: Check for python3 or python.
9452         * configure: Regenerated.
9453         * config.make.in (PYTHON): New variable.
9454         * benchtests/Makefile: Don't define PYTHON.
9455         (bench): Define target only if PYTHON was defined.
9456         * Rules: Don't define PYTHON.
9457         Define pretty printer targets only if PYTHON was defined.
9458         (tests-printers): Add to tests-unsupported if PYTHON is not
9459         found.
9460         (python-flags, python-invoke): Remove.
9461         (tests-printers-out): Use PYTHON instead of python-invoke.
9463 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
9465         [BZ #20978]
9466         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
9467         Compare name == NULL, not name != NULL.
9469         * manual/texinfo.tex: Update to version 2016-09-18.18 with
9470         trailing whitespace removed.
9471         * scripts/config.guess: Update to version 2016-10-02.
9472         * scripts/config.sub: Update to version 2016-11-19.
9473         * scripts/install-sh: Update to version 2016-01-11.22.
9474         * scripts/mkinstalldirs: Update to version 2016-01-11.22.
9475         * scripts/move-if-change: Update to version 2016-01-11 22:04.
9477 2015-12-21  Wilco Dijkstra  <wdijkstr@arm.com>
9479         * benchtests/bench-strsep.c (oldstrsep): Add old implementation.
9480         (do_one_test) Restore original string so iteration works.
9481         * string/string-inlines.c (do_test): Create better input strings.
9482         (test_main) Reduce number of testruns.
9483         * string/string-inlines.c (__old_strsep_1c): New function.
9484         (__old_strsep_2c): Likewise.
9485         (__old_strsep_3c): Likewise.
9486         * string/strsep.c (__strsep): Remove case of small delim string.
9487         Call strcspn directly rather than strpbrk.
9488         * string/bits/string2.h (__strsep): Remove define.
9489         (__strsep_1c): Remove.
9490         (__strsep_2c): Remove.
9491         (__strsep_3c): Remove.
9492         (strsep): Remove.
9493         * sysdeps/unix/sysv/linux/internal_statvfs.c
9494         (__statvfs_getflags): Rename to __strsep.
9496 2016-12-21  Florian Weimer  <fweimer@redhat.com>
9498         * csu/libc-tls.c (_dl_tls_setup): Remove.
9499         * elf/dl-tls.c (_dl_tls_setup): Likewise.
9500         * elf/Versions (GLIBC_PRIVATE): Remove _dl_tls_setup.
9501         * sysdeps/generic/ldsodefs.h (_dl_tls_setup): Remove declaration.
9503 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
9505         [BZ #7065]
9506         * sysdeps/x86_64/Makefile [$(subdir) = elf]
9507         (CFLAGS-tst-quad1pie.c, CFLAGS-tst-quad2pie.c): Add $(PIE-ccflag).
9509 2016-12-21  Nick Alcock <nick.alcock@oracle.com>
9510             Florian Weimer  <fweimer@redhat.com>
9512         [BZ #7065]
9513         * csu/Makefile (tests): Empty assignment and document it.
9514         (tests-static): Remove.
9515         * csu/tst-empty.c: Move to...
9516         * misc/tst-empty.c: ... here.  Switch to new test driver.
9517         * csu/tst-atomic.c: Move to...
9518         * misc/tst-atomic.c: ... here.  Switch to new test driver.
9519         * csu/tst-atomic-long.c: Move to...
9520         * misc/tst-atomic-long.c: ... here.
9521         * misc/Makefile (tests): Add tst-empty, tst-atomic,
9522         tst-atomic-long.
9523         (tests-static): Add tst-empty.
9525 2016-12-21  Rical Jasan  <ricaljasan@pacific.net>
9527         * manual/nss.texi: Change incorrect @vtable to @table.
9528         * manual/arith.texi: Convert @tables of variables to @vtables
9529         and remove unnecessary indexing.
9530         * manual/filesys.texi: Likewise.
9531         * manual/llio.texi: Likewise.
9532         * manual/memory.texi: Likewise.
9533         * manual/process.texi: Likewise.
9534         * manual/resource.texi: Likewise.
9535         * manual/search.texi: Likewise.
9536         * manual/signal.texi: Likewise.
9537         * manual/socket.texi: Likewise.
9538         * manual/stdio.texi: Likewise.
9539         * manual/sysinfo.texi: Likewise.
9540         * manual/syslog.texi: Likewise.
9541         * manual/terminal.texi: Likewise.
9542         * manual/time.texi: Likewise.
9543         * manual/users.texi: Likewise.
9545 2016-12-21  Joseph Myers  <joseph@codesourcery.com>
9547         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9548         (roundeven): New declaration.
9549         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (roundeven): New
9550         macro.
9551         * math/Versions (roundeven): New libm symbol at version
9552         GLIBC_2.25.
9553         (roundevenf): Likewise.
9554         (roundevenl): Likewise.
9555         * math/Makefile (libm-calls): Add s_roundevenF.
9556         * math/libm-test.inc (roundeven_test_data): New array.
9557         (roundeven_test): New function.
9558         (main): Call roundeven_test.
9559         * math/test-tgmath.c (NCALLS): Increase to 134.
9560         (F(compile_test)): Call roundeven.
9561         (F(roundeven)): New function.
9562         * manual/arith.texi (Rounding Functions): Document roundeven,
9563         roundevenf and roundevenl.
9564         * manual/libm-err-tab.pl (@all_functions): Add roundeven.
9565         * include/math.h (roundeven): Use libm_hidden_proto.
9566         * sysdeps/ieee754/dbl-64/s_roundeven.c: New file.
9567         * sysdeps/ieee754/dbl-64/wordsize-64/s_roundeven.c: Likewise.
9568         * sysdeps/ieee754/flt-32/s_roundevenf.c: Likewise.
9569         * sysdeps/ieee754/ldbl-128/s_roundevenl.c: Likewise.
9570         * sysdeps/ieee754/ldbl-128ibm/s_roundevenl.c: Likewise.
9571         * sysdeps/ieee754/ldbl-96/s_roundevenl.c: Likewise.
9572         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
9573         roundeven.
9574         (CFLAGS-nldbl-roundeven.c): New variable.
9575         * sysdeps/ieee754/ldbl-opt/nldbl-roundeven.c: New file.
9576         * sysdeps/nacl/libm.abilist: Update.
9577         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9578         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9579         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9580         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9581         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9582         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9583         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9584         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9585         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9586         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9587         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9588         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9590         Likewise.
9591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9592         Likewise.
9593         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9594         Likewise.
9595         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9596         Likewise.
9597         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9598         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9599         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9600         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9601         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9602         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9603         Likewise.
9604         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9605         Likewise.
9606         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9607         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9608         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9610 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
9612         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): Add
9613         preprocessor indentation inside #if.
9615 2016-12-20  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9617         * math/libm-test.inc (fmt_ftostr): New function.
9618         (print_float, check_float_internal): Replace some uses of
9619         FTOSTR with uses of fmt_ftostr.
9620         (print_max_error, print_complex_max_error, print_function_ulps)
9621         (print_complex_function_ulps): Remove uses of the macros
9622         PRINTF_EXPR, PRINTF_NEXPR, and PRINTF_XEXPR.
9623         * math/test-double.h (FTOSTR): Define to strfromd.
9624         (PRINTF_EXPR): Delete.
9625         (PRINTF_XEXPR): Likewise.
9626         (PRINTF_NEXPR): Likewise.
9627         * math/test-float.h (FTOSTR): Define to strfromf.
9628         (PRINTF_EXPR): Delete.
9629         (PRINTF_XEXPR): Likewise.
9630         (PRINTF_NEXPR): Likewise.
9631         * math/test-ldouble.h (FTOSTR): Define to strfroml.
9632         (PRINTF_EXPR): Delete.
9633         (PRINTF_XEXPR): Likewise.
9634         (PRINTF_NEXPR): Likewise.
9636 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
9638         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
9639         (__lll_unlock_elision, lll_unlock_elision): Add adapt_count argument.
9640         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
9641         (__lll_lock_elision): Decrement adapt_count while unlocking
9642         instead of before locking.
9643         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
9644         (__lll_trylock_elision): Likewise.
9645         * sysdeps/unix/sysv/linux/s390/elision-unlock.c:
9646         (__lll_unlock_elision): Likewise.
9648 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
9650         * sysdeps/unix/sysv/linux/s390/htm.h(__libc_tbegin_retry): New macro.
9651         * sysdeps/unix/sysv/linux/s390/elision-lock.c (__lll_lock_elision):
9652         Use __libc_tbegin_retry macro.
9654 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
9656         * sysdeps/unix/sysv/linux/s390/Makefile (elision-CFLAGS):
9657         Add -msoft-float.
9658         * sysdeps/unix/sysv/linux/s390/htm.h: New File.
9659         * sysdeps/unix/sysv/linux/s390/elision-lock.c:
9660         Use __libc_t* transaction macros instead of __builtin_t*.
9661         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
9662         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
9664 2016-12-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
9666         * sysdeps/unix/sysv/linux/s390/elision-lock.c
9667         (__lll_lock_elision): Use atomics to load / store adapt_count.
9668         * sysdeps/unix/sysv/linux/s390/elision-trylock.c
9669         (__lll_trylock_elision): Likewise.
9671 2016-12-20  Florian Weimer  <fweimer@redhat.com>
9673         Do not require memset elimination in explicit_bzero test.
9674         * string/tst-xbzero-opt.c (prepare_test_buffer): Force inlining.
9675         (enum test_expectation): Add NO_EXPECTATIONS.
9676         (subtests): NO_EXPECTATIONS for ordinary clear.
9677         (check_test_buffer): Handle NO_EXPECTATIONS.
9678         * string/Makefile (CFLAGS-tst-xbzero-opt.c): Compile with -O3.
9680 2016-12-20  Joseph Myers  <joseph@codesourcery.com>
9682         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
9683         (fmaxmag): New declaration.
9684         (fminmag): Likewise.
9685         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (fmaxmag): New
9686         macro.
9687         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fminmag): Likewise.
9688         * math/Versions (fmaxmag): New libm symbol at version GLIBC_2.25.
9689         (fmaxmagf): Likewise.
9690         (fmaxmagl): Likewise.
9691         (fminmag): Likewise.
9692         (fminmagf): Likewise.
9693         (fminmagl): Likewise.
9694         * math/Makefile (gen-libm-calls): Add s_fmaxmagF and s_fminmagF.
9695         * math/s_fmaxmag_template.c: New file.
9696         * math/s_fminmag_template.c: Likewise.
9697         * math/libm-test.inc (fmaxmag_test_data): New array.
9698         (fmaxmag_test): New function.
9699         (fminmag_test_data): New array.
9700         (fminmag_test): New function.
9701         (main): Call fmaxmag_test and fminmag_test.
9702         * math/test-tgmath.c (NCALLS): Increase to 132.
9703         (F(compile_test)): Call fmaxmag and fminmag.
9704         (F(fminmag)): New function.
9705         (F(fmaxmag)): Likewise.
9706         * manual/arith.texi (Misc FP Arithmetic): Document fminmag,
9707         fminmagf, fminmagl, fmaxmag, fmaxmagf and fmaxmagl.
9708         * manual/libm-err-tab.pl (@all_functions): Add fmaxmag and
9709         fminmag.
9710         * sysdeps/ieee754/ldbl-opt/nldbl-fmaxmag.c: New file.
9711         * sysdeps/ieee754/ldbl-opt/nldbl-fminmag.c: Likewise.
9712         * sysdeps/ieee754/ldbl-opt/s_fmaxmagl.c: Likewise.
9713         * sysdeps/ieee754/ldbl-opt/s_fminmagl.c: Likewise.
9714         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add fmaxmag
9715         and fminmag.
9716         (CFLAGS-nldbl-fmaxmag.c): New variable.
9717         (CFLAGS-nldbl-fminmag.c): Likewise.
9718         * sysdeps/nacl/libm.abilist: Update.
9719         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
9720         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
9721         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
9722         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
9723         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
9724         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
9725         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
9726         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
9727         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
9728         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
9729         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
9730         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
9731         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
9732         Likewise.
9733         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
9734         Likewise.
9735         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
9736         Likewise.
9737         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
9738         Likewise.
9739         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
9740         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
9741         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
9742         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
9743         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
9744         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
9745         Likewise.
9746         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
9747         Likewise.
9748         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
9749         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
9750         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
9752 2016-12-19  Torvald Riegel  <triegel@redhat.com>
9754         [BZ #20973]
9755         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full): Fix lost
9756         wake-up in robust mutexes.
9757         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
9759 2016-12-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9761         * benchtests/Makefile (bench-math): Add fminf and fmaxf.
9762         (CFLAGS-bench-fmaxf.c): New rule.
9763         (CFLAGS-bench-fminf.c): Likewise.
9764         * benchtests/fmaxf-inputs: New file.
9765         * benchtests/fminf-inputs: Likewise.
9767         * benchtests/Makefile (bench-math): Add fmin and fmax.
9768         (CFLAGS-bench-fmax.c): New rule.
9769         (CFLAGS-bench-fmin.c): Likewise.
9770         * benchtests/fmax-inputs: New file.
9771         * benchtests/fmin-inputs: Likewise.
9773         * benchtests/bench-string.h (TEST_FUNCTION): Use name without
9774         parenthesis.
9775         (CMDLINE_PROCESS): Define using function instead of macro.
9776         * benchtests/bench-memccpy.c: Include <support/test-driver.c> instead
9777         of test-skeleton.
9778         * benchtests/bench-memchr.c: Likewise.
9779         * benchtests/bench-memcmp.c: Likewise.
9780         * benchtests/bench-memcpy-large.c: Likewise.
9781         * benchtests/bench-memcpy.c: Likewise.
9782         * benchtests/bench-memmem.c: Likewise.
9783         * benchtests/bench-memmove-large.c: Likewise.
9784         * benchtests/bench-memmove.c: Likewise.
9785         * benchtests/bench-memset-large.c: Likewise.
9786         * benchtests/bench-memset.c: Likewise.
9787         * benchtests/bench-rawmemchr.c: Likewise.
9788         * benchtests/bench-strcasecmp.c: Likewise.
9789         * benchtests/bench-strcasestr.c: Likewise.
9790         * benchtests/bench-strcat.c: Likewise.
9791         * benchtests/bench-strchr.c: Likewise.
9792         * benchtests/bench-strcmp.c: Likewise.
9793         * benchtests/bench-strcpy.c: Likewise.
9794         * benchtests/bench-strcpy_chk.c: Likewise.
9795         * benchtests/bench-strlen.c: Likewise.
9796         * benchtests/bench-strncasecmp.c: Likewise.
9797         * benchtests/bench-strncmp.c: Likewise.
9798         * benchtests/bench-strncpy.c: Likewise.
9799         * benchtests/bench-strnlen.c: Likewise.
9800         * benchtests/bench-strpbrk.c: Likewise.
9801         * benchtests/bench-strrchr.c: Likewise.
9802         * benchtests/bench-strsep.c: Likewise.
9803         * benchtests/bench-strspn.c: Likewise.
9804         * benchtests/bench-strstr.c: Likewise.
9805         * benchtests/bench-strtok.c: Likewise.
9807 2016-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
9809         * sysdeps/x86/cpu-features.c (get_common_indeces): Add
9810         stepping identification.
9811         (init_cpu_features): Add handle of Haswell.
9813 2016-11-25  Jim Meyering  <meyering@fb.com>
9815         [BZ #20386]
9816         Let gcc detect assert(a = 1) errors.
9817         * assert/assert.h (assert): Rewrite, retaining the old definintion
9818         when required, but otherwise putting the expression as-is in an "if"
9819         expression (hence, with no added parentheses) within a statement
9820         expression.
9822 2016-12-17  Siddhesh Poyarekar  <siddhesh@sourceware.org>
9824         * benchtests/Makefile (binaries-benchset): Depend on libsupport
9825         DSO.
9827 2016-12-17  Martin Galvan  <martingalvan@sourceware.org>
9829         * Rules (python-flags, python-invoke): New.
9830         ($(test-printers-out)): Use $(python-flags).
9832 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
9834         * manual/arith.texi (Math Error Reporting): Document that sNaN
9835         arguments are not considered domain errors.
9837 2016-12-16  Zack Weinberg <zackw@panix.com>
9838             Florian Weimer <fweimer@redhat.com>
9839             Nick Mathewson <nickm@torproject.org>
9841         * string/explicit_bzero.c: New routine.
9842         * string/test-explicit_bzero.c, string/tst-xbzero-opt.c: New tests.
9843         * string/Makefile (routines, strop-tests, tests): Add them.
9844         * string/test-memset.c: Add ifdeffage for testing explicit_bzero.
9845         * string/string.h [__USE_MISC]: Declare explicit_bzero.
9847         * debug/explicit_bzero_chk.c: New routine.
9848         * debug/Makefile (routines): Add it.
9849         * debug/tst-chk1.c: Test fortification of explicit_bzero.
9850         * string/bits/string3.h: Fortify explicit_bzero.
9852         * manual/string.texi: Document explicit_bzero.
9853         * NEWS: Mention addition of explicit_bzero.
9855         * crypt/crypt-entry.c (__crypt_r): Clear key-dependent intermediate
9856         data before returning, using explicit_bzero.
9857         * crypt/md5-crypt.c (__md5_crypt_r): Likewise.
9858         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
9859         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
9861         * include/string.h: Redirect internal uses of explicit_bzero
9862         to __explicit_bzero_chk[_internal].
9863         * string/Versions [GLIBC_2.25]: Add explicit_bzero.
9864         * debug/Versions [GLIBC_2.25]: Add __explicit_bzero_chk.
9865         * sysdeps/arm/nacl/libc.abilist
9866         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
9867         * sysdeps/unix/sysv/linux/alpha/libc.abilist
9868         * sysdeps/unix/sysv/linux/arm/libc.abilist
9869         * sysdeps/unix/sysv/linux/hppa/libc.abilist
9870         * sysdeps/unix/sysv/linux/i386/libc.abilist
9871         * sysdeps/unix/sysv/linux/ia64/libc.abilist
9872         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
9873         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
9874         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
9875         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
9876         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
9877         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
9878         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
9879         * sysdeps/unix/sysv/linux/nios2/libc.abilist
9880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
9881         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
9882         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
9883         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
9884         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
9885         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
9886         * sysdeps/unix/sysv/linux/sh/libc.abilist
9887         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
9888         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
9889         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
9890         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
9891         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
9892         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
9893         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
9894         Add entries for explicit_bzero and __explicit_bzero_chk.
9896 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
9898         * math/fenv.h
9899         [__GLIBC_USE (IEC_60559_BFP_EXT) && FE_INVALID && __SUPPORT_SNAN__]
9900         (FE_SNANS_ALWAYS_SIGNAL): New macro.
9901         * math/test-fe-snans-always-signal.c: New file.
9902         * math/Makefile (tests): Add test-fe-snans-always-signal.
9903         (CFLAGS-test-fe-snans-always-signal.c): New variable.
9904         * manual/arith.texi (Infinity and NaN): Document
9905         FE_SNANS_ALWAYS_SIGNAL.
9907 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9909         * string/test-memchr.c (do_test): Typo on ‘byte’ and missing closing
9910         bracket.
9912 2016-12-16  Joseph Myers  <joseph@codesourcery.com>
9914         * scripts/build-many-glibcs.py (Context.exec_self): Flush stdout
9915         before calling execv.
9917 2016-12-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
9919         [BZ #20971]
9920         * sysdeps/powerpc/powerpc64/power7/memchr.S (__memchr): Avoid
9921         overflow in pointer addition.
9922         * string/test-memchr.c (do_test): Add an argument to pass as
9923         the size on memchr.
9924         (test_main): Add check for SIZE_MAX.
9926 2016-12-16  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
9928         * math/Makefile (gen-libm-calls): Remove w_scalblnF.
9929         (libm-calls): Add w_scalblnF.
9930         * math/w_scalbln.c: Remove.
9931         * math/w_scalblnf.c: Likewise.
9932         * math/w_scalblnl.c: Likewise.
9933         * math/w_scalbln_template.c: New file with type-generic
9934         implementation based on math/w_scalbln.c.
9935         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: Remove.
9936         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Use new template.
9938 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
9940         [BZ #20947]
9941         * sysdeps/i386/fpu/s_fmaxl.S (__fmaxl): Add the arguments when
9942         either is a signaling NaN.
9943         * sysdeps/i386/fpu/s_fminl.S (__fminl): Likewise.  Make code
9944         follow fmaxl more closely.
9945         * sysdeps/i386/i686/fpu/s_fmaxl.S (__fmaxl): Add the arguments
9946         when either is a signaling NaN.
9947         * sysdeps/i386/i686/fpu/s_fminl.S (__fminl): Likewise.
9948         * sysdeps/x86_64/fpu/s_fmax.S (__fmax): Likewise.
9949         * sysdeps/x86_64/fpu/s_fmaxf.S (__fmaxf): Likewise.
9950         * sysdeps/x86_64/fpu/s_fmaxl.S (__fmaxl): Likewise.
9951         * sysdeps/x86_64/fpu/s_fmin.S (__fmin): Likewise.
9952         * sysdeps/x86_64/fpu/s_fminf.S (__fminf): Likewise.
9953         * sysdeps/x86_64/fpu/s_fminl.S (__fminl): Likewise.
9954         * math/libm-test.inc (fmax_test_data): Add tests of sNaN inputs.
9955         (fmin_test_data): Likewise.
9957 2016-12-15  Andreas Schwab  <schwab@suse.de>
9959         * support/support_test_main.c (support_test_main): Don't shadow
9960         file-local variable test_pid.
9962 2016-12-15  Joseph Myers  <joseph@codesourcery.com>
9964         [BZ #20947]
9965         * sysdeps/powerpc/fpu/s_fmax.S (__fmax): Add the arguments when
9966         either is a signaling NaN.
9967         * sysdeps/powerpc/fpu/s_fmin.S (__fmin): Likewise.
9969 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
9971         [BZ #20947]
9972         * math/s_fmax_template.c (M_DECL_FUNC (__fmax)): Add the arguments
9973         when either is a signaling NaN.
9974         * math/s_fmin_template.c (M_DECL_FUNC (__fmin)): Likewise.
9976         * bits/long-double.h: New file.
9977         * sysdeps/ieee754/ldbl-128/bits/long-double.h: Likewise.
9978         * sysdeps/ieee754/ldbl-96/bits/long-double.h: Likewise.
9979         * sysdeps/ieee754/ldbl-opt/bits/long-double.h: Likewise.
9980         * sysdeps/mips/bits/long-double.h: Likewise.
9981         * sysdeps/unix/sysv/linux/sparc/bits/long-double.h: Likewise.
9982         * math/Makefile (headers): Add bits/long-double.h.
9983         * misc/sys/cdefs.h: Include <bits/long-double.h>.
9984         * stdlib/strtold.c: Include <bits/long-double.h> instead of
9985         <bits/wordsize.h>.
9986         * bits/mathdef.h [!_COMPLEX_H]: Do not allow inclusion.
9987         [!__NO_LONG_DOUBLE_MATH]: Remove conditional code.
9988         * math/math.h: Do not include <bits/mathdef.h>.
9989         * sysdeps/aarch64/bits/mathdef.h: Remove file.
9990         * sysdeps/alpha/bits/mathdef.h [!_COMPLEX_H]: Do not allow
9991         inclusion.
9992         * sysdeps/ia64/bits/mathdef.h: Remove file.
9993         * sysdeps/m68k/m680x0/bits/mathdef.h: Likewise.
9994         * sysdeps/mips/bits/mathdef.h: Likewise.
9995         * sysdeps/powerpc/bits/mathdef.h: Likewise.
9996         * sysdeps/s390/bits/mathdef.h: Likewise.
9997         * sysdeps/sparc/bits/mathdef.h: Likewise.
9998         * sysdeps/x86/bits/mathdef.h: Likewise.
9999         * sysdeps/s390/s390-32/bits/wordsize.h
10000         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]: Remove
10001         conditional code.
10002         * sysdeps/s390/s390-64/bits/wordsize.h
10003         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
10004         Likewise.
10005         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h
10006         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
10007         Likewise.
10008         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h
10009         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
10010         Likewise.
10011         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
10012         [!__NO_LONG_DOUBLE_MATH && !__LONG_DOUBLE_MATH_OPTIONAL]:
10013         Likewise.
10015         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]: Include
10016         <linux/falloc.h>.
10017         (FALLOC_FL_KEEP_SIZE): Remove.
10018         (FALLOC_FL_PUNCH_HOLE): Likewise.
10019         (FALLOC_FL_COLLAPSE_RANGE): Likewise.
10020         (FALLOC_FL_ZERO_RANGE): Likewise.
10022 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10024         * stdlib/tst-strfrom.h (ENTRY): Replace use of CSUF with LSUF.
10026 2016-12-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10028         * sysdeps/unix/sysv/linux/renameat.c: New file.
10029         * sysdeps/unix/sysv/linux/syscalls.list: Remove renameat.
10031         * sysdeps/unix/sysv/linux/rename.c: New file.
10032         * sysdeps/unix/sysv/linux/generic/rename.c: Remove file.
10034 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
10036         * benchtests/bench-strtok.c (oldstrtok): Add old implementation.
10037         * string/strtok.c (strtok): Change to tailcall __strtok_r.
10038         * string/strtok_r.c (__strtok_r): Optimize for performance.
10039         * string/string-inlines.c (__old_strtok_r_1c): New function.
10040         * string/bits/string2.h (__strtok_r): Move to string-inlines.c.
10042 2016-12-14  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
10044         * math/Makefile (gen-libm-calls): Add w_log1pF.
10045         (libm-calls): Remove w_log1pF.
10046         * math/w_log1p.c: Remove.
10047         * math/w_log1pf.c: Likewise.
10048         * math/w_log1pl.c: Likewise.
10049         * math/w_log1p_template.c: New file with type-generic
10050         implementation based on math/w_log1p.c.
10051         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Remove.
10052         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: Likewise.
10054 2015-12-14  Wilco Dijkstra  <wdijkstr@arm.com>
10056         * string/rawmemchr.c (RAWMEMCHR): Use faster memchr/strlen.
10058 2016-12-14  Joseph Myers  <joseph@codesourcery.com>
10060         * scripts/build-many-glibcs.py (Context.checkout): Default Linux
10061         kernel version to 4.9.
10063 2016-12-12  Andrew Senkevich  <andrew.senkevich@intel.com>
10065         * math/Makefile ($(inst_libdir)/libm-$(version).a): New target.
10066         ($(inst_libdir)/libm.a): Fix rule to create the target only.
10068 2016-12-13  Andreas Schwab  <schwab@suse.de>
10070         * sysdeps/powerpc/dl-procinfo.c: Don't define
10071         _dl_powerpc_platforms.
10072         * sysdeps/powerpc/dl-procinfo.h (_dl_string_platform): Use string
10073         constants instead of referencing _dl_powerpc_platforms.
10074         (_dl_platform_string): Remove.
10076 2016-12-13  Florian Weimer  <fweimer@redhat.com>
10078         * nptl/tst-cancel7.c (cmdline_process): Add missing case label.
10080 2016-12-13  Florian Weimer  <fweimer@redhat.com>
10082         * Rules (binaries-shared-tests, binaries-pie-tests)
10083         (binaries-static-tests): Link with $(link-extra-libs-tests).
10084         * Makeconfig (+link-pie-tests, +link-static-tests, +link-tests):
10085         Remove $(link-extra-libs-tests).
10087 2016-12-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10089         * sysdeps/powerpc/powerpc64/multiarch/Makefile
10090         (sysdep_routines): Add strncmp_power9.
10091         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10092         (strncmp): Add __strncmp_power9 to list of strncmp functions.
10093         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power9.S: New file.
10094         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c
10095         (strncmp): Add __strncmp_power9 to ifunc list.
10096         * sysdeps/powerpc/powerpc64/power9/strncmp.S: New file.
10098 2016-12-12  Florian Weimer  <fweimer@redhat.com>
10100         [BZ #17252]
10101         Add getentropy, getrandom.
10102         * stdlib/sys/random.h: New file.
10103         (headers): Add it.
10104         * stdlib/Makefile (routines): Add getentropy, getrandom.
10105         (tests): Add tst-getrandom.
10106         * stdlib/Versions (GLIBC_2.25): Add getrandom, getentropy.
10107         * stdlib/getentropy.c: New file.
10108         * stdlib/getrandom.c: Likewise.
10109         * stdlib/tst-getrandom.c: Likewise.
10110         * sysdeps/unix/sysv/linux/getentropy.c: Likewise.
10111         * sysdeps/unix/sysv/linux/getrandom.c: Likewise.
10112         * manual/crypt.texi (Unpredictable Bytes): New section.
10113         * manual/math.texi (Pseudo-Random Numbers): Add cross-reference.
10114         * sysdeps/arm/nacl/libc.abilist: Add getrandom, getentropy.
10115         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
10116         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
10117         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
10118         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
10119         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
10120         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
10121         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
10122         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
10123         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
10124         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
10125         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
10126         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
10127         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
10128         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
10129         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
10130         Likewise.
10131         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
10132         Likewise.
10133         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
10134         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
10135         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
10136         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
10137         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
10138         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
10139         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
10140         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
10141         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
10142         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
10143         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
10144         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
10146 2016-12-10  Florian Weimer  <fweimer@redhat.com>
10148         [BZ #20956]
10149         * debug/tst-backtrace.h (NO_INLINE): Add noclone, weak attributes
10150         as additional compiler barriers.
10151         * debug/tst-backtrace2.c: Switch to <support/test-driver.c>.
10152         (fn2, do_test): Declare with external linkage.
10153         * debug/tst-backtrace3.c: Switch to <support/test-driver.c>.
10154         (do_test): Declare with external linkage.
10155         * debug/tst-backtrace4.c: Switch to <support/test-driver.c>.
10156         (do_test): Declare with external linkage.
10157         * debug/tst-backtrace5.c: Switch to <support/test-driver.c>.
10158         (do_test): Declare with external linkage.
10160 2016-12-10  Andreas Schwab  <schwab@linux-m68k.org>
10162         * support/support_test_main.c (support_test_main): Use correct
10163         timeout.
10165 2016-12-09  Carlos O'Donell  <carlos@redhat.com>
10166             Florian Weimer  <fweimer@redhat.com>
10168         [BZ #16421]
10169         * inet/netinet/in.h (struct in6_addr): Always define __u6_addr16
10170         and __u6_addr32 members.
10171         (IN6_IS_ADDR_UNSPECIFIED, IN6_IS_ADDR_LOOPBACK)
10172         (IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL)
10173         (IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, IN6_ARE_ADDR_EQUAL):
10174         Use __u6_addr32.
10175         * inet/tst-checks.c: Use <support/test-driver.c>
10176         * inet/tst-checks-posix.c: New file.
10177         * inet/Makefile (tests): Add it.
10178         (CFLAGS-tst-checks-posix.c): Compile in C99 mode.
10180 2016-12-09  Florian Weimer  <fweimer@redhat.com>
10182         New subdirectory support for build and test infrastructure.
10183         * extra-libs.mk (extra-libs-noinstall): Add variable.  Use it when
10184         setting install-lib.
10185         * Makeconfig (link-extra-libs-tests): Define.
10186         (+link-pie-tests, +link-static-tests, +link-tests): Use
10187         link-extra-libs-tests.
10188         (rpath-dirs, all-subdirs): Add support.
10189         (built-modules): Add libsupport.
10190         (libsupport): Define.
10191         * support: New directory.
10192         * support/Makefile: New file.
10193         * support/check.c: Likewise.
10194         * support/check.h: Likewise.
10195         * support/delayed_exit.c: Likewise.
10196         * support/ignore_stderr.c: Likewise.
10197         * support/oom_error.c: Likewise.
10198         * support/set_fortify_handler.c: Likewise.
10199         * support/support.h: Likewise.
10200         * support/temp_file-internal.h: Likewise.
10201         * support/temp_file.c: Likewise.
10202         * support/test-driver.c: Likewise.
10203         * support/test-driver.h: Likewise.
10204         * support/test_main.c: Likewise.
10205         * support/write_message.c: Likewise.
10206         * support/xasprintf.c: Likewise.
10207         * support/xcalloc.c: Likewise.
10208         * support/xmalloc.c: Likewise.
10209         * support/xpthread_barrier_destroy.c: Likewise.
10210         * support/xpthread_barrier_init.c: Likewise.
10211         * support/xpthread_barrier_wait.c: Likewise.
10212         * support/xpthread_cancel.c: Likewise.
10213         * support/xpthread_check_return.c: Likewise.
10214         * support/xpthread_cond_wait.c: Likewise.
10215         * support/xpthread_create.c: Likewise.
10216         * support/xpthread_detach.c: Likewise.
10217         * support/xpthread_join.c: Likewise.
10218         * support/xpthread_mutex_lock.c: Likewise.
10219         * support/xpthread_mutex_unlock.c: Likewise.
10220         * support/xpthread_sigmask.c: Likewise.
10221         * support/xpthread_spin_lock.c: Likewise.
10222         * support/xpthread_spin_unlock.c: Likewise.
10223         * support/xrealloc.c: Likewise.
10224         * support/xsignal.h: Likewise.
10225         * support/xthread.h: Likewise.
10226         * support_tempfile.h: Likewise.
10227         * test-skeleton.c: Include <support/support.h>, <support/xsignal.h>.
10228         (TEST_DATA_LIMIT): Remove unused macro.
10229         (_FAIL, FAIL_RET, FAIL_EXIT, FAIL_EXIT1): Remove.  Now in
10230         <support/check.h>.
10231         (oom_error, xmalloc, xcalloc, xrealloc, xasprintf, write_message)
10232         (ignore_stderr, set_fortify_handler): Remove.  Now in
10233         <support/support.h>.
10234         (xpthread_sigmask): Remove.  Now in <support/xsignal.h>.
10235         (xpthread_mutex_lock, xpthread_spin_lock, xpthread_cond_wait)
10236         (xpthread_barrier_wait, xpthread_create, xpthread_detach)
10237         (xpthread_join): Remove.  Now in <support/xthread.h>.
10238         (TEST_FUNCTION, PREPARE, CLEANUP_HANDLER, CMDLINE_PROCESS):
10239         Introduce legacy wrappers.
10240         * dlfcn/Makefile (bug-atexit3-lib.so): Link with $(libsupport).
10241         * dlfcn/bug-atexit3-lib.cc: Include <support/support.h>.
10242         (write_message): Remove.
10243         * dirent/opendir-tst1.c: Use <support/test-driver.h> instead of
10244         test-skeleton.c.
10245         * io/test-open-tmpfile: Likewise.
10246         * io/tst-posix_fallocate-common.c: Likewise.
10247         * libio/tst-fseek.c: Likewise.
10248         * malloc/tst-malloc-backtrace.c: Likewise.
10249         * malloc/tst-malloc-fork-deadlock.c: Likewise.
10250         * malloc/tst-malloc-thread-exit.c: Likewise.
10251         * nptl/tst-cancel7.c: Likewise.
10252         * nptl/tst-cleanup0.c: Likewise.
10253         * posix/tst-posix_fadvise-common.c: Likewise.
10254         * rt/tst-shm.c: Likewise.
10255         * time/bug-getdate1.c: Likewise.
10256         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
10257         * sysdeps/unix/sysv/linux/tst-sync_file_range.c: Likewise.
10258         * elf/Makefile (tst-piemod1.so): Link against libsupport.
10260 2016-12-08  Joseph Myers  <joseph@codesourcery.com>
10262         * Rules [$(run-built-tests) != no] (tests-expected): Add
10263         $(tests-printers).
10264         (tests): Do not pass $(tests-printers) to merge-test-results.sh.
10266 2016-12-08  Andrew Senkevich  <andrew.senkevich@intel.com>
10268         [BZ #20539]
10269         * math/Makefile (install-lib-ldscripts): Add libm.a.
10270         (install_subdir): Remove.
10271         (install-others): Add.
10272         ($(inst_libdir)/libm.a): Add rule for installation as
10273         linker script.
10274         * Makerules (install-lib.a): Filter out install-lib-ldscripts.
10276 2016-12-08  Martin Galvan  <martin.galvan@tallertechnologies.com>
10278         * INSTALL: Regenerated.
10279         * Makeconfig: Add comments and whitespace to make the control flow
10280         clearer.
10281         (+link-printers-tests, +link-pie-printers-tests,
10282         CFLAGS-printers-tests, installed-rtld-LDFLAGS,
10283         built-rtld-LDFLAGS, link-libc-rpath,
10284         link-libc-tests-after-rpath-link,
10285         link-libc-printers-tests): New.
10286         (rtld-LDFLAGS, rtld-tests-LDFLAGS, link-libc-tests-rpath-link,
10287         link-libc-tests): Use the new variables as required.
10288         * Makerules ($(py-const)): New rule.
10289         generated: Add $(py-const).
10290         * README.pretty-printers: New file.
10291         * Rules (tests-printers-programs, tests-printers-out, py-env): New.
10292         (others): Depend on $(py-const).
10293         (tests): Depend on $(tests-printers-programs) or
10294         $(tests-printers-out),
10295         as required.  Pass $(tests-printers) to merge-test-results.sh.
10296         * manual/install.texi: Add requirements for testing the pretty
10297         printers.
10298         * nptl/Makefile (gen-py-const-headers, pretty-printers,
10299         tests-printers, CFLAGS-test-mutexattr-printers.c
10300         CFLAGS-test-mutex-printers.c, CFLAGS-test-condattr-printers.c,
10301         CFLAGS-test-cond-printers.c, CFLAGS-test-rwlockattr-printers.c
10302         CFLAGS-test-rwlock-printers.c, tests-printers-libs): Define.
10303         * nptl/nptl-printers.py: New file.
10304         * nptl/nptl_lock_constants.pysym: Likewise.
10305         * nptl/test-cond-printers.c: Likewise.
10306         * nptl/test-cond-printers.py: Likewise.
10307         * nptl/test-condattr-printers.c: Likewise.
10308         * nptl/test-condattr-printers.py: Likewise.
10309         * nptl/test-mutex-printers.c: Likewise.
10310         * nptl/test-mutex-printers.py: Likewise.
10311         * nptl/test-mutexattr-printers.c: Likewise.
10312         * nptl/test-mutexattr-printers.py: Likewise.
10313         * nptl/test-rwlock-printers.c: Likewise.
10314         * nptl/test-rwlock-printers.py: Likewise.
10315         * nptl/test-rwlockattr-printers.c: Likewise.
10316         * nptl/test-rwlockattr-printers.py: Likewise.
10317         * scripts/gen-py-const.awk: Likewise.
10318         * scripts/test_printers_common.py: Likewise.
10319         * scripts/test_printers_exceptions.py: Likewise.
10321 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
10323         * scripts/build-many-glibcs.py (Context.__init__): Take strip
10324         argument.
10325         (Glibc.build_glibc): Strip installed shared libraries if
10326         requested.
10327         (get_parser): Add --strip option.
10328         (main): Update Context call.
10330 2016-12-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10331             Dominik Vogt  <vogt@linux.vnet.ibm.com>
10333         [BZ #20847]
10334         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
10335         array bounds for else branch.
10336         (__execvpe): Style fixes.
10337         * posix/tst-vfork3.c (run_script): New function.
10338         (create_script): Likewise.
10339         (do_test): Use run_script internal function.
10340         (do_prepare): Use create_script internal function.
10342 2016-12-07  Andreas Schwab  <schwab@suse.de>
10344         * sysdeps/unix/sysv/linux/x86/elision-conf.h
10345         (__elision_available): Don't declare.
10346         * sysdeps/unix/sysv/linux/x86/elision-conf.c
10347         (__elision_available): Don't define.
10348         (elision_init): Don't set __elision_available.
10350 2016-12-07  Joseph Myers  <joseph@codesourcery.com>
10352         [BZ #20940]
10353         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Do not
10354         return Inf for arguments Inf and sNaN.
10355         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Likewise.
10356         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
10357         Likewise.
10358         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
10359         Likewise.
10360         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
10361         * sysdeps/powerpc/fpu/e_hypot.c (TEST_INF_NAN): Do not return Inf
10362         for arguments Inf and sNaN.  When returning a NaN, compute it by
10363         arithmetic on the arguments.
10364         * sysdeps/powerpc/fpu/e_hypotf.c (TEST_INF_NAN): Likewise.
10365         * math/libm-test.inc (hypot_test_data): Add tests of sNaN
10366         arguments.
10368 2016-12-06  Joseph Myers  <joseph@codesourcery.com>
10370         [BZ #20916]
10371         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Do not return 1 for
10372         arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN arguments
10373         to compute result.
10374         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
10375         * math/libm-test.inc (pow_test_data): Add tests of sNaN arguments.
10377 2016-12-05  Torvald Riegel  <triegel@redhat.com>
10379         * include/atomic.h (__atomic_check_size_ls): New.
10380         (atomic_load_relaxed, atomic_load_acquire, atomic_store_relaxed,
10381         atomic_store_release): Use it.
10382         * sysdeps/x86/elide.h (ACCESS_ONCE): Remove.
10383         (elision_adapt, ELIDE_LOCK): Use atomics.
10384         * sysdeps/unix/sysv/linux/x86/elision-lock.c (__lll_lock_elision): Use
10385         atomics and improve code comments.
10386         * sysdeps/unix/sysv/linux/x86/elision-trylock.c
10387         (__lll_trylock_elision): Likewise.
10389 2016-12-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10391         * hurd/hurd.h: Cast errno constants to error_t to fix usage in C++
10392         programs.
10394 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
10396         [BZ #20916]
10397         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return 1
10398         for arguments (sNaN, 0) or (1, sNaN).  Do arithmetic on NaN
10399         arguments to compute result.
10400         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Do not return
10401         1 for arguments (sNaN, 0) or (1, sNaN).
10402         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
10403         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
10405         [BZ #20919]
10406         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Do not return
10407         NaN first argument when raised to power 0.
10408         * math/w_pow.c (__pow): Do not check for NaN or zero results from
10409         raising to power zero.
10410         * math/w_powf.c (__powf): Likewise.
10411         * math/w_powl.c (__powl): Likewise.
10412         * sysdeps/ieee754/k_standard.c (__kernel_standard): Do not handle
10413         pow (0, 0) or pow (NaN, 0).
10415 2016-12-02  Carlos O'Donell  <carlos@redhat.com>
10417         [BZ #20918]
10418         * configure.ac: Test for static NSS cryptographic libraries and set
10419         libc_cv_static_nss_crypt.
10420         * configure: Regenerate.
10421         * config.make.in (static-nss-crypt): Define.
10422         * elf/Makefile (CFLAGS-tst-linkall-static.c): Define.
10423         [ifeq (yesno,$(nss-crypt)$(static-nss-crypt))]
10424         (CFLAGS-tst-linkall-static.c): Define.
10425         ($(objpfx)tst-linkall-static): Remove libcrypt.a.
10426         [ifeq (yesyes,$(nss-crypt)$(static-nss-crypt))]
10427         ($(objpfx)tst-linkall-static): Define.
10428         [ifeq (no,$(nss-crypt))] ($(objpfx)tst-linkall-static): Define.
10429         * elf/tst-linkall-static.c [USE_CRYPT](references): Reference crypt().
10431 2016-12-02  Florian Weimer  <fweimer@redhat.com>
10433         * elf/Makefile [build-shared] (tests): Add tst-latepthread.
10434         (one-hundred, tst-tls-many-dynamic-modules): Define.
10435         (modules-names): Add $(tst-tls-many-dynamic-modules).
10436         (tst-tls-manydynamic%mod.os): Build with special preprocessor
10437         macros.
10438         (tst-tls-manydynamic): Link against libdl, libpthread.
10439         (tst-tls-manydynamic.out): The test needs the test modules at run
10440         time.
10441         * elf/tst-tls-manydynamic.c: New file.
10442         * elf/tst-tls-manydynamic.h: Likewise.
10443         * elf/tst-tls-manydynamicmod.c: Likewise.
10445 2016-12-02  Florian Weimer  <fweimer@redhat.com>
10447         * sysdeps/aarch64/tlsdesc.sym (TCBHEAD_DTV, DTV_COUNTER)
10448         (TLS_DTV_UNALLOCATED): Add.
10449         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Use explicit
10450         offsets.
10452 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
10454         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
10456 2016-12-02  Stefan Liebler  <stli@linux.vnet.ibm.com>
10458         * elf/Makefile (CFLAGS-tst-latepthreadmod.c):
10459         Add -fno-optimize-sibling-calls.
10461 2016-12-02  Joseph Myers  <joseph@codesourcery.com>
10463         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb):
10464         New declaration.
10465         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (llogb): New
10466         macro.
10467         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (__FP_LONG_MAX):
10468         New macro.
10469         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGB0): Likewise.
10470         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FP_LLOGBNAN): Likewise.
10471         * math/Versions (llogb): New libm symbol at version GLIBC_2.25.
10472         (llogbf): Likewise.
10473         (llogbl): Likewise.
10474         * math/Makefile (gen-libm-calls): Add w_llogbF.
10475         (tests): Add test-fp-llogb-constants.
10476         * math/w_llogb_template.c: New file.  Based on
10477         math/w_ilogb_template.c.
10478         * math/libm-test.inc (llogb_test_data): New array.
10479         (llogb_test): New function.
10480         (main): Call llogb_test.
10481         * math/test-fp-llogb-constants.c: New file.  Based on
10482         math/test-fp-ilogb-constants.c.
10483         * math/test-tgmath-ret.c (llogb): New CHECK_RET_CONST call.
10484         (do_test): Call check_return_llogb.
10485         * math/test-tgmath.c (NCALLS): Increase to 126.
10486         (F(compile_test)): Call llogb.
10487         (F(llogb)): New function.
10488         * manual/math.texi (Exponents and Logarithms): Document llogb,
10489         llogbf, llogbl, FP_LLOGB0 and FP_LLOGBNAN.
10490         * manual/libm-err-tab.pl (@all_functions): Add llogb.
10491         * sysdeps/ieee754/ldbl-opt/nldbl-llogb.c: New file.
10492         * sysdeps/ieee754/ldbl-opt/w_llogbl.c: Likewise.
10493         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add llogb.
10494         (CFLAGS-nldbl-llogb.c): New variable.
10495         * sysdeps/nacl/libm.abilist: Update.
10496         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10497         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10498         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10499         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10500         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10501         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10502         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10503         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10504         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10505         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10506         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10507         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
10509         Likewise.
10510         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
10511         Likewise.
10512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
10513         Likewise.
10514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
10515         Likewise.
10516         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
10517         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
10518         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
10519         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
10520         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
10521         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
10522         Likewise.
10523         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
10524         Likewise.
10525         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
10526         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
10527         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
10529 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
10531         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c (getpayloadl): Use
10532         _Float128 instead of long double.
10533         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c (FUNC): Likewise.
10535         * sysdeps/alpha/setjmp.S (__sigsetjmp): Use hidden_def.
10536         * sysdeps/hppa/setjmp.S (__sigsetjmp): Likewise.
10537         * sysdeps/mips/mips64/setjmp.S (__sigsetjmp): Likewise.
10538         * sysdeps/mips/setjmp.S (__sigsetjmp): Likewise.
10539         * sysdeps/sh/sh3/setjmp.S (__sigsetjmp): Likewise.
10540         * sysdeps/sh/sh4/setjmp.S (__sigsetjmp): Likewise.
10541         * sysdeps/sparc/sparc32/setjmp.S (__sigsetjmp): Likewise.
10542         * sysdeps/tile/setjmp.S (__sigsetjmp): Likewise.
10543         * sysdeps/unix/sysv/linux/sparc/sparc64/setjmp.S (__sigsetjmp):
10544         Likewise.
10546 2016-12-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10548         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c (weak_alias):
10549         Remove redirection to __strrchr_ppc.
10551 2016-12-01  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
10553         * sysdeps/powerpc/powerpc64/multiarch/Makefile
10554         (sysdep_routines): Add strcmp_power9.
10555         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
10556         (strcmp): Add __strcmp_power9 to list of strcmp functions.
10557         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power9.S: New file.
10558         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c
10559         (strcmp): Add __strcmp_power9 to ifunc list.
10560         * sysdeps/powerpc/powerpc64/power9/strcmp.S: New file.
10562 2016-12-01  Joseph Myers  <joseph@codesourcery.com>
10564         * bits/fp-logb.h: New file.
10565         * sysdeps/ia64/bits/fp-logb.h: Likewise.
10566         * sysdeps/m68k/m680x0/bits/fp-logb.h: Likewise.
10567         * sysdeps/x86/bits/fp-logb.h: Likewise.
10568         * math/Makefile (headers): Add bits/fp-logb.h.
10569         * math/math.h: Include <bits/fp-logb.h>.
10570         [__USE_ISOC99] (FP_ILOGB0): Define based on __FP_LOGB0_IS_MIN.
10571         [__USE_ISOC99] (FP_ILOGBNAN): Define based on __FP_LOGBNAN_IS_MIN.
10572         * bits/mathdef.h (FP_ILOGB0): Remove.
10573         (FP_ILOGBNAN): Likewise.
10574         * sysdeps/aarch64/bits/mathdef.h (FP_ILOGB0): Likewise.
10575         (FP_ILOGBNAN): Likewise.
10576         * sysdeps/alpha/bits/mathdef.h (FP_ILOGB0): Likewise.
10577         (FP_ILOGBNAN): Likewise.
10578         * sysdeps/ia64/bits/mathdef.h (FP_ILOGB0): Likewise.
10579         (FP_ILOGBNAN): Likewise.
10580         * sysdeps/m68k/m680x0/bits/mathdef.h (FP_ILOGB0): Likewise.
10581         (FP_ILOGBNAN): Likewise.
10582         * sysdeps/mips/bits/mathdef.h (FP_ILOGB0): Likewise.
10583         (FP_ILOGBNAN): Likewise.
10584         * sysdeps/powerpc/bits/mathdef.h (FP_ILOGB0): Likewise.
10585         (FP_ILOGBNAN): Likewise.
10586         * sysdeps/s390/bits/mathdef.h (FP_ILOGB0): Likewise.
10587         (FP_ILOGBNAN): Likewise.
10588         * sysdeps/sparc/bits/mathdef.h (FP_ILOGB0): Likewise.
10589         (FP_ILOGBNAN): Likewise.
10590         * sysdeps/x86/bits/mathdef.h (FP_ILOGB0): Likewise.
10591         (FP_ILOGBNAN): Likewise.
10593         * scripts/build-many-glibcs.py: Add bot to usage message.  Import
10594         time module.
10595         (Context.__init__): Initialize self.logsdir_old.
10596         (Context.run_builds): Handle bot action.
10597         (Context.bot_cycle): Copy logs directory before running builds.
10598         (Context.bot_run_self): Take argument for whether to check
10599         subprocess result.  Flush stdout before running subprocess.
10600         (Context.bot): New function.
10601         (get_parser): Allow bot action.
10603 2016-11-30  Joseph Myers  <joseph@codesourcery.com>
10605         * scripts/build-many-glibcs.py: Add bot-cycle to usage message.
10606         Import email.mime.text, email.utils and smtplib modules.
10607         (Context.__init__): Initialize self.bot_config_json.
10608         (Context.run_builds): Handle bot-cycle action.
10609         (Context.load_bot_config_json): New function.
10610         (Context.part_build_old): Likewise.
10611         (Context.bot_cycle): Likewise.
10612         (Context.bot_build_mail): Likewise.
10613         (Context.bot_run_self): Likewise.
10614         (get_parser): Allow bot-cycle action.
10616 2016-11-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
10618         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c (weak_alias):
10619         Remove redirection to __stpcpy_ppc.
10621 2016-11-30  Florian Weimer  <fweimer@redhat.com>
10623         Remove __libc_memalign from ld.so because it is unused.
10624         * elf/dl-minimal.c: Update comment on the malloc implementation.
10625         (malloc): Renamed from __libc_memalign, replacing the original
10626         malloc implementation.  Replace the align parameter with
10627         MALLOC_ALIGNMENT.
10628         * elf/Versions (ld): Update comment and remove __libc_memalign.
10629         * sysdeps/nacl/ld.abilist: Likewise.
10630         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: Likewise.
10631         * sysdeps/unix/sysv/linux/alpha/ld.abilist: Likewise.
10632         * sysdeps/unix/sysv/linux/arm/ld.abilist: Likewise.
10633         * sysdeps/unix/sysv/linux/hppa/ld.abilist: Likewise.
10634         * sysdeps/unix/sysv/linux/i386/ld.abilist: Likewise.
10635         * sysdeps/unix/sysv/linux/ia64/ld.abilist: Likewise.
10636         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: Likewise.
10637         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: Likewise.
10638         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Likewise.
10639         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: Likewise.
10640         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: Likewise.
10641         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: Likewise.
10642         * sysdeps/unix/sysv/linux/nios2/ld.abilist: Likewise.
10643         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Likewise.
10644         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
10645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
10646         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: Likewise.
10647         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: Likewise.
10648         * sysdeps/unix/sysv/linux/sh/ld.abilist: Likewise.
10649         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: Likewise.
10650         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: Likewise.
10651         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: Likewise.
10652         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: Likewise.
10653         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: Likewise.
10654         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: Likewise.
10655         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: Likewise.
10656         * sysdeps/generic/localplt.data (ld.so): Likewise.
10657         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
10658         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
10659         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
10660         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
10661         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
10662         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
10663         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
10664         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so): Likewise.
10665         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
10666         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
10667         (ld.so): Likewise.
10668         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
10669         (ld.so): Likewise.
10670         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
10671         Likewise.
10672         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
10673         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
10674         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so): Likewise.
10675         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so): Likewise.
10676         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
10678 2016-11-30  Florian Weimer  <fweimer@redhat.com>
10680         [BZ #16628]
10681         Implement _dl_catch_error, _dl_signal_error in libc.so.
10682         * elf/dl-error-skeleton.c: Rename from elf/dl-error.c.
10683         (catch_hook): Define as thread-local or regular variable,
10684         depending on DL_ERROR_BOOTSTRAP.
10685         (CATCH_HOOK): Remove.
10686         (dl_signal_error, _dl_catch_error): Use
10687         catch_hook.  Add hidden definition for libc.
10688         (_dl_receive_error, _dl_signal_cerror): Use catch_hook.  Compile
10689         for DL_ERROR_BOOTSTRAP only.
10690         * elf/dl-error.c: New file.
10691         * elf/dl-error-minimal.c: Likewise.
10692         * elf/tst-latepthread.c: Likewise.
10693         * elf/tst-latepthreadmod.c: Likewise.
10694         * elf/Makefile (routines): Add dl-error.
10695         (dl-routines): Remove dl-error.
10696         (rtld-routines): Add dl-error-minimal.
10697         [build-shared] (tests): Add tst-latepthread.
10698         (module-names): Add tst-latepthreadmod.
10699         (LDFLAGS-tst-latepthreadmod.so): Enable lazy binding to undefined
10700         symbol.
10701         (tst-latepthreadmod.so): Link against libpthread.
10702         (tst-latepthread): Link against libdbl.
10703         * elf/Versions [libc] (GLIBC_PRIVATE): Add _dl_signal_error,
10704         _dl_catch_error.
10705         [ld] (GLIBC_PRIVATE): Likewise.
10706         * elf/dl-close.c (_dl_cose): Call _dl_signal_error directly.
10707         * elf/dl-libc.c (dlerror_run): Call _dl_catch_error directly.
10708         * elf/dl-sym.c (do_sym): Call _dl_signal_error, _dl_catch_error
10709         directly.
10710         * elf/dl-tsd.c: Remove file.
10711         * elf/rtld.c (_rtld_global_ro): Remove initializers for
10712         _dl_catch_error, _dl_signal_error.
10713         (_dl_initial_error_catch_tsd): Remove definition.
10714         (do_preload): Remove initialization of dl_error_catch_tsd.
10715         * dlfcn/dlerror.c (_dlerror_run): Call _dl_catch_error directly.
10716         * dlfcn/dlinfo.c (dlinfo_doit): Call _dl_signal_error directly.
10717         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
10718         * dlfcn/dlopen.c (dlopen_doit): Likewise.
10719         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Do not
10720         set dl_error_catch_tsd.
10721         * sysdeps/generic/ldsodefs.h (struct rtld_global): Remove
10722         _dl_error_catch_tsd member.
10723         (struct rtld_global_ro): Remove _dl_catch_error, _dl_signal_error
10724         members.
10725         (_dl_initial_error_catch_tsd): Remove declaration.
10726         (_dl_dprintf): Provide definition for use outside of ld.so.
10727         [!rtld] (_dl_signal_cerror): Redirect to _dl_signal_error.
10728         (_dl_signal_error, _dl_catch_error): Make public.  Add hidden
10729         prototype for libc.
10730         * sysdeps/generic/localplt.data (ld.so): Add _dl_signal_error,
10731         _dl_catch_error.
10732         * sysdeps/unix/sysv/linux/aarch64/localplt.data (ld.so): Likewise.
10733         * sysdeps/unix/sysv/linux/alpha/localplt.data (ld.so): Likewise.
10734         * sysdeps/unix/sysv/linux/arm/localplt.data (ld.so): Likewise.
10735         * sysdeps/unix/sysv/linux/hppa/localplt.data (ld.so): Likewise.
10736         * sysdeps/unix/sysv/linux/i386/localplt.data (ld.so): Likewise.
10737         * sysdeps/unix/sysv/linux/ia64/localplt.data (ld.so): Likewise.
10738         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Likewise.
10739         * sysdeps/unix/sysv/linux/microblaze/localplt.data (ld.so):
10740         Likewise.
10741         * sysdeps/unix/sysv/linux/nios2/localplt.data (ld.so): Likewise.
10742         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data
10743         (ld.so): Likewise.
10744         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
10745         (ld.so): Likewise.
10746         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data (ld.so):
10747         Likewise.
10748         * sysdeps/unix/sysv/linux/s390/localplt.data (ld.so): Likewise.
10749         * sysdeps/unix/sysv/linux/sh/localplt.data (ld.so): Likewise.
10750         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data (ld.so):
10751         Likewise.
10752         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data (ld.so):
10753         Likewise.
10754         * sysdeps/x86_64/localplt.data (ld.so): Likewise.
10756 2016-11-30  Florian Weimer  <fweimer@redhat.com>
10758         [BZ #4099]
10759         * libio/filedoalloc.c (_IO_file_doallocate): Limit buffer size to
10760         _IO_BUFSIZ (8192).
10762 2016-11-30  Carlos O'Donell  <carlos@redhat.com>
10764         * PROJECTS: Remove file.
10766 2016-11-29  Florian Weimer  <fweimer@redhat.com>
10768         * iconvdata/gbk.c (BODY): Add Euro sign support (both directions).
10770 2016-11-29  Yury Norov  <ynorov@caviumnetworks.com>
10771             Steve Ellcey  <sellcey@caviumnetworks.com>
10773         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat.c: Do not define
10774         fxstat if XSTAT_IS_XSTAT64 is set to non-zero.
10775         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Ditto for
10776         fxstatat.
10777         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat.c: Ditto for
10778         lxstat.
10779         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat.c: Ditto for xstat.
10780         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstat64.c: New file.
10781         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat64.c: New file.
10782         * sysdeps/unix/sysv/linux/generic/wordsize-32/lxstat64.c: Make __lxstat
10783         an alias of __lxstat64 if XSTAT_IS_XSTAT64 is set to non-zero.
10784         * sysdeps/unix/sysv/linux/generic/wordsize-32/xstat64.c: Ditto for
10785         __xstat.
10787 2016-11-29  Florian Weimer  <fweimer@redhat.com>
10789         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI___sigsetjmp):
10790         Define.
10791         * sysdeps/powerpc/powerpc32/setjmp.S (__sigsetjmp): Add hidden
10792         definition.
10794 2016-11-29  Florian Weimer  <fweimer@redhat.com>
10796         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S (__longjmp): Remove
10797         version and turn into strong alias.  Remove compat symbol.
10799         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
10800         (__longjmp): Remove.
10802 2016-11-29  Joseph Myers  <joseph@codesourcery.com>
10804         * bits/fp-fast.h: New file.
10805         * sysdeps/aarch64/bits/fp-fast.h: Likewise.
10806         * sysdeps/powerpc/bits/fp-fast.h: Likewise.
10807         * math/Makefile (headers): Add bits/fp-fast.h.
10808         * math/math.h: Include <bits/fp-fast.h>.
10809         * bits/mathdef.h (FP_FAST_FMA): Remove.
10810         (FP_FAST_FMAF): Likewise.
10811         (FP_FAST_FMAL): Likewise.
10812         * sysdeps/aarch64/bits/mathdef.h (FP_FAST_FMA): Likewise.
10813         (FP_FAST_FMAF): Likewise.
10814         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Likewise.
10815         (FP_FAST_FMAF): Likewise.
10816         * sysdeps/x86/bits/mathdef.h (FP_FAST_FMA): Likewise.
10817         (FP_FAST_FMAF): Likewise.
10818         (FP_FAST_FMAL): Likewise.
10819         * sysdeps/arm/bits/mathdef.h: Remove file.
10820         * sysdeps/hppa/fpu/bits/mathdef.h: Likewise.
10821         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
10822         * sysdeps/tile/bits/mathdef.h: Likewise.
10824 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
10826         * math/w_ilogb_template.c: New file.  Based on math/w_ilogb.c.
10827         * math/w_ilogb.c: Remove.
10828         * math/w_ilogbf.c: Likewise.
10829         * math/w_ilogbl.c: Likewise.
10830         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: Likewise.
10831         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: Likewise.
10832         * math/Makefile (gen-libm-calls): Add w_ilogbF.
10833         (libm-calls): Remove w_ilogbF.
10834         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h
10835         (LDOUBLE_ilogbl_libm_version): New macro.
10837         * sysdeps/unix/sysv/linux/ia64/tst-setcontext2.c: New file.
10839         * sysdeps/ia64/fpu/libm-symbols.h: Make contents conditional on
10840         [!__STRICT_ANSI__ && !__cplusplus].
10842 2016-11-28  H.J. Lu  <hongjiu.lu@intel.com>
10844         [BZ #20750]
10845         * sysdeps/x86_64/sysdep.h (JUMPTARGET): Check SHARED instead
10846         of PIC.
10848 2016-11-28  Andrew Pinski  <andrew.pinski@caviumnetworks.com>
10849             Yury Norov  <ynorov@caviumnetworks.com>
10850             Steve Ellcey  <sellcey@caviumnetworks.com>
10852         * sysdeps/aarch64/crti.S: Add include of sysdep.h.
10853         (call_weak_fn): Use PTR_REG to get correct reg name in ILP32.
10854         * sysdeps/aarch64/dl-irel.h: Add include of sysdep.h.
10855         (elf_irela): Use AARCH64_R macro to get correct relocation in ILP32.
10856         * sysdeps/aarch64/dl-machine.h: Add include of sysdep.h.
10857         (elf_machine_load_address, RTLD_START, RTLD_START_1, RTLD_START,
10858         elf_machine_type_class, ELF_MACHINE_JMP_SLOT, elf_machine_rela,
10859         elf_machine_lazy_rel): Add ifdef's for ILP32 support.
10860         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return,
10861         _dl_tlsdesc_return_lazy, _dl_tlsdesc_dynamic,
10862         _dl_tlsdesc_resolve_hold): Extend pointers in ILP32, use PTR_REG
10863         to get correct reg name for ILP32.
10864         * sysdeps/aarch64/dl-trampoline.S (ip01): New Macro.
10865         (RELA_SIZE): New Macro.
10866         (_dl_runtime_resolve, _dl_runtime_profile): Use new macros and PTR_REG
10867         to support ILP32.
10868         * sysdeps/aarch64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Add
10869         cast for ILP32 mode.
10870         * sysdeps/aarch64/memcmp.S (memcmp): Extend arg pointers for ILP32 mode.
10871         * sysdeps/aarch64/memcpy.S (memmove, memcpy): Ditto.
10872         * sysdeps/aarch64/memset.S (__memset): Ditto.
10873         * sysdeps/aarch64/strchr.S (strchr): Ditto.
10874         * sysdeps/aarch64/strchrnul.S (__strchrnul): Ditto.
10875         * sysdeps/aarch64/strcmp.S (strcmp): Ditto.
10876         * sysdeps/aarch64/strcpy.S (strcpy): Ditto.
10877         * sysdeps/aarch64/strlen.S (__strlen): Ditto.
10878         * sysdeps/aarch64/strncmp.S (strncmp): Ditto.
10879         * sysdeps/aarch64/strnlen.S (strnlen): Ditto.
10880         * sysdeps/aarch64/strrchr.S (strrchr): Ditto.
10881         * sysdeps/unix/sysv/linux/aarch64/clone.S: Ditto.
10882         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Ditto.
10883         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext): Ditto.
10884         * sysdeps/aarch64/__longjmp.S (__longjmp): Extend pointers in ILP32,
10885         change PTR_MANGLE call to use register numbers instead of names.
10886         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Ditto.
10887         * sysdeps/aarch64/setjmp.S (__sigsetjmp): Extend arg pointers for
10888         ILP32 mode, change PTR_MANGLE calls to use register numbers.
10889         * sysdeps/aarch64/start.S (_start): Ditto.
10890         * sysdeps/aarch64/nptl/bits/pthreadtypes.h
10891         (__PTHREAD_RWLOCK_INT_FLAGS_SHARED): New define.
10892         (__SIZEOF_PTHREAD_ATTR_T, __SIZEOF_PTHREAD_MUTEX_T,
10893         __SIZEOF_PTHREAD_MUTEXATTR_T, __SIZEOF_PTHREAD_COND_T,
10894         __SIZEOF_PTHREAD_COND_COMPAT_T, __SIZEOF_PTHREAD_CONDATTR_T,
10895         __SIZEOF_PTHREAD_RWLOCK_T, __SIZEOF_PTHREAD_RWLOCKATTR_T,
10896         __SIZEOF_PTHREAD_BARRIER_T, __SIZEOF_PTHREAD_BARRIERATTR_T):
10897         Make defined values dependent on __ILP32__.
10898         * sysdeps/aarch64/nptl/bits/semaphore.h (__SIZEOF_SEM_T): Change define.
10899         (sem_t): Change __align type.
10900         * sysdeps/aarch64/sysdep.h (AARCH64_R, PTR_REG, PTR_LOG_SIZE, DELOUSE,
10901         PTR_SIZE): New Macros.
10902         (LDST_PCREL, LDST_GLOBAL) Update to use PTR_REG.
10903         * sysdeps/unix/sysv/linux/aarch64/bits/fcntl.h (O_LARGEFILE):
10904         Set when in ILP32 mode.
10905         (F_GETLK64, F_SETLK64, F_SETLKW64): Only set in LP64 mode.
10906         * sysdeps/unix/sysv/linux/aarch64/dl-cache.h (DL_CACHE_DEFAULT_ID):
10907         Set elf flags for ILP32.
10908         (add_system_dir): Set ILP32 library directories.
10909         * sysdeps/unix/sysv/linux/aarch64/init-first.c
10910         (_libc_vdso_platform_setup): Set minimum kernel version for ILP32.
10911         * sysdeps/unix/sysv/linux/aarch64/ldconfig.h
10912         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add ILP32 names.
10913         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h (GET_PC, SET_PC):
10914         New Macros.
10915         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Handle ILP32 pointers.
10917 2016-11-28  Steve Ellcey  <sellcey@caviumnetworks.com>
10919         * sysdeps/unix/sysv/linux/fstatfs64.c: Reorder include files,
10920         only alias fstatfs and __fstatfs if STATFS_IS_STATFS64 is non-zero.
10921         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for statfs and __statfs.
10923 2016-11-28  Joseph Myers  <joseph@codesourcery.com>
10925         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: Do not include
10926         <asm/cachectl.h>.
10928 2016-11-27  Zack Weinberg  <zackw@panix.com>
10930         * libio/libio.h: Use __USE_GNU, not _GNU_SOURCE, in a conditional.
10931         * test-skeleton.c: Include stdint.h to ensure uintptr_t is available.
10933 2016-11-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
10935         * hurd/hurd/signal.h (HURD_MSGPORT_RPC): Cast expressions results to
10936         error_t to fix usage in C++ programs.
10938 2016-11-26  Joseph Myers  <joseph@codesourcery.com>
10940         * scripts/build-many-glibcs.py: Import datetime module.
10941         (Context.__init__): Load JSON build state.  Initialize list of
10942         status logs.
10943         (Context.run_builds): Update saved build state.
10944         (Context.add_makefile_cmdlist): Update list of status logs.
10945         (Context.load_build_state_json): New function.
10946         (Context.store_build_state_json): Likewise.
10947         (Context.clear_last_build_state): Likewise.
10948         (Context.update_build_state): Likewise.
10949         (CommandList.status_logs): Likewise.
10951 2016-11-25  Joseph Myers  <joseph@codesourcery.com>
10953         * scripts/build-many-glibcs.py (Context.__init__): Save text of
10954         script being executed.
10955         (Context.get_script_text): New function.
10956         (Context.exec_self): Likewise.
10957         (Context.checkout): Re-exec script if changed by checkout process.
10959 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
10961         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
10962         (setpayloadsig): New declaration.
10963         * math/Versions (setpayloadsig): New libm symbol at version
10964         GLIBC_2.25.
10965         (setpayloadsigf): Likewise.
10966         (setpayloadsigl): Likewise.
10967         * math/Makefile (libm-calls): Add s_setpayloadsigF.
10968         * math/libm-test.inc (RUN_TEST_Ff_b1): Call feclearexcept
10969         (FE_ALL_EXCEPT) after initializing EXTRA_VAR.
10970         (setpayloadsig_test_data): New array.
10971         (setpayloadsig_test): New function.
10972         (main): Call setpayloadsig_test.
10973         * manual/arith.texi (FP Bit Twiddling): Document setpayloadsig,
10974         setpayloadsigf and setpayloadsigl.
10975         * manual/libm-err-tab.pl: Update comment on interfaces without
10976         ulps tabulated.
10977         * sysdeps/ieee754/dbl-64/s_setpayloadsig.c: New file.
10978         * sysdeps/ieee754/flt-32/s_setpayloadsigf.c: Likewise.
10979         * sysdeps/ieee754/ldbl-128/s_setpayloadsigl.c: Likewise.
10980         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadsigl.c: Likewise.
10981         * sysdeps/ieee754/ldbl-96/s_setpayloadsigl.c: Likewise.
10982         * sysdeps/ieee754/ldbl-opt/nldbl-setpayloadsig.c: Likewise.
10983         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
10984         setpayloadsig.
10985         (CFLAGS-nldbl-setpayloadsig.c): New variable.
10986         * sysdeps/nacl/libm.abilist: Update.
10987         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
10988         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
10989         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
10990         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
10991         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
10992         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
10993         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
10994         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
10995         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
10996         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
10997         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
10998         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
10999         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11000         Likewise.
11001         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11002         Likewise.
11003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11004         Likewise.
11005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11006         Likewise.
11007         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11008         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11009         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11010         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11011         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11012         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11013         Likewise.
11014         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11015         Likewise.
11016         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11017         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11018         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11020         * scripts/build-many-glibcs.py: Import json module.
11021         (Context.__init__): Take replace_sources argument.  Load
11022         versions.json.
11023         (Context.load_versions_json): New function.
11024         (Context.store_json): Likewise.
11025         (Context.store_versions_json): Likewise.
11026         (Context.set_component_version): Likewise.
11027         (Context.checkout): Update versions.json.  Check for and handle
11028         changes of version.  Prefer previously explicitly specified
11029         version to default version.
11030         (Context.checkout_vcs): Return a revision identifier.
11031         (Context.git_checkout): Likewise.
11032         (Context.gcc_checkout): Likewise.
11033         (get_parser): Add --replace-sources option.
11034         (main): Pass replace_sources argument to Context call.
11036 2016-11-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11038         * sysdeps/nptl/fork.c (__libc_fork): Remove pid cache setting.
11039         * nptl/allocatestack.c (allocate_stack): Likewise.
11040         (__reclaim_stacks): Likewise.
11041         (setxid_signal_thread): Obtain pid through syscall.
11042         * nptl/nptl-init.c (sigcancel_handler): Likewise.
11043         (sighandle_setxid): Likewise.
11044         * nptl/pthread_cancel.c (pthread_cancel): Likewise.
11045         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
11046         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
11047         Likewise.
11048         * sysdeps/unix/sysv/linux/createthread.c (create_thread): Likewise.
11049         * sysdeps/unix/sysv/linux/raise.c (raise): Remove old behaviour
11050         comment.
11051         * sysdeps/unix/sysv/linux/getpid.c: Remove file.
11052         * nptl/descr.h (struct pthread): Change comment about pid value.
11053         * nptl/pthread_getattr_np.c (pthread_getattr_np): Remove thread
11054         pid assert.
11055         * sysdeps/unix/sysv/linux/pthread-pids.h (__pthread_initialize_pids):
11056         Do not set pid value.
11057         * nptl_db/td_ta_thr_iter.c (iterate_thread_list): Remove thread
11058         pid cache check.
11059         * nptl_db/td_thr_validate.c (td_thr_validate): Likewise.
11060         * sysdeps/aarch64/nptl/tcb-offsets.sym: Remove pid offset.
11061         * sysdeps/alpha/nptl/tcb-offsets.sym: Likewise.
11062         * sysdeps/arm/nptl/tcb-offsets.sym: Likewise.
11063         * sysdeps/hppa/nptl/tcb-offsets.sym: Likewise.
11064         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
11065         * sysdeps/ia64/nptl/tcb-offsets.sym: Likewise.
11066         * sysdeps/m68k/nptl/tcb-offsets.sym: Likewise.
11067         * sysdeps/microblaze/nptl/tcb-offsets.sym: Likewise.
11068         * sysdeps/mips/nptl/tcb-offsets.sym: Likewise.
11069         * sysdeps/nios2/nptl/tcb-offsets.sym: Likewise.
11070         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
11071         * sysdeps/s390/nptl/tcb-offsets.sym: Likewise.
11072         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
11073         * sysdeps/sparc/nptl/tcb-offsets.sym: Likewise.
11074         * sysdeps/tile/nptl/tcb-offsets.sym: Likewise.
11075         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
11076         * sysdeps/unix/sysv/linux/aarch64/clone.S: Remove pid and tid caching.
11077         * sysdeps/unix/sysv/linux/alpha/clone.S: Likewise.
11078         * sysdeps/unix/sysv/linux/arm/clone.S: Likewise.
11079         * sysdeps/unix/sysv/linux/hppa/clone.S: Likewise.
11080         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
11081         * sysdeps/unix/sysv/linux/ia64/clone2.S: Likewise.
11082         * sysdeps/unix/sysv/linux/mips/clone.S: Likewise.
11083         * sysdeps/unix/sysv/linux/nios2/clone.S: Likewise.
11084         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
11085         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
11086         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
11087         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
11088         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
11089         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Likewise.
11090         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Likewise.
11091         * sysdeps/unix/sysv/linux/tile/clone.S: Likewise.
11092         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
11093         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Remove pid set and reset.
11094         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
11095         * sysdeps/unix/sysv/linux/arm/vfork.S: Likewise.
11096         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
11097         * sysdeps/unix/sysv/linux/ia64/vfork.S: Likewise.
11098         * sysdeps/unix/sysv/linux/m68k/clone.S: Likewise.
11099         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
11100         * sysdeps/unix/sysv/linux/mips/vfork.S: Likewise.
11101         * sysdeps/unix/sysv/linux/nios2/vfork.S: Likewise.
11102         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
11103         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
11104         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
11105         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
11106         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
11107         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
11108         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
11109         * sysdeps/unix/sysv/linux/tile/vfork.S: Likewise.
11110         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
11111         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: Likewise.
11112         * sysdeps/unix/sysv/linux/tst-clone2.c (f): Remove direct pthread
11113         struct access.
11114         (clone_test): Remove function.
11115         (do_test): Rewrite to take in consideration pid is not cached anymore.
11117 2016-11-24  Joseph Myers  <joseph@codesourcery.com>
11119         * bits/flt-eval-method.h: New file.
11120         * sysdeps/m68k/m680x0/bits/flt-eval-method.h: Likewise.
11121         * sysdeps/s390/bits/flt-eval-method.h: Likewise.
11122         * sysdeps/x86/bits/flt-eval-method.h: Likewise.
11123         * math/Makefile (headers): Add bits/flt-eval-method.h.
11124         * math/math.h: Include <bits/flt-eval-method.h>.
11125         [__USE_ISOC99] (float_t): Define based on __GLIBC_FLT_EVAL_METHOD.
11126         [__USE_ISOC99] (double_t): Likewise.
11127         * bits/mathdef.h (float_t): Remove.
11128         (double_t): Likewise.
11129         * sysdeps/aarch64/bits/mathdef.h (float_t): Likewise.
11130         (double_t): Likewise.
11131         * sysdeps/alpha/bits/mathdef.h (float_t): Likewise.
11132         (double_t): Likewise.
11133         * sysdeps/arm/bits/mathdef.h (float_t): Likewise.
11134         (double_t): Likewise.
11135         * sysdeps/hppa/fpu/bits/mathdef.h (float_t): Likewise.
11136         (double_t): Likewise.
11137         * sysdeps/ia64/bits/mathdef.h (float_t): Likewise.
11138         (double_t): Likewise.
11139         * sysdeps/m68k/m680x0/bits/mathdef.h (float_t): Likewise.
11140         (double_t): Likewise.
11141         * sysdeps/mips/bits/mathdef.h (float_t): Likewise.
11142         (double_t): Likewise.
11143         * sysdeps/powerpc/bits/mathdef.h (float_t): Likewise.
11144         (double_t): Likewise.
11145         * sysdeps/s390/bits/mathdef.h (float_t): Likewise.
11146         (double_t): Likewise.
11147         * sysdeps/sh/sh4/bits/mathdef.h (float_t): Likewise.
11148         (double_t): Likewise.
11149         * sysdeps/sparc/bits/mathdef.h (float_t): Likewise.
11150         (double_t): Likewise.
11151         * sysdeps/tile/bits/mathdef.h (float_t): Likewise.
11152         (double_t): Likewise.
11153         * sysdeps/x86/bits/mathdef.h (float_t): Likewise.
11154         (double_t): Likewise.
11156 2016-11-24  Aurelien Jarno  <aurelien@aurel32.net>
11158         * sysdeps/x86_64/memcpy_chk.S (__memcpy_chk): Check for SHARED
11159         instead of PIC.
11161 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
11163         [BZ #20859]
11164         * sysdeps/sh/sh4/bits/mathdef.h (FP_ILOGB0): Define to
11165         (-0x7fffffff) instead of 0x80000001.
11166         * math/test-fp-ilogb-constants.c: New file.
11167         * math/Makefile (tests): Add test-fp-ilogb-constants.
11169 2016-11-23  Maciej W. Rozycki  <macro@imgtec.com>
11171         * sysdeps/mips/mips32/crti.S (JALR_RELOC): New macro.
11172         (_init): Use it in place of hardcoded R_MIPS_JALR.
11173         * sysdeps/mips/mips64/n32/crti.S (JALR_RELOC): New macro.
11174         (_init): Use it in place of hardcoded R_MIPS_JALR.
11175         * sysdeps/mips/mips64/n64/crti.S (JALR_RELOC): New macro.
11176         (_init): Use it in place of hardcoded R_MIPS_JALR.
11178 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
11180         [BZ #20787]
11181         * sysdeps/x86/bits/mathdef.h (float_t): Do not define to float if
11182         [__x86_64__] when __FLT_EVAL_METHOD__ is nonzero.
11183         (double_t): Do not define to double if [__x86_64__] when
11184         __FLT_EVAL_METHOD__ is nonzero.
11185         * sysdeps/x86/fpu/test-flt-eval-method-387.c: New file.
11186         * sysdeps/x86/fpu/test-flt-eval-method-sse.c: Likewise.
11187         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
11188         test-flt-eval-method-387 and test-flt-eval-method-sse.
11189         [$(subdir) = math] (CFLAGS-test-flt-eval-method-387.c): New
11190         variable.
11191         [$(subdir) = math] (CFLAGS-test-flt-eval-method-sse.c): Likewise.
11193 2016-11-23  Chris Metcalf  <cmetcalf@mellanox.com>
11195         * scripts/build-many-glibcs.py (Context.add_all_configs): Revert
11196         use of -fno-isolate-erroneous-paths options for tilepro.
11198 2016-11-23  Florian Weimer  <fweimer@redhat.com>
11200         * elf/dl-load.c (_dl_map_object_from_fd): Delayed TLS data
11201         structure initialization is no longer needed.
11203 2016-11-23  Joseph Myers  <joseph@codesourcery.com>
11205         [BZ #20855]
11206         * bits/mathdef.h (float_t): Define to float.
11207         * math/test-flt-eval-method.c: New file.
11208         * math/Makefile (tests): Add test-flt-eval-method.
11209         (CFLAGS-test-flt-eval-method.c): New variable.
11211 2016-11-22  Steve Ellcey  <sellcey@caviumnetworks.com>
11213         * sysdeps/unix/sysv/linux/fstatfs64.c: Hide prototypes for fstatfs
11214         and __fstatfs.  Make them aliases of __fstatfs64 if
11215         STATFS_IS_STATFS64 is set to non-zero.
11216         * sysdeps/unix/sysv/linux/statfs64.c: Ditto for __statfs, statfs,
11217         and __statfs64.
11218         * sysdeps/unix/sysv/linux/generic/wordsize-32/fstatfs.c: Do not
11219         define __fstatfs and fstatfs if STATFS_IS_STATFS64 is non-zero.
11220         * sysdeps/unix/sysv/linux/generic/wordsize-32/statfs.c: Ditto
11221         for __statfs and statfs.
11222         * sysdeps/unix/sysv/linux/alpha/kernel_stat.h: Set STATFS_IS_STATFS64
11223         to 0.
11224         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Ditto.
11225         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Ditto.
11226         * sysdeps/unix/sysv/linux/ia64/kernel_stat.h: Ditto.
11227         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
11228         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
11229         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
11230         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
11231         * sysdeps/unix/sysv/linux/powerpc/powerpc64/kernel_stat.h: Ditto.
11232         * sysdeps/unix/sysv/linux/s390/s390-64/kernel_stat.h: Ditto.
11233         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
11234         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Ditto.
11235         * sysdeps/unix/sysv/linux/x86_64/kernel_stat.h: Ditto.
11237 2016-11-22  Andreas Schwab  <schwab@suse.de>
11239         * misc/mkstemp.c: Include <fcntl.h>.
11240         * misc/mkstemps.c: Likewise.
11241         * misc/mkostemp.c: Likewise.
11242         * misc/mkostemps.c: Likewise.
11244 2016-11-22  Adhemerval Zanella  <adhemerva.zanella@linaro.org>
11246         [BZ #20847]
11247         * posix/execvpe.c (maybe_script_execute): Remove write past allocated
11248         array bounds.
11249         (__execvpe): Likewise.
11251 2016-11-22  Joseph Myers  <joseph@codesourcery.com>
11253         * scripts/build-many-glibcs.py (Context.add_all_configs): Also use
11254         -fno-isolate-erroneous-paths options for tilepro.
11256 2016-11-21  Steve Ellcey  <sellcey@caviumnetworks.com>
11258         * sysdeps/unix/sysv/linux/generic/kernel_stat.h: Set XSTAT_IS_XSTAT64
11259         to 0 when in 32 bit mode.
11260         * sysdeps/unix/sysv/linux/hppa/kernel_stat.h: Set XSTAT_IS_XSTAT64 to 0.
11261         * sysdeps/unix/sysv/linux/kernel_stat.h: Ditto.
11262         * sysdeps/unix/sysv/linux/microblaze/kernel_stat.h: Ditto.
11263         * sysdeps/unix/sysv/linux/mips/kernel_stat.h: Ditto.
11264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Ditto.
11265         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Ditto.
11266         * sysdeps/unix/sysv/linux/fxstat.c: Replace #ifdef with #if on
11267         XSTAT_IS_XSTAT64 test.
11268         * sysdeps/unix/sysv/linux/fxstatat.c: Ditto.
11269         * sysdeps/unix/sysv/linux/generic/lxstat.c: Ditto.
11270         * sysdeps/unix/sysv/linux/generic/xstat.c: Ditto.
11271         * sysdeps/unix/sysv/linux/i386/fxstat.c: Ditto.
11272         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Ditto.
11273         * sysdeps/unix/sysv/linux/i386/lxstat.c: Ditto.
11274         * sysdeps/unix/sysv/linux/i386/xstat.c: Ditto.
11275         * sysdeps/unix/sysv/linux/lxstat.c: Ditto.
11276         * sysdeps/unix/sysv/linux/mips/xstatconv.c: Ditto.
11277         * sysdeps/unix/sysv/linux/xstat.c: Ditto.
11278         * sysdeps/unix/sysv/linux/xstatconv.c: Ditto.
11280 2016-11-19  Joseph Myers  <joseph@codesourcery.com>
11282         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
11283         (setpayload): New declaration.
11284         * math/Versions (setpayload): New libm symbol at version
11285         GLIBC_2.25.
11286         (setpayloadf): Likewise.
11287         (setpayloadl): Likewise.
11288         * math/Makefile (libm-calls): Add s_setpayloadF.
11289         * math/libm-test.inc (struct test_Ffp_b1_data): Rename to struct
11290         test_Ff_b1_data.
11291         (RUN_TEST_Ff_b1): New macro.
11292         (RUN_TEST_LOOP_Ff_b1): Likewise.
11293         (canonicalize_test_data): Update type.
11294         (setpayload_test_data): New array.
11295         (setpayload_test): New function.
11296         (main): Call setpayload_test.
11297         * manual/arith.texi (FP Bit Twiddling): Document setpayload,
11298         setpayloadf and setpayloadl.
11299         * manual/libm-err-tab.pl: Update comment on interfaces without
11300         ulps tabulated.
11301         * sysdeps/ieee754/dbl-64/s_setpayload.c: New file.
11302         * sysdeps/ieee754/dbl-64/s_setpayload_main.c: Likewise.
11303         * sysdeps/ieee754/dbl-64/wordsize-64/s_setpayload_main.c:
11304         Likewise.
11305         * sysdeps/ieee754/flt-32/s_setpayloadf.c: Likewise.
11306         * sysdeps/ieee754/flt-32/s_setpayloadf_main.c: Likewise.
11307         * sysdeps/ieee754/ldbl-128/s_setpayloadl.c: Likewise.
11308         * sysdeps/ieee754/ldbl-128/s_setpayloadl_main.c: Likewise.
11309         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl.c: Likewise.
11310         * sysdeps/ieee754/ldbl-128ibm/s_setpayloadl_main.c: Likewise.
11311         * sysdeps/ieee754/ldbl-96/s_setpayloadl.c: Likewise.
11312         * sysdeps/ieee754/ldbl-96/s_setpayloadl_main.c: Likewise.
11313         * sysdeps/ieee754/ldbl-opt/nldbl-setpayload.c: Likewise.
11314         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
11315         setpayload.
11316         (CFLAGS-nldbl-setpayload.c): New variable.
11317         * sysdeps/nacl/libm.abilist: Update.
11318         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
11319         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
11320         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
11321         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
11322         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
11323         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
11324         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
11325         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
11326         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
11327         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
11328         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
11329         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
11330         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
11331         Likewise.
11332         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
11333         Likewise.
11334         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
11335         Likewise.
11336         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
11337         Likewise.
11338         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
11339         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
11340         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
11341         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
11342         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
11343         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
11344         Likewise.
11345         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
11346         Likewise.
11347         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
11348         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
11349         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
11351 2016-11-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11353         * hurd/hurd.h (__hurd_fail_noerrno): Remove function.
11354         * include/unistd.h: Extend comment about __access_noerrno return
11355         semantics.
11356         * sysdeps/match/hurd/access.c (__hurd_fail_noerrno): Return -1.
11357         (access_common): Correct typo for EACCES.
11359 2016-11-18  Chris Metcalf  <cmetcalf@mellanox.com>
11361         * sysdeps/tile/math-tests.h: New file.
11363         * sysdeps/unix/sysv/linux/tile/set_dataplane.c
11364         (__old_set_dataplane): Rename from set_dataplane and make a
11365         compatibility symbol.
11366         * sysdeps/unix/sysv/linux/tile/sys/dataplane.h: Remove file.
11367         * sysdeps/unix/sysv/linux/tile/Makefile (sysdep_headers): Remove
11368         sys/dataplane.h.
11370 2016-11-18  Joseph Myers  <joseph@codesourcery.com>
11372         * scripts/build-many-glibcs.py (Context.write_files): Make wrapper
11373         script quote words in command output to log suitably for input to
11374         the shell.
11376 2016-11-18  Matthew Fortune  <Matthew.Fortune@imgtec.com>
11377             Maciej W. Rozycki  <macro@imgtec.com>
11379         * sysdeps/mips/mips32/crti.S (_init): Add `.insn' pseudo-op at
11380         `.Lno_weak_fn' label.
11381         * sysdeps/mips/mips64/n32/crti.S (_init): Likewise.
11382         * sysdeps/mips/mips64/n64/crti.S (_init): Likewise.
11384 2016-11-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11385             Yury Norov  <ynorov@caviumnetworks.com>
11387         * bits/typesizes.h (__RLIM_T_MATCHES_RLIM64_T): define.
11388         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h
11389         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
11390         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h
11391         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
11392         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h [__s390x__]
11393         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
11394         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
11395         [__arch64__ || __sparcv9] (__RLIM_T_MATCHES_RLIM64_T): Likewise.
11396         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h [__86_64__]
11397         (__RLIM_T_MATCHES_RLIM64_T): Likewise.
11398         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = resource]
11399         (sysdep_routines): Remove oldgetrlimit64.
11400         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = resource]
11401         (sysdep_routines): Likewise.
11402         * sysdeps/unix/sysv/linux/m68k/Makefile [$(subdir) = resource]
11403         (sysdep_routines): Likewise.
11404         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
11405         [$(subdir) = resource] (sysdep_routines): Likewise.
11406         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile
11407         [$(subdir) = resource] (sysdep_routines): Likewise.
11408         * sysdeps/unix/sysv/linux/arm/getrlimit64.c: Remove file.
11409         * sysdeps/unix/sysv/linux/arm/oldgetrlimit64.c: Likewise.
11410         * sysdeps/unix/sysv/linux/arm/oldgetrlimit.c: Likewise.
11411         * sysdeps/unix/sysv/linux/arm/oldsetrlimit.c: Likewise.
11412         * sysdeps/unix/sysv/linux/hppa/getrlimit64.c: Likewise.
11413         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
11414         * sysdeps/unix/sysv/linux/i386/oldgetrlimit64.c: Likewise.
11415         * sysdeps/unix/sysv/linux/m68k/getrlimit64.c: Likewise.
11416         * sysdeps/unix/sysv/linux/m68k/oldgetrlimit64.c: Likewise.
11417         * sysdeps/unix/sysv/linux/powerpc/getrlimit64.c: Likewise.
11418         * sysdeps/unix/sysv/linux/powerpc/oldgetrlimit64.c: Likewise.
11419         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit64.c: Likewise.
11420         * sysdeps/unix/sysv/linux/s390/s390-32/oldgetrlimit64.c: Likewise.
11421         * sysdeps/unix/sysv/linux/sh/getrlimit64.c: Likewise.
11422         * sysdeps/unix/sysv/linux/wordsize-64/getrlimit64.c: Likewise.
11423         * sysdeps/unix/sysv/linux/wordsize-64/setrlimit64.c: Likewise.
11424         * sysdeps/sysv/linux/generic/wordsize-32/syscalls.list: Remove
11425         setrlimit and getrlimit.
11426         * sysdeps/unix/sysv/linux/hppa/syscalls.list: Likewise.
11427         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
11428         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list: Likewise.
11429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
11430         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list: Likewise.
11431         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
11432         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Likewise.
11433         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
11434         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11435         * sysdeps/unix/sysv/linux/getrlimit.c: New file.
11436         * sysdeps/unix/sysv/linux/sparc/getrlimit64.c: Likewise.
11437         * sysdeps/unix/sysv/linux/setrlimit.c: Likewise.
11438         * sysdeps/unix/sysv/linux/getrlimit64.c (__getrlimit64): Handle
11439         __RLIM_T_MATCHES_RLIM64_T and add alias if defined.
11440         (__old_getrlimit64): Add compatibility symbol.
11441         * sysdeps/unix/sysv/linux/setrlimit64.c (__setrlimit): Likewise.
11443 2016-11-17  Joseph Myers  <joseph@codesourcery.com>
11445         * scripts/build-many-glibcs.py (Config.build_gcc): Configure with
11446         newly built gmp, mpfr and mpc.
11448         * sysdeps/unix/sysv/linux/alpha/sys/user.h: Include <stddef.h>.
11450 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
11452         * conform/Makefile (linknamespace-libs): Rename to
11453         linknamespace-libs-thr.
11454         (linknamespace-libs-posix): New variable.
11455         (linknamespace-libs-xsi): Likewise.
11456         (linknamespace-libs-XPG3): Include libcrypt.a.
11457         (linknamespace-libs-XPG4): Use $(linknamespace-libs-XPG3).
11458         (linknamespace-libs-POSIX): Use $(linknamespace-libs-thr).
11459         (linknamespace-libs-UNIX98): Use $(linknamespace-libs-xsi).
11460         (linknamespace-libs-XOPEN2K): Likewise.
11461         (linknamespace-libs-XOPEN2K8): Likewise.
11462         (linknamespace-libs-POSIX2008): Use $(linknamespace-libs-posix).
11464         [BZ #20829]
11465         * stdio-common/Versions (__snprintf): Add to version
11466         GLIBC_PRIVATE.
11467         * include/stdio.h (__snprintf): Use libc_hidden_proto.
11468         * stdio-common/snprintf.c (__snprintf): Use libc_hidden_def.
11469         * crypt/sha256-crypt.c (__sha256_crypt_r): Use __snprintf instead
11470         of snprintf.
11471         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
11473 2016-11-16  Zack Weinberg  <zackw@panix.com>
11475         * string/string.h: Remove obsolete comment stating that
11476         strcoll_l and strxfrm_l have not yet been standardized.
11478 2016-11-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11480         * hurd/hurd.h (__hurd_fail_noerrno): New function.
11481         * include/unistd.h [IS_IN (rtld) || !defined SHARED]: Declare
11482         __access_noerrno.
11483         * io/access.c (__access_noerrno): New function.
11484         * sysdeps/mach/hurd/access.c (hurd_fail_seterrno): New function.
11485         (hurd_fail_seterrno): Likewise.
11486         (access_common): Likewise.
11487         (__access_noerrno): Likewise.
11488         * sysdeps/nacl/access.c (__access_noerrno): Likewise.
11489         * sysdeps/unix/sysv/linux/access.c (__access_noerrno): Likewise.
11490         * sysdeps/nacl/nacl-interfaces.h (NACL_CALL_NOERRNO): New
11491         macro.
11493 2016-11-16  Joseph Myers  <joseph@codesourcery.com>
11495         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h (register_dump):
11496         Only declare fpregs if [__SH_FPU_ANY__].
11498 2016-11-15  Joseph Myers  <joseph@codesourcery.com>
11500         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h [__SH4__ || __SH4A__]:
11501         Make code unconditional.
11502         [!(__SH4__ || __SH4A__)]: Remove conditional code.
11504 2016-11-15  Rical Jasan  <ricaljasan@pacific.net>
11506         * manual/sysinfo.texi (S_APPEND): Delete.
11507         (S_IMMUTABLE): Likewise.
11509 2016-11-15  Denis Kaganovich  <mahatma@eu.by>
11510             Magnus Granberg  <zorry@gentoo.org>
11511             Mike Frysinger  <vapier@gentoo.org>
11513         [BZ #20662]
11514         * configure.ac (libc_cv_predef_stack_protector): Also check for
11515         __stack_chk_fail_local symbols.
11516         * configure: Regenerated.
11518 2016-11-15  Florian Weimer  <fweimer@redhat.com>
11520         * sysdeps/s390/s390-64/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
11521         (libc_hidden_def): Remove redefinition.
11522         (__sigsetjmp): Add hidden definition.
11523         * sysdeps/s390/s390-32/setjmp.S (NEED_COMPAT_SYMBOLS): New macro.
11524         (libc_hidden_def): Remove redefinition.
11525         (__sigsetjmp): Add hidden definition.
11527 2016-11-14  Joseph Myers  <joseph@codesourcery.com>
11529         * scripts/build-many-glibcs.py (os.path): Do not import.
11530         (Context): Inherit explicitly from object.  Remove blank line
11531         between class and docstring.
11532         (Config): Likewise.
11533         (Glibc): Likewise.
11534         (Command): Likewise.
11535         (CommandList): Likewise.
11536         (Context.write_files): Store chmod mode in a variable.
11538         * sysdeps/unix/sysv/linux/tile/tilegx/configure.ac: Use
11539         LIBC_SLIBDIR_RTLDDIR for tilegx32.
11540         * sysdeps/unix/sysv/linux/tile/tilegx/configure: Regenerated.
11542 2016-11-14  Zack Weinberg  <zackw@panix.com>
11544         * sunrpc/Makefile (rpcgen-tests): Delete the .out file before
11545         creating or re-creating it.
11547         * string/bits/string2.h: Fix typo in comment.
11549 2016-11-14  Zack Weinberg  <zackw@panix.com>
11551         * misc/sys/sysmacros.h (__SYSMACROS_DM, __SYSMACROS_DM1): New macros.
11552         (__SYSMACROS_DEPRECATION_MSG, __SYSMACROS_FST_DECL_TEMPL)
11553         (__SYSMACROS_FST_IMPL_TEMPL): Delete.
11554         (major, minor, makedev): Use __SYSMACROS_DM in definition, instead
11555         of redirected function names.
11557         * misc/sys/cdefs.h (__glibc_macro_warning): Activate for clang >= 3.5
11558         as well.  Document that MESSAGE must be a single string literal.
11560 2016-11-11  Joseph Myers  <joseph@codesourcery.com>
11562         * scripts/build-many-glibcs.py: New file.
11564         * stdlib/bug-getcontext.c: Include <libc-internal.h>.
11565         (do_test): Disable -Wmaybe-uninitialized around uses of
11566         except_mask.
11568         * sysdeps/unix/sysv/linux/sh/sys/user.h: Include <stddef.h>.
11570 2016-11-10  Chris Metcalf  <cmetcalf@mellanox.com>
11572         * sysdeps/tile/tilepro/atomic-machine.h (atomic_store_relaxed)
11573         (atomic_store_release): Provide tilepro-specific implementations.
11575 2016-11-10  Joseph Myers  <joseph@codesourcery.com>
11577         * math/math.h (__MATH_TG): New macro.
11578         [__USE_ISOC99] (fpclassify): Define using __MATH_TG.
11579         [__USE_ISOC99] (signbit): Likewise.
11580         [__USE_ISOC99] (isfinite): Likewise.
11581         [__USE_ISOC99] (isnan): Likewise.
11582         [__USE_ISOC99] (isinf): Likewise.
11583         [__GLIBC_USE (IEC_60559_BFP_EXT)] (issignaling): Likewise.
11584         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__MATH_EVAL_FMT2): New macro.
11585         [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define using
11586         __MATH_TG and __MATH_EVAL_FMT2.
11587         * sysdeps/generic/math_private.h (fabs_tg): Define using
11588         __MATH_TG.
11589         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
11590         [!__NO_LONG_DOUBLE_MATH] (__iscanonicalf): New macro.
11591         [!__NO_LONG_DOUBLE_MATH] (__iscanonical): Likewise.
11592         [!__NO_LONG_DOUBLE_MATH] (iscanonical): Define using __MATH_TG.
11593         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h (__iscanonicalf): New
11594         macro.
11595         (__iscanonical): Likewise.
11596         (iscanonical): Define using __MATH_TG.
11598 2016-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11600         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Add include
11601         guards.
11603         * sysdeps/unix/sysv/linux/access.c: New file.
11604         * sysdeps/unix/sysv/linux/generic/access.c: Remove file.
11606 2016-11-10  Steve Ellcey  <sellcey@caviumnetworks.com>
11608         * sysdeps/tile/tilepro/bits/wordsize.h: Define __WORDSIZE32_SIZE_ULONG
11609         and __WORDSIZE32_PTRDIFF_LONG.
11611 2016-11-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
11613         * sysdeps/aarch64/libm-test-ulps: Regenerated.
11615 2016-11-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11617         * sysdeps/unix/sysv/linux/arm/truncate64.c: Remove file.
11618         * sysdeps/unix/sysv/linux/generic/wordsize-32/truncate.c: Likewise.
11619         * sysdeps/sysv/linux/generic/wordsize-32/truncate64.c: Likewise.
11620         * sysdeps/unix/sysv/linux/mips/mips32/truncate64.c: Likewise.
11621         * sysdeps/unix/sysv/linux/mips/mips64/truncate64.c: Likewise.
11622         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Likewise.
11623         * sysdeps/unix/sysv/linux/wordsize-64/truncate64.c: Likewise.
11624         * sysdeps/unix/sysv/linux/truncate.c: New file.
11625         * sysdeps/unix/sysv/linux/truncate64.c (truncate64): Use
11626         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
11627         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (truncate):
11628         Remove.
11629         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (truncate):
11630         Likewise.
11632         * posix/tst-truncate-common.c: New file.
11633         * posix/tst-truncate.c: Use tst-truncate-common.c.
11634         * posix/tst-truncate64.c: Likewise and add LFS tests.
11635         * sysdeps/unix/sysv/linux/arm/ftruncate64.c: Remove file.
11636         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate.c: Likewise.
11637         * sysdeps/unix/sysv/linux/generic/wordsize-32/ftruncate64.c: Likewise.
11638         * sysdeps/unix/sysv/linux/mips/mips32/ftruncate64.c: Likewise.
11639         * sysdeps/unix/sysv/linux/mips/mips64/ftruncate64.c: Likewise.
11640         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Likewise.
11641         * sysdeps/unix/sysv/linux/wordsize-64/ftruncate64.c: Likewise.
11642         * sysdeps/unix/sysv/linux/ftruncate.c: New file.
11643         * sysdeps/unix/sysv/linux/ftruncate64.c (__ftruncate64): Use
11644         INLINE_SYSCALL_CALL, __ALIGNMENT_ARG and SYSCALL_LL64 macros.
11645         [__OFF_T_MATCHES_OFF64_T] (ftruncate): Add alias.
11646         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (ftruncate):
11647         Remove.
11648         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (ftruncate):
11649         Likewise.
11651 2016-11-08  Joseph Myers  <joseph@codesourcery.com>
11653         [BZ #20790]
11654         * sunrpc/rpc_parse.c (get_prog_declaration): Increase buffer size
11655         to MAXLINESIZE.
11656         * sunrpc/bug20790.x: New file.
11657         * sunrpc/Makefile [$(run-built-tests) = yes] (rpcgen-tests): New
11658         variable.
11659         [$(run-built-tests) = yes] (tests-special): Add $(rpcgen-tests).
11660         [$(run-built-tests) = yes] ($(rpcgen-tests)): New rule.
11662         * sysdeps/unix/sysv/linux/sh/localplt.data: New file.
11664         * sysdeps/unix/sysv/linux/hppa/localplt.data: New file.
11666         * sysdeps/unix/sysv/linux/alpha/localplt.data: Make __tls_get_addr
11667         optional in ld.so.  Allow R_ALPHA_GLOB_DAT relocation for malloc,
11668         calloc, realloc, free, memalign and __libc_memalign rather than
11669         making them optional.
11671         * sysdeps/unix/sysv/linux/nios2/localplt.data: Add __extendsfdf2
11672         for libc.so.
11674 2016-11-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11676         * nptl/Makefile (libpthread-routines): Remove ptw-llseek and add
11677         ptw-lseek64.
11678         * sysdeps/unix/sysv/linux/Makefile (sysdeps_routines): Remove llseek.
11679         * sysdeps/unix/sysv/linux/alpha/Makefile  (sysdeps_routines):
11680         Likewise.
11681         * sysdeps/unix/sysv/linux/generic/wordsize-32/llseek.c: Remove file.
11682         * sysdeps/unix/sysv/linux/generic/wordsize-32/lseek.c: Remove file.
11683         * sysdeps/unix/sysv/linux/mips/mips64/llseek.c: Likewise.
11684         * sysdeps/unix/sysv/linux/llseek.c: Remove file.
11685         * sysdeps/unix/sysv/linux/lseek.c: New file.
11686         * sysdeps/unix/sysv/linux/lseek64.c: Add default Linux implementation.
11687         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list: Remove lseek and
11688         __libc_lseek64 from auto-generation.
11689         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
11690         * sysdeps/unix/sysv/linux/x86_64/x32/lseek64.S: New file.
11692 2016-11-07  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11694         * nptl/tst-basic1.c (tf, do_test): Use write_message.
11695         * nptl/tst-cleanup1.c (do_test): Likewise.
11696         * nptl/tst-cleanup3.c (do_test): Likewise.
11697         * nptl/tst-key1.c (do_test): Likewise.
11698         * nptl/tst-key2.c (tf, do_test): Likewise.
11699         * nptl/tst-key3.c (tf, do_test): Likewise.
11700         * nptl/tst-stdio1.c (do_test): Likewise.
11701         * nptl/tst-stdio2.c (do_test): Likewise.
11703         * nptl/tst-kill3.c (handler): Use write_message in place of write.
11704         * nptl/tst-kill6.c (handler): Likewise.
11705         * nptl/tst-tls2.c (CB): Likewise.
11706         * nptl/tst-tls3.c (CB): Likewise.
11708 2016-11-07  Joseph Myers  <joseph@codesourcery.com>
11710         * scripts/check-installed-headers.sh: Ignore sys/sysctl.h for x32.
11712 2016-11-07  Yury Norov  <ynorov@caviumnetworks.com>
11713             Steve Ellcey  <sellcey@caviumnetworks.com>
11715         * sysdeps/unix/sysv/linux/alpha/kernel-features.h: #define
11716           __ASSUME_ST_INO_64_BIT as 0
11717         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Likewise.
11718         * sysdeps/unix/sysv/linux/fxstat64.c: Replace #ifdef with #if
11719           over the code where __ASSUME_ST_INO_64_BIT is used.
11720         * sysdeps/unix/sysv/linux/lxstat64.c: Likewise.
11721         * sysdeps/unix/sysv/linux/xstat64.c: Likewise.
11722         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
11724 2016-11-07  Florian Weimer  <fweimer@redhat.com>
11726         * sysdeps/aarch64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
11727         Document ABI exposure of the __kind offset.
11728         * sysdeps/arm/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
11729         Mention reason for the __kind offset exposure in the ABI.
11730         * sysdeps/hppa/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
11731         Likewise.
11732         * sysdeps/ia64/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
11733         Likewise.
11734         * sysdeps/m68k/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
11735         Likewise.
11736         * sysdeps/microblaze/nptl/bits/pthreadtypes.h
11737         (struct __pthread_mutex_s): Likewise.
11738         * sysdeps/mips/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
11739         Likewise.
11740         * sysdeps/nios2/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
11741         Likewise.
11742         * sysdeps/s390/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
11743         Likewise.
11744         * sysdeps/sh/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
11745         Likewise.
11746         * sysdeps/sparc/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
11747         Likewise.
11748         * sysdeps/tile/nptl/bits/pthreadtypes.h (struct __pthread_mutex_s):
11749         Likewise.
11750         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h
11751         (struct __pthread_mutex_s): Likewise.
11752         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
11753         (struct __pthread_mutex_s): Likewise.
11754         * sysdeps/x86/bits/pthreadtypes.h (struct __pthread_mutex_s):
11755         Likewise.
11757 2016-11-07  Steve Ellcey  <sellcey@caviumnetworks.com>
11759         * test-skeleton.c: Document do_test usage.
11761 2016-11-06  Aurelien Jarno  <aurelien@aurel32.net>
11763         * iconv/gconv.h (__gconv_info): Define __data element using a
11764         zero-length array.
11766 2016-11-04  Steve Ellcey  <sellcey@caviumnetworks.com>
11768         * math/test-tgmath2.c: Split up test function.
11770 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
11772         * Rules (tests-expected): New variable, depending on
11773         $(run-built-tests).
11774         (tests): Pass $(tests-expected) to merge-test-results.sh, not
11775         $(tests).
11777         * Rules [$(run-built-tests) = no] (tests): Do not depend on
11778         $(tests-unsupported).
11780 2016-11-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
11782         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h
11783         (__WORDSIZE_TIME64_COMPAT32): Define for both 32 and  64 bits.
11785 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
11787         [BZ #20768]
11788         * sysdeps/alpha/fpu/feholdexcpt.c (__feholdexcept): Call
11789         __fegetenv instead of fegetenv.
11791         [BZ #14139]
11792         * manual/libm-err-tab.pl (%pplatforms): Initialize to empty.
11793         (find_files): Obtain platform name from libm-test-ulps-name and
11794         store in %pplatforms.
11795         (canonicalize_platform): Remove.
11796         (print_platforms): Use $pplatforms directly.
11797         (by_platforms): Do not allow for platforms missing from
11798         %pplatforms.
11799         * sysdeps/aarch64/libm-test-ulps-name: New file.
11800         * sysdeps/alpha/fpu/libm-test-ulps-name: Likewise.
11801         * sysdeps/arm/libm-test-ulps-name: Likewise.
11802         * sysdeps/generic/libm-test-ulps-name: Likewise.
11803         * sysdeps/hppa/fpu/libm-test-ulps-name: Likewise.
11804         * sysdeps/i386/fpu/libm-test-ulps-name: Likewise.
11805         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps-name: Likewise.
11806         * sysdeps/ia64/fpu/libm-test-ulps-name: Likewise.
11807         * sysdeps/m68k/coldfire/fpu/libm-test-ulps-name: Likewise.
11808         * sysdeps/m68k/m680x0/fpu/libm-test-ulps-name: Likewise.
11809         * sysdeps/microblaze/libm-test-ulps-name: Likewise.
11810         * sysdeps/mips/mips32/libm-test-ulps-name: Likewise.
11811         * sysdeps/mips/mips64/libm-test-ulps-name: Likewise.
11812         * sysdeps/nios2/libm-test-ulps-name: Likewise.
11813         * sysdeps/powerpc/fpu/libm-test-ulps-name: Likewise.
11814         * sysdeps/powerpc/nofpu/libm-test-ulps-name: Likewise.
11815         * sysdeps/s390/fpu/libm-test-ulps-name: Likewise.
11816         * sysdeps/sh/libm-test-ulps-name: Likewise.
11817         * sysdeps/sparc/fpu/libm-test-ulps-name: Likewise.
11818         * sysdeps/tile/libm-test-ulps-name: Likewise.
11819         * sysdeps/x86_64/fpu/libm-test-ulps-name: Likewise.
11821         * sysdeps/unix/sysv/linux/mips/sys/user.h: Include <stddef.h>.
11823         * sysdeps/unix/sysv/linux/mips/Makefile [$(subdir) = elf]
11824         (test-xfail-check-execstack): New variable.
11826         * sysdeps/mips/localplt.data: New file.
11828 2016-11-04  Yury Norov  <ynorov@caviumnetworks.com>
11829             Steve Ellcey  <sellcey@caviumnetworks.com>
11831         * bits/wordsize.h: Add documentation.
11832         * sysdeps/aarch64/bits/wordsize.h : New file
11833         * sysdeps/generic/stdint.h (PTRDIFF_MIN, PTRDIFF_MAX): Update
11834         definitions.
11835         (SIZE_MAX): Change ifdef to if in __WORDSIZE32_SIZE_ULONG check.
11836         * sysdeps/gnu/bits/utmp.h (__WORDSIZE_TIME64_COMPAT32): Check
11837         with #if instead of #ifdef.
11838         * sysdeps/gnu/bits/utmpx.h (__WORDSIZE_TIME64_COMPAT32): Ditto.
11839         * sysdeps/mips/bits/wordsize.h (__WORDSIZE32_SIZE_ULONG,
11840         __WORDSIZE32_PTRDIFF_LONG, __WORDSIZE_TIME64_COMPAT32):
11841         Add or change defines.
11842         * sysdeps/powerpc/powerpc32/bits/wordsize.h: Likewise.
11843         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
11844         * sysdeps/s390/s390-32/bits/wordsize.h: Likewise.
11845         * sysdeps/s390/s390-64/bits/wordsize.h: Likewise.
11846         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
11847         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
11848         * sysdeps/tile/tilegx/bits/wordsize.h: Likewise.
11849         * sysdeps/tile/tilepro/bits/wordsize.h: Likewise.
11850         * sysdeps/unix/sysv/linux/alpha/bits/wordsize.h: Likewise.
11851         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
11852         * sysdeps/unix/sysv/linux/sparc/bits/wordsize.h: Likewise.
11853         * sysdeps/wordsize-32/bits/wordsize.h: Likewise.
11854         * sysdeps/wordsize-64/bits/wordsize.h: Likewise.
11855         * sysdeps/x86/bits/wordsize.h: Likewise.
11857 2016-11-04  Wilco Dijkstra  <wdijkstr@arm.com>
11858             Kevin Petit  <kevin.petit@arm.com>
11860         * sysdeps/aarch64/memchr.S (__memchr): New file.
11862 2016-11-04  Joseph Myers  <joseph@codesourcery.com>
11864         * sysdeps/tile/preconfigure: Accept tilegx* instead of tilegx.
11866 2016-11-03  Joseph Myers  <joseph@codesourcery.com>
11868         [BZ #19398]
11869         * conform/Makefile ($(linknamespace-header-tests)): Also depend on
11870         $(linknamespace-symlists-tests).
11872 2016-11-02  Steve Ellcey  <sellcey@caviumnetworks.com>
11874         * time/tst-strptime2.c: Ignore -Wformat-length warning.
11876 2016-11-02  Florian Weimer  <fweimer@redhat.com>
11877             Carlos O'Donell  <carlos@redhat.com>
11879         [Bug #20729]
11880         * resolv/res_send.c (send_vc): Revert DIAG_IGNORE_Os_NEEDS_COMMENT
11881         change to non -Os related diagnostic.  Use DIAG_IGNORE_Os_NEEDS_COMMENT
11882         for -Os related change.
11884 2016-11-01  Steve Ellcey  <sellcey@caviumnetworks.com>
11886         * stdio-common/tst-printf.c: Ignore -Wformat-length warning.
11888 2016-11-01  Joseph Myers  <joseph@codesourcery.com>
11890         [BZ #19673]
11891         * manual/math.texi (Exponents and Logarithms): Correct description
11892         of clog10.
11894 2016-10-31  Carlos O'Donell  <carlos@redhat.com>
11896         [Bz #20729]
11897         * locale/weight.h: Include libc-internal.h.
11898         * locale/weightwc.h: Likewise.
11899         * nptl/nptl_dbP.h: Likewise.
11901 2016-10-31  Brent W. Baccala  <cosine@freesoft.org>
11903         * sysdeps/mach/hurd/dl-sysdep.c (__mmap): Do not deallocate memobj_wr
11904         when it is MACH_PORT_NULL.
11906 2016-10-31  Andreas Schwab  <schwab@suse.de>
11908         [BZ #20707]
11909         * posix/glob.c (glob): Initialize pglob before checking for
11910         GLOB_BRACE.  Don't call glob recursively if pattern contains no
11911         valid brace expression despite GLOB_BRACE.
11912         * posix/globtest.sh: Test it.
11914 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
11916         [BZ #20729]
11917         * include/libc-internal.h (DIAG_IGNORE_Os_NEEDS_COMMENT):
11918         Define.
11919         * iconvdata/iso-2022-cn-ext.c: Include libc-internal.h and ignore
11920         -Wmaybe-uninitialized for BODY macro only for -Os compiles.
11921         * locale/weight.h (findix): Ignore -Wmaybe-uninitialized error
11922         for seq2.back_us and seq1.back_us only for -Os compiles.
11923         * locale/weightwc.h (findix): Likewise.
11924         * nptl_db/thread_dbP.h: Ignore -Wmaybe-uninitialized error for
11925         DB_GET_FIELD_ADDRESS only for -Os compiles.
11926         * resolv/res_send (reopen): Ignore -Wmaybe-uninitialized error
11927         for slen only for -Os compiles.
11928         * string/strcoll_l.c (get_next_seq): Ignore
11929         -Wmaybe-uninitialized for seq2.save_idx and seq1.save_idx only
11930         for -Os compiles.
11932         * elf/Makefile (CFALGS-tst-linkall-static): Remove.
11933         * include/crypt.h: New file.
11935 2016-10-28  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
11937         * dlfcn/bug-atexit3-lib.cc (write_message): New function, copied
11938         from test-skeleton.c.
11939         (statclass): Replace calls to write with calls to write_message.
11941 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
11943         * math/math.h
11944         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANF):
11945         New macro.
11946         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNAN):
11947         Likewise.
11948         [__GLIBC_USE (IEC_60559_BFP_EXT) && __GNUC_PREREQ (3, 3)] (SNANL):
11949         Likewise.
11950         * manual/arith.texi (Infinity and NaN): Document SNANF, SNAN and
11951         SNANL.
11952         * math/test-double.h (snan_value_MACRO): New macro.
11953         * math/test-float.h (snan_value_MACRO): Likewise.
11954         * math/test-ldouble.h (snan_value_MACRO): Likewise.
11955         * math/libm-test.inc (issignaling_test_data): Add tests of
11956         snan_value_MACRO.
11958 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11960         * nptl/pthread_rwlock_unlock.c: Add a comment explaining its
11961         behavior when eliding a lock not held by the current thread.
11962         * sysdeps/powerpc/nptl/elide.h: Likewise.
11964 2016-10-28  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
11966         [BZ #20728]
11967         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Replace a
11968         branch to _exit() by a function call.
11970 2016-10-28  Florian Weimer  <fweimer@redhat.com>
11972         * malloc/malloc.c: Update chunk layout comments.
11973         (chunk_main_arena): Update comment.
11975 2016-10-28  Florian Weimer  <fweimer@redhat.com>
11977         * crypt/sha256.c, crypt/sha256-block.c,
11978         sysdeps/sparc/sparc64/multiarch/sha256-block.c: Rename
11979         sha256_process_block to __sha256_process_block.
11980         * crypt/sha512.c, crypt/sha512-block.c,
11981         sysdeps/sparc/sparc64/multiarch/sha512-block.c: Rename
11982         sha512_process_block to __sha512_process_block.
11984 2016-10-28  Carlos O'Donell  <carlos@redhat.com>
11986         * elf/Makefile (CFLAGS-tst-linkall-static): Define.
11988         * math/test-nan-overflow.c: Include stdlib.h for malloc.
11990 2016-10-28  H.J. Lu  <hongjiu.lu@intel.com>
11992         [BZ #20019]
11993         * sysdeps/i386/dl-machine.h (elf_machine_rel): Check IFUNC
11994         definition in unrelocated shared library.
11995         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
11997 2016-10-28  Florian Weimer  <fweimer@redhat.com>
11999         [BZ #20729]
12000         Support i386 builds with CFLAGS which imply -fno-omit-frame-pointer.
12001         * sysdeps/unix/sysv/linux/i386/Makefile
12002         (uses-6-syscall-arguments): Define.
12003         [subdir == misc] (CFLAGS-epoll_pwait.o, CFLAGS-epoll_pwait.os)
12004         (CFLAGS-mmap.o, CFLAGS-mmap.os, CFLAGS-mmap64.o, CFLAGS-mmap64.os)
12005         (CFLAGS-pselect.o, CFLAGS-pselect.os, CFLAGS-rtld-mmap.os): Use it.
12006         [subdir = sysvipc] (CFLAGS-semtimedop.o, CFLAGS-semtimedop.os):
12007         Likewise.
12008         [subdir = io] (CFLAGS-posix_fadvise64.o, CFLAGS-posix_fadvise64.os)
12009         (CFLAGS-posix_fallocate.o, CFLAGS-posix_fallocate.os)
12010         (CFLAGS-posix_fallocate64.o, CFLAGS-posix_fallocate64.os)
12011         (CFLAGS-sync_file_range.o, CFLAGS-sync_file_range.os)
12012         (CFLAGS-fallocate.o, CFLAGS-fallocate.os, CFLAGS-fallocate64.o)
12013         (CFLAGS-fallocate64.os): Likewise.
12014         [subdir = nptl] (CFLAGS-pthread_rwlock_timedrdlock.o)
12015         (CFLAGS-pthread_rwlock_timedrdlock.os)
12016         (CFLAGS-pthread_rwlock_timedwrlock.o)
12017         (CFLAGS-pthread_rwlock_timedwrlock.os, CFLAGS-sem_wait.o)
12018         (CFLAGS-sem_wait.os, CFLAGS-sem_timedwait.o)
12019         (CFLAGS-sem_timedwait.os): Likewise.
12021 2016-10-28  Florian Weimer  <fweimer@redhat.com>
12023         * elf/tst-linkall-static.c: New file.
12024         * elf/Makefile (tests-static): Add tst-linkall-static.
12025         (tst-linkall-static): Link against static libraries.
12027 2016-10-27  Florian Weimer  <fweimer@redhat.com>
12029         * malloc/malloc.c (sysmalloc): Initialize previous size field of
12030         mmaped chunks.
12032 2016-10-28  Florian Weimer  <fweimer@redhat.com>
12034         * malloc/malloc.c (struct malloc_chunk): Rename prev_size, size
12035         members to mchunk_prev_size, mchunk_size.
12036         (chunk_main_arena): Reverse sense and rename from
12037         chunk_non_main_arena.
12038         (prev_inuse, chunk_is_mmapped, chunk_main_arena): Use
12039         mchunk_size instead of size.
12040         (set_non_main_arena): Define.
12041         (chunksize): Use chunksize_nomask instead of direct member access.
12042         (chunksize_nomask): Define.
12043         (next_chunk): Use chunksize instead of direct member access.
12044         (prev_size, set_prev_size): Define.
12045         (prev_chunk): Use prev_size instead of direct member access.
12046         (inuse, set_inuse, clear_inuse): Use chunksize and mchunk_size member.
12047         (inuse_bit_at_offset, set_inuse_bit_at_offset)
12048         (clear_inuse_bit_at_offset): Use mchunk_size member instead of size.
12049         (mchunk_prev_size, mchunk_size): Poison tokens.
12050         (unlink): Use chunksize_nomask, prev_size accessors.
12051         (do_check_remalloced_chunk): Use chunk_main_arena accessor.
12052         (do_check_free_chunk): Use prev_size accessor.
12053         (sysmalloc): Use set_prev_size, set_head accessors.
12054         (munmap_chunk, mremap_chunk): Use prev_size accessor.
12055         (__libc_free): Use chunksize_nomask accessor.
12056         (_int_malloc): Use set_non_main_arena, chunksize_nomask,
12057         chunk_main_arena accessors.
12058         (_int_free): Use chunksize_nomask, prev_size accessors.
12059         (malloc_consolidate): Use chunksize, prev_size accessors.
12060         (_int_realloc): Use chunksize_nomask accessor.
12061         (_int_memalign): Use set_prev_size accessor.
12062         (__malloc_info): Use chunksize_nomask accessor.
12063         * malloc/hooks.c (mem2chunk_check): Use prev_size, prev_inuse
12064         accessors.
12065         * malloc/arena.c (arena_for_chunk): Use chunk_main_arena accessor.
12066         (heap_trim): Use chunksize_nomask, prev_size accessors.
12068 2016-10-28  Joseph Myers  <joseph@codesourcery.com>
12070         [BZ #19380]
12071         * stdlib/strtod_l.c (round_and_return): Force "inexact" exception
12072         for inexact results.
12073         * stdlib/gen-tst-strtod-round.c (string_to_fp): Return indication
12074         of inexact result where mpfr_subnormalize is the only inexact
12075         step.
12076         * stdlib/tst-strtod-round-data.h: Regenerated.
12077         * stdlib/tst-strtod-round-skeleton.c [!FE_INEXACT] (FE_INEXACT):
12078         Define to 0.
12079         (GEN_ONE_TEST): Test inexact exceptions raised are as expected.
12081 2016-10-27  David S. Miller  <davem@davemloft.net>
12083         * sysdeps/unix/sysv/linux/sparc/sys/user.h: Include stddef.h
12085 2016-10-27  Siddhesh Poyarekar  <siddhesh@sourceware.org>
12087         * malloc/malloc.c (do_set_mallopt_check): New function.
12088         (do_set_mmap_threshold): Likewise.
12089         (do_set_mmaps_max): Likewise.
12090         (do_set_top_pad): Likewise.
12091         (do_set_perturb_byte): Likewise.
12092         (do_set_trim_threshold): Likewise.
12093         (do_set_arena_max): Likewise.
12094         (do_set_arena_test): Likewise.
12095         (__libc_mallopt): Use them.
12097 2016-10-26  Joseph Myers  <joseph@codesourcery.com>
12099         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12100         (canonicalize): New declaration.
12101         * math/Versions (canonicalize): New libm symbol at version
12102         GLIBC_2.25.
12103         (canonicalizef): Likewise.
12104         (canonicalizel): Likewise.
12105         * math/Makefile (gen-libm-calls): Add s_canonicalizeF.
12106         * math/s_canonicalize_template.c: New file.
12107         * math/libm-test.inc: Update comment on functions tested and
12108         testing of NaN payloads.
12109         (TEST_NAN_PAYLOAD): New macro.
12110         (NO_TEST_INLINE): Update value.
12111         (XFAIL_TEST): Likewise.
12112         (ERRNO_UNCHANGED): Likewise.
12113         (ERRNO_EDOM): Likewise.
12114         (ERRNO_ERANGE): Likewise.
12115         (IGNORE_RESULT): Likewise.
12116         (NON_FINITE): Likewise.
12117         (TEST_SNAN): Likewise.
12118         (NO_TEST_MATHVEC): Likewise.
12119         (TEST_NAN_PAYLOAD_CANONICALIZE): New macro.
12120         (check_float_internal): Check NaN payloads if TEST_NAN_PAYLOAD.
12121         (struct test_Ffp_b1_data): New type.
12122         (RUN_TEST_Ffp_b1): New macro.
12123         (RUN_TEST_LOOP_Ffp_b1): Likewise.
12124         (canonicalize_test_data): New array.
12125         (canonicalize_test): New function.
12126         (main): Call canonicalize_test.
12127         * manual/arith.texi (FP Bit Twiddling): Document canonicalize,
12128         canonicalizef and canonicalizel.
12129         * manual/libm-err-tab.pl: Update comment on interfaces without
12130         ulps tabulated.
12131         * sysdeps/ieee754/ldbl-opt/nldbl-canonicalize.c: New file.
12132         * sysdeps/ieee754/ldbl-opt/s_canonicalizel.c: Likewise.
12133         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
12134         canonicalize.
12135         (CFLAGS-nldbl-canonicalize.c): New variable.
12136         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c: Move
12137         to ...
12138         * sysdeps/ieee754/ldbl-128ibm/test-canonical-ldbl-128ibm.c:
12139         ... here.
12140         (do_test): Also test canonicalizel.
12141         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Change
12142         test-iscanonical-ldbl-128ibm to test-canonical-ldbl-128ibm.
12143         * sysdeps/ieee754/ldbl-128ibm/include/bits/iscanonical.h: New
12144         file.
12145         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c (__iscanonicall):
12146         Use libm_hidden_def.
12147         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Move to ...
12148         * sysdeps/ieee754/ldbl-96/test-canonical-ldbl-96.c: ... here.
12149         (do_test): Also test canonicalizel.
12150         * sysdeps/ieee754/ldbl-96/Makefile (tests): Change
12151         test-iscanonical-ldbl-96 to test-canonical-ldbl-96.
12152         * sysdeps/ieee754/ldbl-96/include/bits/iscanonical.h: New file.
12153         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c (__iscanonicall): Use
12154         libm_hidden_def.
12155         * sysdeps/generic/math-tests.h (SNAN_TESTS_PRESERVE_PAYLOAD): New
12156         macro.
12157         * sysdeps/mips/math-tests.h [__mips_hard_float && !__mips_nan2008]
12158         (SNAN_TESTS_PRESERVE_PAYLOAD): Likewise.
12159         * sysdeps/nacl/libm.abilist: Update.
12160         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12161         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12162         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12163         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12164         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12165         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12166         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12167         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12168         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12169         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12170         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12171         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12172         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12173         Likewise.
12174         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12175         Likewise.
12176         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12177         Likewise.
12178         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12179         Likewise.
12180         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12181         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12182         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12183         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12184         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12185         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12186         Likewise.
12187         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12188         Likewise.
12189         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12190         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12191         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12193         * sysdeps/ieee754/ldbl-opt/nldbl-getpayload.c: New file.
12194         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
12195         getpayload.
12196         (CFLAGS-nldbl-getpayload.c): New variable.
12198 2016-10-26  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
12200         * stdio-common/vfscanf.c (_IO_vfwscanf): Use read_int to parse
12201         integer from the format string.
12203 2016-10-26  Florian Weimer  <fweimer@redhat.com>
12205         [BZ #19473]
12206         * malloc/malloc.h (malloc_get_state, malloc_set_state): Remove
12207         declarations.
12208         * malloc/malloc.c (malloc_get_state, malloc_set_state): Remove
12209         weak aliases.
12210         * malloc/hooks.c (__malloc_get_state): Remove definition.
12211         (malloc_get_state): New stub implementation as
12212         compatibility symbol.
12213         (malloc_set_state): Rename from __malloc_set_state.  Turn into
12214         compat symbol.
12215         * malloc/tst-mallocstate.c: Rewrite to approximate how Emacs uses
12216         malloc_set_state.
12217         * malloc/Makefile (LDFLAGS-tst-mallocstate): Link with -rdynamic.
12219 2016-10-26  Florian Weimer  <fweimer@redhat.com>
12221         * iconvdata/iso646.c (enum variant): Drop illegal_var.
12222         (names): Turn into concatenation of strings.
12223         (gconv_init): Adapt iteration over names.
12225 2016-10-26  Florian Weimer  <fweimer@redhat.com>
12227         * iconvdata/ibm930.h (__ucs4_to_ibm930sb): Remove indirection and
12228         make const.
12229         * iconvdata/ibm933.h (__ucs4_to_ibm933sb): Likewise.
12230         * iconvdata/ibm935.h (__ucs4_to_ibm935sb): Likewise.
12231         * iconvdata/ibm939.h (__ucs4_to_ibm939sb): Likewise.
12232         * iconvdata/ibm930.c [TO_LOOP] (BODY): Store converted single-byte
12233         character in sbconv.
12234         * iconvdata/ibm933.c [TO_LOOP] (BODY): Likewise.
12235         * iconvdata/ibm935.c [TO_LOOP] (BODY): Likewise.
12236         * iconvdata/ibm939.c [TO_LOOP] (BODY): Likewise.
12238 2016-10-26  Siddhesh Poyarekar  <siddhesh@sourceware.org>
12240         * malloc/malloc.c (M_ARENA_TEST, M_ARENA_MAX): Remove.
12242         * manual/memory.texi (M_TOP_PAD): Remove reference to sbrk.
12243         (M_TRIM_THRESHOLD): Likewise.
12245         * manual/memory.texi (M_ARENA_TEST): Add documentation.
12246         (M_ARENA_MAX): Likewise.
12247         * malloc/malloc.c: Remove obsolete comment.
12249         * manual/memory.texi: Add environment variable alternatives to
12250         setting mallopt parameters.
12252 2016-10-26  Carlos O'Donell  <carlos@redhat.com>
12254         * include/atomic.h
12255         [USE_COMPILER_ATOMIC_BUILTINS && !atomic_fetch_xor_release]
12256         (atomic_fetch_xor_release): Use atomic_compare_exchange_weak_release.
12258 2016-10-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
12260         * stdlib/Makefile (tests): Add tst-strfrom and tst-strfrom-locale.
12261         * stdlib/tst-strfrom.h: New file.
12262         * stdlib/tst-strfrom.c: New file.
12263         * stdlib/tst-strfrom-locale.c: New file.
12265         * stdlib/bug-strtod.c: Refactor based on GEN_TEST_STRTOD_FOREACH.
12266         * stdlib/bug-strtod2.c: Likewise.
12267         * stdlib/tst-strtod-round-skeleton.c: Likewise.
12268         * stdlib/tst-strtod6.c: Likewise.
12269         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH): Use strfrom.
12271 2016-10-25  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
12273         * NEWS: Mention the addition of strfromd, strfromf, and strfroml.
12274         * manual/arith.texi: Document strfromd, strfromf, strfroml.
12275         * stdlib/Makefile: Add strfromd, strfromf, and strfroml.
12276         * stdlib/Versions (GLIBC_2.25): Add strfromd, strfromf, and strfroml.
12277         * stdlib/stdlib.h (strfromd): New declaration.
12278         (strfromf): Likewise.
12279         (strfroml): Likewise.
12280         * stdlib/strfrom-skeleton.c: New file.  Generic implementation for
12281         strfrom.
12282         * stdlib/strfromd.c: New file.
12283         * stdlib/strfromf.c: Likewise.
12284         * stdlib/strfroml.c: Likewise.
12285         * stdlib/bits/stdlib-ldbl.h: Add redirection from strfroml to strfromd.
12286         * sysdeps/ieee754/ldbl-opt/Makefile: Add rule for nldbl-strfroml.c.
12287         * sysdeps/ieee754/ldbl-opt/nldbl-strfroml.c: New file;
12288         * sysdeps/arm/nacl/libc.abilist: Update.
12289         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise.
12290         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
12291         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
12292         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
12293         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
12294         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
12295         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
12296         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
12297         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
12298         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
12299         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
12300         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
12301         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
12302         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
12303         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise.
12304         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
12305         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
12306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
12307         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
12308         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
12309         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
12310         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
12311         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
12312         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
12313         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
12314         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
12315         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
12316         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
12318 2016-10-25  Joseph Myers  <joseph@codesourcery.com>
12320         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Use cmplwi
12321         instead of cmpli.
12322         * sysdeps/powerpc/powerpc64/power6/memset.S (memset): Use cmpldi
12323         instead of cmpli.
12325 2016-10-24  Yury Norov  <ynorov@caviumnetworks.com>
12327         * sysdeps/unix/sysv/linux/fxstat.c: Remove useless cast.
12328         * sysdeps/unix/sysv/linux/lxstat.c: Likewise.
12329         * sysdeps/unix/sysv/linux/xstat.c: Likewise.
12330         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
12331         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
12332         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
12334 2016-10-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12336         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Use SYSCALL_LL_PRW.
12337         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
12338         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Use
12339         SYSCALL_LL64_PRW.
12340         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
12341         * sysdeps/unix/sysv/linux/sh/kernel-features.h: Define
12342         __ASSUME_PRW_DUMMY_ARG.
12343         * sysdeps/unix/sysv/linux/sh/pread.c: Remove file.
12344         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
12345         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
12346         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
12347         * sysdeps/unix/sysv/linux/sysdep.h: Define SYSCALL_LL_PRW and
12348         SYSCALL_LL_PRW64 based on __ASSUME_PRW_DUMMY_ARG.
12350 2016-10-24  Steve Ellcey  <sellcey@caviumnetworks.com>
12352         * sysdeps/unix/sysv/linux/tst-setgetname.c: Increase buffer size.
12354 2016-10-22  Florian Weimer  <fweimer@redhat.com>
12356         * math/math.h [__cplusplus] (iszero): Wrap C++ bits in extern
12357         "C++", to override a potential extern "C" directive around the
12358         header file inclusion.
12360 2016-10-21  Joseph Myers  <joseph@codesourcery.com>
12362         * benchtests/Makefile (CFLAGS-bench-sqrt.c): New variable.
12364 2016-10-21  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
12366         * sysdeps/powerpc/fpu/fenv_private.h:
12367         (_FPU_MASK_ALL): Rename to...
12368         (_FPU_ALL_TRAPS): New macro representing ISA VE OE UE ZE and
12369         XE FPSCR bits.
12371         (_FPU_MASK_RN): New macro to mask out ISA RN bits in FPSCR.
12373         (_FPU_MASK_ROUNDING): Rename to...
12374         (_FPU_MASK_NOT_RN_NI): New macro to mask out all but ISA RN and
12375         NI bits.
12377         (_FPU_MASK_EXCEPT_ROUND): Rename to...
12378         (_FPU_MASK_TRAPS_RN): New macro to mask out exception enable
12379         bits and rounding bits.
12381         (__libc_feholdbits_ppc): New inline function to mask, set,
12382         and pontentially clear FSPCR bits, and change MSR[FE] bits.
12383         (libc_feholdexcept_ppc): Redefine using __libc_feholdbits_ppc.
12384         (libc_feholdexcept_setround_ppc): Likewise.
12386         (__libc_femergeenv_ppc): New function to dynamically mask both
12387         old and new FP environments and merge.
12388         (libc_fesetenv_ppc): Redefine in terms of __libc_femergeenv_ppc.
12389         (libc_feresetround_ppc): Likewise.
12390         (libc_feupdateenv_test_ppc): Likewise.
12391         (libc_feupdateenv_ppc): Likewise.
12393         (libc_feholdsetround_ppc_ctx): Fix usage to include masking
12394         of ISA RN bits, and update macro names.
12395         (libc_feholdexcept_setround_ppc_ctx): Remove as it is
12396         effectively the same as the previously mentioned function.
12398         (libc_feupdateenv_ppc_ctx): Replace libc_feupdatedenv_test_ppc
12399         usage with fe_resetround_ppc.
12401         (libc_feholdexcept_setround_ctx): Remove, this doesn't appear
12402         to be used.
12403         (libc_feholdexcept_setround_ctxf): Likewise.
12404         (libc_feholdexcept_setround_ctxl): Likewise.
12406 2016-10-21  Florian Weimer  <fweimer@redhat.com>
12408         [BZ #20715]
12409         * math/math.h [__cplusplus] (iszero): Define as function template.
12410         * math/Makefile [CXX] (tests): Add test-math-iszero.
12411         (CFLAGS-test-math-iszero.cc): Set.
12412         * math/test-math-iszero.cc: New file.
12414 2016-10-20  Joseph Myers  <joseph@codesourcery.com>
12416         [BZ #20660]
12417         * sysdeps/arm/e_sqrt.c: New file.
12418         * sysdeps/arm/e_sqrtf.c: Likewise.
12420 2016-10-19  Joseph Myers  <joseph@codesourcery.com>
12422         [BZ #20718]
12423         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S (__copysignl): Do
12424         not use floating-point comparisons to test sign.
12425         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S (__copysignl):
12426         Likewise.
12428         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12429         (getpayload): New declaration.
12430         * math/Versions (getpayload): New libm symbol at version
12431         GLIBC_2.25.
12432         (getpayloadf): Likewise.
12433         (getpayloadl): Likewise.
12434         * math/Makefile (libm-calls): Add s_getpayloadF.
12435         * math/libm-test.inc: Include <nan-high-order-bit.h>.
12436         (struct test_f_f_data): Add comment.
12437         (RUN_TEST_fp_f): New macro.
12438         (RUN_TEST_LOOP_fp_f): Likewise.
12439         (getpayload_test_data): New array.
12440         (getpayload_test): New function.
12441         (main): Call getpayload_test.
12442         * math/gen-libm-test.pl (parse_args): Handle 'p' in argument
12443         descriptor.
12444         * manual/arith.texi (FP Bit Twiddling): Document getpayload,
12445         getpayloadf and getpayloadl.
12446         * manual/libm-err-tab.pl: Update comment on interfaces without
12447         ulps tabulated.
12448         * sysdeps/ieee754/dbl-64/s_getpayload.c: New file.
12449         * sysdeps/ieee754/dbl-64/wordsize-64/s_getpayload.c: Likewise.
12450         * sysdeps/ieee754/flt-32/s_getpayloadf.c: Likewise.
12451         * sysdeps/ieee754/ldbl-128/s_getpayloadl.c: Likewise.
12452         * sysdeps/ieee754/ldbl-128ibm/s_getpayloadl.c: Likewise.
12453         * sysdeps/ieee754/ldbl-96/s_getpayloadl.c: Likewise.
12454         * sysdeps/nacl/libm.abilist: Update.
12455         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12456         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12457         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12458         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12459         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12460         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12461         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12462         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12463         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12464         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12465         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12466         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12467         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12468         Likewise.
12469         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12470         Likewise.
12471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12472         Likewise.
12473         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12474         Likewise.
12475         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12476         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12477         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12478         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12479         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12480         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12481         Likewise.
12482         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12483         Likewise.
12484         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12485         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12486         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12488 2016-10-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12490         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = math] (tests): Move
12491         tst-fallocate{64}.
12492         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Check for EOPNOTSUPP
12493         on syscall return.
12495 2016-10-17  Carlos O'Donell  <carlos@redhat.com>
12497         [BZ #20689]
12498         * sysdeps/x86/cpu-features.c: Only enable FMA and AVX2 if AVX is
12499         usable.
12501 2016-10-17  Joseph Myers  <joseph@codesourcery.com>
12503         * sysdeps/generic/nan-high-order-bit.h: New file.
12504         * sysdeps/hppa/nan-high-order-bit.h: Likewise.
12505         * sysdeps/mips/nan-high-order-bit.h: Likewise.
12506         * sysdeps/hppa/math_private.h: Remove file.
12507         * sysdeps/mips/math_private.h (HIGH_ORDER_BIT_IS_SET_FOR_SNAN): Do
12508         not define here.
12509         * sysdeps/ieee754/dbl-64/s_issignaling.c: Include
12510         <nan-high-order-bit.h>.
12511         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12512         * sysdeps/ieee754/dbl-64/s_totalorder.c: Include
12513         <nan-high-order-bit.h>.
12514         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12515         * sysdeps/ieee754/dbl-64/s_totalordermag.c: Include
12516         <nan-high-order-bit.h>.
12517         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12518         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Include
12519         <nan-high-order-bit.h>.
12520         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12521         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Include
12522         <nan-high-order-bit.h>.
12523         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12524         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Include
12525         <nan-high-order-bit.h>.
12526         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12527         * sysdeps/ieee754/flt-32/s_issignalingf.c: Include
12528         <nan-high-order-bit.h>.
12529         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12530         * sysdeps/ieee754/flt-32/s_totalorderf.c: Include
12531         <nan-high-order-bit.h>.
12532         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12533         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Include
12534         <nan-high-order-bit.h>.
12535         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12536         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Include
12537         <nan-high-order-bit.h>.
12538         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12539         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Include
12540         <nan-high-order-bit.h>.
12541         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12542         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Include
12543         <nan-high-order-bit.h>.
12544         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12545         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Include
12546         <nan-high-order-bit.h>.
12547         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12548         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Include
12549         <nan-high-order-bit.h>.
12550         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12551         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Include
12552         <nan-high-order-bit.h>.
12553         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12554         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Include
12555         <nan-high-order-bit.h>.
12556         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12557         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Include
12558         <nan-high-order-bit.h>.
12559         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12560         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Include
12561         <nan-high-order-bit.h>.
12562         [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Test with #if not #ifdef.
12564 2016-10-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
12566         * sysdeps/s390/fpu/fix-fp-int-compare-invalid.h: New file.
12568 2016-09-22  John David Anglin  <dave.anglin@bell.net>
12570         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: Don't include
12571         abort-instr.h.
12572         (EFAULT): Remove conditional define.
12573         (ENOSYS): Likewise.
12574         (atomic_compare_and_exchange_val_acq): Use instruction nullification
12575         instead of conditional branch instructions.
12577 2016-10-15  Joseph Myers  <joseph@codesourcery.com>
12579         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12580         (totalordermag): New declaration.
12581         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalordermag):
12582         New macro.
12583         * math/Versions (totalordermag): New libm symbol at version
12584         GLIBC_2.25.
12585         (totalordermagf): Likewise.
12586         (totalordermagl): Likewise.
12587         * math/Makefile (libm-calls): Add s_totalordermagF.
12588         * math/libm-test.inc (totalordermag_test_data): New array.
12589         (totalordermag_test): New function.
12590         (main): Call totalordermag_test.
12591         * math/test-tgmath.c (NCALLS): Increase to 125.
12592         (F(compile_test)): Call totalordermag.
12593         (F(totalordermag)): New function.
12594         * manual/arith.texi (FP Comparison Functions): Document
12595         totalordermag, totalordermagf and totalordermagl.
12596         * manual/libm-err-tab.pl: Update comment on interfaces without
12597         ulps tabulated.
12598         * sysdeps/ieee754/dbl-64/s_totalordermag.c: New file.
12599         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalordermag.c: Likewise.
12600         * sysdeps/ieee754/flt-32/s_totalordermagf.c: Likewise.
12601         * sysdeps/ieee754/ldbl-128/s_totalordermagl.c: Likewise.
12602         * sysdeps/ieee754/ldbl-128ibm/s_totalordermagl.c: Likewise.
12603         * sysdeps/ieee754/ldbl-96/s_totalordermagl.c: Likewise.
12604         * sysdeps/ieee754/ldbl-opt/nldbl-totalordermag.c: Likewise.
12605         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
12606         totalordermag.
12607         (CFLAGS-nldbl-totalordermag.c): New variable.
12608         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c
12609         (do_test): Also test totalordermagl.
12610         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c (do_test):
12611         Likewise.
12612         * sysdeps/nacl/libm.abilist: Update.
12613         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12614         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12615         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12616         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12617         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12618         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12619         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12620         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12621         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12622         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12623         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12624         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12625         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12626         Likewise.
12627         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12628         Likewise.
12629         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12630         Likewise.
12631         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12632         Likewise.
12633         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12634         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12635         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12636         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12637         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12638         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12639         Likewise.
12640         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12641         Likewise.
12642         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12643         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12644         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12646 2016-10-14  Steve Ellcey  <sellcey@caviumnetworks.com>
12648         * sysdeps/ieee754/dbl-64/e_pow.c (checkint) Make conditions explicitly
12649         boolean.
12651 2016-10-13  Joseph Myers  <joseph@codesourcery.com>
12653         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Instead of
12654         raising FE_INVALID with feraisexcept in case where part of
12655         argument is infinite, subtract that part of argument from itself.
12656         * math/s_cexp_template.c (M_DECL_FUNC (__cexp)): Likewise.
12657         * math/s_csin_template.c (M_DECL_FUNC (__csin)): Likewise.
12658         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
12660 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
12662         * math/libm-test.inc (totalorder_test_data): Add more tests.
12664 2016-10-12  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
12666         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c:
12667         Undefine weak_alias and add a comment why mips64 require
12668         versioning.
12670 2016-10-12  H.J. Lu  <hongjiu.lu@intel.com>
12672         [BZ #20647]
12673         * sysdeps/x86/cacheinfo.c (handle_intel): Return -1 if the
12674         maximum CPUID level is less than 2.
12676 2016-10-12  Joseph Myers  <joseph@codesourcery.com>
12678         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
12679         (totalorder): New declaration.
12680         * math/tgmath.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (totalorder):
12681         New macro.
12682         * math/Versions (totalorder): New libm symbol at version
12683         GLIBC_2.25.
12684         (totalorderf): Likewise.
12685         (totalorderl): Likewise.
12686         * math/Makefile (libm-calls): Add s_totalorderF.
12687         * math/gen-libm-test.pl (parse_args): Escape quotes in test name
12688         string.
12689         * math/libm-test.inc (PAYLOAD_DIG): New macro.
12690         (qnan_value_pl): Likewise.
12691         (snan_value_pl): Likewise.
12692         (qnan_value): Define using qnan_value_pl.
12693         (snan_value): Define using snan_value_pl.
12694         (struct test_ff_i_data): Add comment about which tests use this
12695         structure.
12696         (RUN_TEST_ff_b): New macro.
12697         (RUN_TEST_LOOP_ff_b): Likewise.
12698         (totalorder_test_data): New array.
12699         (totalorder_test): New function.
12700         (main): Call totalorder_test.
12701         * math/test-tgmath.c (NCALLS): Increase to 122.
12702         (F(compile_test)): Call totalorder.
12703         (F(totalorder)): New function.
12704         * manual/arith.texi (FP Comparison Functions): Document
12705         totalorder, totalorderf and totalorderl.
12706         * manual/libm-err-tab.pl: Update comment on interfaces without
12707         ulps tabulated.
12708         * sysdeps/ieee754/dbl-64/s_totalorder.c: New file.
12709         * sysdeps/ieee754/dbl-64/wordsize-64/s_totalorder.c: Likewise.
12710         * sysdeps/ieee754/flt-32/s_totalorderf.c: Likewise.
12711         * sysdeps/ieee754/ldbl-128/s_totalorderl.c: Likewise.
12712         * sysdeps/ieee754/ldbl-128ibm/s_totalorderl.c: Likewise.
12713         * sysdeps/ieee754/ldbl-96/s_totalorderl.c: Likewise.
12714         * sysdeps/ieee754/ldbl-opt/nldbl-totalorder.c: Likewise.
12715         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Add
12716         totalorder.
12717         (CFLAGS-nldbl-totalorder.c): New variable.
12718         * sysdeps/ieee754/ldbl-128ibm/test-totalorderl-ldbl-128ibm.c: New
12719         file.
12720         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
12721         Add test-totalorderl-ldbl-128ibm.
12722         * sysdeps/ieee754/ldbl-96/test-totalorderl-ldbl-96.c: New file.
12723         * sysdeps/ieee754/ldbl-96/Makefile [$(subdir) = math] (tests): Add
12724         test-totalorderl-ldbl-96.
12725         * sysdeps/nacl/libm.abilist: Update.
12726         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
12727         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
12728         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
12729         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
12730         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
12731         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
12732         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
12733         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
12734         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
12735         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
12736         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
12737         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
12738         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
12739         Likewise.
12740         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
12741         Likewise.
12742         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
12743         Likewise.
12744         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
12745         Likewise.
12746         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
12747         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
12748         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
12749         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
12750         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
12751         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
12752         Likewise.
12753         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
12754         Likewise.
12755         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
12756         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
12757         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
12759 2016-10-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12761         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-sync_file_range.
12762         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c: Remove file.
12763         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c: Likewise.
12764         * sysdeps/unix/sysv/linux/sync_file_range.c: Use SYSCALL_LL64 and
12765         remove ENOSYS implementation.
12766         * sysdeps/unix/sysv/linux/tst-sync_file_range.c (sync_file_range):
12767         Consolidate all Linux implementations.
12769 2016-10-11  Florian Weimer  <fweimer@redhat.com>
12771         * resolv/Makefile (+cflags): Do not set -Wno-write-strings.
12772         * resolv/herror.c (herror): Cast away const-ness.
12773         * resolv/res_debug.c (__p_class_syms, __p_default_section_syms)
12774         (__p_update_section_syms, __p_type_syms, __p_rcode_syms): Likewise.
12776 2016-10-11  Joseph Myers  <joseph@codesourcery.com>
12778         * math/s_ccosh_template.c (M_DECL_FUNC (__ccosh)): Use M_NAN
12779         instead of M_NAN + M_NAN.
12780         * math/s_csinh_template.c (M_DECL_FUNC (__csinh)): Likewise.
12782 2016-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
12784         * misc/getauxval.c [!HAVE_AUX_VECTOR] (__getauxval): Do not define
12785         unused variable 'p'.
12787 2016-10-09  Alan Modra  <amodra@gmail.com>
12788             Andreas Schwab  <schwab@linux-m68k.org>
12790         [BZ #20554]
12791         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount)
12792         [PIC && !SHARED]: Set up PIC register for PLT call.
12794 2016-10-07  Joseph Myers  <joseph@codesourcery.com>
12796         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): Define
12797         conditional on value of [__FLT_EVAL_METHOD__].
12798         * math/test-iseqsig-excess-precision.c: New file.
12799         * math/Makefile (tests): Add test-iseqsig-excess-precision.
12801 2016-10-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
12803         * math/s_iseqsig_template.c: Include math-private.h.
12805         * posix/Makefile (tests): Add tst-posix_fadvise and tst-posix_fadvise64.
12806         * posix/tst-posix_fadvise.c: New file.
12807         * posix/tst-posix_fadvise64.c: Likewise.
12808         * posix/tst-posix_fadvise-common.c: Likewise.
12809         * sysdeps/unix/sysv/linux/arm/kernel-features.h
12810         (__ASSUME_FADVISE64_64_6ARG): Define.
12811         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
12812         [!__powerpc64__] (__ASSUME_FADVISE64_64_6ARG): Define.
12813         * sysdeps/unix/sysv/linux/tile/kernel-features.h
12814         [!LP64] (__ASSUME_FADVISE64_64_NO_ALIGN): Define.
12815         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c: Remove file.
12816         * sysdeps/unix/sysv/linux/generic/wordsize-32/posix_fadvise.c: Likewise.
12817         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Likewise.
12818         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise.c: Likewise.
12819         * sysdeps/unix/sysv/linux/mips/mips32/posix_fadvise64.c: Likewise.
12820         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise.c: Likewise.
12821         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fadvise64.c: Likewise.
12822         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c: Likewise.
12823         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise.c: Likewise.
12824         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c:
12825         Likewise.
12826         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c: Likewise.
12827         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise64.c: Likewise.
12828         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise64.c
12829         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
12830         Alias to __posix_fadvise64_l32.
12831         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l32]:
12832         Add compat definition to posix_fadvise64.
12833         (SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3) [__posix_fadvise64_l64]:
12834         Add versioned definition to posix_fadvise64.
12835         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Build iff
12836         __OFF_T_MATCHES_OFF64_T is defined, use INTERNAL_SYSCALL_CALL, add
12837         __ASSUME_FADVISE64_64_6ARG/__ASSUME_FADVISE64_64_NO_ALIGN support.
12838         * sysdeps/unix/sysv/linux/posix_fadvise64.c (posix_fadvise64): Add
12839         __ASSUME_FADVISE64_64_NO_ALIGN support and use INTERNAL_SYSCALL_CALL.
12841         * io/Makefile (tests): Add tst-posix_fallocate and
12842         tst-posix_fallocate64.
12843         * io/tst-posix_fallocate-common.c: New file.
12844         * io/tst-posix_fallocate.c: Likewise.
12845         * io/tst-posix_fallocate64.c: Likewise.
12846         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c: Remove
12847         file.
12848         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c:
12849         Likewise.
12850         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate.c: Likewise.
12851         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fallocate64.c:
12852         Likewise.
12853         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Likewise.
12854         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate64.c: Likewise.
12855         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate): Use
12856         SYSCALL_LL to pass both offset and len arguments.
12857         * sysdeps/unix/sysv/linux/posix_fallocate64.c (posix_fallocate64):
12858         Likewise.
12859         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (pwrite64): Add
12860         __libc_pwrite64 alias used by posix_fallocate64.
12862         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
12863         tst-fallocate64.
12864         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
12865         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
12866         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
12867         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
12868         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
12869         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
12870         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
12871         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
12872         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
12873         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
12874         macro on offset argument.
12875         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
12876         SYSCALL_LL64 on offset argument.
12878         * sysdeps/unix/sysv/linux/Makefile (test): Add tst-fallocate and
12879         tst-fallocate64.
12880         * sysdeps/unix/sysv/linux/tst-fallocate.c: New file.
12881         * sysdeps/unix/sysv/linux/tst-fallocate64.c: Likewise.
12882         * sysdeps/unix/sysv/linux/tst-fallocate-common.c: Likewise.
12883         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c: Remove file.
12884         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c: Likewise.
12885         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate.c: Likewise.
12886         * sysdeps/unix/sysv/linux/mips/mips64/n64/fallocate64.c: Likewise.
12887         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
12888         * sysdeps/unix/sysv/linux/wordsize-64/fallocate64.c: Likewise.
12889         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Use SYSCALL_LL
12890         macro on offset argument.
12891         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Use
12892         SYSCALL_LL64 on offset argument.
12893         * test-skeleton.c (FAIL_RET): Add macro.
12894         (FAIL_EXIT): Likewise.
12895         (FAIL_EXIT1): Likewise.
12896         (_FAIL): Likewise.
12898 2016-10-07  Florian Weimer  <fweimer@redhat.com>
12900         [BZ #20629]
12901         resolv: Remove RES_USEBSTRING and its implementation.
12902         * resolv/resolv.h (RES_USEBSTRING): Remove.
12903         * resolv/ns_name.c (NS_TYPE_ELT, DNS_LABELTYPE_BITSTRING)
12904         (digitvalue, encode_bitstring, decode_bitstring): Remove.
12905         (ns_name_ntop, ns_name_pton, ns_name_unpack, ns_name_skip)
12906         (labellen): Remove extended label types support.
12907         * resolv/res_debug.c (p_option): Remove RES_USEBSTRING handling.
12908         * resolv/res_init.c (res_setoptions): Likewise.
12909         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
12911 2016-10-07  Florian Weimer  <fweimer@redhat.com>
12913         resolv: Remove RES_NOIP6DOTINT and its implementation.
12914         * resolv/resolv.h (RES_DEFAULT): Remove RES_NOIP6DOTINT.
12915         (RES_NOIP6DOTINT): Remove.
12916         * resolv/gethnamaddr.c (gethostbyaddr): Remove RES_NOIP6DOTINT
12917         handling.
12918         * resolv/res_debug.c (p_option): Likewise.
12919         * resolv/res_init.c (res_setoptions): Likewise.
12920         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Likewise.
12922 2016-10-07  Florian Weimer  <fweimer@redhat.com>
12924         resolv: Deprecate unimplemented flags.
12925         * misc/sys/cdefs.h (__glibc_macro_warning1)
12926         (__glibc_macro_warning): Define.
12927         * resolv/resolv.h (RES_AAONLY, RES_PRIMARY, RES_NOCHECKNAME)
12928         (RES_KEEPTSIG): Mark as deprecated.
12929         * resolv/res_debug.c (p_option): Remove RES_AAONLY, RES_PRIMARY,
12930         RES_NOCHECKNAME, RES_KEEPTSIG.
12931         * resolv/res_init.c (res_setoptions): Remove RES_NOCHECKNAME handling.
12933 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
12935         * nptl/pt-longjmp.c (DEFINE_LONGJMP): Use libc_ifunc macro.
12936         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c (longjmp, siglongjmp):
12937         Use strong_alias to create symbols for glibc verison 2.19.
12939 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
12941         * nptl/pt-vfork.c (DEFINE_VFORK): Use libc_ifunc macro.
12943 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
12945         * nptl/pt-system.c (system_ifunc): Use libc_ifunc macro.
12947 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
12949         * rt/clock-compat.c (COMPAT_REDIRECT): Use libc_ifunc macro.
12951 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
12953         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
12954         Use libc_ifunc_hidden and libc_hidden_def macro. Redirect ifunced function
12955         in header for using it as type for ifunc function because __GI_* symbols
12956         for ppc32 do not target the ifunc symbols.
12957         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
12959 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
12961         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday):
12962         Use libc_ifunc_hidden macro. Use libc_hidden_def instead of
12963         libc_ifunc_hidden_def.
12964         * sysdeps/unix/sysv/linux/x86/time.c (time): Likewise.
12965         * sysdeps/unix/sysv/linux/i386/gettimeofday.c (__gettimeofday):
12966         Redirect ifunced function in header for using it as type of ifunc'ed
12967         function. Redefine libc_hidden_def to use fallback non ifunc'ed
12968         function for __GI_* symbol.
12969         * sysdeps/unix/sysv/linux/i386/time.c (time): Likewise.
12970         * include/libc-symbols.h
12971         (libc_ifunc_hidden_def, libc_ifunc_hidden_def1): Delete macro.
12973 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
12975         [BZ #20478]
12976         * sysdeps/s390/multiarch/ifunc-resolve.h
12977         (s390_vx_libc_ifunc2, s390_libc_ifunc): Use __ifunc from libc-symbols.h
12978         to create ifunc symbols.
12979         (s390_vx_libc_ifunc_init, s390_vx_libc_ifunc_redirected
12980         , s390_vx_libc_ifunc2_redirected, s390_libc_ifunc_init): New define.
12981         * sysdeps/s390/multiarch/memchr.c: Redirect ifunced function in header
12982         for using it as type for ifunc function.
12983         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
12984         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
12985         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
12986         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
12987         * sysdeps/s390/multiarch/strcat.c: Likewise.
12988         * sysdeps/s390/multiarch/strchr.c: Likewise.
12989         * sysdeps/s390/multiarch/strcmp.c: Likewise.
12990         * sysdeps/s390/multiarch/strcpy.c: Likewise.
12991         * sysdeps/s390/multiarch/strcspn.c: Likewise.
12992         * sysdeps/s390/multiarch/strlen.c: Likewise.
12993         * sysdeps/s390/multiarch/strncmp.c: Likewise.
12994         * sysdeps/s390/multiarch/strncpy.c: Likewise.
12995         * sysdeps/s390/multiarch/strnlen.c: Likewise.
12996         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
12997         * sysdeps/s390/multiarch/strrchr.c: Likewise.
12998         * sysdeps/s390/multiarch/strspn.c: Likewise.
12999         * sysdeps/s390/multiarch/wcschr.c: Likewise.
13000         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
13001         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
13002         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
13003         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
13004         * sysdeps/s390/multiarch/wmemset.c: Likewise.
13005         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
13006         * sysdeps/s390/s390-32/multiarch/memcpy.c: Likewise.
13007         * sysdeps/s390/s390-32/multiarch/memset.c: Likewise.
13008         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
13009         * sysdeps/s390/s390-64/multiarch/memcpy.c: Likewise.
13010         * sysdeps/s390/s390-64/multiarch/memset.c: Likewise.
13012 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
13014         * include/libc-symbols.h (__ifunc_resolver):
13015         New macro is used by __ifunc* macros.
13016         (__ifunc): New macro uses gcc attribute ifunc or inline assembly
13017         depending on HAVE_GCC_IFUNC.
13018         (libc_ifunc, libm_ifunc): Use __ifunc as base macro.
13019         (libc_ifunc_redirected, libc_ifunc_hidden, libm_ifunc_init): New macro.
13020         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
13021         Redirect ifunced function in header for using as type for ifunc function.
13022         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: Likewise.
13023         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: Likewise.
13024         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: Likewise.
13025         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: Likewise.
13026         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
13027         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
13028         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
13029         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
13030         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
13031         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
13032         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
13033         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
13034         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
13035         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
13036         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
13037         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: Likewise.
13038         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
13039         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: Likewise.
13040         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
13041         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
13042         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
13043         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
13044         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
13045         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
13046         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
13047         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
13048         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
13049         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
13050         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
13051         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
13052         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
13053         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: Likewise.
13054         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
13055         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c:
13056         Add libc_hidden_def() and use libc_ifunc_hidden() macro
13057         instead of libc_ifunc() macro.
13058         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: Likewise.
13059         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
13061 2016-10-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
13063         * config.h.in (HAVE_GCC_IFUNC): New undef.
13064         * configure.ac: Add check if gcc supports attribute ifunc feature.
13065         * configure: Regenerated.
13066         * manual/install.texi: Add recommendation for gcc with
13067         indirect-function support.
13068         * INSTALL: Regenerated.
13070 2016-10-06  Joseph Myers  <joseph@codesourcery.com>
13072         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iseqsig): New
13073         macro.
13074         * math/bits/mathcalls.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
13075         (__iseqsig): New declaration.
13076         * math/s_iseqsig_template.c: New file.
13077         * math/Versions (__iseqsigf): New libm symbol at version
13078         GLIBC_2.25.
13079         (__iseqsig): Likewise.
13080         (__iseqsigl): Likewise.
13081         * math/libm-test.inc (iseqsig_test_data): New array.
13082         (iseqsig_test): New function.
13083         (main): Call iseqsig_test.
13084         * math/Makefile (gen-libm-calls): Add s_iseqsigF.
13085         * manual/arith.texi (FP Comparison Functions): Document iseqsig.
13086         * manual/libm-err-tab.pl: Update comment on interfaces without
13087         ulps tabulated.
13088         * sysdeps/generic/fix-fp-int-compare-invalid.h: New file.
13089         * sysdeps/powerpc/fpu/fix-fp-int-compare-invalid.h: Likewise.
13090         * sysdeps/x86/fpu/fix-fp-int-compare-invalid.h: Likewise.
13091         * sysdeps/nacl/libm.abilist: Update.
13092         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
13093         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
13094         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
13095         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
13096         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
13097         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13098         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
13099         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13100         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
13101         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
13102         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
13103         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
13104         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13105         Likewise.
13106         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13107         Likewise.
13108         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13109         Likewise.
13110         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13111         Likewise.
13112         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
13113         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
13114         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
13115         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
13116         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
13117         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
13118         Likewise.
13119         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
13120         Likewise.
13121         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
13122         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13123         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13125 2016-10-06  Siddhesh Poyarekar  <siddhesh@sourceware.org>
13127         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute, do_sincos_1,
13128         do_sincos_2, sloww, sloww1): Update comments.
13130         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Adjust calls to
13131         do_sincos_1 and do_sincos_2 to pass a boolean shift_quadrant.
13133         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Make
13134         K boolean and rename it.
13135         (__sin): Adjust.
13136         (__cos): Adjust.
13138 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
13139             Siddhesh Poyarekar  <siddhesh@sourceware.org>
13141         * manual/nss.texi: Fix typos in the manual.
13143 2016-10-06  Rical Jasan  <ricaljasan@pacific.net>
13145         * manual/contrib.texi: Fix typos in the manual.
13147         * manual/maint.texi: Fix typos in the manual.
13149         * manual/install.texi: Fix typos in the manual.
13150         * INSTALL: Regenerated.
13152         * manual/lang.texi: Fix typos in the manual.
13154         * manual/probes.texi: Fix typos in the manual.
13156         * manual/threads.texi: Fix typos in the manual.
13158         * manual/debug.texi: Fix typos in the manual.
13160         * manual/crypt.texi: Fix typos in the manual.
13162         * manual/conf.texi: Fix typos in the manual.
13164         * manual/sysinfo.texi: Fix typos in the manual.
13166         * manual/users.texi: Fix typos in the manual.
13168         * manual/job.texi: Fix typos in the manual.
13170         * manual/process.texi: Fix typos in the manual.
13172         * manual/argp.texi: Fix typos in the manual.
13173         * manual/getopt.texi: Likewise.
13174         * manual/startup.texi: Likewise.
13176         * manual/signal.texi: Fix typos in the manual.
13178         * manual/setjmp.texi: Fix typos in the manual.
13180         * manual/resource.texi: Fix typos in the manual.
13182         * manual/time.texi: Fix typos in the manual.
13184         * manual/arith.texi: Fix typos in the manual.
13186         * manual/math.texi: Fix typos in the manual.
13188         * manual/syslog.texi: Fix typos in the manual.
13190         * manual/terminal.texi: Fix typos in the manual.
13192         * manual/socket.texi: Fix typos in the manual.
13194         * manual/filesys.texi: Fix typos in the manual.
13196         * manual/llio.texi: Fix typos in the manual.
13198         * manual/stdio.text: Fix typos in the manual.
13200 2016-10-05  Siddhesh Poyarekar  <siddhesh@sourceware.org>
13202         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Check N
13203         instead of K1.
13205         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Rename K to
13206         SHIFT_QUADRANT and make it bool.
13207         (do_sincos_2): Likewise.
13208         (sloww): Likewise.
13209         (sloww1): Likewise.
13210         (__sin): Adjust calls to do_sincos_1 and do_sincos_2.
13211         (__cos): Likewise.
13213 2016-10-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13215         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
13217 2016-10-04  Joseph Myers  <joseph@codesourcery.com>
13219         * include/limits.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH):
13220         Define to __WORDSIZE, not conditional on [LONG_MAX ==
13221         0x7fffffffL].
13222         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
13224 2016-10-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13226         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Replace
13227         inline by __inline__.
13228         (__ppc_yield, __ppc_mdoio, __ppc_mdoom, __ppc_set_ppr_med): Likewise.
13229         (__ppc_set_ppr_med_low, __ppc_set_ppr_low): Likewise.
13230         (__ppc_set_ppr_very_low, __ppc_set_ppr_med_high): Likewise.
13231         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Require
13232         sigset_t from signal.h.
13233         * sysdeps/unix/sysv/linux/powerpc/sys/user.h: Include stddef.h,
13234         which is already required.
13236 2016-10-04  Stefan Liebler  <stli@linux.vnet.ibm.com>
13238         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
13240 2016-10-03  Joseph Myers  <joseph@codesourcery.com>
13242         * sysdeps/gnu/netinet/tcp.h (TCP_REPAIR_WINDOW): New macro.
13243         (struct tcp_repair_window): New type.
13245 2016-10-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13247         * libio/tst-memstream3.c: Include string.h.
13249 2016-09-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13251         [BZ #18241]
13252         [BZ #20181]
13253         * libio/Makefile (test): Add tst-memstream3 and tst-wmemstream3.
13254         * libio/memstream.c (_IO_mem_sync): Only append a null byte if
13255         write position is at the end the buffer.
13256         * libio/wmemstream.c (_IO_wmem_sync): Likewise.
13257         * libio/strops.c (_IO_str_switch_to_get_mode): New function.
13258         (_IO_str_seekoff): Set correct offset from negative displacement and
13259         set EINVAL for invalid ones.
13260         * libio/wstrops.c (enlarge_userbuf): Use correct function to calculate
13261         buffer length.
13262         (_IO_wstr_switch_to_get_mode): New function.
13263         (_IO_wstr_seekoff): Set correct offset from negative displacement and
13264         set EINVAL for invalid ones.
13265         * libio/tst-memstream3.c: New file.
13266         * libio/tst-wmemstream3.c: Likewise.
13267         * manual/examples/memstrm.c: Remove warning when priting size_t.
13269 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
13271         * sysdeps/ieee754/dbl-64/dla.h [__FP_FAST_FMA] (DLA_FMS): Define
13272         macro to use __builtin_fma.
13273         * sysdeps/x86_64/fpu/dla.h: Remove file.
13275         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h
13276         [__NO_LONG_DOUBLE_MATH] (__iscanonicall): Do not declare.
13277         [__NO_LONG_DOUBLE_MATH] (iscanonical): Define to evaluate to 1.
13279 2016-09-30  Carlos O'Donell  <carlos@redhat.com>
13281         [BZ #20292]
13282         * elf/Makefile (routines): Add dl-addr-obj.
13283         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests): Add
13284         tst-_dl_addr_inside_object.
13285         [ifeq (yesyes,$(have-fpie)$(build-shared))] (tests-pie): Likewise.
13286         [ifeq (yesyes,$(have-fpie)$(build-shared))]
13287         ($(objpfx)tst-_dl_addr_inside_object): Add $(objpfx)dl-addr-obj.os.
13288         [ifeq (yesyes,$(have-fpie)$(build-shared))]
13289         (CFLAGS-tst-_dl_addr_inside_object.c): Add $(PIE-ccflag).
13290         * elf/dl-addr.c: Remove _dl_addr_inside_object function.
13291         * elf/dl-open.c: Likewise.
13292         * elf/dl-addr-obj.c: New file.
13293         * elf/tst-_dl_addr_inside_object.c: New file.
13295 2016-09-30  Joseph Myers  <joseph@codesourcery.com>
13297         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)]: Include
13298         <bits/iscanonical.h>.
13299         * bits/iscanonical.h: New file.
13300         * math/s_iscanonicall.c: Likewise.
13301         * math/Versions (__iscanonicall): New libm symbol at version
13302         GLIBC_2.25.
13303         * math/libm-test.inc (iscanonical_test_data): New array.
13304         (iscanonical_test): New function.
13305         (main): Call iscanonical_test.
13306         * math/Makefile (headers): Add bits/iscanonical.h.
13307         (type-ldouble-routines): Add s_iscanonicall.
13308         * manual/arith.texi (Floating Point Classes): Document
13309         iscanonical.
13310         * manual/libm-err-tab.pl: Update comment on interfaces without
13311         ulps tabulated.
13312         * sysdeps/ieee754/ldbl-128ibm/bits/iscanonical.h: New file.
13313         * sysdeps/ieee754/ldbl-128ibm/s_iscanonicall.c: Likewise.
13314         * sysdeps/ieee754/ldbl-128ibm/test-iscanonical-ldbl-128ibm.c:
13315         Likewise.
13316         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
13317         test-iscanonical-ldbl-128ibm.
13318         * sysdeps/ieee754/ldbl-96/bits/iscanonical.h: New file.
13319         * sysdeps/ieee754/ldbl-96/s_iscanonicall.c: Likewise.
13320         * sysdeps/ieee754/ldbl-96/test-iscanonical-ldbl-96.c: Likewise.
13321         * sysdeps/ieee754/ldbl-96/Makefile: Likewise.
13322         * sysdeps/unix/sysv/linux/i386/libm.abilist: Update.
13323         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
13324         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
13325         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
13326         Likewise.
13327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
13328         Likewise.
13329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
13330         Likewise.
13331         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
13332         Likewise.
13333         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
13334         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
13336 2016-09-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13338         * string/bits/string3.h: Remove C++ style comments.
13340 2016-09-29  Siddhesh Poyarekar  <siddhesh@sourceware.org>
13342         * sysdeps/ieee754/dbl-64/s_sin.c (do_sincos_1): Use copysign
13343         instead of ternary condition.
13344         (do_sincos_2): Likewise.
13345         (__sin): Likewise.
13346         (__cos): Likewise.
13347         (slow): Likewise.
13348         (sloww): Likewise.
13349         (sloww1): Likewise.
13350         (bsloww): Likewise.
13351         (bsloww1): Likewise.
13353         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): use copysign
13354         instead of ternary condition.
13355         (do_sin_slow): Likewise.
13356         (do_sincos_1): Likewise.
13357         (do_sincos_2): Likewise.
13358         (__cos): Likewise.
13359         (sloww): Likewise.
13360         (sloww1): Likewise.
13361         (sloww2): Likewise.
13362         (bsloww): Likewise.
13363         (bsloww1): Likewise.
13364         (bsloww2): Likewise.
13366         * sysdeps/ieee754/dbl-64/s_sin.c (slow1): Consolidate sign
13367         check from here...
13368         (slow2): ... and here...
13369         (__sin): ... to here.
13371 2016-09-28  Joseph Myers  <joseph@codesourcery.com>
13373         * math/math.h
13374         [__GLIBC_USE (IEC_60559_BFP_EXT) && !__SUPPORT_SNAN__] (iszero):
13375         Cast argument to its own type.
13376         * math/test-iszero-excess-precision.c: New file.
13377         * math/Makefile (tests): Add test-iszero-excess-precision.
13378         (CFLAGS-test-iszero-excess-precision.c): New variable.
13380 2016-09-28  Rasmus Villemoes <rv@rasmusvillemoes.dk>
13382         * sysdeps/unix/sysv/linux/spawni.c (posix_spawn_args): Remove pipe
13383         field, add err field.
13384         (__spawni_child): Report error through err member instead of pipe.
13385         (__spawnix): Likewise.
13387 2016-09-28  Zack Weinberg  <zackw@panix.com>
13389         * scripts/check-installed-headers.sh: Generalize treatment of
13390         sys/elf.h to all target architectures.
13392         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Restore accidentally-
13393         deleted typedef ucontext_t.
13395 2016-09-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13397         * sysdeps/unix/sysdep.h (__INTERNAL_SYSCALL0): New macro.
13398         (__INTERNAL_SYSCALL1): Likewise.
13399         (__INTERNAL_SYSCALL2): Likewise.
13400         (__INTERNAL_SYSCALL3): Likewise.
13401         (__INTERNAL_SYSCALL4): Likewise.
13402         (__INTERNAL_SYSCALL5): Likewise.
13403         (__INTERNAL_SYSCALL6): Likewise.
13404         (__INTERNAL_SYSCALL7): Likewise.
13405         (__INTERNAL_SYSCALL_NARGS_X): Likewise.
13406         (__INTERNAL_SYSCALL_NARGS): Likewise.
13407         (__INTERNAL_SYSCALL_DISP): Likewise.
13408         (INTERNAL_SYSCALL_CALL): Likewise.
13409         (__SYSCALL0): Rename to __INLINE_SYSCALL0.
13410         (__SYSCALL1): Rename to __INLINE_SYSCALL1.
13411         (__SYSCALL2): Rename to __INLINE_SYSCALL2.
13412         (__SYSCALL3): Rename to __INLINE_SYSCALL3.
13413         (__SYSCALL4): Rename to __INLINE_SYSCALL4.
13414         (__SYSCALL5): Rename to __INLINE_SYSCALL5.
13415         (__SYSCALL6): Rename to __INLINE_SYSCALL6.
13416         (__SYSCALL7): Rename to __INLINE_SYSCALL7.
13417         (__SYSCALL_NARGS_X): Rename to __INLINE_SYSCALL_NARGS_X.
13418         (__SYSCALL_NARGS): Rename to __INLINE_SYSCALL_NARGS.
13419         (__SYSCALL_DISP): Rename to __INLINE_SYSCALL_DISP.
13420         (__SYSCALL_CALL): Rename to INLINE_SYSCALL_CALL.
13421         (SYSCALL_CANCEL): Replace __SYSCALL_CALL with INLINE_SYSCALL_CALL.
13423 2016-09-23  Joseph Myers  <joseph@codesourcery.com>
13425         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (iszero): New
13426         macro.
13427         * math/libm-test.inc (iszero_test_data): New array.
13428         (iszero_test): New function.
13429         (main): Call iszero_test.
13430         * manual/arith.texi (Floating Point Classes): Document iszero.
13431         * manual/libm-err-tab.pl: Update comment on interfaces without
13432         ulps tabulated.
13434 2016-09-23  Zack Weinberg  <zackw@panix.com>
13436         * scripts/check-installed-headers.sh: New script.
13437         * Rules: In each directory that defines header files to be installed,
13438         run check-installed-headers.sh on them as a special test.
13439         * Makefile: Likewise for the headers installed at top level.
13441         * include/aliases.h, include/alloca.h, include/argz.h
13442         * include/arpa/nameser.h, include/arpa/nameser_compat.h
13443         * include/elf.h, include/envz.h, include/err.h
13444         * include/execinfo.h, include/fpu_control.h, include/getopt.h
13445         * include/gshadow.h, include/ifaddrs.h, include/libintl.h
13446         * include/link.h, include/malloc.h, include/mcheck.h
13447         * include/mntent.h, include/netinet/ether.h
13448         * include/nss.h, include/obstack.h, include/printf.h
13449         * include/pty.h, include/resolv.h, include/rpc/auth.h
13450         * include/rpc/auth_des.h, include/rpc/auth_unix.h
13451         * include/rpc/clnt.h, include/rpc/des_crypt.h
13452         * include/rpc/key_prot.h, include/rpc/netdb.h
13453         * include/rpc/pmap_clnt.h, include/rpc/pmap_prot.h
13454         * include/rpc/pmap_rmt.h, include/rpc/rpc.h
13455         * include/rpc/rpc_msg.h, include/rpc/svc.h
13456         * include/rpc/svc_auth.h, include/rpc/xdr.h
13457         * include/rpcsvc/nis_callback.h, include/rpcsvc/nislib.h
13458         * include/rpcsvc/yp.h, include/rpcsvc/ypclnt.h
13459         * include/rpcsvc/ypupd.h, include/shadow.h
13460         * include/stdio_ext.h, include/sys/epoll.h
13461         * include/sys/file.h, include/sys/gmon.h, include/sys/ioctl.h
13462         * include/sys/prctl.h, include/sys/profil.h
13463         * include/sys/statfs.h, include/sys/sysctl.h
13464         * include/sys/sysinfo.h, include/ttyent.h, include/utmp.h
13465         * sysdeps/arm/nacl/include/bits/setjmp.h
13466         * sysdeps/mips/include/sys/asm.h
13467         * sysdeps/unix/sysv/linux/include/sys/sysinfo.h
13468         * sysdeps/unix/sysv/linux/include/sys/timex.h
13469         * sysdeps/x86/fpu/include/bits/fenv.h:
13470         Add #ifndef _ISOMAC guard around internal declarations.
13471         Add multiple-inclusion guard if not already present.
13473 2016-09-23  Zack Weinberg  <zackw@panix.com>
13475         * sysdeps/generic/sys/ucontext.h
13476         * sysdeps/arm/sys/ucontext.h
13477         * sysdeps/i386/sys/ucontext.h
13478         * sysdeps/m68k/sys/ucontext.h
13479         * sysdeps/mips/sys/ucontext.h
13480         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h
13481         * sysdeps/unix/sysv/linux/alpha/sys/ucontext.h
13482         * sysdeps/unix/sysv/linux/arm/sys/ucontext.h
13483         * sysdeps/unix/sysv/linux/hppa/sys/ucontext.h
13484         * sysdeps/unix/sysv/linux/ia64/sys/ucontext.h
13485         * sysdeps/unix/sysv/linux/m68k/sys/ucontext.h
13486         * sysdeps/unix/sysv/linux/mips/sys/ucontext.h
13487         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h
13488         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h
13489         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h
13490         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h
13491         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h
13492         * sysdeps/unix/sysv/linux/tile/sys/ucontext.h
13493         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h:
13494         Include both bits/sigcontext.h and bits/sigstack.h.
13495         Fix grammar error in comment, if present.
13497         * bits/sigstack.h
13498         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h
13499         * sysdeps/unix/sysv/linux/alpha/bits/sigstack.h
13500         * sysdeps/unix/sysv/linux/bits/sigstack.h
13501         * sysdeps/unix/sysv/linux/ia64/bits/sigstack.h
13502         * sysdeps/unix/sysv/linux/mips/bits/sigstack.h
13503         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h
13504         * sysdeps/unix/sysv/linux/sparc/bits/sigstack.h
13505         * bits/sigcontext.h
13506         * sysdeps/mach/hurd/i386/bits/sigcontext.h
13507         * sysdeps/unix/sysv/linux/bits/sigcontext.h
13508         * sysdeps/unix/sysv/linux/ia64/bits/sigcontext.h
13509         * sysdeps/unix/sysv/linux/sparc/bits/sigcontext.h:
13510         Add multiple inclusion guard.  Permit inclusion by sys/ucontext.h
13511         as well as signal.h, if this was not already allowed.  Request
13512         definition of size_t if necessary.  Minimize semantically-null
13513         differences across files.
13515 2016-09-23  Zack Weinberg  <zackw@panix.com>
13517         * time/time.h, bits/time.h, sysdeps/unix/sysv/linux/bits/time.h:
13518         Remove all logic conditional on __need macros.  Move all the
13519         conditionally defined types to their own headers...
13520         * time/bits/types/clock_t.h: Define clock_t here.
13521         * time/bits/types/clockid_t.h: Define clockid_t here.
13522         * time/bits/types/struct_itimerspec.h: Define struct itimerspec here.
13523         * time/bits/types/struct_timespec.h: Define struct timespec here.
13524         * time/bits/types/struct_timeval.h: Define struct timeval here.
13525         * time/bits/types/struct_tm.h: Define struct tm here.
13526         * time/bits/types/time_t.h: Define time_t here.
13527         * time/bits/types/timer_t.h: Define timer_t here.
13528         * time/Makefile: Install the new headers.
13530         * bits/resource.h, io/fcntl.h, io/sys/poll.h, io/sys/stat.h
13531         * io/utime.h, misc/sys/select.h, posix/sched.h, posix/sys/times.h
13532         * posix/sys/types.h, resolv/netdb.h, rt/aio.h, rt/mqueue.h
13533         * signal/signal.h, pthread/semaphore.h, sysdeps/nptl/pthread.h
13534         * sysdeps/unix/sysv/linux/alpha/bits/resource.h
13535         * sysdeps/unix/sysv/linux/alpha/sys/acct.h
13536         * sysdeps/unix/sysv/linux/bits/resource.h
13537         * sysdeps/unix/sysv/linux/bits/timex.h
13538         * sysdeps/unix/sysv/linux/mips/bits/resource.h
13539         * sysdeps/unix/sysv/linux/net/ppp_defs.h
13540         * sysdeps/unix/sysv/linux/sparc/bits/resource.h
13541         * sysdeps/unix/sysv/linux/sys/acct.h
13542         * sysdeps/unix/sysv/linux/sys/timerfd.h
13543         * sysvipc/sys/msg.h, sysvipc/sys/sem.h, sysvipc/sys/shm.h
13544         * time/sys/time.h, time/sys/timeb.h
13545         Use the new bits/types headers.
13547         * include/time.h: Remove __need logic.
13548         * include/bits/time.h
13549         * include/bits/types/clock_t.h, include/bits/types/clockid_t.h
13550         * include/bits/types/time_t.h, include/bits/types/timer_t.h
13551         * include/bits/types/struct_itimerspec.h
13552         * include/bits/types/struct_timespec.h
13553         * include/bits/types/struct_timeval.h
13554         * include/bits/types/struct_tm.h:
13555         New wrapper headers.
13557 2016-09-23  Zack Weinberg  <zackw@panix.com>
13559         * sysdeps/mach/hurd/net/if_ppp.h
13560         * sysdeps/unix/sysv/linux/net/if_ppp.h:
13561         Only define struct ifpppstatsreq and struct ifpppcstatsreq
13562         if __USE_MISC is defined, to ensure struct ifreq is declared.
13564         * inet/netinet/ether.h: Condition all function prototypes
13565         on __USE_MISC, to ensure struct ether_addr is declared.
13567         * socket/bits/types/struct_osockaddr.h: New header.
13568         * include/bits/types/struct_osockaddr.h: New wrapper.
13569         * socket/Makefile: Install the new header.
13570         * socket/sys/socket.h, inet/protocols/talkd.h:
13571         Refer to bits/types/struct_osockaddr.h for the definition of
13572         struct osockaddr.
13574 2016-09-23  Zack Weinberg  <zackw@panix.com>
13576         * bits/in.h, gmon/sys/gmon.h, inet/netinet/igmp.h
13577         * inet/protocols/routed.h, inet/protocols/talkd.h
13578         * inet/protocols/timed.h, io/fts.h, nptl_db/thread_db.h
13579         * resolv/arpa/nameser.h, resolv/resolv.h, sunrpc/rpc/rpc_des.h
13580         * sysdeps/generic/netinet/if_ether.h
13581         * sysdeps/generic/netinet/in_systm.h
13582         * sysdeps/generic/netinet/ip.h, sysdeps/generic/netinet/tcp.h
13583         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
13584         * sysdeps/gnu/netinet/udp.h, sysdeps/mach/hurd/net/ethernet.h
13585         * sysdeps/mach/hurd/net/if_arp.h
13586         * sysdeps/mach/hurd/net/if_ppp.h
13587         * sysdeps/mach/hurd/net/route.h, sysdeps/mach/sys/reboot.h
13588         * sysdeps/unix/sysv/linux/bits/in.h
13589         * sysdeps/unix/sysv/linux/net/ethernet.h
13590         * sysdeps/unix/sysv/linux/net/if_arp.h
13591         * sysdeps/unix/sysv/linux/net/if_ppp.h
13592         * sysdeps/unix/sysv/linux/net/if_shaper.h
13593         * sysdeps/unix/sysv/linux/net/route.h
13594         * sysdeps/unix/sysv/linux/netinet/if_ether.h
13595         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
13596         * sysdeps/unix/sysv/linux/netinet/if_tr.h
13597         * sysdeps/unix/sysv/linux/netipx/ipx.h
13598         * sysdeps/unix/sysv/linux/sys/acct.h
13599         * include/arpa/nameser.h, include/resolv.h:
13600         Change all uses of u_char to unsigned char,
13601         u_short and ushort to unsigned short, u_int and uint to unsigned int,
13602         u_long and ulong to unsigned long, u_int8_t to uint8_t,
13603         u_int16_t to uint16_t, u_int32_t to uint32_t, quad_t to int64_t,
13604         and u_int64_t and u_quad_t to uint64_t.
13606         * mach/sys/reboot.h: Remove two casts of integer literals
13607         to the types they already have.
13609         * bits/in.h: Correct error in description of IP_MULTICAST_LOOP.
13610         * sysdeps/unix/sysv/linux/bits/in.h: Likewise.
13611         * sysdeps/unix/sysv/linux/netinet/if_ether.h: Change a comment
13612         from referring to 'unsigned char' to 'uint8_t' for consistency with
13613         the macro definition below.
13615         * gmon/sys/gmon.h, inet/netinet/igmp.h, inet/protocols/talkd.h
13616         * io/fts.h, resolv/arpa/nameser.h, resolv/resolv.h
13617         * sunrpc/rpc/rpc_des.h, sysdeps/generic/netinet/ip.h
13618         * sysdeps/gnu/netinet/tcp.h, sysdeps/gnu/netinet/udp.h
13619         * sysdeps/mach/hurd/net/if_ppp.h, sysdeps/unix/sysv/linux/net/if_ppp.h
13620         * sysdeps/unix/sysv/linux/sys/acct.h
13621         * include/arpa/nameser.h, include/resolv.h:
13622         Fix indentation disrupted by mechanical edits.
13624         * inet/protocols/talkd.h, resolv/arpa/nameser.h
13625         * sysdeps/generic/netinet/in_systm.h
13626         * sysdeps/gnu/netinet/ip_icmp.h, sysdeps/gnu/netinet/tcp.h
13627         * sysdeps/gnu/netinet/udp.h
13628         * sysdeps/unix/sysv/linux/net/ethernet.h
13629         * sysdeps/unix/sysv/linux/net/if_arp.h
13630         * sysdeps/unix/sysv/linux/net/if_ppp.h
13631         * sysdeps/unix/sysv/linux/net/if_shaper.h
13632         * sysdeps/unix/sysv/linux/netinet/if_fddi.h
13633         * sysdeps/unix/sysv/linux/netinet/if_tr.h
13634         * sysdeps/unix/sysv/linux/netipx/ipx.h
13635         * sysdeps/unix/sysv/linux/sys/acct.h
13636         Include stdint.h for uintNN_t definitions.
13637         Don't include sys/cdefs.h, features.h, or asm/types.h directly.
13639 2016-09-23  Zack Weinberg  <zackw@panix.com>
13641         * rpcsvc/nislib.h: Include rpcsvc/nis.h.
13642         * sysdeps/unix/sysv/linux/netrose/rose.h:
13643         Include sys/socket.h and netax25/ax25.h.
13645         * inet/netinet/icmp6.h, inet/netinet/ip6.h
13646         * resolv/arpa/nameser_compat.h:
13647         Use __BYTE_ORDER etc. instead of BYTE_ORDER etc.
13649         * sysdeps/unix/sysv/linux/sys/quota.h:
13650         Use __caddr_t instead of caddr_t.
13651         * sysdeps/unix/sysv/linux/sys/timerfd.h:
13652         Use __clockid_t instead of clockid_t.
13654         * sysvipc/sys/ipc.h: Remove unnecessary #warning.
13656         * argp/argp.h: Check whether _LIBC is defined before expanding it.
13657         * posix/glob.h: Check whether __USE_XOPEN2K8 is defined instead of
13658         expanding it.
13660         * misc/sys/cdefs.h: Tidy up conditional nest defining __flexarr.
13661         Define __glibc_c99_flexarr_available to 1 when the compiler
13662         supports C99-compatible flexible array members, 0 otherwise.
13663         * sysdeps/unix/sysv/linux/bits/socket.h
13664         * sysdeps/mach/hurd/bits/socket.h
13665         * bits/socket.h: Use __glibc_c99_flexarr_available in
13666         definitions of struct cmsghdr and CMSG_DATA.
13668 2016-09-23  Florian Weimer  <fweimer@redhat.com>
13670         * manual/nss.texi (NSS Modules Interface): Adjust function return
13671         type to enum nss_status.  Document errnop argument.  Clarify
13672         h_errnop semantics.  Fix cross-reference formatting.
13673         (NSS Module Function Internals): Mention that *errnop needs to be
13674         set on failure, but not to zero.
13676 2016-09-23  Florian Weimer  <fweimer@redhat.com>
13678         * io/tst-open-tmpfile.c (wrap_open64, wrap_openat64)
13679         (get_random_name): New functions.
13680         (check_wrapper_flags_mode): Use linkat to give the new file a name
13681         determined by get_random_name.
13682         (do_test): Add calls to test open64 and openat64.
13684 2016-09-23  Florian Weimer  <fweimer@redhat.com>
13686         * test-skeleton.c: Remove #include <stdarg.h>.
13688 2016-09-21  Alexandre Oliva <aoliva@redhat.com>
13690         [BZ #19826]
13691         * elf/dl-tls.c (_dl_allocate_tls_init): Restore DTV early
13692         initialization of static TLS entries.
13693         * elf/dl-reloc.c (_dl_nothread_init_static_tls): Likewise.
13694         * nptl/allocatestack.c (init_one_static_tls): Likewise.
13696 2016-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13698         * hurd/hurdmalloc.c (malloc_fork_prepare): Rename to
13699         _hurd_malloc_fork_prepare.
13700         (malloc_fork_parent): Rename to _hurd_malloc_fork_parent.
13701         (malloc_fork_child): Rename to _hurd_malloc_fork_child.
13702         (_hurd_fork_prepare_hook): Drop malloc_fork_prepare.
13703         (_hurd_fork_parent_hook): Drop malloc_fork_parent.
13704         (_hurd_fork_child_hook): Drop malloc_fork_child.
13705         * hurd/hurdmalloc.h (_hurd_malloc_fork_prepare,
13706         _hurd_malloc_fork_parent, _hurd_malloc_fork_child): Add declarations.
13707         * sysdeps/mach/hurd/fork.c (__fork): Call __malloc_fork_lock_parent
13708         after locking locks (notably hurd_dtable_lock). Call
13709         _hurd_malloc_fork_prepare after that. Call _hurd_malloc_fork_parent
13710         before __malloc_fork_unlock_parent and _hurd_malloc_fork_child before
13711         __malloc_fork_unlock_child.
13712         * sysdeps/mach/i386/syscall.S (syscall): Push back syscall number.
13714 2016-09-21  James Greenhalgh  <james.greenhalgh@arm.com>
13716         * soft-fp/extendhftf2.c: New.
13717         * soft-fp/fixhfti.c: Likewise.
13718         * soft-fp/fixunshfti.c: Likewise.
13719         * soft-fp/floattihf.c: Likewise.
13720         * soft-fp/floatuntihf.c: Likewise.
13721         * soft-fp/half.h: Likewise.
13722         * soft-fp/trunctfhf2.c: Likewise.
13724 2016-09-21  Joseph Myers  <joseph@codesourcery.com>
13726         * math/math.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (issubnormal): New
13727         macro.
13728         * math/libm-test.inc (issubnormal_test_data): New array.
13729         (issubnormal_test): New function.
13730         * manual/arith.texi (Floating Point Classes): Document
13731         issubnormal.
13732         * manual/libm-err-tab.pl: Update comment on interfaces without
13733         ulps tabulated.
13735         * sysdeps/generic/stdint.h: Define
13736         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
13737         <bits/libc-header-start.h> instead of including <features.h>.
13738         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT8_WIDTH): New macro.
13739         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT8_WIDTH): Likewise.
13740         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT16_WIDTH): Likewise.
13741         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT16_WIDTH): Likewise.
13742         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT32_WIDTH): Likewise.
13743         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT32_WIDTH): Likewise.
13744         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT64_WIDTH): Likewise.
13745         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT64_WIDTH): Likewise.
13746         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST8_WIDTH): Likewise.
13747         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST8_WIDTH): Likewise.
13748         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST16_WIDTH): Likewise.
13749         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST16_WIDTH): Likewise.
13750         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST32_WIDTH): Likewise.
13751         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST32_WIDTH): Likewise.
13752         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_LEAST64_WIDTH): Likewise.
13753         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_LEAST64_WIDTH): Likewise.
13754         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST8_WIDTH): Likewise.
13755         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST8_WIDTH): Likewise.
13756         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST16_WIDTH): Likewise.
13757         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST16_WIDTH): Likewise.
13758         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST32_WIDTH): Likewise.
13759         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST32_WIDTH): Likewise.
13760         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_FAST64_WIDTH): Likewise.
13761         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_FAST64_WIDTH): Likewise.
13762         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTPTR_WIDTH): Likewise.
13763         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTPTR_WIDTH): Likewise.
13764         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INTMAX_WIDTH): Likewise.
13765         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINTMAX_WIDTH): Likewise.
13766         [__GLIBC_USE (IEC_60559_BFP_EXT)] (PTRDIFF_WIDTH): Likewise.
13767         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIG_ATOMIC_WIDTH): Likewise.
13768         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SIZE_WIDTH): Likewise.
13769         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WCHAR_WIDTH): Likewise.
13770         [__GLIBC_USE (IEC_60559_BFP_EXT)] (WINT_WIDTH): Likewise.
13771         * manual/arith.texi (Integers): Document these macros for types
13772         specified by width properties.
13773         * manual/lang.texi (Width of Type): Document these macros for
13774         other standard typedefs.
13775         * stdlib/tst-width-stdint.c: New file.
13776         * stdlib/Makefile (tests): Add tst-width-stdint.
13778 2016-09-21  Florian Weimer  <fweimer@redhat.com>
13780         [BZ #20016]
13781         * resolv/res_send.c (__libc_res_nsend): Remove USE_HOOK code.
13782         * resolv/res_data.c (res_send_setqhook, res_send_setrhook):
13783         Move ...
13784         * resolv/compat-hooks.c (res_send_setqhook, res_send_setrhook):
13785         ... here, as compatibility symbols in a new file.
13786         * resolv/Makefile (libresolv-routines): Add compat-hooks.
13787         * resolv/res_init.c (__res_vinit): Adjust member names.
13788         * include/resolv.h (res_send_setqhook, res_send_setrhook): Remove.
13789         * resolv/resolv.h (res_sendhookact, res_send_qhook)
13790         (res_send_rhook): Remove.
13791         (struct __res_state): Rename qhook, rhook members.
13793 2016-09-21  Florian Weimer  <fweimer@redhat.com>
13795         malloc: Use __libc_lock wrappers.
13796         * malloc/arena.c (list_lock, free_list_lock): Define using
13797         __libc_lock_define_initialized.
13798         (arena_lock): Adjust formatting.
13799         * malloc/malloc.c (struct malloc_state): Define mutex using
13800         __libc_lock_define.
13801         * sysdeps/generic/malloc-machine.h (mutex_t, mutex_init)
13802         (mutex_lock, mutex_trylock, mutex_unlock): Remove.
13803         * sysdeps/mach/hurd/malloc-machine.h (mutex_t, mutex_lock)
13804         (mutex_unlock, mutex_trylock): Remove.
13805         (__pthread_initialize): Remove unused macro.
13806         * sysdeps/nptl/malloc-machine.h (mutex_t, mutex_lock)
13807         (mutex_unlock, mutex_trylock): Remove.
13809 2016-09-21  Florian Weimer  <fweimer@redhat.com>
13811         [BZ #20592]
13812         Remove RR type classification macros.
13813         * resolv/arpa/nameser.h (ns_t_qt_p, ns_t_mrr_p, ns_t_rr_p)
13814         (ns_t_udp_p, ns_t_xfr_p): Remove.
13816 2016-09-21  Florian Weimer  <fweimer@redhat.com>
13818         Remove misleading version information.
13819         * resolv/arpa/nameser.h (__NAMESER): Remove.
13820         * resolv/arpa/nameser_compat.h (__BIND): Remove.
13822 2016-09-21  Florian Weimer  <fweimer@redhat.com>
13824         Remove the always-defined BIND_4_COMPAT macro.
13825         * resolv/arpa/nameser.h: Unconditionally include
13826         <arpa/nameser_compat.h>.
13827         (BIND_4_COMPAT): Remove.
13828         * resolv/res_comp.c: Do not check BIND_4_COMPAT.
13830 2016-09-21  Florian Weimer  <fweimer@redhat.com>
13832         [BZ #20591]
13833         Remove obsolete DNSSEC support.
13834         * resolv/arpa/nameser.h (ns_key_types, NS_KEY_*, NS_ALG_*)
13835         (NS_MD5_RSA_*, NS_DSA_*, NS_NXT_*, ns_sign, ns_sign2, ns_sign_tcp)
13836         (ns_sign_tcp2, ns_sign_tcp_init, ns_find_tsig, ns_verify)
13837         (ns_verify_tcp, ns_verify_tcp_init): Remove.
13838         (ns_cert_types): Add comment.
13839         * resolv/ns_print.c (ns_sprintrrf): Do not handle DNSSEC records
13840         separately.
13841         (KEY_RSA, KEY_HMAC_MD5, dst_s_id_calc, dst_s_get_int16)
13842         (dst_s_dns_key_id): Remove.
13843         * resolv/res_debug.c (__p_key_syms, __p_cert_syms): Remove unused
13844         variables.
13846 2016-09-21  Florian Weimer  <fweimer@redhat.com>
13848         [BZ #20524]
13849         * manual/string.texi (String/Array Comparison): Clarify the
13850         strverscmp behavior.
13852 2016-09-21  Florian Weimer  <fweimer@redhat.com>
13854         * test-skeleton.c (xasprintf): Add function.
13855         * io/tst-open-tmpfile.c: New test.
13856         * io/Makefile (tests): Add it.
13858 2016-09-21  Florian Weimer  <fweimer@redhat.com>
13860         Avoid running $(CXX) during build to obtain header file paths.
13861         * configure.ac (CXX_SYSINCLUDES, CXX_CMATH_HEADER): Set.
13862         * config.make.in (c++-cstdlib-header, c++-cmath-header): Define.
13863         * Makerules (cstdlib, cmath): Remove variables.  Use
13864         $(c++-cstdlib-header), $(c++-cmath-header) instead.
13865         * configure: Regenerate.
13867 2016-09-21  Florian Weimer  <fweimer@redhat.com>
13869         * Makeconfig (all-object-suffixes): Include .op only if
13870         $(build-profile).
13872 2016-09-21  Florian Weimer  <fweimer@redhat.com>
13874         * elf/sln.c: Remove HAVE_CONFIG_H, S_ISDIR, S_ISLNK preprocessor
13875         conditionals.  Do not define PATH_MAX.
13877 2016-09-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
13879         * posix/Makefile (tests): Add tst-spawn3.
13880         * posix/tst-spawn3.c: New file.
13881         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Close file descriptor
13882         if it is already opened for open action.
13884         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Correctly block and unblock
13885         all signals when executing the clone vfork child.
13886         (SIGALL_SET): Remove macro.
13888         * nptl/Makefile (tests): Add tst-exec5.
13889         * nptl/tst-exec5.c: New file.
13890         * sysdeps/unix/sysv/linux/spawni.c (__spawni): Correctly enable and disable
13891         asynchronous cancellation.
13893 2016-09-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>
13895         * hurd/exc2signal.c: #include <hurd/signal.h>
13896         (_hurd_exception2signal): Replace 'exception', 'code', 'subcode',
13897         'sigcode', 'error' parameters with 'detail' parameter.  Fix code
13898         accordingly.
13899         * mach/mach_error.c (mach_error): Fix old-style function definition.
13900         * mach/errstring.c (mach_error_type, mach_error_string): Likewise.
13902 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13904         * math/Makefile (libm-calls): Remove s_nanF.
13905         (gen-libm-calls): Add s_nanF.
13907         * math/s_nan.c: Refactor into ...
13908         * math/s_nan_template.c: New file.
13910         * math/s_nanf.c: Removed.
13911         * math/s_nanl.c: Removed.
13912         * sysdeps/ieee754/ldbl-opt/s_nan.c: Removed.
13913         * sysdeps/ieee754/ldbl-opt/s_nanl.c: Removed.
13915         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
13916         (LDOUBLE_nanl_libm_version): New macro.
13918         * sysdeps/generic/math-type-macros-double.h:
13919         (M_STRTO_NAN): New macro.
13920         * sysdeps/generic/math-type-macros-float.h: Likewise.
13921         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
13923         * sysdeps/generic/math-type-macros.h: Document
13924         M_STRTO_NAN.
13926 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13928         * math/s_nanf.c: Remove __nanf undef.
13929         * math/s_nan.c: Remove __nan undef.
13930         * math/s_nanl.c: Remove __nanl undef.
13932         * sysdeps/generic/math_private.h (__nan): Remove macro
13933         override.
13934         (__nanf): Likewise.
13935         (__nanl): Likewise.
13937 2016-09-20  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
13939         * math/Makefile (gen-all-calls): New variable.
13940         (generated): Replace gen-libm-calls with gen-all-calls.
13941         (gen-libm-templates.stmp): Likewise.  Also, ensure
13942         the output directory exists or is created and add
13943         dependency on the Makefile.
13944         (calls): Move s_ldexpF into gen-calls.
13945         (gen-calls): New variable.
13947         * math/s_ldexpf.c: Removed.
13948         * math/s_ldexpl.c: Removed.
13949         * math/s_ldexp.c: Refactored into ...
13950         * math/s_ldexp_template.c: New file.
13952         * sysdeps/generic/math-type-macros-double.h: Remove
13953         redundant fall-through definition of declare_mgen_alias.
13954         (declare_mgen_alias_2): New macro.
13956         * sysdeps/generc/math-type-macros.h (declare_mgen_alias_2):
13957         New macro for function aliased to two exported symbols.
13959         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Update to use
13960         new template file.
13961         sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
13963 2016-09-20  Florian Weimer  <fweimer@redhat.com>
13965         * Makeconfig (all-object-suffixes): Remove .og.
13966         * Makerules (elide-routines.og): Remove.
13967         * sysdeps/i386/i686/Makefile (CFLAGS-.og, ASFLAGS-.og): Remove.
13968         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.og): Remove.
13969         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.op): Remove.
13971 2016-09-20  Florian Weimer  <fweimer@redhat.com>
13973         * scripts/sysd-rules.awk (BEGIN): Only generate rtld patterns for
13974         .os objects.
13976 2016-09-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
13978         [BZ #20615]
13979         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Replace
13980         fpu directory by non-fpu.
13981         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Remove dependency
13982         on non-fpu directory from a fpu directory.
13984 2016-09-19  Joseph Myers  <joseph@codesourcery.com>
13986         * include/limits.h: Define
13987         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
13988         <bits/libc-header-start.h> instead of including <features.h>.
13989         [__GLIBC_USE (IEC_60559_BFP_EXT)] (CHAR_WIDTH): New macro.
13990         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SCHAR_WIDTH): Likewise.
13991         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UCHAR_WIDTH): Likewise.
13992         [__GLIBC_USE (IEC_60559_BFP_EXT)] (SHRT_WIDTH): Likewise.
13993         [__GLIBC_USE (IEC_60559_BFP_EXT)] (USHRT_WIDTH): Likewise.
13994         [__GLIBC_USE (IEC_60559_BFP_EXT)] (INT_WIDTH): Likewise.
13995         [__GLIBC_USE (IEC_60559_BFP_EXT)] (UINT_WIDTH): Likewise.
13996         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LONG_WIDTH): Likewise.
13997         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULONG_WIDTH): Likewise.
13998         [__GLIBC_USE (IEC_60559_BFP_EXT)] (LLONG_WIDTH): Likewise.
13999         [__GLIBC_USE (IEC_60559_BFP_EXT)] (ULLONG_WIDTH): Likewise.
14000         * manual/lang.texi (Width of Type): Document these macros.
14001         * stdlib/tst-width.c: New file.
14002         * stdlib/Makefile (tests): Add tst-width.
14004 2016-09-18  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14006         * intl/dcigettext.c (PATH_MAX): Call __pathconf instead of pathconf.
14007         * sysdeps/posix/dup.c (__dup): Call __fcntl instead of fcntl.
14009 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14011         * nptl/sem_init.c (__new_sem_init): Init pad value to 0.
14012         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
14013         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
14015 2016-09-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14017         [BZ #18243]
14018         * rt/Makefile (test): Add tst-shm-cancel.
14019         * rt/tst-shm-cancel.c: New file.
14020         * sysdeps/posix/shm_open.c: Disable asynchronous cancellation.
14022         [BZ #18243]
14023         * nptl/pthreadP.h (__pthread_testcancel): Add prototype and hidden_proto.
14024         * nptl/pthread_testcancel.c (pthread_cancel): Add internal aliais
14025         definition.
14026         * nptl/sem_timedwait.c (sem_timedwait): Add cancellation check for
14027         uncontended case.
14028         * nptl/sem_wait.c (__new_sem_wait): Likewise.
14029         * nptl/tst-cancel12.c (cleanup): Remove wrong cancellation point.
14030         (tf): Fix check for uncontended case.
14031         (do_test): Likewise.
14032         * nptl/tst-cancel13.c (cleanup): Remove wrong cancellation point.
14033         (tf): Fix check for uncontended case.
14034         (do_test): Likewise.
14035         * nptl/tst-cancel14.c (cleanup): Remove wrong cancellation point.
14036         (tf): Fix check for uncontended case.
14037         (do_test): Likewise.
14038         * nptl/tst-cancel15.c (cleanup): Remove wrong cancellation point.
14039         (tf): Fix check for uncontended case.
14040         (do_test): Likewise.
14042         * sysdeps/sparc/sparc32/sem_wait.c: Remove file.
14043         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Likewise.
14045         [BZ #15765]
14046         * nptl/Makefile (tests): Add tst-sem16.
14047         * nptl/tst-sem16.c: New file.
14048         * nptl/sem_open.c (sem_open): Disable asynchronous cancellation.
14050         * nptl/sem_open.c (sem_open): Init pad value to 0.
14051         * sysdeps/sparc/sparc32/sem_open.c: Remove file.
14052         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: Likewise.
14054 2016-09-15  Florian Weimer  <fweimer@redhat.com>
14056         [BZ #20611]
14057         * inet/Makefile (routines): Add inet6_scopeid_pton.
14058         (tests): Add tst-inet6_scopeid_pton.
14059         * inet/inet6_scopeid_pton.c: New file.
14060         * inet/net-internal.h: Likewise.
14061         * inet/tst-inet6_scopeid_pton.c: New test.
14062         * inet/Versions (GLIBC_PRIVATE): Add __inet6_scopeid_pton.
14063         * resolv/res_init.c (__res_vinit): Use __inet6_scopeid_pton.
14064         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
14066 2016-09-14  Florian Weimer  <fweimer@redhat.com>
14068         Remove support for compiling wrappers with PTW.
14069         * sysdeps/nptl/Makeconfig: Drop ptw- support.
14070         * nptl/Makefile (pthread-compat-wrappers): Define.
14071         (libpthread-routines): Use pthread-compat-wrappers.
14072         * sysdeps/unix/sysv/linux/alpha/Makefile
14073         (libpthread-routines, libpthread-shared-only-routines): Remove
14074         ptw- prefix.
14075         * sysdeps/s390/nptl/Makefile
14076         (libpthread-routines, libpthread-shared-only-routines): Likewise.
14077         * sysdeps/ia64/nptl/Makefile
14078         (libpthread-routines, libpthread-shared-only-routines): Likewise.
14079         * sysdeps/nacl/Makefile (libpthread-routines): Use
14080         pthread-compat-wrappers to filter the routines list instead of the
14081         ptw- prefix.
14083 2016-09-13  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14085         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Wrap long double literals
14086         with L() and remove explicit suffix, convert real literals
14087         which can be equivalentally substituted with integers, and
14088         transform -L(x) to L(-x).
14090         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
14091         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14092         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
14093         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14094         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
14095         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
14096         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14097         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
14098         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14099         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
14100         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14101         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14102         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
14103         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
14104         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
14105         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
14106         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14107         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
14108         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
14109         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14110         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
14111         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
14112         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
14113         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14114         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
14115         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
14116         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
14117         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
14118         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
14119         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14120         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
14121         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
14122         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
14123         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
14124         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
14125         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
14126         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
14127         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
14128         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
14129         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
14130         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
14131         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14132         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
14133         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
14134         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
14135         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
14136         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
14137         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
14138         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
14139         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
14141 2016-09-13  Florian Weimer  <fweimer@redhat.com>
14143         * resolv/res_init.c: Remove _LIBC_REENTRANT; it is always defined.
14145 2016-09-10  Siddhesh Poyarekar  <siddhesh@sourceware.org>
14147         * malloc/Makefile (tests): Remove individual static test names
14148         and just add all of tests-static.
14150         * csu/libc-start.c (__libc_csu_irel): Remove declaration.
14152 2016-09-07  Joseph Myers  <joseph@codesourcery.com>
14154         * sysdeps/powerpc/powerpc32/e500/nofpu/fetestexceptflag.c: New
14155         file.
14157         * sysdeps/sparc/fpu/fegetmode.c: New file.
14158         * sysdeps/sparc/fpu/fesetmode.c: Likewise.
14160         * sysdeps/sh/sh4/fpu/fegetmode.c: New file.
14161         * sysdeps/sh/sh4/fpu/fesetmode.c: Likewise.
14163         * sysdeps/s390/fpu/fegetmode.c: New file.
14164         * sysdeps/s390/fpu/fesetmode.c: Likewise.
14166         * sysdeps/powerpc/fpu/fegetmode.c: New file.
14167         * sysdeps/powerpc/fpu/fesetmode.c: Likewise.
14168         * sysdeps/powerpc/nofpu/fegetmode.c: Likewise.
14169         * sysdeps/powerpc/nofpu/fesetmode.c: Likewise.
14170         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetmode.c: Likewise.
14171         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetmode.c: Likewise.
14173         * sysdeps/mips/fpu/fegetmode.c: New file.
14174         * sysdeps/mips/fpu/fesetmode.c: Likewise.
14176         * sysdeps/m68k/fpu/fegetmode.c: New file.
14177         * sysdeps/m69k/fpu/fesetmode.c: Likewise.
14179         * sysdeps/ia64/fpu/fegetmode.c: New file.
14180         * sysdeps/ia64/fpu/fesetmode.c: Likewise.
14182         * sysdeps/hppa/fpu/fegetmode.c: New file.
14183         * sysdeps/hppa/fpu/fesetmode.c: Likewise.
14185         * sysdeps/arm/fegetmode.c: New file.
14186         * sysdeps/arm/fesetmode.c: Likewise.
14188         * sysdeps/alpha/fpu/fegetmode.c: New file.
14189         * sysdeps/alpha/fpu/fesetmode.c: Likewise.
14191         * sysdeps/aarch64/fpu/fegetmode.c: New file.
14192         * sysdeps/aarch64/fpu/fesetmode.c: Likewise.
14194         * math/fegetmode.c: New file.
14195         * math/fesetmode.c: Likewise.
14196         * sysdeps/i386/fpu/fegetmode.c: Likewise.
14197         * sysdeps/i386/fpu/fesetmode.c: Likewise.
14198         * sysdeps/x86_64/fpu/fegetmode.c: Likewise.
14199         * sysdeps/x86_64/fpu/fesetmode.c: Likewise.
14200         * math/fenv.h: Update comment on inclusion of <bits/fenv.h>.
14201         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fegetmode): New function
14202         declaration.
14203         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetmode): Likewise.
14204         * bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)] (femode_t): New
14205         typedef.
14206         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
14207         * sysdeps/aarch64/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14208         (femode_t): New typedef.
14209         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
14210         * sysdeps/alpha/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/arm/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/hppa/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/ia64/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/m68k/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         * sysdeps/microblaze/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14226         (femode_t): New typedef.
14227         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
14228         * sysdeps/mips/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14229         (femode_t): New typedef.
14230         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
14231         * sysdeps/nios2/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14232         (femode_t): New typedef.
14233         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
14234         * sysdeps/powerpc/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14235         (femode_t): New typedef.
14236         [__GLIBC_USE (IEC_60559_BFP_EXT)] (__fe_dfl_mode): New variable
14237         declaration.
14238         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
14239         * sysdeps/s390/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14240         (femode_t): New typedef.
14241         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
14242         * sysdeps/sh/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14243         (femode_t): New typedef.
14244         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
14245         * sysdeps/sparc/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14246         (femode_t): New typedef.
14247         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
14248         * sysdeps/tile/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14249         (femode_t): New typedef.
14250         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
14251         * sysdeps/x86/fpu/bits/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14252         (femode_t): New typedef.
14253         [__GLIBC_USE (IEC_60559_BFP_EXT)] (FE_DFL_MODE): New macro.
14254         * manual/arith.texi (FE_DFL_MODE): Document macro.
14255         (fegetmode): Document function.
14256         (fesetmode): Likewise.
14257         * math/Versions (fegetmode): New libm symbol at version
14258         GLIBC_2.25.
14259         (fesetmode): Likewise.
14260         * math/Makefile (libm-support): Add fegetmode and fesetmode.
14261         (tests): Add test-femode and test-femode-traps.
14262         * math/test-femode-traps.c: New file.
14263         * math/test-femode.c: Likewise.
14264         * sysdeps/powerpc/fpu/fenv_const.c (__fe_dfl_mode): Declare as
14265         alias for __fe_dfl_env.
14266         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_dfl_mode): Likewise.
14267         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c
14268         (__fe_dfl_mode): Likewise.
14269         * sysdeps/powerpc/Versions (__fe_dfl_mode): New libm symbol at
14270         version GLIBC_2.25.
14271         * sysdeps/nacl/libm.abilist: Update.
14272         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14273         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14274         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14275         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14276         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14277         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14278         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14279         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14280         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14281         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14282         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14283         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14284         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
14285         Likewise.
14286         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14287         Likewise.
14288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
14289         Likewise.
14290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
14291         Likewise.
14292         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14293         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14294         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14295         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14296         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14297         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
14298         Likewise.
14299         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14300         Likewise.
14301         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14302         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14303         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14305 2016-09-06  H.J. Lu  <hongjiu.lu@intel.com>
14307         [BZ #20495]
14308         [BZ #20508]
14309         * sysdeps/x86/cpu-features.c (init_cpu_features): For Intel
14310         processors, set Use_dl_runtime_resolve_slow and set
14311         Use_dl_runtime_resolve_opt if XGETBV suports ECX == 1.
14312         * sysdeps/x86/cpu-features.h (bit_arch_Use_dl_runtime_resolve_opt):
14313         New.
14314         (bit_arch_Use_dl_runtime_resolve_slow): Likewise.
14315         (index_arch_Use_dl_runtime_resolve_opt): Likewise.
14316         (index_arch_Use_dl_runtime_resolve_slow): Likewise.
14317         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup): Use
14318         _dl_runtime_resolve_avx512_opt and _dl_runtime_resolve_avx_opt
14319         if Use_dl_runtime_resolve_opt is set.  Use
14320         _dl_runtime_resolve_slow if Use_dl_runtime_resolve_slow is set.
14321         * sysdeps/x86_64/dl-trampoline.S: Include <cpu-features.h>.
14322         (_dl_runtime_resolve_opt): New.  Defined for AVX and AVX512.
14323         (_dl_runtime_resolve): Add one for _dl_runtime_resolve_sse_vex.
14324         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve_avx_slow):
14325         New.
14326         (_dl_runtime_resolve_opt): Likewise.
14327         (_dl_runtime_profile): Define only if _dl_runtime_profile is
14328         defined.
14330 2016-09-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
14332         * sysdeps/unix/sysv/linux/s390/localplt.data: Mark ld.so:
14333         __libc_memalign with "+ RELA R_390_GLOB_DAT".
14335 2016-09-06  Florian Weimer  <fweimer@redhat.com>
14337         Convert malloc to __libc_lock.  Automated part, using this Perl
14338         s/// command:
14339           s/(?:\(void\)\s*)?mutex_((?:|un|try)lock|init)
14340             \s*\(\&([^\)]+)\)/__libc_lock_$1\ ($2)/gx;
14341         * malloc/malloc.c, malloc/arena.c, malloc/hooks.c: Perform
14342         conversion.
14344 2016-09-05  Aurelien Jarno  <aurelien@aurel32.net>
14346         * conform/Makefile (conformtest-header-tests): Pass -I. to $(PERL).
14347         (linknamespace-symlists-tests): Likewise.
14348         (linknamespace-header-tests): Likewise.
14350 2016-09-03  Aurelien Jarno  <aurelien@aurel32.net>
14352         [BZ #19810]
14353         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag later.
14354         * elf/tst-noload.c: New test case.
14355         * elf/Makefile (tests): Add tst-noload.
14357 2016-09-02  Roland McGrath  <roland@hack.frob.com>
14359         * sysdeps/nacl/dup.c: Add libc_hidden_def.
14361         * sysdeps/posix/wait3.c: Don't treat STAT_LOC as a union, since it's
14362         not any more.
14364         * sysdeps/nacl/clock.c (clock): nacl_abi_clock_t -> nacl_irt_clock_t
14366 2016-09-02  Siddhesh Poyarekar  <siddhesh@sourceware.org>
14368         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Mark as inline.
14369         (do_cos_slow): Likewise.
14370         (do_sin): Likewise.
14371         (do_sin_slow): Likewise.
14372         (slow): Likewise.
14373         (slow1): Likewise.
14374         (slow2): Likewise.
14375         (sloww): Likewise.
14376         (sloww1): Likewise.
14377         (sloww2): Likewise.
14378         (bsloww): Likewise.
14379         (bsloww1): Likewise.
14380         (bsloww2): Likewise.
14381         (cslow2): Likewise.
14383         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use do_sin.
14385         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos): Accept X and DX as input
14386         arguments.  Consolidate input partitioning from callers here.
14387         (do_cos_slow): Likewise.
14388         (do_sin): Likewise.
14389         (do_sin_slow): Likewise.
14390         (do_sincos_1): Remove the no longer necessary input partitioning.
14391         (do_sincos_2): Likewise.
14392         (__sin): Likewise.
14393         (__cos): Likewise.
14394         (slow1): Likewise.
14395         (slow2): Likewise.
14396         (sloww1): Likewise.
14397         (sloww2): Likewise.
14398         (bsloww1): Likewise.
14399         (bsloww2): Likewise.
14400         (cslow2): Likewise.
14402 2016-09-02  Florian Weimer  <fweimer@redhat.com>
14404         * stdio-common/vfscanf.c (_IO_vfwscanf): Use MB_LEN_MAX instead of
14405         MB_CUR_MAX to avoid race condition.  Avoid pointer arithmetic
14406         outside of allocated array.
14408 2016-09-02  Florian Weimer  <fweimer@redhat.com>
14410         * stdio-common/vfprintf.c (process_string_arg): Use MB_LEN_MAX
14411         instead of MB_CUR_MAX to avoid variable-length array.
14413 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14415         * math/Makefile (libm-calls): Remove k_rem_pio2F.
14416         (type-double-routines): Add k_rem_pio2.
14417         (type-float-routines): Add k_rem_pio2f.
14419         * sysdeps/generic/math_private.h:
14420         (__kernel_rem_pio2l): Removed.
14422         * math/k_rem_pio2l.c: Removed.
14423         * sysdeps/i386/fpu/k_rem_pio2l.c: Removed.
14424         * sysdeps/ia64/fpu/k_rem_pio2l.c: Removed.
14425         * sysdeps/m68k/m680x0/fpu/k_rem_pio2l.c: Removed.
14426         * sysdeps/x86_64/fpu/k_rem_pio2l.c: Removed.
14428 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14430         * math/Makefile (gen-libm-calls): Add s_fmin
14431         (libm-calls): Remove above.
14433         * math/s_fmin.c: Refactor into ...
14434         * math/s_fmin_template.c: New file.
14436         * math/s_fminf.c: Removed.
14437         * math/s_fminl.c: Removed.
14438         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
14439         (LDOUBLE_fmin_libm_version): New macro.
14441         * sysdeps/ieee754/ldbl-opt/s_fmin.c: Removed.
14442         * sysdeps/ieee754/ldbl-opt/s_fminl.c: Removed.
14444 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14446         * math/Makefile: (gen-libm-calls): Add s_fmax.
14447         (libm-calls): Remove above.
14449         * math/s_fmax.c: Refactor into ...
14450         * math/s_fmax_template.c: New file.
14451         * math/s_fmaxf.c: Removed.
14452         * math/s_fmaxl.c: Removed.
14454         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
14455         (LDOUBLE_fmaxl_libm_version): New macro.
14457         * sysdeps/ieee754/ldbl-opt/s_fmax.c: Removed.
14458         * sysdeps/ieee754/ldbl-opt/s_fmaxl.c: Removed.
14460         * sysdeps/aarch64/fpu/s_fmax.c: Append fpu/ to include of
14461         s_fmin.c to pick the aarch64 version of the file.
14462         * sysdeps/aarch64/fpu/s_fmaxf.c: Likewise.
14463         * sysdeps/aarch64/fpu/s_fminf.c: Likewise.
14465 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14467         * math/Makefile: (gen-libm-calls): Add s_nextdown.
14468         (libm-calls): Remove above.
14470         * math/s_nextdown.c: Refactor into ...
14471         * math/s_nextdown_template.c: New file.
14472         * math/s_nextdownf.c: Removed.
14473         * math/s_nextdownl.c: Removed.
14475         * sysdeps/ieee754/ldbl-opt/s_nextdownl.c: New file.
14477 2016-09-01  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14479         * math/Makefile (gen-libm-calls): Add s_fdim.
14480         (libm-calls): Move to above.
14482         * math/s_fdim.c: Renamed and refactored into to ...
14483         * math/s_fdim_template.c: New file.
14484         * math/s_fdiml.c: Removed.
14485         * sysdeps/ieee754/ldbl-opt/s_fdim.c: Removed.
14486         * sysdeps/ieee754/ldbl-opt/s_fdiml.c: Removed.
14488         * sysdeps/generic/math-type-macros-double.h:
14489         (declare_mgen_alias): Don't declare if already declared.
14490         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h:
14491         Likewise.
14493         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h:
14494         (declare_mgen_alias): Don't declare if already declared.
14495         (M_LIBM_NEED_COMPAT): Likewise.
14496         (declare_mgen_libm_compat): Likewise.
14497         (LDOUBLE_fdiml_libm_version): New macro.
14499         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
14500         Include math/s_fdim.c now that ldbl-opt version is not needed.
14501         (declare_mgen_alias): New macro to disable aliasing.
14503         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.c:
14504         (declare_mgen_alias): Likewise.
14505         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.c:
14506         (declare_mgen_alias): Likewise.
14507         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c:
14508         (declare_mgen_alias): Likewise.
14509         (M_LIBM_NEED_COMPAT): Likewise.
14511 2016-09-01  Florian Weimer  <fweimer@redhat.com>
14513         [BZ #20525]
14514         * sysdeps/unix/sysv/linux/sys/quota.h: Update copyright.
14515         Include <linux/quota.h>.
14516         (fs_to_dq_blocks): Hard-code BLOCK_SIZE as 1024, to match dbtob
14517         and btodb.
14518         (_LINUX_QUOTA_VERSION, MAXQUOTAS, USRQUOTA, GRPQUOTA, INITQFNAMES)
14519         (SUBCMDMASK, SUBCMDSHIFT, QCMD, Q_QUOTAON, Q_QUOTAOFF, Q_GETQUOTA)
14520         (Q_SETQUOTA, Q_SETUSE, Q_SYNC, Q_SETQLIM, Q_GETSTATS, Q_RSQUASH)
14521         (Q_GETFMT, Q_GETINFO, Q_SETINFO, Q_GETNEXTQUOTA, QIF_BLIMITS)
14522         (QIF_SPACE, QIF_ILIMITS, QIF_INODES, QIF_BTIME, QIF_ITIME)
14523         (QIF_LIMITS, QIF_USAGE, QIF_TIMES, QIF_ALL, IIF_BGRACE)
14524         (IIF_IGRACE, IIF_FLAGS, IIF_ALL): Remove.
14525         (struct dqblock, struct dqinfo): Use __uint64_t and __uint32_t
14526         types.
14527         * sysdeps/unix/sysv/linux/tst-quota.c: New test.
14528         * sysdeps/unix/sysv/linux/Makefile (tests): Add it.
14530 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14532         * sysdeps/ieee754/ldbl-128/e_gammal_r.c:
14533         (gammal_positive): Fix spacing.
14534         (__ieee754_gammal_r): Likewise.
14536 2016-08-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14538         * sysdeps/ieee754/ldbl-128/math_ldbl.h:
14539         (_Float128): Define as long double, always.
14540         (L): Apply long double type suffix, always.
14542         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Rename long double
14543         _Float128, excepting comments.
14545         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
14546         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
14547         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
14548         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
14549         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
14550         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
14551         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
14552         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
14553         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
14554         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: Likewise.
14555         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
14556         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
14557         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
14558         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
14559         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
14560         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
14561         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
14562         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
14563         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
14564         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
14565         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
14566         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
14567         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
14568         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
14569         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
14570         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
14571         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
14572         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
14573         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
14574         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
14575         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
14576         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
14577         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
14578         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
14579         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
14580         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
14581         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
14582         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
14583         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
14584         * sysdeps/ieee754/ldbl-128/s_fmal.c: Likewise.
14585         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
14586         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
14587         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
14588         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
14589         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
14590         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
14591         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
14592         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
14593         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
14594         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
14595         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
14596         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
14597         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
14598         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
14599         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
14600         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
14601         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
14602         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
14603         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
14604         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
14605         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
14606         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
14607         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
14608         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
14609         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
14610         * sysdeps/ieee754/ldbl-128/t_expl.h: Likewise.
14611         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
14612         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
14614         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Rename long double
14615         _Float128, and include math_private.h.
14616         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
14618         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (L): Define using
14619         long double semantics.
14620         (_Float128): Likewise.
14621         * sysdeps/ieee754/ldbl-128ibm/e_j0l.c: Likewise.
14622         * sysdeps/ieee754/ldbl-128ibm/e_j1l.c: Likewise.
14623         * sysdeps/ieee754/ldbl-128ibm/e_lgammal_r.c: Likewise.
14624         * sysdeps/ieee754/ldbl-128ibm/s_cbrtl.c: Likewise.
14626 2016-08-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
14628         * config.h.in (HAVE_S390_MIN_Z196_ZARCH_ASM_SUPPORT): New undefine.
14629         * sysdeps/s390/configure.ac: Add test for z196 zarch support.
14630         * sysdeps/s390/configure: Regenerated.
14631         * sysdeps/s390/fpu/fraiseexcpt.c (__feraiseexcept): Use ledbra
14632         instruction for raising over-/underflow if z196 zarch is supported
14633         by default.
14634         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Correct comment.
14636 2016-08-30  Svante Signell  <svante.signell@gmail.com>
14638         * sysdeps/mach/hurd/adjtime.c (__adjtime): When OLDDELTA is NULL, make
14639         it point to a dumb buffer for RPC to fill it.
14641 2016-08-30  Siddhesh Poyarekar  <siddhesh@sourceware.org>
14643         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos_slow): Use ternary
14644         instead of if/else.
14645         (do_sin_slow): Likewise.
14646         (do_sincos_1): Use fabs instead of if/else.
14647         (do_sincos_2): Likewise.
14648         (__sin): Likewise.
14649         (__cos): Likewise.
14650         (slow2): Likewise.
14651         (sloww): Likewise.
14652         (sloww1): Likewise.  Drop argument M.
14653         (sloww2): Use fabs instead of if/else.
14654         (bsloww): Likewise.
14655         (bsloww1): Likewise.
14656         (bsloww2): Likewise.
14658         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Add
14659         fall through comment.
14660         (do_sincos_1): Likewise.
14662         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute):
14663         Consolidate switch cases 0 and 2.
14665 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14667         * math/Makefile (libm-gen-calls): Add cpow, clog, clog10, cexp, cproj.
14668         (libm-calls): Remove the above.
14670         * math/s_cexp_template.c: Update using type-generic macros.
14671         * math/s_clog10_template.c: Likewise.
14672         * math/s_cpow_template.c: Likewise.
14673         * math/s_clog_template.c: Likewise.
14674         * math/s_cproj_template.c: Likewise.
14675         * math/s_csqrt_template.c: Likewise.
14677         * math/s_cexp.c: Removed.
14678         * math/s_cexpf.c: Removed.
14679         * math/s_cexpl.c: Removed.
14680         * math/s_clog10.c: Removed.
14681         * math/s_clog10f.c: Removed.
14682         * math/s_clog10l.c: Removed.
14683         * math/s_cpow.c: Removed.
14684         * math/s_cpowf.c: Removed.
14685         * math/s_cpowl.c: Removed.
14686         * math/s_clog.c: Removed.
14687         * math/s_clogf.c: Removed.
14688         * math/s_clogl.c: Removed.
14689         * math/s_cproj.c: Removed.
14690         * math/s_cprojf.c: Removed.
14691         * math/s_cprojl.c: Removed.
14692         * math/s_csqrt.c: Removed.
14693         * math/s_csqrtf.c: Removed.
14694         * math/s_csqrtl.c: Removed.
14696         * sysdeps/alpha/fpu/s_cexpf.c: Update using templated version.
14697         * sysdeps/alpha/fpu/s_clog10f.c: Update using templated version.
14698         * sysdeps/alpha/fpu/s_clogf.c: Update using templated version.
14699         * sysdeps/alpha/fpu/s_cpowf.c: Update using templated version.
14700         * sysdeps/alpha/fpu/s_cprojf.c: Update using templated version.
14701         * sysdeps/alpha/fpu/s_csqrtf.c: Update using templated version.
14703         * sysdeps/ieee754/ldbl-opt/s_cexp.c: Removed.
14704         * sysdeps/ieee754/ldbl-opt/s_cexpl.c: Removed.
14705         * sysdeps/ieee754/ldbl-opt/s_clog.c: Removed.
14706         * sysdeps/ieee754/ldbl-opt/s_clog10.c: Removed.
14707         * sysdeps/ieee754/ldbl-opt/s_clog10l.c: Removed.
14708         * sysdeps/ieee754/ldbl-opt/s_cpow.c: Removed.
14709         * sysdeps/ieee754/ldbl-opt/s_cpowl.c: Removed.
14710         * sysdeps/ieee754/ldbl-opt/s_cproj.c: Removed.
14711         * sysdeps/ieee754/ldbl-opt/s_cprojl.c: Removed.
14712         * sysdeps/ieee754/ldbl-opt/s_csqrt.c: Removed.
14713         * sysdeps/ieee754/ldbl-opt/s_csqrtl.c: Removed.
14715         * sysdeps/ieee754/ldbl-opt/s_clogl.c: Update using templated
14716         version.
14718         * sysdeps/m68k/m680x0/fpu/s_cexp.c: Refactor into.
14719         * sysdeps/m68k/m680x0/fpu/s_cexp_template.c: New file.
14720         * sysdeps/m68k/m680x0/fpu/s_cexpf.c: Removed.
14721         * sysdeps/m68k/m680x0/fpu/s_cexpl.c: Removed.
14723 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14725         * s_cexp_template.c: Copy of s_cexp.c.
14726         * s_clog_template.c: Copy of s_clog.c.
14727         * s_clog10_template.c: Copy of s_clog10.c.
14728         * s_cpow_template.c: Copy of s_cpow.c.
14729         * s_cproj_template.c: Copy of s_cproj.c.
14730         * s_csqrt_template.c: Copy of s_csqrt.c.
14732 2016-08-29  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14734         [BZ #20517]
14735         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c:
14736         Include ldbl-opt/s_fdim.c to ensure fdiml@GLIBC_2.1 is
14737         exported.
14739 2016-08-29  Joseph Myers  <joseph@codesourcery.com>
14741         * math/fetestexceptflag.c: New file.
14742         * sysdeps/s390/fpu/fetestexceptflag.c: Likewise.  Comment by
14743         Stefan Liebler.
14744         * math/fenv.h [__GLIBC_USE (IEC_60559_BFP_EXT)]
14745         (fetestexceptflag): New function declaration.
14746         * manual/arith.texi (fetestexceptflag): Document function.
14747         * math/Versions (fetestexceptflag): New libm symbol at version
14748         GLIBC_2.25.
14749         * math/Makefile (libm-support): Add fetestexceptflag.
14750         (tests): Add test-fetestexceptflag.
14751         * math/test-fetestexceptflag.c: New file.
14752         * sysdeps/nacl/libm.abilist: Update.
14753         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
14754         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
14755         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
14756         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
14757         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
14758         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
14759         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
14760         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
14761         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
14762         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
14763         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
14764         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
14765         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
14766         Likewise.
14767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
14768         Likewise.
14769         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
14770         Likewise.
14771         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
14772         Likewise.
14773         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
14774         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
14775         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
14776         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
14777         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
14778         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
14779         Likewise.
14780         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
14781         Likewise.
14782         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
14783         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
14784         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
14786 2016-08-26  Florian Weimer  <fweimer@redhat.com>
14788         [BZ #20432]
14789         Avoid strong references to malloc-internal symbols when linking
14790         statically, to support statically interposed mallocs.
14791         * include/libc-symbols.h (call_function_static_weak): New macro.
14792         * malloc/Makefile (tests): Add tst-interpose-nothread,
14793         tst-interpose-thread, tst-interpose-static-nothread,
14794         tst-interpose-static-thread.
14795         (tests-static): Add tst-interpose-static-nothread,
14796         tst-interpose-static-thread.
14797         (extra-tests-objs): Add tst-interpose-aux-nothread.o,
14798         tst-interpose-aux-thread.o.
14799         (test-extras): Add tst-interpose-aux-nothread,
14800         tst-interpose-aux-thread.
14801         (tst-interpose-nothread, tst-interpose-static-nothread): Link with
14802         tst-interpose-aux-nothread.o.
14803         (tst-interpose-thread, tst-interpose-static-thread): Link with
14804         tst-interpose-aux-thread.o and libthread.
14805         * malloc/tst-interpose-aux-nothread.c: New file.
14806         * malloc/tst-interpose-aux-thread.c: Likewise.
14807         * malloc/tst-interpose-aux.c: Likewise.
14808         * malloc/tst-interpose-aux.h: Likewise.
14809         * malloc/tst-interpose-nothread.c: Likewise.
14810         * malloc/tst-interpose-skeleton.c: Likewise.
14811         * malloc/tst-interpose-static-nothread.c: Likewise.
14812         * malloc/tst-interpose-static-thread.c: Likewise.
14813         * malloc/tst-interpose-thread.c: Likewise.
14814         * nptl/tst-tls3-malloc.c: Use new interposed malloc.
14815         * sysdeps/mach/hurd/fork.c (__fork): Only call
14816         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
14817         __malloc_fork_unlock_child if defined.
14818         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
14820 2016-08-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
14822         * test-skeleton.c (delayed_exit_thread): Add initializer on struct
14823         timespec C99 designated initialization.
14825 2016-08-26  Florian Weimer  <fweimer@redhat.com>
14827         [BZ #19946]
14828         Avoid expected SIGALRM signals.
14829         * test-skeleton.c (xpthread_sigmask, xpthread_mutex_lock)
14830         (xpthread_spin_lock, xpthread_cond_wait, xpthread_barrier_wait)
14831         (xpthread_create, xpthread_detach, xpthread_join)
14832         (delayed_exit_thread, delayed_exit): New functions.
14833         * nptl/tst-cond3 (EXPECTED_SIGNAL): Remove.
14834         (tf): Use xpthread_cond_wait.
14835         (do_test): Likewise.  Replace alarm with delayed_exit.
14836         * nptl/tst-eintr1.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
14837         (do_test): Call delayed_exit.  Report failure.
14838         * nptl/tst-eintr2.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
14839         (do_test): Call delayed_exit.
14840         * nptl/tst-eintr3.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
14841         (do_test): Call delayed_exit.  Use xpthread_join.  Report error.
14842         * nptl/tst-eintr4.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
14843         (do_test): Call delayed_exit.  Use xpthread_barrier_wait.  Report
14844         error.
14845         * nptl/tst-eintr5.c (EXPECTED_SIGNAL, TIMEOUT): Remove.
14846         (do_test): Call delayed_exit.  Use xpthread_cond_wait.  Report
14847         error.
14848         * nptl/tst-exit2.c (EXPECTED_SIGNAL): Remove.
14849         (do_test): Call delayed_exit.
14850         * nptl/tst-exit3.c (EXPECTED_SIGNAL): Remove.
14851         (do_test): Call delayed_exit.
14852         * nptl/tst-mutex6.c (EXPECTED_SIGNAL): Remove.
14853         (do_test): Call delayed_exit instead of alarm.  Use
14854         xpthread_mutex_lock.
14855         * nptl/tst-rwlock5.c (EXPECTED_SIGNAL): Remove.
14856         (do_test): Call delayed_exit instead of alarm.  Use
14857         xpthread_mutex_lock.
14858         * nptl/tst-sem2.c (EXPECTED_SIGNAL): Remove.
14859         (do_test): Call delayed_exit instead of alarm.
14860         * nptl/tst-spin3.c (EXPECTED_SIGNAL): Remove.
14861         (do_test): Call delayed_exit instead of alarm.  Use
14862         xpthread_spin_lock.
14863         * nptl/tst-stdio1.c (EXPECTED_SIGNAL): Remove.
14864         (do_test): Call delayed_exit instead of alarm.  Use
14865         xpthread_join.
14867 2016-08-26  H.J. Lu  <hongjiu.lu@intel.com>
14869         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_resolve): Don't
14870         adjust CFA when allocating register save area on re-aligned
14871         stack.
14873 2016-08-26  Florian Weimer  <fweimer@redhat.com>
14875         * string/tst-cmp.c: New test.
14876         * string/Makefile (tests): Add it.
14878 2016-08-25  Mark Wielaard  <mark@klomp.org>
14880         * misc/tsearch.c (struct node_t): Reduce to 3 pointers if
14881         USE_MALLOC_LOW_BIT.  Define pointer/value accessors.
14882         (check_tree_recurse): Use newly defined accessors.
14883         (check_tree): Likewise.
14884         (maybe_split_for_insert): Likewise.
14885         (__tfind): Likewise.
14886         (__tdelete): Likewise.
14887         (trecurse): Likewise.
14888         (tdestroy_recurse): Likewise.
14889         (__tsearch): Likewise. And add asserts for malloc alignment.
14890         (__twalk): Cast root to node in case CHECK_TREE is defined.
14892 2016-08-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
14894         * scripts/check-local-headers.sh (exclude): Add mach_debug/.
14896 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14898         * math/Makefile (libm-gen-calls): Add
14899         catan, catanh, ctan, ctanh.
14900         (libm-calls): Remove the above.
14902         * math/s_catan_template.c: Update using type-generic macros.
14903         * math/s_catanh_template.c: Likewise.
14904         * math/s_ctan_template.c: Likewise.
14905         * math/s_ctanh_template.c: Likewise.
14907         * math/s_catanf.c: Removed.
14908         * math/s_catan.c: Removed.
14909         * math/s_catanl.c: Removed.
14910         * math/s_catanhf.c: Removed.
14911         * math/s_catanh.c: Removed.
14912         * math/s_catanhl.c: Removed.
14913         * math/s_ctanf.c: Removed.
14914         * math/s_ctan.c: Removed.
14915         * math/s_ctanl.c: Removed.
14916         * math/s_ctanhf.c: Removed.
14917         * math/s_ctanh.c: Removed.
14918         * math/s_ctanhl.c: Removed.
14920         * sysdeps/ieee754/ldbl-opt/s_catanhl.c: Removed.
14921         * sysdeps/ieee754/ldbl-opt/s_catanl.c: Removed.
14922         * sysdeps/ieee754/ldbl-opt/s_ctan.c: Removed.
14923         * sysdeps/ieee754/ldbl-opt/s_ctanh.c: Removed.
14924         * sysdeps/ieee754/ldbl-opt/s_ctanhl.c: Removed.
14925         * sysdeps/ieee754/ldbl-opt/s_ctanl.c: Removed.
14927         * sysdeps/alpha/fpu/s_catanf.c: Update to use template file.
14928         * sysdeps/alpha/fpu/s_catanhf.c: Likewise.
14929         * sysdeps/alpha/fpu/s_ctanf.c: Likewise.
14930         * sysdeps/alpha/fpu/s_ctanhf.c: Likewise.
14932 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14934         * s_catan_template.c: Copy of s_catan.c.
14935         * s_catanh_template.c: Copy of s_catanh.c.
14936         * s_ctan_template.c: Copy of s_ctan.c.
14937         * s_ctanh_template.c: Copy of s_ctanh.c.
14939 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14941         * math/Makefile (gen-libm-calls): Move
14942         casin, casinh, csin, csinh here.
14943         (libm-calls): Remove the above.
14945         * math/s_casin_template.c: Update using type-generic macros.
14946         * math/s_casinh_template.c: Likewise.
14947         * math/s_csin_template.c: Likewise.
14948         * math/s_csinh_template.c: Likewise.
14949         * math/k_casinh_template.c: Likewise.
14951         * math/s_casinf.c: Removed.
14952         * math/s_casin.c: Removed.
14953         * math/s_casinl.c: Removed.
14954         * math/s_casinh.c: Removed.
14955         * math/s_casinhf.c: Removed.
14956         * math/s_casinhl.c: Removed.
14957         * math/s_csin.c: Removed.
14958         * math/s_csinf.c: Removed.
14959         * math/s_csinl.c: Removed.
14960         * math/s_csinh.c: Removed.
14961         * math/s_csinhf.c: Removed.
14962         * math/s_csinhl.c: Removed.
14963         * math/k_casinh.c: Removed.
14964         * math/k_casinhf.c: Removed.
14965         * math/k_casinhl.c: Removed.
14967         * sysdeps/alpha/fpu/s_casinf.c: Refactor using templated version.
14968         * sysdeps/alpha/fpu/s_casinhf.c: Likewise.
14969         * sysdeps/alpha/fpu/s_csinf.c: Likewise.
14970         * sysdeps/alpha/fpu/s_csinhf.c: Likewise.
14972         * sysdeps/ieee754/ldbl-opt/s_casin.c: Removed.
14973         * sysdeps/ieee754/ldbl-opt/s_casinh.c: Removed.
14974         * sysdeps/ieee754/ldbl-opt/s_casinhl.c: Removed.
14975         * sysdeps/ieee754/ldbl-opt/s_casinl.c: Removed.
14976         * sysdeps/ieee754/ldbl-opt/s_csin.c: Removed.
14977         * sysdeps/ieee754/ldbl-opt/s_csinh.c: Removed.
14978         * sysdeps/ieee754/ldbl-opt/s_csinhl.c: Removed.
14979         * sysdeps/ieee754/ldbl-opt/s_csinl.c: Removed.
14981         * sysdeps/m68k/m680x0/fpu/s_csin.c: Refactor into ...
14982         * sysdeps/m68k/m680x0/fpu/s_csin_template.c: New file.
14983         * sysdeps/m68k/m680x0/fpu/s_csinf.c: Removed.
14984         * sysdeps/m68k/m680x0/fpu/s_csinl.c: Removed.
14986         * sysdeps/m68k/m680x0/fpu/s_csinh.c: Refactor into.
14987         * sysdeps/m68k/m680x0/fpu/s_csinh_template.c: New file.
14988         * sysdeps/m68k/m680x0/fpu/s_csinhf.c: Removed.
14989         * sysdeps/m68k/m680x0/fpu/s_csinhl.c: Removed.
14991 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
14993         * s_casin_template.c: Copy of s_casin.c.
14994         * s_casinh_template.c: Copy of s_casinh.c.
14995         * s_csin_template.c: Copy of s_csin.c.
14996         * s_csinh_template.c: Copy of s_csinh.c.
14997         * k_casinh_template.c: Copy of k_casinh.c.
14999 2016-08-19  H.J. Lu  <hongjiu.lu@intel.com>
15001         * sysdeps/x86/cpu-features.h (bit_YMM_state): Set to (1 << 2).
15003 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15005         * sysdeps/ieee754/ldbl-128/gamma_productl.c:
15006         (mul_split) Remove, rename as mul_splitl, remove
15007         redundant float.h include, and include via mul_splitl.h
15009         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
15010         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
15011         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
15012         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
15013         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
15015         * math/mul_splitl.h: New file.
15017         * sysdeps/ieee754/dbl-64/gamma_product.c (mul_split):
15018         Move into mul_split.h, and remove redundant float.h include.
15020         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
15021         * sysdeps/ieee754/dbl-64/x2y2m1.c: Likewise.
15022         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
15023         * sysdeps/ieee754/ldbl-128ibm/x2y2m1.c: Likewise.
15025         * math/mul_split.h: New file.
15027 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15029         * math/Makefile (libm-gen-calls): Move
15030         s_cacos, s_cacosh, s_ccos, s_ccosh from ...
15031         (libm-calls): Remove above.
15033         * math/s_cacos_template.c: Update using type-generic macros.
15034         * math/s_cacosh_template.c: Likewise.
15035         * math/s_ccos_template.c: Likewise.
15036         * math/s_ccosh_template.c: Likewise.
15038         * math/s_cacosf.c: Removed.
15039         * math/s_cacos.c: Removed.
15040         * math/s_cacosl.c: Removed.
15041         * math/s_cacoshf.c: Removed.
15042         * math/s_cacosh.c: Removed.
15043         * math/s_cacoshl.c: Removed.
15044         * math/s_ccosf.c: Removed.
15045         * math/s_ccos.c: Removed.
15046         * math/s_ccosl.c: Removed.
15047         * math/s_ccoshf.c: Removed.
15048         * math/s_ccosh.c: Removed.
15049         * math/s_ccoshl.c: Removed.
15051         * sysdeps/ieee754/ldbl-opt/s_cacoshl.c: Removed.
15052         * sysdeps/ieee754/ldbl-opt/s_cacosl.c: Removed.
15053         * sysdeps/ieee754/ldbl-opt/s_ccos.c: Removed.
15054         * sysdeps/ieee754/ldbl-opt/s_ccosh.c: Removed.
15055         * sysdeps/ieee754/ldbl-opt/s_ccoshl.c: Removed.
15056         * sysdeps/ieee754/ldbl-opt/s_ccosl.c: Removed.
15058         * sysdeps/m68k/m680x0/fpu/s_ccosh.c: Refactor into.
15059         * sysdeps/m68k/m680x0/fpu/s_ccosh_template.c: New file.
15060         * sysdeps/m68k/m680x0/fpu/s_ccoshf.c: Removed.
15061         * sysdeps/m68k/m680x0/fpu/s_ccoshl.c: Removed.
15063         * sysdeps/alpha/fpu/s_cacosf.c: Update to use template file.
15064         * sysdeps/alpha/fpu/s_cacoshf.c: Likewise.
15065         * sysdeps/alpha/fpu/s_ccosf.c: Likewise.
15066         * sysdeps/alpha/fpu/s_ccoshf.c: Likewise.
15068 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15070         * s_cacos_template.c: Copy of s_cacos.c.
15071         * s_cacosh_template.c: Copy of s_cacosh.c.
15072         * s_ccos_template.c: Copy of s_ccos.c.
15073         * s_ccosh_template.c: Copy of s_ccosh.c.
15075 2016-08-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15077         * stdlib/tst-strtod-round-skeleton.c:
15078         Refactored from tst-strtod-round.c.
15080         (L_): New macro to apply literal modifier.
15081         (FNPFX): New macro to select str or wcs prefix.
15082         (CHAR): New macro to choose wchar_t or char.
15083         (STRM): New macro to choose printf for tested character type.
15085         (STRTO): New macro to choose appropriate string -> real function.
15086         (FNPFXS): Stringitized version of FNPFX.
15087         (STR): Support for above macro.
15088         (STRX): Likewise.
15090         (TEST): Update with above macros.
15091         (test): Likewise.
15092         (GEN_ONE_TEST): Likewise.
15093         (test_in_one_mode): Likewise.
15095         * stdlib/tst-strtod-round.c: New file.
15096         * wcsmbs/tst-wcstod-round.c: New file.
15098         * wcsmbs/Makefile: (tests): Add tst-wcstod-round
15099         (tst-wcstod-round): Add libm depencency for fesetround.
15101 2016-08-19  Zack Weinberg  <zackw@panix.com>
15103         * debug/tst-chk1.c: Add tests for fortification of bcopy and bzero.
15105 2016-08-18  Torvald Riegel  <triegel@redhat.com>
15107         [BZ #20477]
15108         * resolv/res_hconf.c (do_init): Use atomic access.
15109         * resolv/res_hconf.h: Add comments.
15110         * nscd/aicache.c (addhstaiX): Call _res_hconf_init unconditionally.
15111         * nss/getXXbyYY_r.c (REENTRANT_NAME): Likewise.
15112         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
15114 2016-08-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
15116         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
15117         Use DIAG_*_NEEDS_COMMENT macro to get rid of array-bounds warning.
15118         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
15119         Likewise.
15121 2016-08-18  Florian Weimer  <fweimer@redhat.com>
15123         [BZ #16907]
15124         * argp/argp.h: Switch to __BEGIN_DECLS and __END_DECLS.
15125         (__THROW, __NTH, __attribute__, __restrict): Remove definitions.
15126         * argp/argp-fmtstream.h: Add __BEGIN_DECLS and __END_DECLS.
15127         (__attribute__): Remove definition.
15129 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15131         * sysdeps/ieee754/ldbl-128/e_asinl.c:
15132         Remove unused sqrtl declaration.
15134 2016-08-17  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15136         * math/Makefile: (gen-libm-templates.stmp): New rule.
15137         (libm-calls): Move carg conj cimag and cabs into ...
15138         (gen-libm-calls): New variable.
15139         (generated): Inform Make objects from gen-libm-calls
15140         may be generated.
15142         * sysdeps/generic/math-type-macros.h: New file.
15143         * sysdeps/generic/math-type-macros-float.h: Likewise.
15144         * sysdeps/generic/math-type-macros-double.h: Likewise.
15145         * sysdeps/generic/math-type-macros-ldouble.h: Likewise.
15146         * sysdeps/ieee754/ldbl-opt/math-type-macros-double.h: Likewise.
15147         * sysdeps/ieee754/ldbl-opt/math-type-macros-ldouble.h: Likewise.
15149         * math/cabs.c: Refactor into
15150         * math/cabs_template.c: new file.
15151         * math/cabsf.c: Removed.
15152         * math/cabsl.c: Removed.
15153         * sysdeps/ieee754/ldbl-opt/cabsf.c: Removed.
15154         * sysdeps/ieee754/ldbl-opt/cabsl.c: Removed.
15156         * math/carg.c: Refactor into
15157         * math/carg_template.c: new file.
15158         * math/cargf.c: Removed.
15159         * math/cargl.c: Removed.
15160         * sysdeps/ieee754/ldbl-opt/cargf.c: Removed.
15161         * sysdeps/ieee754/ldbl-opt/cargl.c: Removed.
15163         * math/conj.c: Refactor into
15164         * math/conj_template.c: new file.
15165         * math/conjf.c: Removed.
15166         * math/conjl.c: Removed.
15167         * sysdeps/ieee754/ldbl-opt/conjf.c: Removed.
15168         * sysdeps/ieee754/ldbl-opt/conjl.c: Removed.
15170         * math/cimag.c: Refactor into
15171         * math/cimag_template.c: new file.
15172         * math/cimagf.c: Removed.
15173         * math/cimagl.c: Removed.
15174         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
15175         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
15177         * math/cimag.c: Refactor into
15178         * math/cimag_template.c: new file.
15179         * math/cimagf.c: Removed.
15180         * math/cimagl.c: Removed.
15181         * sysdeps/ieee754/ldbl-opt/cimagf.c: Removed.
15182         * sysdeps/ieee754/ldbl-opt/cimagl.c: Removed.
15184 2016-08-17  Florian Weimer  <fweimer@redhat.com>
15186         Reduce time to expected nptl/tst-once5 failure.
15187         * nptl/tst-once5.cc (TIMEOUT): Define.
15189 2016-08-17  Florian Weimer  <fweimer@redhat.com>
15191         [BZ #20452]
15192         Avoid additional copies of objects in libc.a in static libraries.
15193         * sysdeps/ia64/nptl/Makefile (libpthread-shared-only-routines):
15194         Add ptw-sysdep, ptw-sigblock, ptw-sigprocmask.
15195         * sysdeps/mips/Makefile (librt-shared-only-routines): Add
15196         rt-sysdep.
15197         * sysdeps/mips/nptl/Makefile (libpthread-shared-only-routines):
15198         Add nptl-sysdep.
15199         * sysdeps/s390/nptl/Makefile (libpthread-shared-only-routines):
15200         Add ptw-sysdep.
15201         * sysdeps/unix/alpha/Makefile (librt-shared-only-routines): Add
15202         rt-sysdep.
15203         * sysdeps/unix/sysv/linux/alpha/Makefile
15204         (libpthread-shared-only-routines): Add ptw-sysdep,
15205         ptw-sigprocmask, ptw-rt_sigaction.
15206         * sysdeps/unix/sysv/linux/ia64/Makefile
15207         (librt-shared-only-routines): Add rt-sysdep.
15208         * sysdeps/unix/sysv/linux/i386/Makefile
15209         (libpthread-shared-only-routines): Add libc-do-syscall.
15210         * sysdeps/unix/sysv/linux/microblaze/Makefile
15211         (libpthread-shared-only-routines): Add sysdep.
15212         * sysdeps/unix/sysv/linux/powerpc/Makefile
15213         (librt-shared-only-routines): Add rt-sysdep.
15214         (libpthread-shared-only-routines): Add sysdep.
15215         * sysdeps/unix/sysv/linux/s390/Makefile
15216         (librt-shared-only-routines): Add rt-sysdep.
15217         * sysdeps/unix/sysv/linux/sparc/Makefile
15218         (librt-shared-only-routines): Add rt-sysdep.
15219         (libpthread-shared-only-routines): Add sysdep.
15220         * sysdeps/unix/sysv/linux/tile/Makefile
15221         (libpthread-shared-only-routines): Likewise.
15223 2016-08-16  Joseph Myers  <joseph@codesourcery.com>
15225         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_E):
15226         Mask implicit bit out of unpacked value.
15227         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_EP): Likewise.
15228         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_E): Likewise.
15229         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_EP): Likewise.
15231         * sysdeps/sparc/fpu/fesetexcept.c: New file.
15233         * sysdeps/sh/sh4/fpu/fesetexcept.c: New file.
15235         * sysdeps/s390/fpu/fesetexcept.c: New file.
15237         * sysdeps/powerpc/fpu/fesetexcept.c: New file.
15238         * sysdeps/powerpc/nofpu/fesetexcept.c: Likewise.
15239         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetexcept.c: Likewise.
15241         * sysdeps/mips/fpu/fesetexcept.c: New file.
15243         * sysdeps/m68k/fpu/fesetexcept.c: New file.
15245         * sysdeps/ia64/fpu/fesetexcept.c: New file.
15247         * sysdeps/hppa/fpu/fesetexcept.c: New file.
15249         * sysdeps/arm/fesetexcept.c: New file.
15251         * sysdeps/alpha/fpu/fesetexcept.c: New file.
15253         * sysdeps/aarch64/fpu/fesetexcept.c: New file.
15255         * math/fesetexcept.c: New file.
15256         * sysdeps/i386/fpu/fesetexcept.c: Likewise.
15257         * sysdeps/x86_64/fpu/fesetexcept.c: Likewise.
15258         * math/fenv.h: Define
15259         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
15260         <bits/libc-header-start.h> instead of including <features.h>.
15261         [__GLIBC_USE (IEC_60559_BFP_EXT)] (fesetexcept): New function
15262         declaration.
15263         * manual/arith.texi (fesetexcept): Document function.
15264         * math/Versions (fesetexcept): New libm symbol at version
15265         GLIBC_2.25.
15266         * math/Makefile (libm-support): Add fesetexcept.
15267         (tests): Add test-fesetexcept and test-fesetexcept-traps.
15268         * math/test-fesetexcept.c: New file.
15269         * math/test-fesetexcept-traps.c: Likewise.
15270         * sysdeps/nacl/libm.abilist: Update.
15271         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
15272         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
15273         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
15274         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
15275         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
15276         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
15277         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
15278         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
15279         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
15280         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
15281         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
15282         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
15283         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
15284         Likewise.
15285         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
15286         Likewise.
15287         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
15288         Likewise.
15289         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
15290         Likewise.
15291         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
15292         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
15293         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
15294         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
15295         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
15296         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
15297         Likewise.
15298         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
15299         Likewise.
15300         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
15301         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
15302         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
15304 2016-08-16  Florian Weimer  <fweimer@redhat.com>
15306         * nptl/tst-tls3.c (default_stack_size_in_mb, stack_size_in_mb):
15307         New.
15308         (do_test): Apply default_stack_size_in_mb if not set.
15309         * nptl/tst-tls3-malloc.c (stack_size_in_mb): Override default.
15311 2016-08-15  Andreas Schwab  <schwab@suse.de>
15313         [BZ #20435]
15314         CVE-2016-6323
15315         * sysdeps/unix/sysv/linux/arm/setcontext.S (__startcontext): Mark
15316         as .cantunwind.
15318 2016-08-12  Joseph Myers  <joseph@codesourcery.com>
15320         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Add
15321         comment from fraiseexcpt.c.
15323         * math/test-fexcept.c (feraiseexcept_exact): New function.
15324         (test_set): Call feraiseexcept_exact instead of feraiseexcept.
15325         (test_except): Likewise.
15327 2016-08-10  Joseph Myers  <joseph@codesourcery.com>
15329         [BZ #20455]
15330         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Mask out
15331         all FE_INVALID sub-exceptions from FPSCR when FE_INVALID specified
15332         to be restored.
15334         * math/test-fexcept-traps.c: New file.
15335         * math/test-fexcept.c: Likewise.
15336         * math/Makefile (tests): Add test-fexcept and test-fexcept-traps.
15337         * sysdeps/generic/math-tests.h (EXCEPTION_SET_FORCES_TRAP): New
15338         macro.
15339         * sysdeps/powerpc/math-tests.h [!__NO_FPRS__]
15340         (EXCEPTION_SET_FORCES_TRAP): Likewise.
15342 2016-08-09  Torvald Riegel  <triegel@redhat.com>
15344         * include/atomic.h (atomic_fetch_and_relaxed,
15345         atomic_fetch_and_release, atomic_fetch_or_release,
15346         atomic_fetch_xor_release): New.
15348 2016-08-06  Christian Seiler  <christian@iwakd.de>
15350         [BZ #20444]
15351         * sysdeps/mach/hurd/recvmsg.c (__libc_recvmsg): Cope with aport being
15352         MACH_PORT_NULL.
15354 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
15356         * math/s_fdim.c: Avoid alias renamed.
15357         * math/s_fdimf.c: Likewise.
15358         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
15359         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
15360         Add s_fdimf-vis3, s_fdim-vis3.
15361         (CFLAGS-s_fdimf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
15362         (CFLAGS-s_fdim-vis3.c): Likewise.
15363         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.c: New file.
15364         sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.c: Likewise.
15366 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
15368         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
15369         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
15370         Remove s_fdimf-vis3, s_fdim-vis3.
15371         * sysdeps/sparc/sparc32/fpu/s_fdim.S: Delete file.
15372         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: Likewise.
15373         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: Likewise.
15374         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: Likewise.
15375         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: Likewise.
15376         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: Likewise.
15377         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: Likewise.
15378         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: Likewise.
15379         * sysdeps/sparc/sparc64/fpu/s_fdim.S: Likewise.
15380         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: Likewise.
15382 2016-08-05  Aurelien Jarno  <aurelien@aurel32.net>
15384         * sysdeps/sparc/sparc32/sparcv9/Makefile (sysdep-CFLAGS): Add -mvis.
15385         * sysdeps/sparc/sparc64/Makefile (sysdep-CFLAGS): New. Define to
15386         -Wa,-Av9a -mvis.
15388 2016-08-05  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15390         * math/gen-libm-test.pl (apply_lit): Rewrite to apply
15391         LIT() to individual constants in simple expressions
15392         after splitting on spaces.
15393         (_apply_lit): Rename replaced version, and use it to
15394         apply to what appears to be a token.
15396         * math/libm-test.inc: Fix many, many issues with
15397         spacing.
15399 2016-08-05  Joseph Myers  <joseph@codesourcery.com>
15401         * math/math.h: Move comment about <bits/mathdef.h> definitions
15402         above inclusion of <bits/mathdef.h>.  Do not mention
15403         FLT_EVAL_METHOD, INFINITY or DECIMAL_DIG in that comment.
15405 2016-08-05  Torvald Riegel  <triegel@redhat.com>
15407         * include/atomic.h (atomic_exchange_relaxed): New.
15409 2016-08-04  Joseph Myers  <joseph@codesourcery.com>
15411         * math/e_scalb.c: Do not include <fenv.h>.
15412         (invalid_fn): Do calculation resulting in NaN instead of raising
15413         FE_INVALID and returning a NaN explicitly.
15414         * math/e_scalbf.c: Do not include <fenv.h>.
15415         (invalid_fn): Do calculation resulting in NaN instead of raising
15416         FE_INVALID and returning a NaN explicitly.
15417         * math/e_scalbl.c: Do not include <fenv.h>.
15418         (invalid_fn): Do calculation resulting in NaN instead of raising
15419         FE_INVALID and returning a NaN explicitly.
15421 2016-08-04  Carlos O'Donell  <carlos@redhat.com>
15423         * po/de.po: Updated from Translation Project.
15424         * po/fi.po: Likewise.
15425         * po/sv.po: Likewise.
15427 2016-08-04  Florian Weimer  <fweimer@redhat.com>
15429         [BZ #20452]
15430         Use sysdep.o from libc.a in static libraries.
15431         * sysdeps/unix/sysv/linux/i386/Makefile
15432         (libpthread-shared-only-routines): Add sysdep.
15433         (librt-shared-only-routines): Likewise.
15435 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
15437         * math/tgmath.h (nextdown): Define if
15438         [__GLIBC_USE (IEC_60559_BFP_EXT)], not if [__USE_GNU].
15439         (nextup): Likewise.
15441         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_FUNCS_EXT): New
15442         macro.
15443         * include/features.h (__STDC_WANT_IEC_60559_FUNCS_EXT__):
15444         Document.
15445         * manual/creature.texi (__STDC_WANT_IEC_60559_FUNCS_EXT__):
15446         Document macro.
15447         * manual/math.texi (exp10): Document as ISO from TS 18661-4:2015.
15448         (exp10f): Likewise.
15449         (exp10l): Likewise.
15450         * math/bits/mathcalls.h (exp10): Declare if
15451         [__GLIBC_USE (IEC_60559_FUNCS_EXT)], not [__USE_GNU].
15453         * manual/arith.texi (nextup): Fix typo in last change.
15455 2016-08-03  Zack Weinberg  <zackw@panix.com>
15457         [BZ #19239]
15458         * NEWS: Inclusion of <sys/sysmacros.h> by <sys/types.h> is deprecated.
15459         * misc/sys/sysmacros.h: If __SYSMACROS_DEPRECATED_INCLUSION is defined,
15460         define major, minor, and makedev to issue deprecation warnings on use.
15461         If __SYSMACROS_DEPRECATED_INCLUSION is *not* defined, suppress
15462         previously-activated deprecation warnings for these macros and prevent
15463         subsequent inclusions of this header from having any effect.
15464         * posix/sys/types.h: Define __SYSMACROS_DEPRECATED_INCLUSION before
15465         including <sys/sysmacros.h>, and undefine it again afterward.
15467 2016-08-03  Zack Weinberg  <zackw@panix.com>
15469         * sysdeps/generic/sys/sysmacros.h: Delete file.
15470         * sysdeps/unix/sysv/linux/makedev.c: Delete file.
15471         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Move file ...
15472         * bits/sysmacros.h: ... here; this encoding is now the generic
15473         encoding.  Now defines only the following macros:
15474         __SYSMACROS_DECLARE_MAJOR, __SYSMACROS_DEFINE_MAJOR,
15475         __SYSMACROS_DECLARE_MINOR, __SYSMACROS_DEFINE_MINOR,
15476         __SYSMACROS_DECLARE_MAKEDEV, __SYSMACROS_DEFINE_MAKEDEV.
15478         * misc/sys/sysmacros.h, misc/makedev.c: New files that use
15479         bits/sysmacros.h and the above new macros to generate the
15480         public implementations of major, minor, and makedev.
15481         * misc/tst-makedev.c: New test.
15482         * include/sys/sysmacros.h: New wrapper.
15484         * misc/Makefile (headers): Add sys/sysmacros.h, bits/sysmacros.h.
15485         (routines): Add makedev.
15486         (tests): Add tst-makedev.
15487         * misc/Versions [GLIBC_2.25]: Add gnu_dev_major, gnu_dev_minor,
15488         gnu_dev_makedev.
15489         * posix/Makefile (headers): Remove sys/sysmacros.h.
15490         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove makedev.
15492         * sysdeps/arm/nacl/libc.abilist: Add GLIBC_2.25,
15493         gnu_dev_major, gnu_dev_makedev, gnu_dev_minor.
15494         * sysdeps/unix/sysv/linux/aarch64/libc.abilist
15495         * sysdeps/unix/sysv/linux/alpha/libc.abilist
15496         * sysdeps/unix/sysv/linux/arm/libc.abilist
15497         * sysdeps/unix/sysv/linux/hppa/libc.abilist
15498         * sysdeps/unix/sysv/linux/i386/libc.abilist
15499         * sysdeps/unix/sysv/linux/ia64/libc.abilist
15500         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
15501         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist
15502         * sysdeps/unix/sysv/linux/microblaze/libc.abilist
15503         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
15504         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
15505         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
15506         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
15507         * sysdeps/unix/sysv/linux/nios2/libc.abilist
15508         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
15509         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
15510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
15511         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
15512         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist
15513         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist
15514         * sysdeps/unix/sysv/linux/sh/libc.abilist
15515         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
15516         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
15517         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
15518         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
15519         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist
15520         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist
15521         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist:
15522         Add GLIBC_2.25.
15524         * include/features.h (__glibc_clang_prereq): New macro.
15525         * misc/sys/cdefs.h (__glibc_clang_has_extension)
15526         (__attribute_deprecated_msg__): New macros.
15528 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
15530         * bits/libc-header-start.h (__GLIBC_USE_IEC_60559_BFP_EXT): New
15531         macro.
15532         * include/features.h (__STDC_WANT_IEC_60559_BFP_EXT__): Document.
15533         * manual/arith.texi (issignaling): Document as ISO from TS
15534         18661-1:2014.
15535         (nextup): Likewise.
15536         (nextupf): Likewise.
15537         (nextupl): Likewise.
15538         (nextdown): Likewise.
15539         (nextdownf): Likewise.
15540         (nextdownl): Likewise.
15541         * manual/creature.texi (__STDC_WANT_IEC_60559_BFP_EXT__): Document
15542         macro.
15543         * math/math.h: Define
15544         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
15545         <bits/libc-header-start.h> instead of including <features.h>.
15546         (issignaling): Define if [__GLIBC_USE (IEC_60559_BFP_EXT)], not
15547         [__USE_GNU].
15548         * math/bits/mathcalls.h (nextdown): Declare if
15549         [__GLIBC_USE (IEC_60559_BFP_EXT)], not [__USE_GNU].
15550         (nextup): Likewise.
15551         (__issignaling): Likewise.
15553 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15555         * s_ccoshf.c (__ccoshf): Remove FE_INVALID
15556         check, and remove __glibc_likely hint
15557         from FP_INFINITE check.
15558         * s_csinhf.c (__csinhf): Likewise.
15560         * s_ccoshl.c (__ccoshl): Remove __glibc_likely
15561         hint from FP_INFINITE check.
15562         * s_csinhl.c (__csinhl): Likewise.
15564 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15566         * math/Makefile (libm-calls): Insert F placeholder into
15567         object names.  Move w_lgamma_compat* routines into
15568         (libm-compat-calls): New variable.
15569         (libm-compat-calls-ldouble-yes): New variable.
15570         (calls): Insert F placeholder.
15571         (generated): Redefine using new type-foreach macro call.
15572         (routines): Likewise.
15574         (types): New variable to hold a list of symbolic names
15575         for each type supported by the target machine.
15576         (libm-routines): Redefine using new types variable.
15577         (type-foreach): macro to replace fooF with the
15578         appropriately suffixed foo for each types.
15580         (type-ldouble-suffix): New variable.
15581         (type-ldouble-routines): Likewise.
15582         (type-ldouble-yes): Likewise.
15583         (type-double-suffix): Likewise.
15584         (type-double-routines): Likewise.
15585         (type-float-suffix): Likewise.
15586         (type-float-routines): Likewise.
15588         (dbl-only-routines): Remove.
15589         (long-c-yes): Likewise.
15590         (long-m-routines): Likewise.
15591         (long-m-support): Likewise.
15592         (long-m-yes): Likewise.
15593         (test-longdouble-yes): Likewise.
15595         (test-float.o): Simplify by increasing the scope of the
15596         recipe which adds libm-test.stmp to the vector types.
15597         (test-ifloat.o): Likewise.
15598         (test-float-finite.o): Likewise.
15599         (test-double.o): Likewise
15600         (test-idouble.o): Likewise.
15601         (test-double-finite.o): Likewise.
15602         (test-ldouble.o): Likewise
15603         (test-ildoubl.o): Likewise.
15604         (test-ldouble-finite.o): Likewise.
15606         (libm-tests): Redefine type tests using foreach and the
15607         list of types in types.
15609         (CPPFLAGS-test-ildoubl.c): Rename to
15610         (CPPFLAGS-test-ildouble.c): New variable
15612         * math/test-ildoubl.c: Rename to
15613         * math/test-ildouble.c: New file.
15615 2016-08-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
15617         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernal_tanl):
15618         Use fabsl instead of fabs.
15619         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl):
15620         Likewise.
15621         * sysdeps/ieee754/ldbl-128/s_atanl.c (__kernel_tanl):
15622         Add long double suffix to constant to ensure proper
15623         promotion to long double.
15625 2016-08-03  Tom Tromey  <tom@tromey.com>
15627         [BZ #20311]
15628         * nptl_db/Makefile (headers): Add proc_service.h.
15629         * nptl_db/proc_service.h: Add include guard.  Use
15630         __BEGIN/__END_DECLS.
15631         (ps_get_thread_area, ps_pstop, ps_pcontinue, ps_lstop)
15632         (ps_lcontinue): Remove "const" from "struct ps_prochandle *"
15633         arguments.
15636 2016-08-03  Florian Weimer  <fweimer@redhat.com>
15638         [BZ #17730]
15639         Avoid using memalign for TCB allocations.
15640         * elf/dl-tls.c (tcb_to_pointer_to_free_location): New.
15641         (_dl_allocate_tls_storage): Use malloc and manual alignment.
15642         Avoid alignment gap in the TLS_DTV_AT_TP case.
15643         (_dl_deallocate_tls): Use tcb_to_pointer_to_free_location to
15644         determine the pointer to free.
15645         * nptl/tst-tls3-malloc.c: New test.
15646         * nptl/Makefile (tests): Add it.
15647         (tst-tls3-malloc): Link with libdl, libpthread.
15648         (LDFLAGS-tst-tls3-malloc): Set.
15649         (tst-tls3-malloc.out): Depend on DSO used in test.
15651 2016-08-03  Florian Weimer  <fweimer@redhat.com>
15653         [BZ #17730]
15654         Avoid using memalign for TLS allocations.
15655         * sysdeps/generic/dl-dtv.h (struct dtv_pointer): New.  Replaces
15656         is_static member with to_free member.
15657         (union dtv): Use struct dtv_pointer.
15658         * csu/libc-tls.c (__libc_setup_tls): Set to_free member of struct
15659         dtv_pointer instead of is_static.
15660         * elf/dl-tls.c (_dl_allocate_tls_init): Likewise.
15661         (_dl_deallocate_tls): Free to_free member of struct dtv_pointer
15662         instead of val.
15663         (allocate_dtv_entry): New function.
15664         (allocate_and_init): Return struct dtv_pointer.  Call
15665         allocate_dtv_entry instead of __libc_memalign.
15666         (_dl_update_slotinfo): Free to_free member of struct dtv_pointer
15667         instead of val.
15668         (tls_get_addr_tail): Set to_free member of struct dtv_pointer
15669         instead of is_static.  Adjust call to allocate_and_init.
15670         * nptl/allocatestack.c (get_cached_stack): Free to_free member of
15671         struct dtv_pointer instead of val.
15673 2016-08-03  Florian Weimer  <fweimer@redhat.com>
15675         * malloc/malloc.c (INTERNAL_SIZE_T, SIZE_SZ, MALLOC_ALIGNMENT)
15676         (MALLOC_ALIGN_MASK): Move ...
15677         * malloc/malloc-internal.h: ... to here.
15678         * elf/dl-minimal.c (malloc): Allocate with MALLOC_ALIGNMENT.
15680 2016-08-03  Joseph Myers  <joseph@codesourcery.com>
15682         * sysdeps/gnu/netinet/udp.h (UDP_ENCAP_GTP0): New macro.
15683         (UDP_ENCAP_GTP1U): Likewise.
15685         * sysdeps/unix/sysv/linux/bits/socket.h (PF_QIPCRTR): New macro.
15686         (PF_MAX): Update value.
15687         (AF_QIPCRTR): New macro.
15689 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
15691         * sysdeps/ieee754/dbl-64/s_trunc.c: Avoid alias renamed.
15692         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
15693         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
15694         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile
15695         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
15696         Add s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
15697         s_truncf-vis3, s_trunc-vis3.
15698         (CFLAGS-s_ceilf-vis3.c): New. Set to -Wa,-Av9d -mvis3.
15699         (CFLAGS-s_ceil-vis3.c): Likewise.
15700         (CFLAGS-s_floorf-vis3.c): Likewise.
15701         (CFLAGS-s_floor-vis3.c): Likewise.
15702         (CFLAGS-s_truncf-vis3.c): Likewise.
15703         (CFLAGS-s_trunc-vis3.c): Likewise.
15704         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.c: New file.
15705         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.c: Likewise.
15706         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.c: Likewise.
15707         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.c: Likewise.
15708         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.c: Likewise.
15709         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.c: Likewise.
15710         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.c: Likewise.
15711         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.c: Likewise.
15712         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.c: Likewise.
15713         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.c: Likewise.
15714         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.c: Likewise.
15715         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.c: Likewise.
15717 2016-08-02  David S. Miller  <davem@davemloft.net>
15719         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
15720         (__nearbyint_vis3): Don't check for sNaN before float register is
15721         loaded with the incoming argument.
15722         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
15723         (__nearbyintf_vis3): Likewise.
15724         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint):
15725         Likewise.
15726         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf):
15727         Likewise.
15729         * string/test-strncmp.c (do_test_limit): Make sure the test data
15730         stream is aligned as required for the type "CHAR".
15731         (do_test): Likewise.
15733 2016-08-03  Aurelien Jarno  <aurelien@aurel32.net>
15735         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Replace beqlr instructions
15736         by beq instructions jumping to the end of the function.
15737         * sysdeps/powerpc/ifunc-sel.h (ifunc_sel): Add "11", "12", "cr0" to the
15738         clobber list. Use "i" constraint instead of "X".
15739         (ifunc_one): Add "12" to the clobber list. Use "i" constraint instead
15740         of "X".
15742 2016-08-02  Joseph Myers  <joseph@codesourcery.com>
15744         * bits/libc-header-start.h: New file.
15745         * Makefile (headers): Add bits/libc-header-start.h.
15746         * include/features.h (__STDC_WANT_LIB_EXT2__): Document.
15747         (__GLIBC_USE): New macro.
15748         * libio/stdio.h: Define
15749         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
15750         <bits/libc-header-start.h> instead of including <features.h>.
15751         (fmemopen): Declare also if [__GLIBC_USE (LIB_EXT2)].
15752         (open_memstream): Likewise.
15753         (vasprintf): Declare if [__GLIBC_USE (LIB_EXT2)], not [__USE_GNU].
15754         (__asprintf): Likewise.
15755         (asprintf): Likewise.
15756         (__getdelim): Declare also if [__GLIBC_USE (LIB_EXT2)].
15757         (getdelim): Likewise.
15758         (getline): Likewise.
15759         * string/string.h: Define
15760         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
15761         <bits/libc-header-start.h> instead of including <features.h>.
15762         (strdup): Declare also if [__GLIBC_USE (LIB_EXT2)]
15763         (strndup): Likewise.
15764         * wcsmbs/wchar.h: Define
15765         __GLIBC_INTERNAL_STARTING_HEADER_IMPLEMENTATION and include
15766         <bits/libc-header-start.h> instead of including <features.h>.
15767         (open_wmemstream): Declare also if [__GLIBC_USE (LIB_EXT2)].
15768         * manual/creature.texi (__STDC_WANT_LIB_EXT2__): Document macro.
15770 2016-08-02  Florian Weimer  <fweimer@redhat.com>
15772         Support linking against compatibility symbols, for use in tests.
15773         * include/libc-symbols.h (symbol_version_reference): New macro.
15774         (symbol_version): Use it.
15775         * include/shlib-compat.h: Unconditionally include <abi-versions.h>.
15776         (compat_symbol): Use compat_symbol_reference.
15777         (compat_symbol_1, compat_symbol_2): Remove.
15778         (compat_symbol_reference, compat_symbol_reference_1)
15779         (compat_symbol_reference_2): New macro.  Use
15780         symbol_version_reference.
15782 2016-08-02  Florian Weimer  <fweimer@redhat.com>
15784         [BZ #19469]
15785         * malloc/Makefile (CPPFLAGS): Compile tests with
15786         -DTEST_NO_MALLOPT.
15787         * test-skeleton.c (main): Only call mallopt if !TEST_NO_MALLOPT.
15789 2016-08-02  Andrew Senkevich  <andrew.senkevich@intel.com>
15791         [BZ #20033]
15792         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: Call
15793         finite version.
15794         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: Likewise.
15795         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: Likewise.
15796         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: Likewise.
15797         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: Likewise.
15798         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: Likewise.
15799         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: Likewise.
15800         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: Likewise.
15801         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: Likewise.
15802         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Likewise.
15803         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: Likewise.
15804         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: Likewise.
15805         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: Likewise.
15806         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: Likewise.
15807         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: Likewise.
15808         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: Likewise.
15809         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: Likewise.
15810         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: Likewise.
15811         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: Likewise.
15812         * sysdeps/x86_64/fpu/svml_d_log2_core.S: Likewise.
15813         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: Likewise.
15814         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: Likewise.
15815         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: Likewise.
15816         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: Likewise.
15817         * math/libm-test.inc (pow_test_data): Exclude tests for qNaN
15818         in zero power.
15820 2016-08-02  Florian Weimer  <fweimer@redhat.com>
15822         [BZ #20370]
15823         * malloc/arena.c (get_free_list): Update comment.  Assert that
15824         arenas on the free list have no attached threads.
15825         (remove_from_free_list): New function.
15826         (reused_arena): Call it.
15828 2016-08-02  Aurelien Jarno  <aurelien@aurel32.net>
15830         * sysdeps/alpha/fpu/s_ceil.c (__ceil): Add argument with itself
15831         when it is a NaN.
15832         [_IEEE_FP_INEXACT] Remove.
15833         * sysdeps/alpha/fpu/s_ceilf.c (__ceilf): Likewise.
15834         * sysdeps/alpha/fpu/s_floor.c (__floor): Add argument with itself
15835         when it is a NaN.
15836         [_IEEE_FP_INEXACT] Remove.
15837         * sysdeps/alpha/fpu/s_floorf.c (__floorf): Likewise.
15838         * sysdeps/alpha/fpu/s_rint.c (__rint): Add argument with itself
15839         when it is a NaN.
15840         * sysdeps/alpha/fpu/s_rintf.c (__rintf): Likewise.
15841         * sysdeps/alpha/fpu/s_trunc.c (__trunc): Return the input value
15842         when its absolute value is greater than 0x1.0p52.
15843         [_IEEE_FP_INEXACT] Remove.
15844         * sysdeps/alpha/fpu/s_truncf.c (__truncf): Return the input value
15845         when its absolute value is greater than 0x1.0p23.
15846         [_IEEE_FP_INEXACT] Remove.
15848 2016-08-01  Carlos O'Donell  <carlos@redhat.com>
15850         * version.h (RELEASE): Set to "development"
15851         (VERSION): Set to 2.24.90.
15852         * NEWS: Add 2.25 section.
15854         * version.h (RELEASE): Set to "stable"
15855         (VERSION): Set to 2.24.
15856         * include/features.h (__GLIBC_MINOR__): Set to 24.
15858         * NEWS: Add 2.24 fixed bugs.
15859         * po/libc.pot: Regenerate.
15861 2016-08-01  Aurelien Jarno  <aurelien@aurel32.net>
15863         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile
15864         [$(subdir) = math] (libm-sysdep_routines): Remove.
15865         [$(subdir) = math && $(have-as-vis3) = yes] (libm-sysdep_routines):
15866         Remove s_ceilf-vis3, s_ceil-vis3, s_floorf-vis3, s_floor-vis3,
15867         s_truncf-vis3, s_trunc-vis3.
15868         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
15869         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: Delete
15870         file.
15871         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Likewise.
15872         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Likewise.
15873         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: Likewise.
15874         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: Likewise.
15875         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
15876         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: Likewise.
15877         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Likewise.
15878         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
15879         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: Likewise.
15880         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: Likewise.
15881         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: Likewise.
15882         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: Likewise.
15883         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: Likewise.
15884         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: Likewise.
15885         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: Likewise.
15886         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
15887         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
15888         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
15889         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: Likewise.
15890         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: Likewise.
15891         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: Likewise.
15892         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: Likewise.
15893         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
15894         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
15895         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: Likewise.
15896         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
15897         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
15898         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: Likewise.
15899         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
15900         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
15901         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: Likewise.
15902         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
15903         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
15904         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: Likewise.
15905         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: Likewise.
15906         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: Likewise.
15907         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: Likewise.
15908         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
15909         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
15910         * sysdeps/sparc/sparc64/fpu/s_floor.S: Likewise.
15911         * sysdeps/sparc/sparc64/fpu/s_floorf.S: Likewise.
15912         * sysdeps/sparc/sparc64/fpu/s_trunc.S: Likewise.
15913         * sysdeps/sparc/sparc64/fpu/s_truncf.S: Likewise.
15915 2016-07-27  H.J. Lu  <hongjiu.lu@intel.com>
15917         [BZ #20384]
15918         * sysdeps/x86_64/fpu/Makefile (extra-test-objs): Add
15919         test-double-libmvec-sincos-avx-main.o,
15920         test-double-libmvec-sincos-avx2-main.o,
15921         test-double-libmvec-sincos-main.o,
15922         test-float-libmvec-sincosf-avx-main.o,
15923         test-float-libmvec-sincosf-avx2-main.o and
15924         test-float-libmvec-sincosf-main.o.
15925         test-float-libmvec-sincosf-avx512-main.o.
15926         ($(objpfx)test-double-libmvec-sincos): Also link with
15927         $(objpfx)test-double-libmvec-sincos-main.o.
15928         ($(objpfx)test-double-libmvec-sincos-avx): Also link with
15929         $(objpfx)test-double-libmvec-sincos-avx-main.o.
15930         ($(objpfx)test-double-libmvec-sincos-avx2): Also link with
15931         $(objpfx)test-double-libmvec-sincos-avx2-main.o.
15932         ($(objpfx)test-float-libmvec-sincosf): Also link with
15933         $(objpfx)test-float-libmvec-sincosf-main.o.
15934         ($(objpfx)test-float-libmvec-sincosf-avx): Also link with
15935         $(objpfx)test-float-libmvec-sincosf-avx2-main.o.
15936         [$(config-cflags-avx512) == yes] (extra-test-objs): Add
15937         test-double-libmvec-sincos-avx512-main.o and
15938         ($(objpfx)test-double-libmvec-sincos-avx512): Also link with
15939         $(objpfx)test-double-libmvec-sincos-avx512-main.o.
15940         ($(objpfx)test-float-libmvec-sincosf-avx512): Also link with
15941         $(objpfx)test-float-libmvec-sincosf-avx512-main.o.
15942         (CFLAGS-test-double-libmvec-sincos.c): Removed.
15943         (CFLAGS-test-float-libmvec-sincosf.c): Likewise.
15944         (CFLAGS-test-double-libmvec-sincos-main.c): New.
15945         (CFLAGS-test-double-libmvec-sincos-avx-main.c): Likewise.
15946         (CFLAGS-test-double-libmvec-sincos-avx2-main.c): Likewise.
15947         (CFLAGS-test-float-libmvec-sincosf-main.c): Likewise.
15948         (CFLAGS-test-float-libmvec-sincosf-avx-main.c): Likewise.
15949         (CFLAGS-test-float-libmvec-sincosf-avx2-main.c): Likewise.
15950         (CFLAGS-test-float-libmvec-sincosf-avx512-main.c): Likewise.
15951         (CFLAGS-test-double-libmvec-sincos-avx.c): Set to -DREQUIRE_AVX.
15952         (CFLAGS-test-float-libmvec-sincosf-avx.c ): Likewise.
15953         (CFLAGS-test-double-libmvec-sincos-avx2.c): Set to
15954         -DREQUIRE_AVX2.
15955         (CFLAGS-test-float-libmvec-sincosf-avx2.c ): Likewise.
15956         (CFLAGS-test-double-libmvec-sincos-avx512.c): Set to
15957         -DREQUIRE_AVX512F.
15958         (CFLAGS-test-float-libmvec-sincosf-avx512.c): Likewise.
15959         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Rewritten.
15960         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
15961         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx-main.c: New
15962         file.
15963         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2-main.c:
15964         Likewise.
15965         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512-main.c:
15966         Likewise.
15967         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-main.c:
15968         Likewise.
15969         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx-main.c:
15970         Likewise.
15971         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2-main.c:
15972         Likewise.
15973         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512-main.c:
15974         Likewise.
15975         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-main.c:
15976         Likewise.
15978 2016-07-27  Chung-Lin Tang  <cltang@codesourcery.com>
15980         * sysdeps/unix/sysv/linux/nios2/localplt.data (__eqsf2): Remove.
15982 2016-07-21  Gustavo Romero  <gromero@linux.vnet.ibm.com>
15984         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Fix missing verb
15985         and typo in a comment about AT_HWCAP entry.
15987 2016-07-21  Szabolcs Nagy  <szabolcs.nagy@arm.com>
15989         * sysdeps/aarch64/libm-test-ulps: Updated.
15991 2016-07-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
15993         * sysdeps/s390/s390-32/memcpy.S (memcpy): Eliminate the usage
15994         of r13 as it is not restored in mvcle case.
15996 2016-07-19  Mike Frysinger  <vapier@gentoo.org>
15998         * sysdeps/unix/sysv/linux/microblaze/sysdep.h (inline_syscall0):
15999         Rename "ret" to "__ret".
16000         (inline_syscall1, inline_syscall2, inline_syscall3, inline_syscall4,
16001         inline_syscall5, inline_syscall6): Likewise.
16003 2016-07-19   Will Newton  <will.newton@gmail.com>
16005         * elf/elf.h (R_METAG_REL8, R_METAG_REL16, R_METAG_TLS_GD
16006         R_METAG_TLS_LDM, R_METAG_TLS_LDO_HI16, R_METAG_TLS_LDO_LO16,
16007         R_METAG_TLS_LDO, R_METAG_TLS_IE, R_METAG_TLS_IENONPIC,
16008         R_METAG_TLS_IENONPIC_HI16, R_METAG_TLS_IENONPIC_LO16,
16009         R_METAG_TLS_LE, R_METAG_TLS_LE_HI16, R_METAG_TLS_LE_LO16): New.
16011 2016-07-18  H.J. Lu  <hongjiu.lu@intel.com>
16013         * sysdeps/i386/Makefile (rtld-CFLAGS): New.
16014         [subdir == elf] (CFLAGS-.os): Replace -mno-sse -mno-mmx
16015         -mfpmath=387 with $(rtld-CFLAGS).
16016         [subdir != elf] (CFLAGS-.os): Compile rtld-*.os with
16017         $(rtld-CFLAGS).
16019 2016-07-18   Ross Burton  <ross.burton@intel.com>
16020              Khem Raj  <raj.khem@gmail.com>
16022         * elf/elf.h (R_METAG_HIADDR16, R_METAG_LOADDR16,
16023         R_METAG_ADDR32, R_METAG_NONE, R_METAG_RELBRANCH,
16024         R_METAG_GETSETOFF, R_METAG_REG32OP1, R_METAG_REG32OP2,
16025         R_METAG_REG32OP3, R_METAG_REG16OP1, R_METAG_REG16OP2,
16026         R_METAG_REG16OP3, R_METAG_REG32OP4, R_METAG_HIOG,
16027         R_METAG_LOOG, R_METAG_GNU_VTINHERIT, R_METAG_GNU_VTENTRY,
16028         R_METAG_HI16_GOTOFF, R_METAG_LO16_GOTOFF,
16029         R_METAG_GETSET_GOTOFF, R_METAG_GETSET_GOT, R_METAG_HI16_GOTPC,
16030         R_METAG_LO16_GOTPC, R_METAG_HI16_PLT, R_METAG_LO16_PLT,
16031         R_METAG_RELBRANCH_PLT, R_METAG_GOTOFF, R_METAG_PLT,
16032         R_METAG_COPY, R_METAG_JMP_SLOT, R_METAG_RELATIVE,
16033         R_METAG_GLOB_DAT, R_METAG_TLS_TPOFF, R_METAG_TLS_DTPMOD,
16034         R_METAG_TLS_DTPOFF): New.
16036 2016-07-18  Siddhesh Poyarekar  <siddhesh@sourceware.org>
16037             Matt Clay  <mclay@lycos.com>
16039         [BZ #20357]
16040         * sysdeps/ieee754/dbl-64/s_sin.c (sloww): Fix up condition
16041         to call __mpsin/__mpcos and to negate values.
16042         * math/auto-libm-test-in: Add test.
16043         * math/auto-libm-test-out: Regenerate.
16045 2016-07-18  Zack Weinberg  <zackw@panix.com>
16047         * grp/Makefile: Don't install the internal header grp-merge.h.
16049 2016-07-18  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16051         * sysdeps/aarch64/libm-test-ulps: Regenerated.
16053 2016-07-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16055         * bits/termios.h (TABDLY): Change macro to include TAB3 bit too.
16057 2016-07-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16059         [BZ #15368]
16060         * sysdeps/unix/sysv/linux/nptl-signals.h
16061         (__nptl_clear_internal_signals): New function.
16062         (__libc_signal_block_all): Likewise.
16063         (__libc_signal_block_app): Likewise.
16064         (__libc_signal_restore_set): Likewise.
16065         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Use Linux raise.c
16066         implementation.
16067         * sysdeps/unix/sysv/linux/raise.c (raise): Reimplement to not use
16068         the cached pid/tid value in pthread structure.
16070 2016-07-13  H.J. Lu  <hongjiu.lu@intel.com>
16072         [BZ #20347]
16073         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
16075 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
16077         [BZ #20348]
16078         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add pread64,
16079         preadv64, pwrite64 and pwritev64.
16081 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
16083         [BZ #20350]
16084         * posix/tst-preadwrite.c: Renamed to ...
16085         * posix/tst-preadwrite-common.c: This.
16086         (PREAD): Removed.
16087         (PWRITE): Likewise.
16088         (STRINGIFY): Likewise.
16089         (STRINGIFY2): Likewise.
16090         (do_prepare): Make it static and remove function arguments.
16091         (do_test): Likewise.
16092         (PREPARE): Updated.
16093         (TEST_FUNCTION): New.
16094         (name): Make it static.
16095         (fd): Likewise.
16096         (do_prepare): Use create_temp_file.
16097         (do_test): Renamed to ...
16098         (do_test_with_offset): This.  Make it static and accept offset.
16099         Properly check return value of PWRITE and PREAD.  Return bytes
16100         read.  Don't close fd nor unlink name.
16101         * posix/tst-preadwrite.c: Rewrite.
16102         * posix/tst-preadwrite64.c: Likewise.
16104 2016-07-12  H.J. Lu  <hongjiu.lu@intel.com>
16106         [BZ #20309]
16107         * configure.ac (have-mtls-dialect-gnu2): Set to yes if
16108         -mtls-dialect=gnu2 works.
16109         * configure: Regenerated.
16110         * elf/Makefile [have-mtls-dialect-gnu2 = yes]
16111         (tests): Add tst-gnu2-tls1.
16112         (modules-names): Add tst-gnu2-tls1mod.
16113         ($(objpfx)tst-gnu2-tls1): New.
16114         (tst-gnu2-tls1mod.so-no-z-defs): Likewise.
16115         (CFLAGS-tst-gnu2-tls1mod.c): Likewise.
16116         * elf/tst-gnu2-tls1.c: New file.
16117         * elf/tst-gnu2-tls1mod.c: Likewise.
16118         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Add 8
16119         bytes for push in the PLT entry to align the stack.
16121 2016-07-11  H.J. Lu  <hongjiu.lu@intel.com>
16123         [BZ #20349]
16124         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (LO_HI_LONG): New.
16126 2016-07-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
16128         [BZ #18707]
16129         * sysdeps/aarch64/Makefile (CFLAGS-mcount.c): Add -mgeneral-regs-only.
16130         * sysdeps/aarch64/sysdep.h (CALL_MCOUNT): Save argument registers.
16132 2016-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16134         * sysdeps/unix/sysv/linux/sysdep.h
16135         [__WORDSIZE == 64 || __ASSUME_WORDSIZE64_ILP32] (LO_HI_LONG): Remove
16136         guards.
16137         * misc/tst-preadvwritev-common.c: New file.
16138         * misc/tst-preadvwritev.c: Use tst-preadvwritev-common.c.
16139         * misc/tst-preadvwritev64.c: Use tst-preadwritev-common.c and add
16140         a check for files larger than 2GB.
16142         * sysdeps/unix/sysv/linux/mips/kernel-features.h
16143         (__ASSUME_OFF_DIFF_OFF64): Remove define.
16144         * sysdeps/unix/sysv/linux/pread.c
16145         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread): Replace by
16146         __OFF_T_MATCHES_OFF64_T.
16147         * sysdeps/unix/sysv/linux/pread64.c
16148         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pread64): Likewise.
16149         * sysdeps/unix/sysv/linux/preadv.c
16150         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Likewise.
16151         * sysdeps/unix/sysv/linux/preadv64.c
16152         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv64): Likewise.
16153         * sysdeps/unix/sysv/linux/pwrite.c
16154         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite): Likewise.
16155         * sysdeps/unix/sysv/linux/pwrite64.c
16156         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwrite64): Likewise.
16157         * sysdeps/unix/sysv/linux/pwritev.c
16158         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Likewise.
16159         * sysdeps/unix/sysv/linux/pwritev64.c
16160         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev64): Likewise.
16162 2016-07-08  Chris Metcalf  <cmetcalf@mellanox.com>
16164         * sysdeps/unix/sysv/linux/tile/kernel-features.h
16165         (__ASSUME_ALIGNED_REGISTER_PAIRS): Only define if !_LP64.
16167 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
16169         * bits/in.h (__USE_KERNEL_IPV6_DEFS): Define to 0.
16171 2016-07-08  Aurelien Jarno  <aurelien@aurel32.net>
16173         [BZ #20240]
16174         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile
16175         (CFLAGS-s_modf-ppc32.c): New variable.
16176         (CFLAGS-s_modff-ppc32.c): Likewise.
16177         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
16178         (CFLAGS-s_modf-ppc64.c): Likewise.
16179         (CFLAGS-s_modff-ppc64.c): Likewise.
16181 2016-07-07  Andreas Schwab  <schwab@suse.de>
16183         [BZ #20263]
16184         * nptl/tst-robust10.c: New test.
16185         * nptl/Makefile (tests): Add tst-robust10.
16187 2016-07-07  Jiyoung Yun  <t2wish@gmail.com>
16189         [BZ #20263]
16190         * nptl/lowlevelrobustlock.c: Implement ETIMEDOUT logic.
16192 2016-07-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
16194         * sysdeps/s390/linkmap.h (struct link_map_machine):
16195         Remove member gotplt and add member jmprel.
16196         * sysdeps/s390/s390-32/dl-machine.h
16197         (elf_machine_runtime_setup): Setup member jmprel with DT_JMPREL
16198         instead of gotplt with &got[3].
16199         (elf_machine_lazy_rel): Calculate address with reloc and jmprel.
16200         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
16202 2016-07-06  John David Anglin  <danglin@gcc.gnu.org>
16204         * sysdeps/hppa/fpu/libm-test-ulps: Regenerate.
16206 2016-07-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
16208         * libio/iofopncook.c (_IO_cookie_read, _IO_cookie_write,
16209         _IO_cookie_seek, _IO_cookie_close, _IO_old_cookie_seek)
16210         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
16211         (set_callbacks) [!PTR_MANGLE]: Do not call PTR_MANGLE.
16212         * libio/vtables.c (_IO_vtable_check)
16213         [!PTR_DEMANGLE]: Do not call PTR_DEMANGLE.
16214         * libio/libioP.h (IO_set_accept_foreign_vtables)
16215         [!PTR_MANGLE]: Do not call PTR_MANGLE.
16217 2016-07-05  H.J. Lu  <hongjiu.lu@intel.com>
16219         [BZ #20314]
16220         * Makeconfig (CXXFLAGS): Prepend -I$(common-objpfx).
16221         * Makerules (before-compile): Add $(common-objpfx)cstdlib and
16222         $(common-objpfx)cmath.
16223         ($(common-objpfx)cstdlib): New target.
16224         ($(common-objpfx)cmath): Likewise.
16226 2016-07-05  Chris Metcalf  <cmetcalf@mellanox.com>
16228         * malloc/tst-malloc-thread-fail.c (TIMEOUT): Bump up to 30s.
16230 2016-07-05  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16232         [BZ #20327]
16233         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Mask bits that
16234         are not part of the string.
16236 2016-07-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16238         * nptl/tst-cancel4-common.c (do_test): Add temporary fifo creation.
16239         * nptl/tst-cancel4-common.h (fifoname): New variable.
16240         (fifofd): Likewise.
16241         (cl_fifo): New function.
16242         * nptl/tst-cancel4.c (tf_sigpause): Replace SIGCANCEL usage by
16243         SIGINT.
16244         (tf_open): Add early cancel test.
16246 2016-07-04  Andreas Schwab  <schwab@linux-m68k.org>
16248         * sysdeps/m68k/Makefile (CFLAGS-mcount.c): Define.
16250 2016-07-01  Maciej W. Rozycki  <macro@imgtec.com>
16252         * sysdeps/generic/ldsodefs.h
16253         (dl_symbol_visibility_binds_local_p): New inline function.
16254         * elf/dl-addr.c (determine_info): Treat hidden and internal
16255         symbols as local.
16256         * elf/dl-lookup.c (do_lookup_x): Likewise.
16257         * elf/dl-reloc.c (RESOLVE_MAP): Likewise.
16259 2016-07-01  Aurelien Jarno  <aurelien@aurel32.net>
16261         * sparc/sparc32/sparcv9/fpu/s_nearbyint.S (__nearbyint): Trigger an
16262         invalid exception for a sNaN input.
16263         * sparc/sparc32/sparcv9/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
16264         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S
16265         (__nearbyint_vis3): Likewise
16266         * sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S
16267         (__nearbyintf_vis3): Likewise
16268         * sparc/sparc64/fpu/s_nearbyint.S (__nearbyint): Likewise.
16269         * sparc/sparc64/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
16270         * sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S (__nearbyint_vis3):
16271         Likewise.
16272         * sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S (__nearbyintf_vis3):
16273         Likewise.
16275 2016-07-01  H.J. Lu  <hongjiu.lu@intel.com>
16277         [BZ #20139]
16278         * config.h.in (HAVE_AVX512_ASM_SUPPORT): Renamed to ...
16279         (HAVE_AVX512DQ_ASM_SUPPORT): This.
16280         * sysdeps/x86_64/configure.ac: Require assembler from binutils
16281         2.24 or above.
16282         (HAVE_AVX512_ASM_SUPPORT): Removed.
16283         (HAVE_AVX512DQ_ASM_SUPPORT): New.
16284         * sysdeps/x86_64/configure: Regenerated.
16285         * sysdeps/x86_64/dl-trampoline.S: Make HAVE_AVX512_ASM_SUPPORT
16286         check unconditional.
16287         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
16288         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
16289         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
16290         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S:
16291         Likewise.
16292         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
16293         Likewise.
16294         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
16295         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
16296         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
16297         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
16298         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
16299         Likewise.
16300         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
16301         Likewise.
16302         * sysdeps/x86_64/multiarch/memset.S: Likewise.
16303         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
16304         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Check
16305         HAVE_AVX512DQ_ASM_SUPPORT instead of HAVE_AVX512_ASM_SUPPORT.
16306         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S:
16307         Likewise.
16308         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S:
16309         Likewise.
16310         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S:
16311         Likewise.
16312         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S:
16313         Likewise.
16314         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.:
16315         Likewise.
16316         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S:
16317         Likewise.
16318         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S:
16319         Likewise.
16320         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S:
16321         Likewise.
16322         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S:
16323         Likewise.
16324         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx51:
16325         Likewise.
16326         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S:
16327         Likewise.
16329 2016-07-01  Andrew Senkevich  <andrew.senkevich@intel.com>
16331         [BZ #20024]
16332         * sysdeps/x86/fpu/test-math-vector-sincos.h: New.
16333         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Fixed ABI
16334         of this implementation of vector function.
16335         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
16336         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
16337         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S:
16338         Likewise.
16339         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
16340         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
16341         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: Likewise.
16342         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: Likewise.
16343         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: Likewise.
16344         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: Likewise.
16345         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S: Likewise.
16346         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S: Likewise.
16347         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S: Likewise.
16348         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S: Likewise.
16349         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Use another wrapper
16350         for testing vector sincos with fixed ABI.
16351         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
16352         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
16353         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
16354         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
16355         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
16356         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
16357         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
16358         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx.c: New test.
16359         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx2.c: Likewise.
16360         * sysdeps/x86_64/fpu/test-double-libmvec-sincos-avx512.c: Likewise.
16361         * sysdeps/x86_64/fpu/test-double-libmvec-sincos.c: Likewise.
16362         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx.c: Likewise.
16363         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx2.c: Likewise.
16364         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf-avx512.c: Likewise.
16365         * sysdeps/x86_64/fpu/test-float-libmvec-sincosf.c: Likewise.
16366         * sysdeps/x86_64/fpu/Makefile: Added new tests.
16368 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
16370         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Add _Qp_cmp.
16372 2016-06-30  Anton Blanchard  <anton@samba.org>
16374         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
16375         [$(subdir) = math] (libm-sysdep_routines): Add s_sinf-power8 and
16376         s_sinf-ppc64.
16377         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-power8.S: New file.
16378         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf-ppc64.c: Likewise.
16379         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_sinf.c: Likewise.
16380         * sysdeps/powerpc/powerpc64/power8/fpu/s_sinf.S: Likewise.
16382 2016-06-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
16384         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
16385         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile
16386         [$(subdir) = math] (libm-sysdep_routines): Add e_expf-power8 and
16387         e_expf-ppc64.
16388         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-power8.S: New file.
16389         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf-ppc64.c: Likewise.
16390         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_expf.c: Likewise.
16391         * sysdeps/powerpc/powerpc64/power8/fpu/e_expf.S: Likewise.
16393 2016-06-30  John David Anglin  <danglin@gcc.gnu.org>
16395         [BZ #20277]
16396         * sysdeps/hppa/start.S (_start): Correct loading of global pointer
16397         when SHARED is defined.
16399 2016-06-30  H.J. Lu  <hongjiu.lu@intel.com>
16401         * sysdeps/x86/cpu-features.h (bit_arch_Prefer_ERMS): New.
16402         (index_arch_Prefer_ERMS): Likewise.
16403         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Return
16404         __memcpy_erms for Prefer_ERMS.
16405         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
16406         (__memmove_erms): Enabled for libc.a.
16407         * ysdeps/x86_64/multiarch/memmove.S (__libc_memmove): Return
16408         __memmove_erms or Prefer_ERMS.
16409         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Return
16410         __mempcpy_erms for Prefer_ERMS.
16411         * sysdeps/x86_64/multiarch/memset.S (memset): Return
16412         __memset_erms for Prefer_ERMS.
16414 2016-06-30  Andreas Schwab  <schwab@suse.de>
16416         [BZ #20262]
16417         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn): Return
16418         NSS_STATUS_SUCCESS when done.  Return NSS_STATUS_TRYAGAIN when out
16419         of memory.
16421 2016-06-29  H.J. Lu  <hongjiu.lu@intel.com>
16423         [BZ #18645]
16424         * nptl/Makefile (extra-test-objs): Add tst-cleanupx4aux.o.
16425         (test-extras): Add tst-cleanupx4aux.
16426         (CFLAGS-tst-cleanupx4aux.c): New.  Set to -fexceptions.
16427         ($(objpfx)tst-cleanupx4): Replace tst-cleanup4aux.o with
16428         tst-cleanupx4aux.o.
16429         * nptl/tst-cleanupx4aux.c: New file.
16431 2016-06-30  Aurelien Jarno  <aurelien@aurel32.net>
16433         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Regenerated.
16435 2016-06-29  Andreas Schwab  <schwab@suse.de>
16437         [BZ #20260]
16438         * sysdeps/x86/bits/string.h (__strncat_g) [!__i686__]: Compute the
16439         address before the beginning of the string as an integer to avoid
16440         array-bounds warning.
16442 2016-06-28  Richard Henderson  <rth@redhat.com>
16444         * elf/elf.h (EM_BPF): New.
16445         (EM_NUM): Update.
16446         (R_BPF_NONE, R_BPF_MAP_FD): New.
16448         * elf/elf.h (EM_IAMCU, EM_SPU, EM_PDP10, EM_PDP11, EM_ARC_COMPACT,
16449         EM_VIDEOCORE, EM_TMM_GPP, EM_NS32K, EM_TPC, EM_SNP1K, EM_ST200,
16450         EM_IP2K, EM_MAX, EM_CR, EM_F2MC16, EM_MSP430, EM_BLACKFIN, EM_SE_C33,
16451         EM_SEP, EM_ARCA, EM_UNICORE, EM_EXCESS, EM_DXP, EM_ALTERA_NIOS2,
16452         EM_CRX, EM_XGATE, EM_C166, EM_M16C, EM_DSPIC30F, EM_CE, EM_M32C,
16453         EM_TSK3000, EM_RS08, EM_SHARC, EM_ECOG2, EM_SCORE7, EM_DSP24,
16454         EM_VIDEOCORE3, EM_LATTICEMICO32, EM_SE_C17, EM_TI_C6000, EM_TI_C2000,
16455         EM_TI_C5500, EM_TI_ARP32, EM_TI_PRU, EM_MMDSP_PLUS, EM_CYPRESS_M8C,
16456         EM_R32C, EM_TRIMEDIA, EM_QDSP6, EM_8051, EM_STXP7X, EM_NDS32,
16457         EM_ECOG1X, EM_MAXQ30, EM_XIMO16, EM_MANIK, EM_CRAYNV2, EM_RX,
16458         EM_METAG, EM_MCST_ELBRUS, EM_ECOG16, EM_CR16, EM_ETPU, EM_SLE9X,
16459         EM_L10M, EM_K10M, EM_AVR32, EM_STM8, EM_TILE64, EM_CUDA,
16460         EM_CLOUDSHIELD, EM_COREA_1ST, EM_COREA_2ND, EM_ARC_COMPACT2,
16461         EM_OPEN8, EM_RL78, EM_VIDEOCORE5, EM_78KOR, EM_56800EX, EM_BA1,
16462         EM_BA2, EM_XCORE, EM_MCHP_PIC, EM_KM32, EM_KMX32, EM_EMX16, EM_EMX8,
16463         EM_KVARC, EM_CDP, EM_COGE, EM_COOL, EM_NORC, EM_CSR_KALIMBA, EM_Z80,
16464         EM_VISIUM, EM_FT32, EM_MOXIE, EM_AMDGPU, EM_RISCV, EM_BPF): New.
16465         (EM_NUM): Update.
16467 2016-06-28  Stefan Liebler  <stli@linux.vnet.ibm.com>
16469         [BZ #18960]
16470         * locale/localeinfo.h (_NL_CURRENT_DEFINE):
16471         Set _nl_current_LC_CATEGORY_used to two instead of one.
16473 2016-06-27  Aurelien Jarno  <aurelien@aurel32.net>
16475         * sysdeps/mips/tst-mode-switch-1.c (main): Converted to ...
16476         (do_test): ... this.
16477         (TEST_FUNCTION): New macro.
16478          Include test-skeleton.c.
16479         * sysdeps/mips/tst-mode-switch-2.c (main): Likewise.
16480         * sysdeps/mips/tst-mode-switch-3.c (main): Likewise.
16482 2016-06-27  Joseph Myers  <joseph@codesourcery.com>
16484         [BZ #15479]
16485         * sysdeps/i386/fpu/s_trunc.S (__trunc): Save and restore
16486         floating-point environment rather than just control word.
16487         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
16488         * sysdeps/i386/fpu/s_truncl.S (__truncl): Save and restore
16489         floating-point environment, with "invalid" exceptions merged in,
16490         rather than just control word.
16491         * sysdeps/x86_64/fpu/s_truncl.S (__truncl): Likewise.
16492         * math/libm-test.inc (trunc_test_data): Do not allow spurious
16493         "inexact" exceptions.
16495         [BZ #15479]
16496         * sysdeps/i386/fpu/s_floor.S (__floor): Save and restore
16497         floating-point environment rather than just control word.
16498         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
16499         * sysdeps/i386/fpu/s_floorl.S (__floorl): Save and restore
16500         floating-point environment, with "invalid" exceptions merged in,
16501         rather than just control word.
16502         * sysdeps/x86_64/fpu/s_floorl.S (__floorl): Likewise.
16503         * math/libm-test.inc (floor_test_data): Do not allow spurious
16504         "inexact" exceptions.
16506         [BZ #15479]
16507         * sysdeps/i386/fpu/s_ceil.S (__ceil): Save and restore
16508         floating-point environment rather than just control word.
16509         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
16510         * sysdeps/i386/fpu/s_ceill.S (__ceill): Save and restore
16511         floating-point environment, with "invalid" exceptions merged in,
16512         rather than just control word.
16513         * sysdeps/x86_64/fpu/s_ceill.S (__ceill): Likewise.
16514         * math/libm-test.inc (ceil_test_data): Do not allow spurious
16515         "inexact" exceptions.
16517 2016-06-21  Aurelien Jarno  <aurelien@aurel32.net>
16519         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Rename into
16520         __libc_vfork.
16521         (__vfork) [IS_IN (libc)]: Remove alias.
16522         (__libc_vfork) [IS_IN (libc)]: Define as an alias.
16523         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
16524         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
16526 2016-06-24  Torvald Riegel  <triegel@redhat.com>
16528         * nscd/cache.c (cache_add): Use new C11-like atomic operation instead
16529         of atomic_compare_and_exchange_bool_rel.
16530         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
16531         * include/atomic.h (atomic_compare_and_exchange_bool_rel,
16532         catomic_compare_and_exchange_bool_rel): Remove.
16533         * sysdeps/aarch64/atomic-machine.h
16534         (atomic_compare_and_exchange_bool_rel): Likewise.
16535         * sysdeps/alpha/atomic-machine.h
16536         (atomic_compare_and_exchange_bool_rel): Likewise.
16537         * sysdeps/arm/atomic-machine.h
16538         (atomic_compare_and_exchange_bool_rel): Likewise.
16539         * sysdeps/mips/atomic-machine.h
16540         (atomic_compare_and_exchange_bool_rel): Likewise.
16541         * sysdeps/microblaze/atomic-machine.h
16542         ( __arch_compare_and_exchange_bool_8_rel,
16543         __arch_compare_and_exchange_bool_16_rel): Likewise.
16544         * sysdeps/powerpc/atomic-machine.h
16545         ( __arch_compare_and_exchange_bool_8_rel,
16546         __arch_compare_and_exchange_bool_16_rel): Likewise.
16547         * sysdeps/powerpc/powerpc32/atomic-machine.h
16548         ( __arch_compare_and_exchange_bool_32_rel,
16549         __arch_compare_and_exchange_bool_64_rel): Likewise.
16550         * sysdeps/powerpc/powerpc64/atomic-machine.h
16551         ( __arch_compare_and_exchange_bool_32_rel,
16552         __arch_compare_and_exchange_bool_64_rel): Likewise.
16553         * sysdeps/tile/atomic-machine.h
16554         (atomic_compare_and_exchange_bool_rel): Likewise.
16556 2016-06-23  Joseph Myers  <joseph@codesourcery.com>
16558         [BZ #20296]
16559         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Add arguments
16560         when either argument is a NaN.
16561         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
16562         * math/libm-test.inc (scalb_test_data): Add sNaN tests.
16564         * math/libm-test.inc (snan_value_ld): New macro.
16565         (isgreater_test_data): Add sNaN tests.
16566         (isgreaterequal_test_data): Likewise.
16567         (isless_test_data): Likewise.
16568         (islessequal_test_data): Likewise.
16569         (islessgreater_test_data): Likewise.
16570         (isunordered_test_data): Likewise.
16571         (nextafter_test_data): Likewise.
16572         (nexttoward_test_data): Likewise.
16573         (remainder_test_data): Likewise.
16574         (remquo_test_data): Likewise.
16575         (significand_test_data): Likewise.
16576         * math/gen-libm-test.pl (%beautify): Add snan_value_ld.
16578 2016-06-23  Siddhesh Poyarekar  <siddhesh@sourceware.org>
16580         * posix/getconf.c: Define ALL_ENVIRONMENTS_DEFINED if all
16581         environment macros are defined.
16582         (main): Avoid execve if ALL_ENVIRONMENTS_DEFINED is defined.
16584 2016-06-23  Florian Weimer  <fweimer@redhat.com>
16586         [BZ #20191]
16587         Implement vtable verification in libio.
16588         * Makerules (shlib.lds): Place __libc_IO_vtables section.
16589         * debug/obprintf_chk.c (_IO_obstack_jumps): Define as vtable.
16590         * debug/vdprintf_chk.c (__vdprintf_chk): Call
16591         _IO_new_file_init_internal instead of _IO_file_init.
16592         * debug/vsnprintf_chk.c (_IO_strn_jumps): Define as vtable.
16593         * debug/vsprintf_chk.c (_IO_str_chk_jumps): Likewise.
16594         * libio/Makefile (routines): Add vtables.
16595         * libio/libioP.h (_IO_JUMPS_FUNC): Call IO_validate_vtable.
16596         (_IO_init): Remove, not for internal use.
16597         (_IO_init_internal): Declare, internal replacement for _IO_init.
16598         (_IO_file_init): Remove, not for internal use.
16599         (_IO_new_file_init): Remove, not for internal use.
16600         (_IO_new_file_init_internal): Declare, internal replacement for
16601         _IO_new_file_init.
16602         (_IO_old_file_init): Remove, not for internal use.
16603         (_IO_old_file_init_internal): Declare, internal replacement for
16604         _IO_old_file_init.
16605         (_IO_str_init_static, _IO_str_init_readonly): Remove, not for
16606         internal use.
16607         (__libc_IO_vtables, IO_accept_foreign_vtables, _IO_vtable_check):
16608         Declare.
16609         (libio_vtable): New macro.
16610         (IO_set_accept_foreign_vtables, _IO_validate_vtable): New inline
16611         functions.
16612         * libio/fileops.c (_IO_new_file_init_internal): Rename from
16613         _IO_new_file_init.
16614         (_IO_new_file_init): New externally visible wrapper which disables
16615         vtable verification.
16616         (_IO_file_jumps, _IO_file_jumps_mmap, _IO_file_jumps_maybe_mmap):
16617         Define as vtables.
16618         * libio/genops.c (_IO_init_internal): Rename from _IO_init.
16619         (_IO_init): New externally visible wrapper which disables
16620         vtable verification.
16621         * libio/iofdopen.c (_IO_new_fdopen): Call
16622         _IO_new_file_init_internal instead of _IO_file_init.  Adjust
16623         comment.
16624         * libio/iofopen.c (__fopen_internal): Call
16625         _IO_new_file_init_internal instead of _IO_file_init.
16626         * libio/iofopncook.c (_IO_cookie_jumps, _IO_old_cookie_jumps):
16627         Define as vtables.
16628         (_IO_cookie_init): Call _IO_init_internal instead of _IO_init,
16629         _IO_new_file_init_internal instead of _IO_file_init.
16630         * libio/iopopen.c (_IO_new_popen): Likewise.
16631         (_IO_proc_jumps): Define as vtable.
16632         * libio/iovdprintf.c (_IO_vdprintf): Call
16633         _IO_new_file_init_internal instead of _IO_file_init.
16634         * libio/memstream.c (_IO_mem_jumps): Define as vtable.
16635         (__open_memstream): Call _IO_init_internal instead of _IO_init.
16636         * libio/obprintf.c (_IO_obstack_jumps): Define as vtable.
16637         * libio/oldfileops.c (_IO_old_file_init_internal): Rename from
16638         _IO_old_file_init.
16639         (_IO_old_file_init): New externally visible wrapper which disables
16640         vtable verification.
16641         (_IO_old_file_jumps): Define as vtable.
16642         * libio/oldiofdopen.c (_IO_old_fdopen): Call
16643         _IO_old_file_init_internal instead of _IO_old_file_init.
16644         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
16645         * libio/oldiopopen.c (_IO_old_popen): Likewise.
16646         (_IO_old_proc_jumps): Define as vtable.
16647         * libio/strops.c (_IO_str_jumps, _IO_strn_jumps, _IO_wstrn_jumps):
16648         Define as vtables.
16649         * libio/vtables.c: New file.
16650         * libio/wfileops.c (_IO_wfile_jumps, _IO_wfile_jumps_mmap)
16651         (_IO_wfile_jumps_maybe_mmap): Define as vtables.
16652         * libio/wmemstream.c (_IO_wmem_jumps): Define as vtable.
16653         * libio/wstrops.c (_IO_wstr_jumps): Likewise.
16654         * stdio-common/vfprintf.c (_IO_helper_jumps): Likewise.
16655         * stdlib/strfmon_l.c (__vstrfmon_l): Call _IO_init_internal
16656         instead of _IO_init.
16658 2016-06-23  Florian Weimer  <fweimer@redhat.com>
16660         * test-skeleton.c (xrealloc): Support deallocation with n == 0.
16662 2016-06-23  Florian Weimer  <fweimer@redhat.com>
16664         * test-skeleton.c (xmalloc, xcalloc, xrealloc): Mark as
16665         potentially unused.
16667 2016-06-22  Florian Weimer  <fweimer@redhat.com>
16669         * test-skeleton.c (write_message): New function.
16670         * malloc/tst-mallocfork2.c (write_message): Remove.
16671         * debug/tst-longjmp_chk2.c (write_indented): New function.
16672         (write_message): Remove.
16673         (stackoverflow_handler): Call write_indented.
16675 2016-06-22  Joseph Myers  <joseph@codesourcery.com>
16677         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Do not mask
16678         "inexact" exceptions after fnstenv.
16679         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
16680         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
16681         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
16683 2015-06-22  Zack Weinberg  <zackw@panix.com>
16685         * sysdeps/generic/bits/hwcap.h: Moved to ...
16686         * bits/hwcap.h: Here.
16688 2016-06-22  Wilco Dijkstra  <wdijkstr@arm.com>
16690         * sysdeps/aarch64/memcpy.S (memcpy):
16691         Further tuning for performance.
16693 2016-06-21  Florian Weimer  <fweimer@redhat.com>
16695         [BZ #20284]
16696         * malloc/arena.c (reused_arena): Do not return NULL if we start
16697         out with a non-corrupted arena.
16699 2016-06-21 Adhemerval Zanella  <adhemerval.zanella@linaro.org>
16701         * misc/Makefile (tests): Add tst-preadvwritev and tst-preadvwritev64.
16702         * misc/tst-preadvwritev.c: New file.
16703         * misc/tst-preadvwritev64.c: Likewise.
16704         * sysdeps/unix/sysv/linux/preadv.c (preadv): Remove SYSCALL_LL{64}
16705         usage.
16706         * sysdeps/unix/sysv/linux/preadv64.c (preadv64): Likewise.
16707         * sysdeps/unix/sysv/linux/pwritev.c (pwritev): Likewise.
16708         * sysdeps/unix/sysv/linux/pwritev64.c (pwritev64): Likewise.
16709         * sysdeps/unix/sysv/linux/sysdep.h (LO_HI_LONG): New macro.
16711 2016-06-20  Andrew Senkevich  <andrew.senkevich@intel.com>
16713         [BZ #19654]
16714         * sysdeps/x86_64/fpu/Makefile: Added new tests.
16715         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-main.c: New.
16716         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx-mod.c: Likewise.
16717         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx.c: Likewise.
16718         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-main.c: Likewise.
16719         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2-mod.c: Likewise.
16720         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx2.c: Likewise.
16721         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-main.c: Likewise.
16722         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512-mod.c: Likewise.
16723         * sysdeps/x86_64/fpu/test-double-libmvec-alias-avx512.c: Likewise.
16724         * sysdeps/x86_64/fpu/test-double-libmvec-alias-main.c: Likewise.
16725         * sysdeps/x86_64/fpu/test-double-libmvec-alias-mod.c: Likewise.
16726         * sysdeps/x86_64/fpu/test-double-libmvec-alias.c: Likewise.
16727         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-main.c: Likewise.
16728         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx-mod.c: Likewise.
16729         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx.c: Likewise.
16730         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-main.c: Likewise.
16731         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2-mod.c: Likewise.
16732         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx2.c: Likewise.
16733         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-main.c: Likewise.
16734         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512-mod.c: Likewise.
16735         * sysdeps/x86_64/fpu/test-float-libmvec-alias-avx512.c: Likewise.
16736         * sysdeps/x86_64/fpu/test-float-libmvec-alias-main.c: Likewise.
16737         * sysdeps/x86_64/fpu/test-float-libmvec-alias-mod.c: Likewise.
16738         * sysdeps/x86_64/fpu/test-float-libmvec-alias.c: Likewise.
16739         * sysdeps/x86_64/fpu/test-libmvec-alias-mod.c: Likewise.
16741 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
16743         * sysdeps/aarch64/rawmemchr.S (__rawmemchr): New file.
16744         * sysdeps/aarch64/strlen.S (__strlen): Change to __strlen to avoid PLT.
16746 2016-06-20  Wilco Dijkstra  <wdijkstr@arm.com>
16748         * sysdeps/aarch64/memcpy.S (memcpy):
16749         Rewrite of optimized memcpy and memmove.
16750         * sysdeps/aarch64/memmove.S (memmove): Remove
16751         memmove code (merged into memcpy.S).
16753 2016-06-20  Florian Weimer  <fweimer@redhat.com>
16755         Consolidate machine-agnostic DTV definitions in <dl-dtv.h>.
16756         * sysdeps/generic/dl-dtv.h: New file.
16757         * sysdeps/aarch64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16758         * sysdeps/aarch64/nptl/tls.h: Include <dl-dtv.h>.
16759         (dtv_t): Remove.
16760         * sysdeps/alpha/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16761         * sysdeps/alpha/nptl/tls.h: Include <dl-dtv.h>.
16762         (dtv_t): Remove.
16763         * sysdeps/arm/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16764         * sysdeps/arm/nptl/tls.h: Include <dl-dtv.h>.
16765         (dtv_t): Remove.
16766         * sysdeps/hppa/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16767         * sysdeps/hppa/nptl/tls.h: Include <dl-dtv.h>.
16768         (dtv_t): Remove.
16769         * sysdeps/i386/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16770         * sysdeps/i386/nptl/tls.h: Include <dl-dtv.h>.
16771         (dtv_t): Remove.
16772         * sysdeps/ia64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16773         * sysdeps/ia64/nptl/tls.h: Include <dl-dtv.h>.
16774         (dtv_t): Remove.
16775         * sysdeps/m68k/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16776         * sysdeps/m68k/nptl/tls.h: Include <dl-dtv.h>.
16777         (dtv_t): Remove.
16778         * sysdeps/mach/hurd/i386/tls.h: Include <dl-dtv.h>.
16779         (dtv_t): Remove.
16780         * sysdeps/microblaze/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16781         * sysdeps/microblaze/nptl/tls.h: Include <dl-dtv.h>.
16782         (dtv_t): Remove.
16783         * sysdeps/mips/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16784         * sysdeps/mips/nptl/tls.h: Include <dl-dtv.h>.
16785         (dtv_t): Remove.
16786         * sysdeps/nios2/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16787         * sysdeps/nios2/nptl/tls.h: Include <dl-dtv.h>.
16788         (dtv_t): Remove.
16789         * sysdeps/powerpc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16790         * sysdeps/powerpc/nptl/tls.h: Include <dl-dtv.h>.
16791         (dtv_t): Remove.
16792         * sysdeps/s390/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16793         * sysdeps/s390/nptl/tls.h: Include <dl-dtv.h>.
16794         (dtv_t): Remove.
16795         * sysdeps/sh/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16796         * sysdeps/sh/nptl/tls.h: Include <dl-dtv.h>.
16797         (dtv_t): Remove.
16798         * sysdeps/sparc/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16799         * sysdeps/sparc/nptl/tls.h: Include <dl-dtv.h>.
16800         (dtv_t): Remove.
16801         * sysdeps/x86_64/dl-tls.h (TLS_DTV_UNALLOCATED): Remove.
16802         * sysdeps/x86_64/nptl/tls.h: Include <dl-dtv.h>.
16803         (dtv_t): Remove.
16805 2016-06-20  Florian Weimer  <fweimer@redhat.com>
16807         Revert symbol poisoning of  __malloc_initialize_hook.
16808         * include/stdc-predef.h (__malloc_initialize_hook): Remove
16809         poisoning.
16810         * malloc/Makefile: Remove un-poisoning.
16811         * malloc/arena.c (ptmalloc_init): Use __malloc_initialize_hook
16812         instead of old__malloc_initialize_hook.
16813         * malloc/malloc-hooks.h: Likewise.
16814         * malloc/malloc.c: Likewise.
16815         * malloc/mcheck-init.c: Likewise.
16817 2016-06-19  Carlos O'Donell  <carlos@redhat.com>
16819         * sysdeps/unix/sysv/linux/times.c (__times): Expand comments.
16821 2016-06-18  Aurelien Jarno  <aurelien@aurel32.net>
16823         * sysdeps/unix/sysv/linux/mips/vfork.S (__vfork): Conditionalize
16824         hidden_def, weak_alias and strong_alias on [IS_IN (libc)].
16825         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Likewise.
16826         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Likewise.
16828 2016-06-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16830         * NEWS: Mention addition of nextup and nextdown.
16831         * manual/arith.texi: Document nextup and nextdown.
16832         * manual/libm-err-tab.pl: Add nextup and nextdown.
16833         * math/Makefile (libm-calls): Add s_nextdown and s_nextup.
16834         * math/Versions (libm): Add GLIBC_2.24.
16835         * math/bits/mathcalls.h: Add nextup and nextdown declaration.
16836         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
16837         Add new test.
16838         (nextafter_test_data) [TEST_COND_binary32]: Likewise.
16839         (nextafter_test_data) [TEST_COND_m68k96]: Likewise.
16840         (nextafter_test_data) [TEST_COND_binary64]: Likewise.
16841         (nextafter_test_data) [TEST_COND_binary128]: Likewise.
16842         (nextup_test_data): Likewise.
16843         (nextdown_test_data): Likewise.
16844         * math/s_nextdown.c: New file.
16845         * math/s_nextdownf.c: Likewise.
16846         * math/s_nextdownl.c: Likewise.
16847         * math/test-tgmath.c F(compile_test)): Add nextup and nextdown tests.
16848         F(nextup): New function.
16849         F(nextdown): Likewise.
16850         * math/tgmath.h: Add nextup and nextdown.
16851         * sysdeps/ieee754/flt-32/s_nextupf.c: New file.
16852         * sysdeps/ieee754/dbl-64/s_nextup.c: Likewise.
16853         * sysdeps/ieee754/ldbl-128/s_nextupl.c: Likewise.
16854         * sysdeps/ieee754/ldbl-128ibm/s_nextupl.c: Likewise.
16855         * sysdeps/ieee754/ldbl-96/s_nextupl.c: Likewise.
16856         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls):
16857         Add nextup and nextdown.
16858         (CFLAGS-nldbl-nextup.c): New variable.
16859         (CFLAGS-nldbl-nextdown.c): Likewise.
16860         * sysdeps/ieee754/ldbl-opt/nldbl-nextdown.c: New file.
16861         * sysdeps/ieee754/ldbl-opt/nldbl-nextup.c: Likewise.
16862         * sysdeps/nacl/libm.abilist: Update.
16863         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
16864         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
16865         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
16866         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
16867         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
16868         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
16869         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
16870         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
16871         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
16872         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
16873         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
16874         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
16875         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: Likewise.
16876         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
16877         Likewise.
16878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: Likewise.
16879         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: Likewise.
16880         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
16881         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
16882         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
16883         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
16884         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
16885         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Likewise.
16886         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: Likewise.
16887         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
16888         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
16889         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: Likewise.
16890         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
16892 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
16894         * manual/pattern.texi: Fix typos & grammar errors.
16896 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
16898         * manual/search.texi: Fix typos & grammar errors.
16900 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
16902         * manual/message.texi: Fix typos & grammar errors.
16904 2016-06-16  Mike Frysinger  <vapier@gentoo.org>
16906         * manual/contrib.texi: Fix spelling typos.
16907         * manual/crypt.texi: Likewise.
16908         * manual/filesys.texi: Likewise.
16909         * manual/locale.texi: Likewise.
16910         * manual/message.texi: Likewise.
16911         * manual/nss.texi: Likewise.
16912         * manual/string.texi: Likewise.
16914 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
16916         * manual/locale.texi: Fix typos & grammar errors.
16918 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
16920         * manual/charset.texi: Fix typos & grammar errors.
16922 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
16924         * manual/string.texi: Fix typos.
16926 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
16928         * manual/ctype.texi: Fix typos.
16930 2016-06-16  Rical Jasan  <ricaljasan@pacific.net>
16932         * manual/memory.texi: Fix various typos & grammar errors.
16934 2016-06-14  Joseph Myers  <joseph@codesourcery.com>
16936         [BZ #20255]
16937         * sysdeps/i386/fpu/s_fdim.c: New file.  Based on math/s_fdim.c.
16938         * math/libm-test.inc (fdim_test_data): Add another test.
16940         [BZ #6796]
16941         [BZ #20255]
16942         [BZ #20256]
16943         * math/s_fdim.c: Include <math_private.h>.
16944         (__fdim): Use math_narrow_eval on result.
16945         * math/s_fdimf.c: Include <math_private.h>.
16946         (__fdimf): Use math_narrow_eval on result.
16947         * sysdeps/i386/fpu/s_fdim.S: Remove file.
16948         * sysdeps/i386/fpu/s_fdimf.S: Likewise.
16949         * sysdeps/i386/fpu/s_fdiml.S: Likewise.
16950         * sysdeps/i386/i686/fpu/s_fdim.S: Likewise.
16951         * sysdeps/i386/i686/fpu/s_fdimf.S: Likewise.
16952         * sysdeps/i386/i686/fpu/s_fdiml.S: Likewise.
16953         * sysdeps/powerpc/fpu/s_fdim.c: Likewise.
16954         * sysdeps/powerpc/fpu/s_fdimf.c: Likewise.
16955         * sysdeps/powerpc/powerpc32/fpu/s_fdim.c: Likewise.
16956         * sysdeps/powerpc/powerpc64/fpu/s_fdim.c: Likewise.
16957         * sysdeps/x86_64/fpu/s_fdiml.S: Likewise.
16958         * math/libm-test.inc (fdim_test_data): Expect errno setting on
16959         overflow.  Add sNaN tests.
16961         * math/s_fdim.c (__fdim): Use islessequal and isinf instead of
16962         fpclassify.
16963         * math/s_fdimf.c (__fdimf): Likewise.
16964         * math/s_fdiml.c (__fdiml): Likewise.
16966 2016-06-14  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
16968         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
16969         (sysdep_routines): Add P8 and PPC64 strcasecmp/strncasecmp targets.
16970         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
16971         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
16972         ifunc'ed strcasecmp/strncasecmp.
16973         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S:
16974         [EALIGN]: Removed.
16975         [END]: Likewise.
16976         [__strcasecmp]: Define instead of the above to control symbol name.
16977         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Add IFUNC selector
16978         for __strcasecmp_power8.
16979         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Add IFUNC selector
16980         for __strncasecmp_power8.
16981         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power8.S: New File.
16982         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-ppc64.c: Likewise.
16983         * sysdeps/powerpc/powerpc64/multiarch/strncase-power8.S: Likewise.
16984         * sysdeps/powerpc/powerpc64/multiarch/strncase-ppc64.c: Likewise.
16985         * sysdeps/powerpc/powerpc64/power8/strcasecmp.S: Likewise.
16986         * sysdeps/powerpc/powerpc64/power8/strncase.S: Likewise.
16988 2016-06-13  Joseph Myers  <joseph@codesourcery.com>
16990         [BZ #20252]
16991         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Add both
16992         arguments when second argument is a NaN.
16993         * math/libm-test.inc (atan2_test_data): Add sNaN tests and more
16994         qNaN tests.
16996         * math/libm-test.inc (cimag_test_data): Add sNaN tests.
16997         (conj_test_data): Likewise.
16998         (copysign_test_data): Likewise.
16999         (creal_test_data): Likewise.
17000         (fma_test_data): Likewise.
17001         (fmod_test_data): Likewise.
17003         [BZ #20250]
17004         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Add non-finite input to
17005         itself.
17006         * sysdeps/ieee754/dbl-64/s_frexp.c (__frexp): Add non-finite or
17007         zero input to itself.
17008         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp):
17009         Likewise.
17010         * sysdeps/ieee754/flt-32/s_frexpf.c (__frexpf): Likewise.
17011         * sysdeps/ieee754/ldbl-128/s_frexpl.c (__frexpl): Likewise.
17012         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
17013         * sysdeps/ieee754/ldbl-96/s_frexpl.c (__frexpl): Likewise.
17014         * math/libm-test.inc (frexp_test_data): Add sNaN tests.
17016 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17018         * nptl/Makefile (test): Add tst-cancel4_1 and tst-cancel4_2.
17019         * nptl/tst-cancel4-common.c: New file.
17020         * nptl/tst-cancel4-common.h: Likewise.
17021         * nptl/tst-cancel4.c: Move common definitions to
17022         tst-cancel4-common.{c,h} file.
17023         * nptl/tst-cancel4_1.c: New test.
17024         * nptl/tst-cancel4_2.c: New test.
17026 2016-06-13  Florian Weimer  <fweimer@redhat.com>
17028         [BZ #20248]
17029         * debug/tst-longjmp_chk2.c (pass): Use volatile sig_atomic_t.
17030         (write_message): New function.
17031         (stackoverflow_handler): Call it instead of printf, to avoid
17032         excessive stack usage by printf.
17033         (do_test): Restore SIGSEGV, SIGBUS default handlers.
17035 2016-06-13  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17037         * nptl/pthread_mutex_init.c [__ASSUME_FUTEX_LOCK_PI]
17038         (prio_inherit_missing): Remove define.
17039         * sysdeps/unix/sysv/linux/arm/kernel-features.h
17040         (__ASSUME_FUTEX_LOCK_PI): Likewise.
17041         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FUTEX_LOCK_PI):
17042         Likewise.
17043         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
17044         (__ASSUME_FUTEX_LOCK_PI): Likewise.
17045         * sysdeps/unix/sysv/linux/mips/kernel-features.h
17046         (__ASSUME_FUTEX_LOCK_PI): Likewise.
17047         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
17048         (__ASSUME_FUTEX_LOCK_PI): Likewise.
17050 2016-06-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
17052         [BZ #19670]
17053         [BZ #19672]
17055         * io/test-lfs.c (do_prepare): Use xmalloc.
17056         * io/tst-fcntl.c (do_prepare): Likewise.
17057         * libio/tst-fopenloc.c (do_bz17916): Likewise.
17058         * libio/tst-mmap2-eofsync.c (do_prepare): Likewise.
17059         * login/tst-utmp.c (do_prepare): Likewise.
17060         * posix/tst-exec.c (do_prepare): Likewise.
17061         * posix/tst-pathconf.c (prepare): Likewise.
17062         * posix/tst-spawn.c (do_prepare): Likewise.
17063         * posix/tst-truncate.c (do_prepare): Likewise.
17064         * rt/tst-aio.c (do_prepare): Likewise.
17065         * rt/tst-aio64.c (do_prepare): Likewise.
17067 2016-06-11  Florian Weimer  <fweimer@redhat.com>
17069         [BZ #20237]
17070         * nss/nss_db/db-XXX.c (set*ent): Reset entidx to NULL.
17071         (get*ent): Set entidx to NULL during initialization.  If entidx is
17072         NULL, start iteration from the beginning.
17074 2016-06-11  Florian Weimer  <fweimer@redhat.com>
17076         * malloc/malloc.c (musable): Return correct size for dumped fake
17077         mmapped chunk.
17079 2016-06-11  Florian Weimer  <fweimer@redhat.com>
17081         [BZ #20222]
17082         * libio/iofopncook.c (_IO_cookie_read): Demangle callback pointer.
17083         (_IO_cookie_write): Likewise.
17084         (_IO_cookie_seek): Likewise.
17085         (_IO_cookie_close): Likewise.
17086         (_IO_old_cookie_seek): Likewise.
17087         (set_callbacks): New function.
17088         (_IO_cookie_init): Call set_callbacks to copy callbacks.
17090 2016-06-11  Marko Myllynen  <myllynen@redhat.com>
17092         * locale/programs/localedef.c (oldstyle_tables): Remove.
17093         * locale/programs/localedef.h (oldstyle_tables): Likewise.
17095 2016-06-10  Joseph Myers  <joseph@codesourcery.com>
17097         [BZ #20240]
17098         * math/Makefile (CFLAGS-s_modf.c): New variable.
17099         (CFLAGS-s_modff.c): Likewise.
17100         (CFLAGS-s_modfl.c): Likewise.
17101         * math/libm-test.inc (modf_test_data): Add sNaN tests.
17103 2016-06-09  Carlos O'Donell  <carlos@redhat.com>
17105         [BZ #20215]
17106         * misc/sys/cdefs.h [__GNUC_PREREQ (3,2)]: Undef __always_inline first.
17107         [!__GNUC_PREREQ (3,2)]: Likewise.
17109 2016-06-10  Adhemerval Zanela  <adhemerval.zanella@linaro.org>
17111         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Add xfail-.
17112         (msghdr.msg_controllen): Likewise.
17113         (cmsghdr.cmsg_len): Likewise.
17114         * nptl/Makefile (libpthread-routines): Remove ptw-oldrecvmsg and
17115         ptw-oldsendmsg.
17116         (CFLAGS-oldrecvmsg.c): Remove rule.
17117         (CFLAGS-oldsendmsg.c): Likewise.
17118         (CFLAGS-recvmsg.c): Add rule.
17119         (CFLAGS-sendmsg.c): Likewise.
17120         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove
17121         oldrecvmsg, oldsendmsg, oldrecvmmsg, oldsendmmsg.
17122         (CFLAGS-recvmsg.c): Remove rule.
17123         (CFLAGS-sendmsg.c): Likewise.
17124         (CFLAGS-oldrecvmsg.c): Likewise.
17125         (CFLAGS-oldsendmsg.c): Likewise.
17126         (CFLAGS-recvmmsg.c): Likewise.
17127         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Revert
17128         to kernel defined interfaces.
17129         (msghdr.msg_controllen): Likewise.
17130         (cmsghdr.cmsg_len): Likewise.
17131         (msghdr.__glibc_reserved1): Remove member.
17132         (msghdr.__glibc_reserved2): Likewise.
17133         (cmsghdr.__glibc_reserved1): Likewise.
17134         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: Remove file.
17135         * sysdeps/unix/sysv/linux/oldrecvmsg.c: Likewise.
17136         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
17137         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
17138         * sysdeps/unix/sysv/linux/recvmmsg.c: Revert back to previous
17139         version.
17140         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
17141         * sysdeps/unix/sysv/linux/sendmmsg.c: Likewise.
17142         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
17143         * sysdeps/unix/sysv/linux/aarch64/Versions [libc] (GLIBC_2.24):
17144         Remove recvmsg and sendmsg.
17145         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24):
17146         Likewise.
17147         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
17148         Likewise.
17149         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
17150         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
17151         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
17152         Likewise.
17153         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
17154         Likewise.
17155         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions
17156         [libc] (GLIBC_2.24): Likewise.
17157         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
17158         Likewise.
17159         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
17160         Likewise.
17161         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
17162         [libc] (GLIBC_2.24): Likewise.
17163         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
17164         Likewise.
17165         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
17166         Likewise.
17167         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
17168         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
17169         Likewise.
17170         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
17171         Likewise.
17172         * sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
17173         Likewise.
17174         * sysdeps/unix/sysv/linux/x86_64/Versions [libc] (GLIBC_2.24):
17175         Likewise.
17176         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions: Remove file
17177         * sysdeps/unix/sysv/linux/x86_64/64/Versions: Likewise.
17178         * sysdeps/unix/sysv/linux/mips/mips64/n64/Versions: Likewise.
17179         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Remove new 2.24
17180         version for {recv,send,recm,sendm}msg.
17181         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
17182         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
17183         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
17184         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
17185         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
17186         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
17187         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
17188         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
17189         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
17190         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
17191         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
17192         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
17193         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
17194         Likewise.
17195         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
17196         Likewise.
17197         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
17198         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
17199         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
17200         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
17201         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
17202         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
17203         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
17204         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
17205         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
17206         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
17207         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
17208         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
17209         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
17211 2016-06-10  Florian Weimer  <fweimer@redhat.com>
17213         [BZ #19564]
17214         Remove __malloc_initialize_hook from the API.
17215         * malloc/malloc.h (__malloc_initialize_hook): Remove.
17216         * include/stdc-predef.h (__malloc_initialize_hook): Poison with
17217         #pragma GCC poison.
17218         * malloc/malloc-hooks.h: New file.
17219         * malloc/arena.c (ptmalloc_init): Use old__malloc_initialize_hook.
17220         * malloc/malloc.c (HAVE_MALLOC_INIT_HOOK): New.
17221         (old__malloc_initialize_hook): Rename from
17222         __malloc_initialize_hook to evade poisoning.  Turn into compat
17223         symbol.
17224         * malloc/mcheck-init.c (old__malloc_initialize_hook): Rename from
17225         __malloc_initialize_hook.
17226         * malloc/Makefile (poisoned_apis, unpoisoned_api_defines): New.
17227         (mallo.c, mcheck-init.c): Compile with unpoisoned symbol.
17228         * manual/memory.texi (Hooks for Malloc): Remove
17229         __malloc_initialize_hook.  Adjust hook example.
17231 2016-06-09  Joseph Myers  <joseph@codesourcery.com>
17233         [BZ #20235]
17234         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Add NaN input to
17235         itself.
17236         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Likewise.
17237         * math/libm-test.inc (log2_test_data): Add sNaN tests.
17239         [BZ #20234]
17240         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Add positive
17241         infinity or NaN input to itself.
17243         [BZ #20233]
17244         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Add NaN input
17245         to itself.
17247         [BZ #20232]
17248         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Add NaN input to
17249         itself.
17251 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
17253         * sysdeps/x86_64/start.S (_start): Always indirect branch to
17254         __libc_start_main via GOT.
17256 2016-06-09  H.J. Lu  <hongjiu.lu@intel.com>
17258         * sysdeps/x86_64/memcopy.h: New file.
17259         * sysdeps/x86_64/wordcopy.c: Likewise.
17261 2016-06-09  Florian Weimer  <fweimer@redhat.com>
17263         Prevent GCC 6 <cstdlib> from including /usr/include/stdlib.h.
17264         * stdlib/tst-quick_exit.cc: Include <stdlib.h> instead of
17265         <cstdlib>.
17266         (optimization_barrier): New.
17267         (do_test): Use it.  Call quick_exit in the global namespace.
17268         * stdlib/tst-thread-quick_exit.cc: Include <stdlib.h>, <pthread.h>
17269         instead of <cstdlib>, <thread>.
17270         (optimization_barrier): New.
17271         (non_main_thread): Adjust declaration.  Call optimization_barrier.
17272         Call quick_exit in the global namespace.
17273         (do_test): Call optimization_barrier.  Use pthread_create,
17274         pthread_join instead of std::thread.
17276 2016-06-09  Andreas Schwab  <schwab@suse.de>
17278         [BZ #19755]
17279         * nscd/pwdcache.c (cache_addpw): Lock prune_run_lock while adding
17280         new entries in auto-propagate mode.
17281         * nscd/grpcache.c (cache_addgr): Likewise.
17283 2016-06-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
17285         * test-skeleton.c (oom_error, xmalloc, xcalloc, xrealloc):
17286         New functions.
17287         (add_temp_file): Use them.
17289 2016-06-09  Samuel Thibault  <samuel.thibault@ens-lyon.org
17291         * mach/mach/mach_traps.h (mach_print): Add syscall declaration.
17293 2016-06-08  Joseph Myers  <joseph@codesourcery.com>
17295         [BZ #20229]
17296         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Add NaN input to itself.
17297         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Likewise.
17298         * math/libm-test.inc (log1p_test_data): Add sNaN tests.
17300         [BZ #20228]
17301         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Add NaN input to
17302         itself.
17303         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Likewise.
17304         * math/libm-test.inc (log10_test_data): Add sNaN tests.
17306         [BZ #20227]
17307         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Add NaN input to
17308         itself.
17309         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
17310         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
17311         * math/libm-test.inc (log_test_data): Add sNaN tests.
17313         [BZ #20226]
17314         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Add NaN argument to
17315         itself.
17316         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
17317         * math/libm-test.inc (exp_test_data): Add sNaN tests.
17318         (exp10_test_data): Likewise.
17319         (expm1_test_data): Likewise.
17321         [BZ #20225]
17322         * math/s_ldexp.c (__ldexp): Add non-finite or zero argument to
17323         itself.
17324         * math/s_ldexpf.c (__ldexpf): Likewise.
17325         * math/s_ldexpl.c (__ldexpl): Likewise.
17326         * math/w_scalbln.c (__w_scalbln): Likewise.
17327         * math/w_scalblnf.c (__w_scalblnf): Likewise.
17328         * math/w_scalblnl.c (__w_scalblnl): Likewise.
17329         * math/libm-test.inc (scalbn_test_data): Add sNaN tests.
17330         (scalbln_test_data): Likewise.
17332         [BZ #20224]
17333         * sysdeps/i386/fpu/s_cbrtl.S (__cbrtl): Add non-finite or zero
17334         argument to itself.
17335         * math/libm-test.inc (cbrt_test_data): Add sNaN tests.
17337 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
17339         [BZ #19776]
17340         * sysdeps/x86_64/memcpy.S: Make it dummy.
17341         * sysdeps/x86_64/mempcpy.S: Likewise.
17342         * sysdeps/x86_64/memmove.S: New file.
17343         * sysdeps/x86_64/memmove_chk.S: Likewise.
17344         * sysdeps/x86_64/multiarch/memmove.S: Likewise.
17345         * sysdeps/x86_64/multiarch/memmove_chk.S: Likewise.
17346         * sysdeps/x86_64/memmove.c: Removed.
17347         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
17348         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
17349         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: Likewise.
17350         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
17351         Likewise.
17352         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
17353         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
17354         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
17355         memcpy-sse2-unaligned, memmove-avx-unaligned,
17356         memcpy-avx-unaligned and memmove-sse2-unaligned-erms.
17357         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
17358         (__libc_ifunc_impl_list): Replace
17359         __memmove_chk_avx512_unaligned_2 with
17360         __memmove_chk_avx512_unaligned.  Remove
17361         __memmove_chk_avx_unaligned_2.  Replace
17362         __memmove_chk_sse2_unaligned_2 with
17363         __memmove_chk_sse2_unaligned.  Remove __memmove_chk_sse2 and
17364         __memmove_avx_unaligned_2.  Replace __memmove_avx512_unaligned_2
17365         with __memmove_avx512_unaligned.  Replace
17366         __memmove_sse2_unaligned_2 with __memmove_sse2_unaligned.
17367         Remove __memmove_sse2.  Replace __memcpy_chk_avx512_unaligned_2
17368         with __memcpy_chk_avx512_unaligned.  Remove
17369         __memcpy_chk_avx_unaligned_2.  Replace
17370         __memcpy_chk_sse2_unaligned_2 with __memcpy_chk_sse2_unaligned.
17371         Remove __memcpy_chk_sse2.  Remove __memcpy_avx_unaligned_2.
17372         Replace __memcpy_avx512_unaligned_2 with
17373         __memcpy_avx512_unaligned.  Remove __memcpy_sse2_unaligned_2
17374         and __memcpy_sse2.  Replace __mempcpy_chk_avx512_unaligned_2
17375         with __mempcpy_chk_avx512_unaligned.  Remove
17376         __mempcpy_chk_avx_unaligned_2.  Replace
17377         __mempcpy_chk_sse2_unaligned_2 with
17378         __mempcpy_chk_sse2_unaligned.  Remove __mempcpy_chk_sse2.
17379         Replace __mempcpy_avx512_unaligned_2 with
17380         __mempcpy_avx512_unaligned.  Remove __mempcpy_avx_unaligned_2.
17381         Replace __mempcpy_sse2_unaligned_2 with
17382         __mempcpy_sse2_unaligned.  Remove __mempcpy_sse2.
17383         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Support
17384         __memcpy_avx512_unaligned_erms and __memcpy_avx512_unaligned.
17385         Use __memcpy_avx_unaligned_erms and __memcpy_sse2_unaligned_erms
17386         if processor has ERMS.  Default to __memcpy_sse2_unaligned.
17387         (ENTRY): Removed.
17388         (END): Likewise.
17389         (ENTRY_CHK): Likewise.
17390         (libc_hidden_builtin_def): Likewise.
17391         Don't include ../memcpy.S.
17392         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Support
17393         __memcpy_chk_avx512_unaligned_erms and
17394         __memcpy_chk_avx512_unaligned.  Use
17395         __memcpy_chk_avx_unaligned_erms and
17396         __memcpy_chk_sse2_unaligned_erms if if processor has ERMS.
17397         Default to __memcpy_chk_sse2_unaligned.
17398         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
17399         Change function suffix from unaligned_2 to unaligned.
17400         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Support
17401         __mempcpy_avx512_unaligned_erms and __mempcpy_avx512_unaligned.
17402         Use __mempcpy_avx_unaligned_erms and __mempcpy_sse2_unaligned_erms
17403         if processor has ERMS.  Default to __mempcpy_sse2_unaligned.
17404         (ENTRY): Removed.
17405         (END): Likewise.
17406         (ENTRY_CHK): Likewise.
17407         (libc_hidden_builtin_def): Likewise.
17408         Don't include ../mempcpy.S.
17409         (mempcpy): New.  Add a weak alias.
17410         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Support
17411         __mempcpy_chk_avx512_unaligned_erms and
17412         __mempcpy_chk_avx512_unaligned.  Use
17413         __mempcpy_chk_avx_unaligned_erms and
17414         __mempcpy_chk_sse2_unaligned_erms if if processor has ERMS.
17415         Default to __mempcpy_chk_sse2_unaligned.
17417 2016-06-08  H.J. Lu  <hongjiu.lu@intel.com>
17419         [BZ #19881]
17420         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Folded
17421         into ...
17422         * sysdeps/x86_64/memset.S: This.
17423         (__bzero): Removed.
17424         (__memset_tail): Likewise.
17425         (__memset_chk): Likewise.
17426         (memset): Likewise.
17427         (MEMSET_CHK_SYMBOL): New. Define only if MEMSET_SYMBOL isn't
17428         defined.
17429         (MEMSET_SYMBOL): Define only if MEMSET_SYMBOL isn't defined.
17430         * sysdeps/x86_64/multiarch/memset-avx2.S: Removed.
17431         (__memset_zero_constant_len_parameter): Check SHARED instead of
17432         PIC.
17433         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
17434         memset-avx2 and memset-sse2-unaligned-erms.
17435         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
17436         (__libc_ifunc_impl_list): Remove __memset_chk_sse2,
17437         __memset_chk_avx2, __memset_sse2 and __memset_avx2_unaligned.
17438         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
17439         (__bzero): Enabled.
17440         * sysdeps/x86_64/multiarch/memset.S (memset): Replace
17441         __memset_sse2 and __memset_avx2 with __memset_sse2_unaligned
17442         and __memset_avx2_unaligned.  Use __memset_sse2_unaligned_erms
17443         or __memset_avx2_unaligned_erms if processor has ERMS.  Support
17444         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
17445         (memset): Removed.
17446         (__memset_chk): Likewise.
17447         (MEMSET_SYMBOL): New.
17448         (libc_hidden_builtin_def): Replace __memset_sse2 with
17449         __memset_sse2_unaligned.
17450         * sysdeps/x86_64/multiarch/memset_chk.S (__memset_chk): Replace
17451         __memset_chk_sse2 and __memset_chk_avx2 with
17452         __memset_chk_sse2_unaligned and __memset_chk_avx2_unaligned_erms.
17453         Use __memset_chk_sse2_unaligned_erms or
17454         __memset_chk_avx2_unaligned_erms if processor has ERMS.  Support
17455         __memset_chk_avx512_unaligned_erms and
17456         __memset_chk_avx512_unaligned.
17458 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17460         * math/gen-auto-libm-test.c (fp_format_desc): remove
17461         suffix member.
17462         (output_generic_value): Remove usage of suffix member,
17463         and the resulting unuse of the fp_format argument.
17464         (output_for_one_input_case): Remove unused fp_format
17465         parameter.
17467         * math/auto-libm-test-out: Regenerate.
17469         * math/libm-test.inc (TEST_COND_ldbl_128ibm): replace
17470         usage with TEST_COND_ibm128.
17471         (TEST_COND_flt_32): Remove.
17472         (TEST_COND_dbl_64): Remove.
17473         (TEST_COND_ldbl_96_intel): Remove.
17474         (TEST_COND_ldbl_96_m68k): Remove.
17475         (TEST_COND_ldbl_128): Remove.
17477 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17479         * auto-libm-test-in:
17480         Replace flt-32 usage with binary32.
17481         Replace dbl-64 usage with binary64.
17482         Replace ldbl-intel-96 usage with intel96.
17483         Replace ldbl-m68k-96 usage with m68k96.
17484         Replace ldbl-128ibm usage with ibm128.
17485         Replace ldbl-128 usage with binary128.
17487         * auto-libm-test-out: Regenerate.
17489 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17491         * math/gen-libm-test.pl (all_floats_pfx): New lookup table.
17492         (parse_ulps): Dynamically generate type name matching
17493         string from all_floats.
17494         (get_ulps): Generate the ulps as an array instead.
17495         (output_ulps): Dynamically compose the type based
17496         on the number of supported formats, and print
17497         the indices as type specific helper macros.
17499         * math/libm-test.inc: Remove comment about CHOOSE.
17500         (ulp_data): Generate the type in libm-test-ulps.h.
17501         (ULP_IDX): New macro.
17502         (find_ulps): Update usage of max_ulp.
17504         * math/test-double-vlen2.h (CHOOSE): Remove.
17505         * math/test-double-vlen4.h (CHOOSE): Likewise.
17506         * math/test-double-vlen8.h (CHOOSE): Likewise.
17507         * math/test-float.c (CHOOSE): Likewise.
17508         * math/test-float-finite.c (CHOOSE): Likewise.
17509         * math/test-double.c (CHOOSE): Likewise.
17510         * math/test-double-finite.c (CHOOSE): Likewise.
17511         * math/test-idouble.c (CHOOSE): Likewise.
17512         * math/test-ifloat.c (CHOOSE): Likewise.
17513         * math/test-ildoubl.c (CHOOSE): Likewise.
17514         * math/test-ldouble-finite.c (CHOOSE): Likewise.
17515         * math/test-ldouble.c (CHOOSE): Likewise.
17517         * math/test-float.h (TEST_FLOAT): Remove.
17518         * math/test-double.h (TEST_DOUBLE): Likewise.
17519         * math/test-ldouble.h (TEST_LDOUBLE): Likewise.
17521 2016-06-08  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17523         * math/gen-libm-test.pl: (apply_lit): New subroutine.
17524         (parse_args): Strip C suffix from floating point literals
17525         typed with 'f' and wrap them with LIT().
17527         * math/libm-tests.inc (RUN_TEST_LOOP_fj_f): New macro.
17528         (test_ff_f_data_nexttoward): Rename to
17529         (test_fj_f_data): New struct.
17530         (nexttoward_test_data): Relabel tests as
17531         TEST_fj_f instead of TEST_ff_f.
17533 2016-06-08  Florian Weimer  <fweimer@redhat.com>
17535         Emacs bug 23726.
17536         * malloc/malloc.c (dumped_main_arena_start): Update comment.
17537         (__libc_realloc): Correct size computation for dumped fake mmapped
17538         chunks.
17540 2016-06-07  Joseph Myers  <joseph@codesourcery.com>
17542         [BZ #20219]
17543         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): Add NaN argument
17544         to itself.
17545         * math/libm-test.inc (atanh_test_data): Add sNaN tests.
17547         [BZ #20218]
17548         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Add non-finite argument
17549         to itself.
17550         * math/libm-test.inc (asinh_test_data): Add sNaN tests.
17552 2016-06-07  H.J. Lu  <hongjiu.lu@intel.com>
17554         [BZ #20195]
17555         * sysdeps/x86/cpu-features.c (get_common_indeces): Move FMA4
17556         check to ...
17557         (init_cpu_features): Here.
17559 2016-06-07  Carlos O'Donell  <carlos@redhat.com>
17561         [BZ #20214]
17562         * sysdeps/unix/sysv/linux/bits/in.h
17563         [defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
17564          || defined _LINUX_IN6_H || defined _IPV6_H] (__USE_KERNEL_IPV6_DEFS):
17565         Define to 1.
17566         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H
17567          || defined _LINUX_IN6_H || defined _IPV6_H)] (__USE_KERNEL_IPV6_DEFS):
17568         Define to 0.
17569         [!__USE_KERNEL_IPV6_DEFS] (IPV6_ADD_MEMBERSHIP): Define.
17570         [!__USE_KERNEL_IPV6_DEFS] (IPV6_DROP_MEMBERSHIP): Define.
17572 2016-06-06  Carlos O'Donell  <carlos@redhat.com>
17574         [BZ #20198]
17575         * stdlib/Makefile (tests): Add tst-quick_exit, and
17576         tst-thread-quick_exit.
17577         [ifeq ($(have-cxx-thread_local),yes)]
17578         (CFLAGS-tst-quick_exit.o): Use -stdc=c++11.
17579         (CFLAGS-tst-thread-quick_exit.o): Likewise.
17580         (LDLIBS-tst-quick_exit): Use -lstdc++ for C++ program.
17581         (LDLIBS-tst-thread-quick_exit): Likewise.
17582         [ifneq ($(have-cxx-thread_local),yes)]
17583         (tests-unsupported): Add tst-quick_exit, and tst-thread-quick_exit.
17584         * stdlib/exit.c (__run_exit_handlers): Add run_dtors argument.
17585         If run_dtors is true call __call_tls_dtors.
17586         (exit): Call __run_exit_handlers with run_dtors set to true.
17587         * stdlib/exit.h: Add run_dtors argument to __run_exit_handlers
17588         definition.
17589         * stdlib/quick_exit.c (quick_exit): Remove function.
17590         (__new_quick_exit): New function.
17591         [SHLIB_COMPAT(libc, GLIBC_2_10, GLIBC_2_24)] (__old_quick_exit): New
17592         function.
17593         * stdlib/tst-quick_exit.cc: New file.
17594         * stdlib/tst-thread-quick_exit.cc: New file.
17595         * stdlib/Versions: Add quick_exit@GLIBC_2.24.
17596         * sysdeps/arm/nacl/libc.abilist: Add 'GLIBC_2.24 quick_exit F'.
17597         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Likewise
17598         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise
17599         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise
17600         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise
17601         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise
17602         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise
17603         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise
17604         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise
17605         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise
17606         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise
17607         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise
17608         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise
17609         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise
17610         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
17611         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: Likewise
17612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise
17613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise
17614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise
17615         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise
17616         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise
17617         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise
17618         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise
17619         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise
17620         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise
17621         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise
17622         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise
17623         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise
17624         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise
17626 2016-06-06  H.J. Lu  <hongjiu.lu@intel.com>
17628         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Fix
17629         a typo in comments.
17631 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
17633         [BZ #20213]
17634         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Add NaN
17635         argument to itself.
17636         * math/libm-test.inc (asin_test_data): Add sNaN tests.
17638 2016-06-06  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17640         * misc/Makefile (CFLAGS-pwritev.c): New variable: add cancellation
17641         required flags.
17642         (CFLAGS-pwritev64.c): Likewise.
17643         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Remove file.
17644         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
17645         * sysdeps/unix/sysv/linux/mips/mips64/n64/pwritev64.c: Likewise.
17646         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
17647         * sysdeps/unix/sysv/linux/wordsize-64/pwritev64.: Likewise.
17648         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (pwritev): Remove
17649         syscall from auto-generation.
17650         * sysdeps/unix/sysv/linux/pwritev.c: Rewrite implementation.
17651         [WORDSIZE == 64] (pwritev64): Remove macro.
17652         [!PWRITEV] (PWRITEV): Likewise.
17653         [!PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
17654         [!PWRITEV] (PWRITE): Likewise.
17655         [!PWRITEV] (OFF_T): Likewise.
17656         [!__ASSUME_PWRITEV] (PWRITEV_REPLACEMENT): Likewise.
17657         (LO_HI_LONG): Remove macro.
17658         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (pwritev): Add function.
17659         * sysdeps/unix/sysv/linux/pwritev64.c: Rewrite implementation.
17660         (PWRITEV): Remove macro.
17661         (PWRITEV_REPLACEMENTE): Likewise.
17662         (PWRITE): Likewise.
17663         (OFF_T): Likewise.
17664         (pwritev64): New function.
17665         * nptl/tst-cancel4.c (tf_writev): Add test.
17667         * misc/Makefile (CFLAGS-preadv.c): New variable: add cancellation
17668         required flags.
17669         (CFLAGS-preadv64.c): Likewise.
17670         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Remove file.
17671         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
17672         * sysdeps/unix/sysv/linux/mips/mips64/n64/preadv64.c: Likewise.
17673         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: Likewise.
17674         * sysdeps/unix/sysv/linux/wordsize-64/preadv64.: Likewise.
17675         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (preadv): Remove
17676         syscall from auto-generation.
17677         * sysdeps/unix/sysv/linux/preadv.c: Rewrite implementation.
17678         [WORDSIZE == 64] (preadv64): Remove macro.
17679         [!PREADV] (PREADV): Likewise.
17680         [!PREADV] (PREADV_REPLACEMENT): Likewise.
17681         [!PREADV] (PREAD): Likewise.
17682         [!PREADV] (OFF_T): Likewise.
17683         [!__ASSUME_PREADV] (PREADV_REPLACEMENT): Likewise.
17684         (LO_HI_LONG): Remove macro.
17685         [__WORDSIZE != 64 || __ASSUME_OFF_DIFF_OFF64] (preadv): Add function.
17686         * sysdeps/unix/sysv/linux/preadv64.c: Rewrite implementation.
17687         (PREADV): Remove macro.
17688         (PREADV_REPLACEMENTE): Likewise.
17689         (PREAD): Likewise.
17690         (OFF_T): Likewise.
17691         (preadv64): New function.
17692         * nptl/tst-cancel4.c (tf_preadv): Add test.
17694 2016-06-06  Joseph Myers  <joseph@codesourcery.com>
17696         [BZ #20212]
17697         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_acos): Add NaN
17698         argument to itself.
17699         * math/libm-test.inc (acos_test_data): Add sNaN tests.
17701 2016-06-06  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
17703         * sysdeps/powerpc/powerpc64/power8/strcasestr.S (__strcasestr):
17704         New symbol defined as libc_hidden_def.
17705         (strcasestr): Became a weak alias to __strcasestr.
17706         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Handle memset calls
17707         according to multi-arch support.  Move __stpncpy hidden
17708         definition from here to...
17709         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: ...here.  Add
17710         symbol stpncpy.
17711         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: Undefine
17712         libc_hidden_builtin_def.
17713         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: Specify which
17714         memset symbol to use when multi-arch support is available.
17716 2016-06-06  Stefan Liebler  <stli@linux.vnet.ibm.com>
17718         * dlfcn/tst-rec-dlopen.c: Include string.h.
17720 2016-06-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
17722         * manual/install.texi: Remove mention of --without-tls
17723         * INSTALL: Regenerate.
17725 2016-06-05  Florian Weimer  <fweimer@redhat.com>
17727         * dlfcn/tst-rec-dlopen.c (custom_malloc_hook, old_malloc_hook):
17728         Remove.
17729         (call_function, interposed_malloc_called): New variables.
17730         (malloc): New function.
17731         (do_test): Do not change malloc hooks.  Initialize malloc.  Set
17732         and clear call_function as needed.
17734 2016-06-04  Andreas Schwab  <schwab@linux-m68k.org>
17736         * include/wchar.h (__wmemset): Use __typeof.
17738 2016-06-03  Carlos O'Donell  <carlos@redhat.com>
17740         * include/wchar.h (__wmemset): Declare function without typeof.
17742 2016-06-03  Joseph Myers  <joseph@codesourcery.com>
17744         [BZ #20205]
17745         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Do not adjust
17746         exponent when incrementing negative subnormal with low mantissa
17747         word zero.
17748         * math/libm-test.inc (nextafter_test_data) [TEST_COND_intel96]:
17749         Add another test.
17751 2016-06-03  Florian Weimer  <fweimer@redhat.com>
17753         * libio/wstrops.c (_IO_wstr_overflow, enlarge_userbuf): Use
17754         __wmemset instead of wmemset.
17756 2016-06-02  Carlos O'Donell  <carlos@redhat.com>
17758         * sysdeps/unix/sysv/linux/bits/in.h [defined _UAPI_LINUX_IN6_H ||
17759         defined _UAPI_IPV6_H]: Define __USE_KERNEL_IPV6_DEFS to 1.
17760         [!(defined _UAPI_LINUX_IN6_H || defined _UAPI_IPV6_H)]: Define
17761         __USE_KERNEL_IPV6_DEFS to 0.
17762         * inet/netinet/in.h: Use '#if !__USE_KERNEL_IPV6_DEFS'.
17763         Update comment.
17765 2016-06-01  Florian Weimer  <fweimer@redhat.com>
17767         [BZ #19861]
17768         Do not use IFUNC resolver with potentially unrelocated symbol.
17769         * nptl/pt-fork.c [HAVE_IFUNC]: Remove.
17770         (DEFINE_FORK): Remove macro and inline definition.
17771         (fork_alias): Renamed from fork_ifunc.
17772         (__fork_alias): Renamed from __fork_ifunc.
17774 2016-05-30  Paul Pluzhnikov  <ppluzhnikov@google.com>
17776         [BZ 19653]
17777         * inet/if_index.c (__protocol_available): Delete #if 0'd code.
17778         * inet/ruserpass.c (ruserpass): Delete #if 0'd code.
17780 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17782         * scripts/check-local-headers.sh (exclude): Add hurd/ihash.h, and
17783         include .*-.*/ in addition to .*-.*-.*/ (i.e. i386-gnu in addition to
17784         i386-linux-gnu).
17785         * sysdeps/mach/hurd/configure.ac (libc_cv_ld_gnu_indirect_function):
17786         Set to no.
17787         * sysdeps/mach/hurd/configure: Refresh.
17789 2016-05-30  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
17791         [BZ #20178]
17792         * sysdeps/unix/sysv/linux/spawni.c (__spawni_child): Call _exit
17793         on failure instead of exit.
17795 2016-05-30  Roland McGrath  <roland@hack.frob.com>
17797         [BZ #3629]
17798         * manual/string.texi (Copying Strings and Arrays): stpcpy is part
17799         of POSIX.1-2008.
17801 2016-05-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
17803         * sysdeps/mach/hurd/i386/____longjmp_chk.S (____longjmp_chk) [PIC]:
17804           Use PLT entry for calling _hurd_self_sigstate.
17806 2016-05-27  H.J. Lu  <hongjiu.lu@intel.com>
17808         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Count number of
17809         available logical processors with SMT level type sharing L2
17810         cache for Intel processors.
17812 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
17814         [BZ #20160]
17815         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Add NaN
17816         argument to itself before returning the result.
17817         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
17818         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
17819         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
17820         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
17821         Likewise.
17822         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
17823         Likewise.
17824         * sysdeps/powerpc/powerpc64/fpu/s_rint.S (__rint): Likewise.
17825         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S (__rintf): Likewise.
17826         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
17827         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
17828         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
17829         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
17831         [BZ #20160]
17832         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Add NaN
17833         argument to itself before returning the result.
17834         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
17835         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
17836         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
17837         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint):
17838         Likewise.
17839         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
17840         Likewise.
17841         * sysdeps/powerpc/powerpc32/fpu/s_rint.S (__rint): Likewise.
17842         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S (__rintf): Likewise.
17843         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Likewise.
17844         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
17845         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
17846         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
17848 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17850         * libm-test.inc: Replace usage of M_El with
17851         (lit_e): New macro.
17853 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17855         * libm-test.inc: Replace usage of M_PI_4l with
17856         (lit_pi_4_d): New macro.
17858 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17860         * libm-test.inc: Replace usage of M_PIl with
17861         (lit_pi): New macro.
17863 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17865         * libm-test.inc: Replace usage of M_PI2l with
17866         (lit_pi_2_d): New macro.
17868         * math/test-double.h (LITM): New macro.
17869         * math/test-float.h (LITM): Likewise.
17870         * math/test-ldouble.h (LITM): Likewise.
17872 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17874         * libm-test.inc (M_PI_34l): Rename to
17875         (lit_pi_3_m_4_d): New Macro.
17876         (M_PI_34_LOG10El): Rename to
17877         (lit_pi_3_m_4_ln10_m_d): New Macro.
17878         (M_PI2_LOG10El): Rename to
17879         (lit_pi_2_ln10_m_d):  New Macro.
17880         (M_PI4_LOG10El): Rename to
17881         (lit_pi_4_ln10_m_d):  New Macro.
17882         (M_PI_LOG10El): Rename to
17883         (lit_pi_ln10_d):  New Macro.
17885 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
17887         [BZ #20157]
17888         * sysdeps/powerpc/powerpc32/fpu/s_fabsl.S (__fabsl): Use fsel to
17889         determine whether to negate low half if [_ARCH_PPCGR], and integer
17890         comparison otherwise.
17891         * sysdeps/powerpc/powerpc64/fpu/s_fabsl.S (__fabsl): Use fsel to
17892         determine whether to negate low half.
17894         * math/libm-test.inc (NO_TEST_INLINE_FLOAT): Remove macro.
17895         (NO_TEST_INLINE_DOUBLE): Likewise.
17896         (TEST_COND_x86_64): Likewise.
17897         (TEST_COND_x86): Likewise.
17898         (M_PI_6l): Likewise.
17900 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17902         * math/libm-test.inc:
17903         (TEST_FLOAT): Change usage to TEST_COND_binary32.
17904         (TEST_DOUBLE): Change usage to TEST_COND_binary64.
17905         (TEST_LDOUBLE): Update usage to evaluate as true if
17906         the guarded tests match the property being tested.
17907         (LDBL_MAX_EXP): Change to MAX_EXP.
17908         (LDBL_MIN_EXP): Change to MIN_EXP.
17909         (LDBL_MANT_DIG): Change to MANT_DIG, except for
17910         nexttoward tests.
17912 2016-05-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
17914         * math/libm-test.inc:
17915         (TYPE_DECIMAL_DIG): Redefine using type supplied PREFIX macro.
17916         (TYPE_MIN): Likewise.
17917         (TYPE_TRUE_MIN): Likewise.
17918         (TYPE_MAX): Likewise.
17919         (MIN_EXP): Likewise.
17920         (MAX_EXP): Likewise.
17921         (MANT_DIG): Likewise.
17923         (FSTR_MAX): New macro.
17924         (__CONCATX): Likewise.
17925         (QTYPE_STR): Likewise.
17926         (TEST_COND_binary32): Likewise.
17927         (TEST_COND_binary64): Likewise.
17928         (TEST_COND_binary128): Likewise.
17929         (TEST_COND_ibm128): Likewise.
17930         (TEST_COND_intel96): Likewise.
17931         (TEST_COND_m68k96): Likewise.
17933         (TEST_COND_flt_32): Redefine as equivalent format test macro.
17934         (TEST_COND_dbl_64): Likewise.
17935         (TEST_COND_ldbl_96_intel): Likewise.
17936         (TEST_COND_ldbl_96_m68k): Likewise.
17937         (TEST_COND_ldbl_128): Likewise.
17938         (TEST_COND_ldbl_128ibm): Likewise.
17940         (plus_zero): Redefine using LIT macro.
17941         (minus_zero): Likewise.
17942         (plus_infty): Redefine as (INF).
17943         (minux_infty): Redefine as (-INF).
17944         (max_value): Redefine as TYPE_MAX.
17945         (min_value): Redefine as TYPE_MIN.
17946         (min_subnorm_value): Redefine as TYPE_TRUE_MIN.
17948         (print_float): Refactor to use snprintf to convert FLOAT values
17949         to string. This brings it closer to dropin replacement of strtof
17950         for the TS 18661 defined types.
17951         (update_stats): Likewise.
17952         (print_complex_function_ulps): Likewise.
17953         (print_max_error): Likewise.
17954         (print_complex_max_error): Likewise.
17955         (check_float_internal): Likewise.
17957         * math/test-float.h (PREFIX): New macro.
17958         (LIT): Likewise.
17959         (TYPE_STR): Likewise.
17960         (FTOSTR): Likewise.
17962         * math/test-double.h (PREFIX): New macro.
17963         (LIT): Likewise.
17964         (TYPE_STR): Likewise.
17965         (FTOSTR): Likewise.
17967         * math/test-ldouble.h (PREFIX): New macro.
17968         (LIT): Likewise.
17969         (TYPE_STR): Likewise.
17970         (FTOSTR): Likewise.
17972 2016-05-27  Joseph Myers  <joseph@codesourcery.com>
17974         [BZ #20156]
17975         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Add high part
17976         to itself when zero or not finite.
17977         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Likewise.
17978         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
17979         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Likewise.
17980         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Likewise.
17982 2016-05-26  Joseph Myers  <joseph@codesourcery.com>
17984         [BZ #20153]
17985         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Return
17986         x * x + x for infinities and NaNs.
17988         [BZ #20151]
17989         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Add NaN
17990         argument to itself before returning result.
17991         (__ieee754_y0l): Likewise.
17992         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
17993         (__ieee754_y1l).
17995         * math/libm-test.inc (acosh_test_data): Add sNaN tests.
17996         (atan_test_data): Likewise.
17997         (ceil_test_data): Likewise.
17998         (cos_test_data): Likewise.
17999         (cosh_test_data): Likewise.
18000         (erf_test_data): Likewise.
18001         (exp2_test_data): Likewise.
18002         (fabs_test_data): Likewise.
18003         (floor_test_data): Likewise.
18004         (ilogb_test_data): Likewise.
18005         (j0_test_data): Likewise.
18006         (j1_test_data): Likewise.
18007         (jn_test_data): Likewise.
18008         (lgamma_test_data): Likewise.
18009         (lrint_test_data): Likewise.
18010         (llrint_test_data): Likewise.
18011         (logb_test_data): Likewise.
18012         (lround_test_data): Likewise.
18013         (llround_test_data): Likewise.
18014         (nearbyint_test_data): Likewise.
18015         (rint_test_data): Likewise.
18016         (round_test_data): Likewise.
18017         (sin_test_data): Likewise.
18018         (sincos_test_data): Likewise.
18019         (sinh_test_data): Likewise.
18020         (sqrt_test_data): Likewise.
18021         (tan_test_data): Likewise.
18022         (tanh_test_data): Likewise.
18023         (tgamma_test_data): Likewise.
18024         (trunc_test_data): Likewise.
18025         (y0_test_data): Likewise.
18026         (y1_test_data): Likewise.
18027         (yn_test_data): Likewise.
18029         * math/libm-test.inc: Update comment about NaN testing.
18030         (TEST_SNAN): New macro.
18031         (snan_value): Likewise.
18032         (enable_test): Disable tests of sNaNs when SNAN_TESTS fails.
18033         (fpclassify_test_data): Add sNaN tests.
18034         (isfinite_test_data): Likewise.
18035         (isinf_test_data): Likewise.
18036         (isnan_test_data): Likewise.
18037         (isnormal_test_data): Likewise.
18038         (issignaling_test_data): Likewise.
18039         (signbit_test_data): Likewise.
18040         * math/gen-libm-test.pl (%beautify): Add snan_value.
18041         (show_exceptions): Add argument $test_snan.
18042         (parse_args): Handle snan_value as non-finite.  Update call to
18043         show_exceptions.
18044         * math/Makefile (libm-test-no-inline-cflags): Add
18045         -fsignaling-nans.
18047 2016-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18049         * nptl/Makefile (CFLAGS-oldrecvfrom.c): Remove rule.
18050         (CFLAGS-oldsendmsg.c): Add rule.
18051         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24):
18052         Correct recvmsg symbol name.
18053         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24):
18054         Likewise.
18056 2016-05-25  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
18058         * sysdeps/unix/sysv/linux/Makefile
18059         [$(subdir) = socket] (sysdep_routines): Add oldrecvmmsg and
18060         oldsendmmsg.
18061         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: Add recvmmsg and
18062         sendmmsg.
18063         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
18064         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
18065         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
18066         * sysdeps/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
18067         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
18068         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
18069         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
18070         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
18071         Likewise.
18072         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
18073         * sysdeps/unix/sysv/linux/oldrecvmmsg.c: New file.
18074         * sysdeps/unix/sysv/linux/oldsendmmsg.c: Likewise.
18075         * sysdeps/unix/sysv/linux/recvmmsg.c (__recvmmsg): Adjust msghdr
18076         iovlen and controllen fields to adjust to POSIX specification.
18077         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
18079         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Remove xfail-
18080         and change to correct expected type.
18081         (msghdr.msg_controllen): Likewise.
18082         (cmsghdr.cmsg_len): Likewise.
18083         * sysdeps/unix/sysv/linux/bits/socket.h (msghdr.msg_iovlen): Fix
18084         expected POSIX assumption about the size.
18085         (msghdr.msg_controllen): Likewise.
18086         (msghdr.__glibc_reserved1): Likewise.
18087         (msghdr.__glibc_reserved2): Likewise.
18088         (cmsghdr.cmsg_len): Likewise.
18089         (cmsghdr.__glibc_reserved1): Likewise.
18090         * nptl/Makefile (libpthread-routines): Remove ptw-recvmsg and ptw-sendmsg.
18091         Add ptw-oldrecvmsg and ptw-oldsendmsg.
18092         (CFLAGS-sendmsg.c): Remove rule.
18093         (CFLAGS-recvmsg.c): Likewise.
18094         (CFLAGS-oldsendmsg.c): Add rule.
18095         (CFLAGS-oldrecvmsg.c): Likewise.
18096         * sysdeps/unix/sysv/linux/alpha/Versions [libc] (GLIBC_2.24): Add
18097         recvmsg and sendmsg.
18098         * sysdeps/unix/sysv/linux/aarch64/Version [libc] (GLIBC_2.24):
18099         Likewise.
18100         * sysdeps/unix/sysv/linux/arm/Versions [libc] (GLIBC_2.24): Likewise.
18101         * sysdeps/unix/sysv/linux/hppa/Versions [libc] (GLIBC_2.24): Likewise.
18102         * sysdeps/unix/sysv/linux/i386/Versions [libc] (GLIBC_2.24): Likewise.
18103         * sysdeps/unix/sysv/linux/ia64/Versions [libc] (GLIBC_2.24): Likewise.
18104         * sysdeps/unix/sysv/linux/m68k/Versions [libc] (GLIBC_2.24): Likewise.
18105         * sysdeps/unix/sysv/linux/microblaze/Versions [libc] (GLIBC_2.24):
18106         Likewise.
18107         * sysdeps/unix/sysv/linux/mips/mips32/Versions [libc] (GLIBC_2.24):
18108         Likewise.
18109         * sysdeps/unix/sysv/linux/mips/mips64/n32/Versions [libc] (GLIBC_2.24):
18110         Likewise.
18111         * sysdeps/unix/sysv/linux/mips/mips64/Versions [libc] (GLIBC_2.24):
18112         Likewise.
18113         * sysdeps/unix/sysv/linux/nios2/Versions [libc] (GLIBC_2.24):
18114         Likewise.
18115         * sysdeps/unix/sysv/linux/powerpc/Versions [libc] (GLIBC_2.24):
18116         Likewise.
18117         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions [libc]
18118         (GLIBC_2.24): Likewise.
18119         * sysdeps/unix/sysv/linux/s390/s390-32/Versions [libc] (GLIBC_2.24):
18120         Likewise.
18121         * sysdeps/unix/sysv/linux/s390/s390-64/Versions [libc] (GLIBC_2.24):
18122         Likewise.
18123         * sysdeps/unix/sysv/linux/sh/Versions [libc] (GLIBC_2.24): Likewise.
18124         * sysdeps/unix/sysv/linux/sparc/Versions [libc] (GLIBC_2.24):
18125         Likewise.
18126         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions [libc] (GLIBC_2.24):
18127         Likewise.
18128         ( sysdeps/unix/sysv/linux/tile/Versions [libc] (GLIBC_2.24):
18129         Likewise.
18130         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/Versions [libc]
18131         (GLIBC_2.24): Likewise.
18132         ( sysdeps/unix/sysv/linux/x86_64/64/Versions [libc] (GLIBC_2.24):
18133         Likewise.
18134         * sysdeps/unix/sysv/linux/x84_64/Versions [libc] (GLIBC_2.24):
18135         Likewise.
18136         * sysdeps/unix/sysv/linux/Makefile
18137         [$(subdir) = socket)] (sysdep_headers): Add oldrecvmsg and oldsendmsg.
18138         (CFLAGS-sendmsg.c): Add rule.
18139         (CFLAGS-recvmsg.c): Likewise.
18140         (CFLAGS-oldsendmsg.c): Likewise.
18141         (CFLAGS-oldrecvmsg.c): Likewise.
18142         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Fix msghdr
18143         initialization.
18144         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
18145         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
18146         * sysdeps/unix/sysv/linux/oldrecvmsg.c: New file.
18147         * sysdeps/unix/sysv/linux/oldsendmsg.c: Likewise.
18148         * sysdeps/unix/sysv/linux/recvmsg.c (__libc_recvmsg): Adjust msghdr
18149         iovlen and controllen fields to adjust to POSIX specification.
18150         * sysdeps/unix/sysv/linux/sendmsg.c (__libc_sendmsg): Likewise.
18151         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: New version and
18152         added recvmsg and sendmsg.
18153         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
18154         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
18155         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
18156         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
18157         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
18158         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
18159         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
18160         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
18161         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
18162         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
18163         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
18164         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise
18165         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
18166         Likewise.
18167         * sysdeps/unix/linux/powerpc/powerpc32/nofpu/libc.abilist: Likewise.
18168         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
18169         * sysdepe/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
18170         Likewise.
18171         Likewise.
18172         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
18173         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
18174         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
18175         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
18176         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
18177         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
18178         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
18179         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
18180         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
18181         Likewise.
18182         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
18183         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
18185         * sysdeps/unix/sysv/linux/alpha/syscalls.list (recvmsg): Remove
18186         from auto-generation.
18187         (sendmsg): Likewise.
18188         * sysdeps/unix/sysv/linux/arm/syscalls.list (recvmsg): Likewise.
18189         (sendmsg): Likewise.
18190         * sysdeps/unix/sysv/linux/generic/syscalls.list (recvmsg): Likewise.
18191         (sendmsg): Likewise.
18192         * sysdeps/unix/sysv/linux/hppa/syscalls.list (recvmsg): Likewise.
18193         (sendmsg): Likewise.
18194         * sysdeps/unix/sysv/linux/ia64/syscalls.list (recvmsg): Likewise.
18195         (sendmsg): Likewise.
18196         * sysdeps/unix/sysv/linux/mips/syscalls.list (recvmsg): Likewise.
18197         (sendmsg): Likewise.
18198         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (recvmsg):
18199         Likewise.
18200         (sendmsg): Likewise.
18201         * sysdeps/unix/sysv/linux/x86_64/syscalls.list (recvmsg): Likewise.
18202         (sendmsg): Likewise.
18203         * sysdeps/unix/sysv/linux/i386/kernel-features.h
18204         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
18205         Remove.
18206         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
18207         Likewise.
18208         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
18209         Undefine.
18210         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
18211         Likewise.
18212         * sysdeps/unix/sysv/linux/kernel-features.h
18213         (__ASSUME_SENDMSG_SYSCALL): Define.
18214         (__ASSUME_RECVMSG_SYSCALL): Likewise.
18215         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
18216         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
18217         Remove.
18218         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
18219         Likewise.
18220         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
18221         Undefine.
18222         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
18223         Likewise.
18224         * sysdeps/unix/sysv/linux/s390/kernel-features.h
18225         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
18226         Remove.
18227         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
18228         Likewise.
18229         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_SENDMSG_SYSCALL):
18230         Undefine.
18231         [__LINUX_KERNEL_VERSION < 0x040300] (__ASSUME_RECVMSG_SYSCALL):
18232         Likewise.
18233         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
18234         (__ASSUME_SENDMSG_SYSCALL): Undefine.
18235         (__ASSUME_RECVMSG_SYSCALL): Likewise.
18236         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
18237         (__ASSUME_SENDMSG_SYSCALL): Likewise.
18238         (__ASSUME_RECVMSG_SYSCALL): Likewise.
18239         * sysdeps/unix/sysv/linux/sh/kernel-features.h
18240         (__ASSUME_SENDMSG_SYSCALL): Likewise.
18241         (__ASSUME_RECVMSG_SYSCALL): Likewise.
18243 2016-05-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18245         * stdlib/gen-tst-strtod-round.c: Add backslash to
18246         compile command in comment.
18247         (printfp): Remove the literal suffix, and define an infinite
18248         value as INF to avoid expansion clash with INFINITY.
18249         (round_str): Remove the literal suffix.
18250         (round_for_all): Likewise, remove the now duplicate ldbl-64
18251         entry, and remove some magic constants.
18253         * stdlib/tst-strtod-round.c: (TEST): Redefine to reduce
18254         duplication.  Remove duplicate dbl-64 and ldbl-64 entries.
18255         (ROUNDING_TESTS_long_double): Define as 0 for ibm128.
18256         (_CONCAT): New macro.
18257         (CONCAT): Likewise.
18258         (CHOOSE_ld): Likewise.
18259         (CHOOSE_f): Likewise.
18260         (CHOOSE_d): Likewise.
18261         (FTYPE_MEMBER): Likewise.
18262         (BOOL_MEMBER): Likewise.
18263         (STRUCT_FOREACH_FLOAT_FTYPE): Likewise.
18264         (STRUCT_FOREACH_FLOAT_BOOL): Likewise.
18265         (_XNTRY): Likewise.
18266         (XNTRY): Likewise.
18267         (_ENTRY): Likewise.
18268         (ENTRY): Likewise.
18269         (test_exactness): Generate members via macro.
18270         (test_results): Likewise.
18271         (test): Update members.
18272         (TEST): Redefine using new macros.
18273         (INF): New macro.
18274         (fetestmodes): New structure.
18275         (do_test): Refactor to be type generic.
18276         (test_in_one_mode): Refactor duplicate code into
18277         (GEN_ONE_TEST): New macro.
18279         * stdlib/tst-strtod-round-data.h: Regenerate.
18281         * stdlib/tst-strtod.h (GEN_TEST_STRTOD_FOREACH):
18282         Extend to pass additional arbitrary parameters to
18283         generators.
18285 2016-05-25  Joseph Myers  <joseph@codesourcery.com>
18287         [BZ #15479]
18288         * sysdeps/powerpc/powerpc64/fpu/s_ceil.S (__ceil): Move save of
18289         floating-point state after first floating-point operation on
18290         input.  Restore full floating-point state instead of just rounding
18291         mode.
18292         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S (__ceilf): Likewise.
18293         * sysdeps/powerpc/powerpc64/fpu/s_floor.S (__floor): Likewise.
18294         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S (__floorf): Likewise.
18295         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S (__trunc): Likewise.
18296         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S (__truncf): Likewise.
18298         [BZ #15479]
18299         * sysdeps/powerpc/powerpc32/fpu/s_ceil.S (__ceil): Move save of
18300         floating-point state after first floating-point operation on
18301         input.  Restore full floating-point state instead of just rounding
18302         mode.
18303         * sysdeps/powerpc/powerpc32/fpu/s_ceilf.S (__ceilf): Likewise.
18304         * sysdeps/powerpc/powerpc32/fpu/s_floor.S (__floor): Likewise.
18305         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S (__floorf): Likewise.
18306         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S (__trunc): Likewise.
18307         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S (__truncf): Likewise.
18309 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
18311         [BZ #19727]
18312         * iconvdata/utf-16.c (BODY): Report an error if first word is not a
18313         valid high surrogate.
18314         * iconvdata/utf-32.c (BODY): Report an error if the value is in range
18315         of an utf16 surrogate.
18316         * iconv/gconv_simple.c (BODY): Likewise.
18317         * iconvdata/bug-iconv12.c: New file.
18318         * iconvdata/Makefile (tests): Add bug-iconv12.
18320 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
18322         [BZ #19726]
18323         * iconv/gconv_simple.c (ucs4le_internal_loop): Update inptrp and
18324         outptrp in case of an illegal input.
18325         * iconv/tst-iconv6.c: New file.
18326         * iconv/Makefile (tests): Add tst-iconv6.
18328 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
18330         * sysdeps/s390/utf16-utf32-z9.c: Disable cu42 instruction and report
18331         an error in case of a value in range of an utf16 low surrogate.
18333 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
18335         * sysdeps/s390/utf8-utf32-z9.c: Disable cu41 instruction and report
18336         an error in case of a value in range of an utf16 low surrogate.
18338 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
18340         * sysdeps/s390/s390-64/Makefile (iconvdata-subdirectory):
18341         Move to ...
18342         * sysdeps/s390/Makefile: ... here.
18343         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Move to ...
18344         * sysdeps/s390/iso-8859-1_cp037_z900.c: ... here.
18345         (BRANCH_ON_COUNT): New define.
18346         (TR_LOOP): Use BRANCH_ON_COUNT instead of brctg.
18347         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Move to ...
18348         * sysdeps/s390/utf16-utf32-z9.c: ... here and adjust to
18349         run on s390-32, too.
18350         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Move to ...
18351         * sysdeps/s390/utf8-utf16-z9.c: ... here and adjust to
18352         run on s390-32, too.
18353         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Move to ...
18354         * sysdeps/s390/utf8-utf32-z9.c: ... here and adjust to
18355         run on s390-32, too.
18357 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
18359         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Use ifunc to select c,
18360         etf3eh or new vector loop-variant.
18362 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
18364         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Use ifunc to select c,
18365         etf3eh or new vector loop-variant.
18367 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
18369         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Use ifunc to select c, etf3eh
18370         or new vector loop-variant.
18372 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
18374         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c (TROO_LOOP):
18375         Rename to TR_LOOP and usage of tr instead of troo instruction.
18377 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
18379         * sysdeps/s390/multiarch/gconv_simple.c: New File.
18380         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add gconv_simple.
18382 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
18384         * sysdeps/s390/multiarch/8bit-generic.c: New File.
18385         * sysdeps/s390/multiarch/gen-8bit.sh: New File.
18386         * sysdeps/s390/multiarch/Makefile (generate-8bit-table):
18387         New override define.
18388         * sysdeps/s390/multiarch/iconv/skeleton.c: Likewise.
18390 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
18392         * config.h.in (HAVE_S390_VX_GCC_SUPPORT): New macro undefine.
18393         * sysdeps/s390/configure.ac: Add test for S390 vector register
18394         support in gcc.
18395         * sysdeps/s390/configure: Regenerated.
18397 2016-05-25  Stefan Liebler  <stli@linux.vnet.ibm.com>
18399         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules):
18400         Install file from $(objpfx)gconv-modules.
18401         ($(objpfx)gconv-modules): Concatenate architecture specific file
18402         in variable sysdeps-gconv-modules and gconv-modules in src dir.
18403         * sysdeps/s390/gconv-modules: New file.
18404         * sysdeps/s390/s390-64/Makefile: ($(inst_gconvdir)/gconv-modules):
18405         Deleted.
18406         ($(objpfx)gconv-modules-s390): Deleted.
18407         (sysdeps-gconv-modules): New variable.
18409 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
18411         [BZ #15479]
18412         * sysdeps/x86_64/fpu/multiarch/s_ceil.S (__ceil_sse41): Set bit 3
18413         of immediate operand to rounding instruction.
18414         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S (__ceilf_sse41):
18415         Likewise.
18416         * sysdeps/x86_64/fpu/multiarch/s_floor.S (__floor_sse41):
18417         Likewise.
18418         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf_sse41):
18419         Likewise.
18421 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18423         * math/libm-test.inc (MIN_EXP): Directly define as
18424         (DBL|LDBL|FLT)_MIN_EXP and fixup usage.
18426 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18428         * math/libm-test.inc (MANT_DIG): Directly define as
18429         (DBL|LDBL|FLT)_MANT_DIG and fixup usage.
18431 2016-05-24  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18433         * stdlib/gen-tst-strtod-round.c (main):
18434           Change usage to more closely match the generated
18435           output.  Add usage and compilation instructions.
18436           (string_to_fp): Add and use FILE* parameter as
18437           output target.
18438           (print_fp): Likewise.
18439           (round_str): Likewise.
18440           (round_for_all): Likewise.
18441         * stdlib/tst-strtod-round.c (tests): Move into
18442         * stdlib/tst-strtod-round-data.h: New file.
18444 2016-05-24  Joseph Myers  <joseph@codesourcery.com>
18446         [BZ #15479]
18447         * sysdeps/ieee754/dbl-64/s_round.c (huge): Remove variable.
18448         (__round): Do not force "inexact" exception.
18449         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (huge): Remove
18450         variable.
18451         (__round): Do not force "inexact" exception.
18452         * sysdeps/ieee754/flt-32/s_roundf.c (huge): Remove variable.
18453         (__roundf): Do not force "inexact" exception.
18454         * sysdeps/ieee754/ldbl-128/s_roundl.c (huge): Remove variable.
18455         (__roundl): Do not force "inexact" exception.
18456         * sysdeps/ieee754/ldbl-96/s_roundl.c (huge): Remove variable.
18457         (__roundl): Do not force "inexact" exception.
18458         * math/libm-test.inc (round_test_data): Do not allow spurious
18459         "inexact" exceptions.
18461         [BZ #15479]
18462         * sysdeps/ieee754/dbl-64/s_floor.c: Do not mention "inexact"
18463         exception in comment.
18464         (huge): Remove variable.
18465         (__floor): Do not force "inexact" exception.
18466         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Do not mention
18467         "inexact" exception in comment.
18468         (huge): Remove variable.
18469         (__floor): Do not force "inexact" exception.
18470         * sysdeps/ieee754/flt-32/s_floorf.c: Do not mention "inexact"
18471         exception in comment.
18472         (huge): Remove variable.
18473         (__floorf): Do not force "inexact" exception.
18474         * sysdeps/ieee754/ldbl-128/s_floorl.c: Do not mention "inexact"
18475         exception in comment.
18476         (huge): Remove variable.
18477         (__floorl): Do not force "inexact" exception.
18479         [BZ #15479]
18480         * sysdeps/ieee754/dbl-64/s_ceil.c: Do not mention "inexact"
18481         exception in comment.
18482         (huge): Remove variable.
18483         (__ceil): Do not force "inexact" exception.
18484         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Do not mention
18485         "inexact" exception in comment.
18486         (huge): Remove variable.
18487         (__ceil): Do not force "inexact" exception.
18488         * sysdeps/ieee754/flt-32/s_ceilf.c (huge): Remove variable.
18489         (__ceilf): Do not force "inexact" exception.
18490         * sysdeps/ieee754/ldbl-128/s_ceill.c: Do not mention "inexact"
18491         exception in comment.
18492         (huge): Remove variable.
18493         (__ceill): Do not force "inexact" exception.
18495 2016-05-24  H.J. Lu  <hongjiu.lu@intel.com>
18497         * config.h.in (BIND_NOW): New.
18498         * configure.ac (BIND_NOW): New.  Defined for --enable-bind-now.
18499         * configure: Regenerated.
18500         * sysdeps/x86_64/sysdep.h (JUMPTARGET)[BIND_NOW]: Defined to
18501         indirect branch via the GOT slot.
18503 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
18505         [BZ #19765]
18506         * sysdeps/s390/mempcpy.S: New File.
18507         * sysdeps/s390/multiarch/mempcpy.c: Likewise.
18508         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add mempcpy.
18509         * sysdeps/s390/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
18510         Add mempcpy variants.
18511         * sysdeps/s390/s390-32/memcpy.S: Add mempcpy entry point.
18512         (memcpy): Adjust to be usable from mempcpy entry point.
18513         (__memcpy_mvcle): Likewise.
18514         * sysdeps/s390/s390-64/memcpy.S: Likewise.
18515         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add entry points
18516         ____mempcpy_z196, ____mempcpy_z10 and add __GI_ symbols for mempcpy.
18517         (__memcpy_z196): Adjust to be usable from mempcpy entry point.
18518         (__memcpy_z10): Likewise.
18519         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
18521 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
18523         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_libc_ifunc):
18524         Remove __GI_ symbol.
18525         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: Add __GI_memcmp symbol.
18526         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: Likewise.
18527         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: Add __GI_memcpy symbol.
18528         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: Likewise.
18529         * sysdeps/s390/s390-32/multiarch/memset-s390.S: Add __GI_memset symbol.
18530         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: Likewise.
18532 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
18534         * sysdeps/s390/s390-64/memcpy.S (memcpy):
18535         Use cghi instead of chi to compare 64bit value.
18537 2016-05-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
18539         * sysdeps/s390/s390-32/memcpy.S (memcpy):
18540         Jump to 1MB check before executing mvc-loop.
18542 2016-05-24  Florian Weimer  <fweimer@redhat.com>
18544         [BZ #6527]
18545         * malloc/malloc.c (MALLOC_ALIGNMENT): Use correct alignment
18546         unconditionally.
18547         * malloc/hooks.c (MALLOC_STATE_VERSION): Increase state version.
18549 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18551         * stdlib/tst-strtod6.c (do_test): Use new type generic
18552         invocation of the test function.
18553         (test): Refactor into ...
18554         (TEST_STRTOD): New macro base function.
18556 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18558         * stdlib/bug-strtod2.c (do_test): Refactor strtod usage into ...
18559         (TEST_STRTOD): New macro.
18560         (TEST_FUNCTION): Redefine to use STRTOD_TEST_FOREACH
18562 2016-05-23  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
18564         * stdlib/tst-strtod6.c (do_test): Use new type generic
18565         invocation of the test function.
18566         (test): Refactor into ...
18567         (TEST_STRTOD): New macro base function.
18569 2016-05-23  Florian Weimer  <fweimer@redhat.com>
18571         CVE-2016-4429
18572         [BZ #20112]
18573         * sunrpc/clnt_udp.c (clntudp_call): Use malloc/free for the error
18574         payload.
18576 2016-05-23  Florian Weimer  <fweimer@redhat.com>
18578         [BZ #20111]
18579         * bits/sockaddr.h (_SS_SIZE): Define.
18580         * bits/socket.h (_SS_SIZE): Remove.
18581         (_SS_PADSIZE): Adjust to account for all padding.
18582         (struct sockaddr_storage): Update comment.  Avoid implicit
18583         padding.
18584         * sysdeps/mach/hurd/bits/socket.h (_SS_SIZE): Remove.
18585         (_SS_PADSIZE): Adjust to account for all padding.
18586         (struct sockaddr_storage): Update comment.  Avoid implicit
18587         padding.
18588         * sysdeps/unix/bsd/bits/sockaddr.h (_SS_SIZE): Define.
18589         * sysdeps/unix/sysv/linux/bits/socket.h (_SS_SIZE): Remove.
18590         (_SS_PADSIZE): Adjust to account for all padding.
18591         (struct sockaddr_storage): Update comment.  Avoid implicit
18592         padding.
18593         * sysdeps/unix/sysv/linux/m68k/bits/sockaddr.h: New file.
18594         __SS_SIZE is 126 in this version.
18595         * inet/tst-sockaddr.c: New file.
18596         * inet/Makefile (tests): Add tst-sockaddr.c
18597         (tst-sockaddr.c): Compile with non-strict aliasing.
18599 2016-05-23  Joseph Myers  <joseph@codesourcery.com>
18601         * conform/data/limits.h-data (CHARCLASS_NAME_MAX): Also expect for
18602         [XPG3 || XPG4].
18603         (NL_ARGMAX): Also expect for [XPG3].
18604         (NL_LANGMAX): Likewise.
18605         (NL_MSGMAX): Likewise.
18606         (NL_NMAX): Likewise.
18607         (NL_SETMAX): Likewise.
18608         (NL_TEXTMAX): Likewise.
18609         (NZERO): Likewise.
18610         (TMP_MAX): Likewise.
18611         * conform/Makefile (test-xfail-XPG3/limits.h/conform): Remove
18612         variable.
18614         * sysdeps/unix/sysv/linux/bits/socket.h (PF_KCM): New macro.
18615         (PF_MAX): Update value.
18616         (AF_KCM): New macro.
18617         (SOL_NETBEUI): Likewise.
18618         (SOL_LLC): Likewise.
18619         (SOL_DCCP): Likewise.
18620         (SOL_NETLINK): Likewise.
18621         (SOL_TIPC): Likewise.
18622         (SOL_RXRPC): Likewise.
18623         (SOL_PPPOL2TP): Likewise.
18624         (SOL_BLUETOOTH): Likewise.
18625         (SOL_PNPIPE): Likewise.
18626         (SOL_RDS): Likewise.
18627         (SOL_IUCV): Likewise.
18628         (SOL_CAIF): Likewise.
18629         (SOL_ALG): Likewise.
18630         (SOL_NFC): Likewise.
18631         (SOL_KCM): Likewise.
18632         (MSG_BATCH): New enum value and macro.
18634 2016-05-20  H.J. Lu  <hongjiu.lu@intel.com>
18636         [BZ #18185]
18637         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Don't limit threads
18638         sharing L2 cache to 2 for Knights Landing.
18640 2016-05-20  Joseph Myers  <joseph@codesourcery.com>
18642         * conform/data/ftw.h-data (struct FTW): Do not expect for [XPG3].
18643         (FTW_DP): Do not expect for [XPG3 || XPG4].
18644         (FTW_SL): Do not expect for [XPG3].
18645         (FTW_SLN): Likewise.
18646         (FTW_PHYS): Likewise.
18647         (FTW_MOUNT): Likewise.
18648         (FTW_DEPTH): Likewise.
18649         (FTW_CHDIR): Likewise.
18650         (nftw): Likewise.
18651         * conform/Makefile (test-xfail-XPG3/ftw.h/conform): Remove
18652         variable.
18654 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
18656         * manual/errno.texi: Fix various typos & grammar errors.
18658 2016-05-19  Rical Jasan  <ricaljasan@pacific.net>
18660         * manual/intro.texi: Fix duplicated typo.
18662 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
18664         [BZ #13304]
18665         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Include <fenv.h>,
18666         <float.h>, <math_private.h> and <stdlib.h>.
18667         (add_split): New function.
18668         (mul_split): Likewise.
18669         (ext_val): New typedef.
18670         (store_ext_val): New function.
18671         (mul_ext_val): New function.
18672         (compare): New function.
18673         (add_split_ext): New function.
18674         (__fmal): After checking for Inf, NaN and zero, compute result as
18675         an exact sum of scaled double values in round-to-nearest before
18676         adding those up and adjusting for other rounding modes.
18677         * math/auto-libm-test-in: Remove xfail-rounding:ldbl-128ibm from
18678         tests of fma.
18679         * math/auto-libm-test-out: Regenerated.
18681 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
18683         [BZ #20119]
18684         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Correct Intel
18685         processor level type mask for CPUID with EAX == 11.
18687 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
18689         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Skip counting
18690         logical threads if the HTT bit is 0.
18691         * sysdeps/x86/cpu-features.h (bit_cpu_HTT): New.
18692         (index_cpu_HTT): Likewise.
18693         (reg_HTT): Likewise.
18695 2016-05-19  H.J. Lu  <hongjiu.lu@intel.com>
18697         [BZ #20115]
18698         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S (__memset):
18699         Remove alignments on jump targets.
18701 2016-05-19  Joseph Myers  <joseph@codesourcery.com>
18703         * conform/data/pwd.h-data (endpwent): Do not expect for [XPG3].
18704         (getpwent): Likewise.
18705         (setpwent): Likewise.
18706         * conform/Makefile (test-xfail-XPG3/pwd.h/conform): Remove
18707         variable.
18709         * conform/data/search.h-data (insque): Do not expect for [XPG3].
18710         (remque): Likewise.
18711         * conform/Makefile (test-xfail-XPG3/search.h/conform): Remove
18712         variable.
18714 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
18716         * math/libm-test.inc: Update comment not to refer to signs of NaNs
18717         not being tested.
18719 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
18721         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
18722         (__condvar_cleanup2): Remove JUMPTARGET from  _Unwind_Resume
18723         call.
18724         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
18725         (__condvar_cleanup1): Likewise.
18727 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
18729         * sysdeps/unix/sysv/linux/x86_64/cancellation.S (PTHREAD_UNWIND):
18730         New
18731         (__pthread_unwind): Renamed to ...
18732         (PTHREAD_UNWIND): This.
18733         (__pthread_enable_asynccancel): Replace
18734         JUMPTARGET(__pthread_unwind) with PTHREAD_UNWIND.
18736 2016-05-18  Joseph Myers  <joseph@codesourcery.com>
18738         * sysdeps/unix/sysv/linux/bits/sched.h [__USE_GNU]
18739         (CLONE_NEWCGROUP): New macro.
18741         * sysdeps/unix/sysv/linux/sys/quota.h [_LINUX_QUOTA_VERSION >= 2]
18742         (Q_GETNEXTQUOTA): New macro.
18744 2016-05-18  H.J. Lu  <hongjiu.lu@intel.com>
18746         [BZ #19907]
18747         * benchtests/bench-memcpy.c (do_one_test): Clear the destination
18748         buffer updated by the previous run.
18749         * string/test-memcpy.c (do_one_test): Likewise.
18750         * benchtests/bench-memmove.c (do_one_test): Add a comment.
18751         * string/test-memmove.c (do_one_test): Likewise.
18753 2016-05-17  Joseph Myers  <joseph@codesourcery.com>
18755         [BZ #20094]
18756         * stdlib/stdlib.h (grantpt): Declare if [__USE_XOPEN_EXTENDED],
18757         not [__USE_XOPEN].
18758         (unlockpt): Likewise.
18759         (ptsname): Likewise.
18760         * conform/Makefile (test-xfail-XPG3/stdlib.h/conform): Remove
18761         variable.
18763         [BZ #20076]
18764         * io/sys/stat.h (S_IFSOCK): Define for [__USE_XOPEN_EXTENDED]
18765         instead of [__USE_UNIX98].
18766         (S_ISSOCK): Likewise.
18767         * conform/Makefile (test-xfail-XPG4/sys/stat.h/conform): Remove
18768         variable.
18770         [BZ #20074]
18771         * stdlib/stdlib.h (rand_r): Declare if [__USE_POSIX199506], not if
18772         [__USE_POSIX].
18773         * conform/Makefile (test-xfail-XPG4/stdlib.h/conform): Remove
18774         variable.
18776         [BZ #20051]
18777         * posix/unistd.h [__USE_XOPEN_EXTENDED && !__USE_UNIX98]
18778         (ttyslot): Do not declare.
18779         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && !__USE_XOPEN2K]
18780         (ttyslot): New prototype.
18781         * conform/Makefile (test-xfail-XPG4/unistd.h/conform): Remove
18782         variable.
18783         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
18785 2016-05-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
18787         * nptl/tst-cancel17.c (do_test): Wait for finishing aio_read(&a).
18789 2016-05-13  Florian Weimer  <fweimer@redhat.com>
18791         Fix race condition in tst-mallocfork2, use fewer resources.
18792         * malloc/tst-mallocfork2.c (sigusr1_handler): Do not send SIGSTOP
18793         to current process group.
18794         (signal_sender): Yield in the non-sleeping case.
18796 2016-05-13  Joseph Myers  <joseph@codesourcery.com>
18798         * conform/data/stdlib.h-data (a64l): Do not expect for [XPG3].
18799         (ecvt): Likewise.
18800         (fcvt): Likewise.
18801         (gcvt): Likewise.
18802         (getsubopt): Likewise.
18803         (grantpt): Likewise.
18804         (initstate): Likewise.
18805         (l64a): Likewise.
18806         (mktemp): Likewise.
18807         (mkstemp): Likewise.
18808         (ptsname): Likewise.
18809         (random): Likewise.
18810         (realpath): Likewise.
18811         (setstate): Likewise.
18812         (srandom): Likewise.
18813         (ttyslot): Likewise.
18814         (unlockpt): Likewise.
18815         (valloc): Likewise.
18817         * conform/data/string.h-data (strdup): Do not expect for [XPG3].
18818         * conform/Makefile (test-xfail-XPG3/string.h/conform): Remove
18819         variable.
18821 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
18823         [BZ #20072]
18824         * sysdeps/i386/dl-machine.h (dl_platform_init): Call
18825         init_cpu_features only if SHARED is defined.
18826         * sysdeps/x86_64/dl-machine.h (dl_platform_init): Likewise.
18828 2016-05-13  H.J. Lu  <hongjiu.lu@intel.com>
18830         * sysdeps/x86/cacheinfo.c (init_cacheinfo): Check and support
18831         non-inclusive caches on Intel processors.
18833 2016-05-13  Florian Weimer  <fweimer@redhat.com>
18835         * malloc/malloc.c (dumped_main_arena_start)
18836         (dumped_main_arena_end): New variables.
18837         (DUMPED_MAIN_ARENA_CHUNK): New macro.
18838         (do_check_chunk): Skip dumped fake mmapped chunks.
18839         (munmap_chunk): Likewise.
18840         (__libc_free): Do not adjust statistics for fake mmapped chunks.
18841         (__libc_realloc): Adjust hardening check.  Always copy dumped fake
18842         mmapped chunks.
18843         * malloc/hooks.c (__malloc_set_state): Do not update main_arena.
18844         Mark dumped chunks as using mmap.  Update dumped_main_arena_start
18845         and dumped_main_arena_end to cover the dumped heap.
18847 2016-05-12  Joseph Myers  <joseph@codesourcery.com>
18849         * conform/data/time.h-data (getdate_err): Do not expect for
18850         [XPG3].
18851         (getdate): Likewise.
18852         * conform/Makefile (test-xfail-XPG3/time.h/conform): Remove
18853         variable.
18855         * conform/data/unistd.h-data (F_LOCK): Do not expect for [XPG3].
18856         (F_ULOCK): Likewise.
18857         (F_TEST): Likewise.
18858         (F_TLOCK): Likewise.
18859         (useconds_t): Likewise.
18860         (intptr_t): Do not expect for [XPG3] or [XPG4].
18861         (brk): Do not expect for [XPG3]
18862         (fchown): Likewise.
18863         (fchdir): Likewise.
18864         (ftruncate): Likewise.
18865         (getdtablesize): Likewise.
18866         (gethostid): Likewise.
18867         (getpagesize): Likewise.
18868         (getpgid): Likewise.
18869         (getsid): Likewise.
18870         (getwd): Likewise.
18871         (lchown): Likewise.
18872         (lockf): Likewise.
18873         (readlink): Likewise.
18874         (sbrk): Likewise.
18875         (setpgrp): Likewise.
18876         (setregid): Likewise.
18877         (setreuid): Likewise.
18878         (symlink): Likewise.
18879         (sync): Likewise.
18880         (truncate): Likewise.
18881         (ualarm): Likewise.
18882         (usleep): Likewise.
18883         (vfork): Likewise.
18884         * conform/Makefile (test-xfail-XPG3/unistd.h/conform): Remove
18885         variable.
18887         [BZ #20054]
18888         * posix/unistd.h (gethostname): Declare if [__USE_XOPEN_EXTENDED],
18889         not [__USE_UNIX98].
18890         * conform/data/unistd.h-data (gethostname): Do not expect for
18891         [XPG3].
18893         * conform/data/fcntl.h-data [!POSIX] (S_IFMT): Do not expect.
18894         [!POSIX] (S_IFBLK): Likewise.
18895         [!POSIX] (S_IFCHR): Likewise.
18896         [!POSIX] (S_IFIFO): Likewise.
18897         [!POSIX] (S_IFREG): Likewise.
18898         [!POSIX] (S_IFDIR): Likewise.
18899         [!POSIX] (S_IFLNK): Likewise.
18900         [!POSIX] (S_IFSOCK): Likewise.
18901         * conform/Makefile (test-xfail-XPG3/fcntl.h/conform): Remove
18902         variable.
18903         (test-xfail-XPG4/fcntl.h/conform): Likewise.
18905 2016-05-12  Wilco Dijkstra  <wdijkstr@arm.com>
18907         * sysdeps/aarch64/memset.S (__memset):
18908         Rewrite of optimized memset.
18910 2016-05-12  Florian Weimer  <fweimer@redhat.com>
18912         [BZ #19703]
18913         Partially async-signal-safe fork for single-threaded processes.
18914         * sysdeps/nptl/fork.c (__libc_fork): Introduce multiple_threads
18915         variable.  Do not acquire and reset/release malloc and libio locks
18916         in single-threaded processes.
18917         * malloc/tst-mallocfork2.c: New file.
18918         * malloc/Makefile (tests): Add it.
18920 2016-05-12  Florian Weimer  <fweimer@redhat.com>
18922         * sysdeps/posix/getaddrinfo.c (gaih_inet_serv): Add tmpbuf
18923         argument.  Use scratch buffer instead of extend_alloca.
18924         (gethosts): Use scratch buffer instead of extend_alloca.
18925         (gaih_inet): Add tmpbuf argument.  Use scratch buffer instead of
18926         extend_alloca.
18927         (getaddrinfo): Allocate scratch buffer and pass it to gaih_inet.
18929 2016-05-11  Joseph Myers  <joseph@codesourcery.com>
18931         [BZ #20055]
18932         * termios/termios.h (pid_t): Define for [__USE_XOPEN_EXTENDED]
18933         instead of [__USE_UNIX98].
18934         (tcgetsid): Declare for [__USE_XOPEN_EXTENDED] instead of
18935         [__USE_UNIX98].
18936         * conform/data/termios.h-data (tcgetsid): Do not expect for
18937         [XPG3].
18938         * conform/Makefile (test-xfail-XPG3/termios.h/conform): Remove
18939         variable.
18940         (test-xfail-XPG4/termios.h/conform): Likewise.
18942 2016-05-11  Florian Weimer  <fweimer@redhat.com>
18944         Do not use mcheck in localedef.
18945         * locale/programs/localedef.c (turn_on_mcheck)
18946         (__malloc_initialize_hook): Remove.
18948 2016-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
18950         * sysdeps/s390/s390-32/Makefile (pic-ccflag): Remove.
18951         * sysdeps/s390/s390-64/Makefile: Likewise.
18953 2016-05-11  H.J. Lu  <hongjiu.lu@intel.com>
18955         * sysdeps/i386/i686/multiarch/Makefile (gen-as-const-headers):
18956         Remove ifunc-defines.sym.
18957         * sysdeps/x86_64/multiarch/Makefile (gen-as-const-headers):
18958         Likewise.
18959         * sysdeps/i386/i686/multiarch/ifunc-defines.sym: Removed.
18960         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
18961         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Likewise.
18962         * sysdeps/x86/Makefile (gen-as-const-headers): Remove
18963         rtld-global-offsets.sym.
18964         * sysdeps/x86_64/multiarch/ifunc-defines.sym: Merged with ...
18965         * sysdeps/x86/cpu-features-offsets.sym: This.
18966         * sysdeps/x86/cpu-features.h: Include <cpu-features-offsets.h>
18967         instead of <ifunc-defines.h> and <rtld-global-offsets.h>.
18969 2016-05-10  Joseph Myers  <joseph@codesourcery.com>
18971         [BZ #20073]
18972         * io/sys/stat.h (fchmod): Declare for
18973         [__USE_POSIX199309 || __USE_XOPEN_EXTENDED], not [__USE_POSIX].
18974         * conform/Makefile (test-xfail-XPG3/sys/stat.h/conform): Remove
18975         variable.
18977         * conform/data/sys/stat.h-data [XPG3] (S_IFLNK): Do not expect.
18978         [XPG3] (S_IFSOCK): Likewise.
18979         [XPG3] (S_ISVTX): Likewise.
18980         [XPG3] (S_ISLNK): Likewise.
18981         [XPG3] (S_ISSOCK): Likewise.
18982         [XPG3] (fchmod): Likewise.
18983         [XPG3] (lstat): Likewise.
18984         [XPG3] (mknod): Likewise.
18986         * conform/data/sys/stat.h-data (st_blksize): Do not expect for
18987         [XPG3].  Expect type long and XFAIL for [XPG4].
18988         (st_blocks): Likewise.
18990         [BZ #20044]
18991         * posix/unistd.h [__USE_UNIX98 && !__USE_XOPEN2K]
18992         (pthread_atfork): New prototype.
18993         * conform/Makefile (test-xfail-UNIX98/unistd.h/conform): Remove
18994         variable.
18996         [BZ #20043]
18997         * posix/unistd.h [__USE_XOPEN && !__USE_XOPEN2K] (cuserid): New
18998         prototype.
19000 2016-05-10  Florian Weimer  <fweimer@redhat.com>
19002         [BZ #20017]
19003         * resolv/res_debug.c (p_secstodate): Call __gmtime_r instead of
19004         gmtime.
19006 2016-05-10  Florian Weimer  <fweimer@redhat.com>
19008         [BZ #19994]
19009         * sysdeps/posix/getaddrinfo.c (gethosts): Restore RES_USE_INET6
19010         flag in _res.options.
19012 2016-05-09  Joseph Myers  <joseph@codesourcery.com>
19014         * conform/data/sys/types.h-data (blkcnt_t): Do not expect for
19015         [XPG3 || XPG4].
19016         (blksize_t): Likewise.
19017         (clockid_t): Likewise.
19018         * conform/Makefile (test-xfail-XPG3/sys/types.h/conform): Remove
19019         variable.
19020         (test-xfail-XPG4/sys/types.h/conform): Likewise.
19022 2016-05-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
19024         * sysdeps/unix/sysv/linux/s390/init-first.c:
19025         Add VDSO_SYMBOL(getcpu).
19026         (_libc_vdso_platform_setup): Initialize VDSO_SYMBOL(getcpu).
19027         * sysdeps/unix/sysv/linux/s390/libc-vdso.h:
19028         Add VDSO_SYMBOL(getcpu).
19029         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h:
19030         New define HAVE_GETCPU_VSYSCALL.
19031         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
19033 2016-05-08  H.J. Lu  <hongjiu.lu@intel.com>
19035         * sysdeps/i386/cacheinfo.c: Include <sysdeps/x86/cacheinfo.c>
19036         instead of <sysdeps/x86_64/cacheinfo.c>.
19037         * sysdeps/x86_64/cacheinfo.c: Moved to ...
19038         * sysdeps/x86/cacheinfo.c: Here.
19040 2016-05-04  Florian Weimer  <fweimer@redhat.com>
19042         * malloc/malloc-internal.h: Adjust header file guard.
19044 2016-05-04  Florian Weimer  <fweimer@redhat.com>
19046         [BZ #19787]
19047         * inet/getnameinfo.c (check_sprintf_result): New function.
19048         (CHECKED_SNPRINTF): New macro.
19049         (gni_host_inet_numeric): Use CHECKED_SNPRINTF to write the scope
19050         to the host buffer.
19051         (gni_host_local): Use checked_copy to copy the host name.
19052         (gni_serv_inet): Use CHECKED_SNPRINTF to write the service name.
19053         (gni_serv_local): Use checked_copy to copy the service name.
19054         (getnameinfo): Remove unnecessary truncation of result buffers.
19056 2016-05-04  Florian Weimer  <fweimer@redhat.com>
19058         * inet/getnameinfo.c (gni_host_inet_numeric): Return EAI_OVERFLOW
19059         in case of inet_ntop failure.
19061 2016-05-04  Florian Weimer  <fweimer@redhat.com>
19063         * inet/getnameinfo.c (gni_host_inet_name): Use temporaries to
19064         avoid long lines.
19065         (gni_host_inet_numeric): Likewise.  Reduce scope of local
19066         variables.
19067         (gni_host_inet, gni_host_local): Add comment.
19068         (gni_host): Add comment.  Use temporary to avoid long lines.
19070 2016-05-04  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
19072         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Fix use of condition
19073         registers specifiers where general purpose registers specifiers should
19074         have been used.
19076 2016-05-04  Florian Weimer  <fweimer@redhat.com>
19078         [BZ #19779]
19079         CVE-2016-1234
19080         Avoid copying names of directory entries.
19081         * posix/glob.c (DIRENT_MUST_BE, DIRENT_MIGHT_BE_SYMLINK)
19082         (DIRENT_MIGHT_BE_DIR, CONVERT_D_INO, CONVERT_D_TYPE)
19083         (CONVERT_DIRENT_DIRENT64, REAL_DIR_ENTRY): Remove macros.
19084         (struct readdir_result): New type.
19085         (D_TYPE_TO_RESULT, D_INO_TO_RESULT, READDIR_RESULT_INITIALIZER)
19086         (GL_READDIR): New macros.
19087         (readdir_result_might_be_symlink, readdir_result_might_be_dir)
19088         (convert_dirent, convert_dirent64): New functions.
19089         (glob_in_dir): Use struct readdir_result.  Call convert_dirent or
19090         convert_dirent64.  Adjust references to the readdir result.
19091         * sysdeps/unix/sysv/linux/i386/glob64.c:
19092         (convert_dirent, GL_READDIR): Redefine for second file inclusion.
19093         * posix/bug-glob2.c (LONG_NAME): Define.
19094         (filesystem): Add LONG_NAME.
19095         (my_DIR): Increase the size of room_for_dirent.
19097 2016-05-03  Joseph Myers  <joseph@codesourcery.com>
19099         [BZ #20041]
19100         * misc/sys/select.h (__need_timespec): Only define if
19101         [__USE_XOPEN2K].
19102         * conform/Makefile (test-xfail-XPG4/sys/time.h/conform): Remove
19103         variable.
19104         (test-xfail-XPG4/utmpx.h/conform): Likewise.
19105         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
19106         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
19108 2016-05-03  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19109             Segher Boessenkool  <segher@gcc.gnu.org>
19111         [BZ #20004]
19112         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S:
19113         (__novec_swapcontext): Add missing load.
19115 2016-05-02  Joseph Myers  <joseph@codesourcery.com>
19117         [BZ #20023]
19118         * io/fcntl.h [__USE_XOPEN && !__USE_XOPEN2K8]: Do not include
19119         <time.h>.
19120         * conform/Makefile (test-xfail-UNIX98/fcntl.h/conform): Remove
19121         variable.
19122         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
19124 2016-05-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19126         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone): Fix
19127         flags CLONE_VM compare.
19129 2016-05-02  Florian Weimer  <fweimer@redhat.com>
19131         [BZ #20031]
19132         * hesiod/hesiod.c (get_txt_records): Return error if TXT record is
19133         completely empty.
19135 2016-05-02  Florian Weimer  <fweimer@redhat.com>
19137         [BZ #19573]
19138         * hesiod/Makefile (libnss_hesiod-routines): Remove hesiod-init.
19139         * hesiod/nss_hesiod/hesiod-init.c: Remove file.
19140         * hesiod/nss_hesiod/nss_hesiod.h: Likewise.
19141         * hesiod/hesiod.h (__hesiod_res_get, __hesiod_res_set): Remove.
19142         (hesiod_init, hesiod_end, hesiod_to_bind, hesiod_resolve)
19143         (hesiod_free_list): Mark as hidden.
19144         * hesiod/hesiod_p (struct hesiod_p): Remove res, free_res,
19145         res_set, res_get.
19146         * hesiod/hesiod.c: Remove unnecessary forward declarations.
19147         (init, __hesiod_res_get, __hesiod_res_set): Remove.
19148         (hesiod_init): Remove obsolete res_ninit call.
19149         (hesiod_end): Do not free resolver state.  Do not invoke callback.
19150         (hesiod_bind): Do not call init.
19151         (get_txt_records): Use res_mkquery, res_send instead of
19152         res_nmkquery, res_nsend.
19153         * hesiod/nss_hesiod/hesiod-grp.c (lookup): Call hesiod_init
19154         instead of _nss_hesiod_init.
19155         (_nss_hesiod_initgroups_dyn): Likewise.
19156         * hesiod/nss_hesiod/hesiod-proto.c (lookup): Likewise.
19157         * hesiod/nss_hesiod/hesiod-pwd.c (lookup): Likewise.
19158         * hesiod/nss_hesiod/hesiod-service.c (lookup): Likewise.
19160 2016-05-02  Florian Weimer  <fweimer@redhat.com>
19162         * hesiod/hesiod_p.h (DEF_RHS): Remove.
19163         * hesiod/hesiod.c (hesiod_init): Remove code for handling DEF_RHS.
19165 2016-05-02  Florian Weimer  <fweimer@redhat.com>
19167         * hesiod/hesiod.h: Remove RCS keyword.
19168         * hesiod/hesiod_p.h: Likewise.
19170         * hesiod/hesiod.c: Likewise.
19172 2016-05-01  Arnas Udovičius  <arnas.udovicius@gmail.com>
19174         [BZ #12450]
19175         * locale/iso-639.def: Add Samogitian/sgs.
19177 2016-04-30  Andreas Schwab  <schwab@linux-m68k.org>
19179         * sysdeps/m68k/Makefile (CFLAGS-gmon-start.c): Define.
19181         * sysdeps/unix/sysv/linux/m68k/clone.S: Localize labels.
19183 2016-04-29  Stephen Gallagher  <sgallagh@redhat.com>
19184             Carlos O'Donell  <carlos@redhat.com>
19186         [BZ #19072]
19187         * grp/Makefile (headers): Add grp-merge.h
19188         (routines): Add grp-merge.
19189         * grp/getgrgid_r.c: Include grp-merge.h.
19190         (DEEPCOPY_FN): Define.
19191         (MERGE_FN): Define.
19192         * grp/getgrname_r.c: Include grp-merge.h.
19193         (DEEPCOPY_FN): Define.
19194         (MERGE_FN): Define.
19195         * grp/grp-merge.c: New file.
19196         * grp/grp-merge.h: New file.
19197         * include/grp-merge.h: New file.
19198         * grp/Versions: Define __merge_grp@GLIBC_PRIVATE, and
19199         __copy_grp@GLIBC_PRIVATE.
19200         * manual/nss.texi (Actions in the NSS configuration): Describe
19201         return, continue, and merge.
19202         * nscd/getgrgid_r.c: Include grp/grp-merge.h.
19203         (DEEPCOPY_FN): Define.
19204         (MERGE_FN): Define.
19205         * nscd/getgrnam_r.c: Include grp/grp-merge.h.
19206         (DEEPCOPY_FN): Define.
19207         (MERGE_FN): Define.
19208         * nss/getXXbyYY_r.c [!DEEPCOPY_FN]: Define __copy_einval.
19209         [!MERGE_FN]: Define __merge_einval.
19210         (CHECK_MERGE): Define.
19211         (REENTRANT_NAME): Process merge if do_merge is true.
19212         * nss/getnssent_r.c (__nss_setent): Process NSS_ACTION_MERGE.
19213         (__nss_getent_r): Likewise.
19214         * nss/nsswitch.c (nss_parse_service_list): Likewise.
19215         * nss/nsswitch.h (lookup_actions): Define NSS_ACTION_MERGE.
19217 2016-04-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19219         [BZ #20012]
19220         * libio/fmemopen.c (fmemopen_read): Use buffer maximum position, not
19221         length to calculate the buffer to read.
19222         (fmemopen_write): Set the buffer position based on bytes written.
19223         (fmemopen_seek): Return EINVAL for invalid whence modes.
19225         [BZ #19957]
19226         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == nptl] (test): Remove
19227         tst-getpid2.
19228         (test): Add tst-clone2.
19229         * sysdeps/unix/sysv/linux/tst-clone2.c: New file.
19230         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Do not change
19231         pid/tid fields for CLONE_VM.
19232         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
19233         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
19234         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
19235         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise,
19236         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
19237         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
19238         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
19239         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
19240         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
19241         Likewise.
19242         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
19243         Likewise.
19244         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
19245         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
19246         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
19247         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
19248         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
19249         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
19250         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
19251         * sysdeps/unix/sysv/linux/tst-getpid2.c: Remove file.
19253 2016-04-29  Florian Weimer  <fweimer@redhat.com>
19255         [BZ #19642]
19256         * inet/getnameinfo.c (gni_host_inet_name, gni_host_inet_numeric)
19257         (gni_host_inet, gni_host_local, gni_host, gni_serv_inet)
19258         (gni_serv_local, gni_serv): New functions extracted from
19259         getnameinfo.
19260         (getnameinfo): Call gni_host and gni_serv to perform the
19261         processing.  Always free scratch buffer.
19263 2016-04-29  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
19265         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Call memset to pad the
19266         remaining bytes in the dest string, with zeros.
19268 2016-04-29  Florian Weimer  <fweimer@redhat.com>
19270         [BZ #20010]
19271         CVE-2016-3706
19272         * sysdeps/posix/getaddrinfo.c
19273         (convert_hostent_to_gaih_addrtuple): New function.
19274         (gethosts): Call convert_hostent_to_gaih_addrtuple.
19275         (gaih_inet): Use convert_hostent_to_gaih_addrtuple to convert
19276         AF_INET data.
19278 2016-04-29  Florian Weimer  <fweimer@redhat.com>
19280         glob: Simplify and document the interface for the GLOB_ALTDIRFUNC
19281         callback function gl_readdir.
19282         * posix/glob.c (NAMELEN, CONVERT_D_NAMLEN): Remove.
19283         (CONVERT_DIRENT_DIRENT64): Use strcpy instead of memcpy.
19284         (glob_in_dir): Remove len.  Use strdup instead of malloc and
19285         memcpy to copy the name.
19286         * manual/pattern.texi (Calling Glob): Document requirements for
19287         implementations of the gl_readdir callback function.
19288         * manual/examples/mkdirent.c: New example.
19289         * posix/bug-glob2.c (my_readdir): Set d_ino to 1 unconditionally,
19290         per the manual guidance.
19291         * posix/tst-gnuglob.c (my_readdir): Likewise.
19293 2016-04-28  Joseph Myers  <joseph@codesourcery.com>
19295         [BZ #20014]
19296         * libio/stdio.h (getc_unlocked): Declare if [__USE_POSIX199506],
19297         not [__USE_POSIX].
19298         (getchar_unlocked): Likewise.
19299         (putc_unlocked): Likewise.
19300         (putchar_unlocked): Likewise.
19301         (flockfile): Likewise.
19302         (ftrylockfile): Likewise.
19303         (funlockfile): Likewise.
19304         * conform/Makefile (test-xfail-XPG3/stdio.h/conform): Remove
19305         variable.
19306         (test-xfail-XPG4/stdio.h/conform): Likewise.
19308         * conform/data/langinfo.h-data [XPG3 || XPG4 || UNIX98] (YESSTR):
19309         Expect constant.
19310         [XPG3 || XPG4 || UNIX98] (NOSTR): Likewise.
19311         * conform/Makefile (test-xfail-XPG3/langinfo.h/conform): Remove
19312         variable.
19313         (test-xfail-XPG4/langinfo.h/conform): Likewise.
19314         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
19316         * libio/stdio.h (off_t): Also define if [__USE_UNIX98].
19317         [__USE_LARGEFILE64] (off64_t): Likewise.
19318         * conform/Makefile (test-xfail-UNIX98/stdio.h/conform): Remove
19319         variable.
19321 2016-04-28  Florian Weimer  <fweimer@redhat.com>
19323         * inet/getnameinfo.c (getnameinfo): Do not preserve errno.
19325 2016-04-28  Florian Weimer  <fweimer@redhat.com>
19327         * resolv/inet_addr.c: Reindent preprocessor conditionals.
19328         * resolv/res_init.c: Likewise.
19329         * resolv/res_mkquery.c: Likewise.
19331 2016-04-28  Florian Weimer  <fweimer@redhat.com>
19333         * resolv/res_init.c (isascii): Do not define.  Use definition in
19334         <ctype.h>.
19335         * resolv/gethnamaddr.c: Remove USE_OPTIONS_H conditional.
19336         (LOG_AUTH): Remove.
19337         (SPRINTF): Remove, adjust caller.
19338         (MULTI_PTRS_ARE_ALIASES): Remove, always defined.
19340 2016-04-28  Florian Weimer  <fweimer@redhat.com>
19342         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r): Remove
19343         SUNSECURITY conditional.
19344         * resolv/gethnamaddr.c (gethostbyaddr): Likewise.
19346 2016-04-28  Florian Weimer  <fweimer@redhat.com>
19348         * resolv/arpa/nameser.h: Include <sys/types.h> unconditionally.
19349         * resolv/gethnamaddr.c: Use include files from conf/portability.h.
19350         Remove BSD-related preprocessor conditionals.
19351         * conf/portability.h: Remove.
19353 2016-04-28  Florian Weimer  <fweimer@redhat.com>
19355         * resolv/resolv.h: Remove __BIND_NOSTATIC conditional.
19356         * resolv/res_data.c: Likewise.
19358 2016-04-28  Florian Weimer  <fweimer@redhat.com>
19360         * resolv/res_comp.c: Remove code conditional on __ultrix__.
19361         * resolv/res_data.c: Remove code conditional on ultrix.
19363 2016-04-28  Florian Weimer  <fweimer@redhat.com>
19365         * resolv/res_init.c (RFC1535): Do not define.  Remove
19366         RFC1535 preprocessor conditionals.
19367         * resolv/README: Update.  Do not claim strict RFC 1535 compliance
19368         because there configuration options which make the resolver
19369         behavior different.
19371 2016-04-28  Florian Weimer  <fweimer@redhat.com>
19373         * resolv/gethnamaddr.c (RESOLVSORT): Do not define.  Remove
19374         RESOLVSORT preprocessor conditionals.
19375         * resolv/nss_dns/dns-host.c: Likewise.
19376         * resolv/res_init.c: Likewise.
19378 2016-04-28  Florian Weimer  <fweimer@redhat.com>
19380         * resolv/res_data.c: Remove code conditional on BIND_UPDATE.  It
19381         is never defined.
19383 2016-04-28  Florian Weimer  <fweimer@redhat.com>
19385         * inet/inet_lnaof.c: Remove SCSS keyword.
19386         * inet/inet_mkadr.c: Likewise.
19387         * inet/inet_net.c: Likewise.
19388         * inet/inet_netof.c: Likewise.
19389         * inet/rcmd.c: Likewise.
19390         * inet/rexec.c: Likewise.
19391         * inet/ruserpass.c: Likewise.
19393 2016-04-28  Florian Weimer  <fweimer@redhat.com>
19395         * resolv/inet_addr.c: Remove _LIBC conditionals.
19396         * resolv/res_data.c: Likewise.
19397         * resolv/res_init.c: Likewise.
19398         * resolv/res_mkquery.c: Likewise.
19399         * resolv/res_libc.c: Update comment.
19400         * resolv/README: Update.
19402 2016-04-28  Florian Weimer  <fweimer@redhat.com>
19404         * resolv/gethnamaddr.c: Remove SCSS keyword.
19405         * resolv/herror.c: Likewise.
19406         * resolv/inet_addr.c: Likewise.
19407         * resolv/inet_net_ntop.c: Likewise.
19408         * resolv/inet_net_pton.c: Likewise.
19409         * resolv/inet_neta.c: Likewise.
19410         * resolv/inet_ntop.c: Likewise.
19411         * resolv/inet_pton.c: Likewise.
19412         * resolv/ns_date.c: Remove RCS keyword.
19413         * resolv/ns_name.c: Likewise.
19414         * resolv/ns_netint.c: Likewise.
19415         * resolv/ns_parse.c: Likewise.
19416         * resolv/ns_print.c: Likewise.
19417         * resolv/ns_samedomain.c: Likewise.
19418         * resolv/ns_ttl.c: Likewise.
19419         * resolv/nsap_addr.c: Likewise.
19420         * resolv/res_comp.c: Remove SCSS and RCS keyword.
19421         * resolv/res_data.c: Remove RCS keyword.
19422         * resolv/res_debug.c: Remove SCSS and RCS keyword.
19423         * resolv/res_init.c: Likewise.
19424         * resolv/res_mkquery.c: Likewise.
19425         * resolv/res_query.c: Likewise.
19426         * resolv/res_send.c: Likewise.
19428 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
19430         * conform/data/stdio.h-data (fdopen): Expect also for
19431         [XPG3 || XPG4].
19433         * conform/data/stdio.h-data (flockfile): Also expect for [UNIX98].
19434         (fseeko): Likewise.
19435         (ftello): Likewise.
19436         (ftrylockfile): Likewise.
19437         (funlockfile): Likewise.
19438         (getc_unlocked): Likewise.
19439         (getchar_unlocked): Likewise.
19440         (putc_unlocked): Likewise.
19441         (putchar_unlocked): Likewise.
19443 2016-04-27  Florian Weimer  <fweimer@redhat.com>
19445         [BZ #19868]
19446         * resolv/nss_dns/dns-network.c (getanswer_r): Implement additional
19447         DNS packet syntax checks (which were not needed before).  Skip
19448         over non-PTR records.
19450 2016-04-27  Florian Weimer  <fweimer@redhat.com>
19452         * resolv/nss_dns/dns-network.c (offsetof): Remove macro
19453         definition.  Include <stddef.h> instead.
19455 2016-04-27  Florian Weimer  <fweimer@redhat.com>
19457         [BZ #19831]
19458         * resolv/nss_dns/dns-host.c (rrtype_to_rdata_length): New
19459         function.
19460         (getanswer_r): Check RDATA length against RRTYPE and QTYPE.
19461         (gaih_getanswer_slice): Check RDATA length against RRTYPE.
19463 2016-04-27  Florian Weimer  <fweimer@redhat.com>
19465         [BZ #19862]
19466         * resolv/nss_dns/dns-host.c (AskedForGot): Remove.
19467         (getanswer_r): Do not call syslog.
19468         (gaih_getanswer_slice): Likewise.
19469         * resolv/gethnamaddr.c (AskedForGot): Remove.
19470         (getanswer): Do not call syslog.
19471         (gethostbyaddr): Likewise.
19473 2016-04-27  Joseph Myers  <joseph@codesourcery.com>
19475         * conform/data/signal.h-data (union sigval): Expect also if
19476         [XOPEN2K].
19477         (struct sigevent): Likewise.
19478         (SIGEV_NONE): Likewise.
19479         (SIGEV_SIGNAL): Likewise.
19480         (SIGEV_THREAD): Likewise.
19481         (SIGRTMIN): Likewise.
19482         (SIGRTMAX): Likewise.
19483         * conform/Makefile (test-xfail-XOPEN2K/aio.h/conform): Remove
19484         variable.
19485         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
19487 2016-04-27  Florian Weimer  <fweimer@redhat.com>
19489         [BZ #19830]
19490         * resolv/nss_dns/dns-host.c (getanswer_r): Check RDATA length.
19491         (gaih_getanswer_slice): Likewise.
19492         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Likewise.
19493         Also check for availability of RR metadata.
19495 2016-04-27  Florian Weimer  <fweimer@redhat.com>
19497         [BZ #19825]
19498         * resolv/res_send.c (send_vc): Remove early *resplen2
19499         initialization.  Set *resplen2 on socket error.  Call
19500         close_and_return_error for other errors.
19502 2016-04-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
19504         * sysdeps/unix/sysv/linux/netiucv/iucv.h
19505         (SOL_IUCV, SO_IPRMDATA_MSG, SO_MSGLIMIT, SO_MSGSIZE)
19506         (SCM_IUCV_TRGCLS): New define.
19508 2016-04-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19510         [BZ #20005]
19511         * libio/fmemopen.c (fmemopen_write): Update internal position after
19512         write.
19513         * stdio-common/Makefile (tests): Add tst-fmemopen4.c.
19514         * stdio-common/tst-fmemopen4.c: New file..
19516 2016-04-26  Joseph Myers  <joseph@codesourcery.com>
19518         [BZ #19996]
19519         * locale/langinfo.h (nl_langinfo_l): Declare if [__USE_XOPEN2K8],
19520         not [__USE_XOPEN2K].
19521         * conform/Makefile (test-xfail-XOPEN2K/langinfo.h/conform): Remove
19522         variable.
19524         * conform/data/stdarg.h-data [XOPEN2K] (va_copy): Require macro.
19525         * conform/Makefile (test-xfail-XOPEN2K/stdarg.h/conform): Remove
19526         variable.
19528         * libio/stdio.h (off_t): Define if [__USE_XOPEN2K], not
19529         [__USE_XOPEN2K8].
19530         [__USE_LARGEFILE64] (off64_t): Likewise.
19531         * conform/Makefile (test-xfail-XOPEN2K/stdio.h/conform): Remove
19532         variable.
19534 2016-04-25  Joseph Myers  <joseph@codesourcery.com>
19536         [BZ #19989]
19537         * libio/stdio.h (cuserid): Do not declare if
19538         [__USE_XOPEN2K && !__USE_GNU].
19539         * conform/Makefile (test-xfail-XOPEN2K8/stdio.h/conform): Remove
19540         variable.
19542 2016-04-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
19544         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
19545         (sysdep_routines): Add P8 and PPC64 strcspn targets.
19546         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19547         (__libc_ifunc_impl_list): Add entries for P8 and PPC64
19548         ifunc'ed strcspn.
19549         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
19550         [EALIGN]: Removed.
19551         [END]: Likewise
19552         [STRSPN]: Define instead of the above to control symbol name.
19553         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power8.S:
19554         New file.
19555         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c:
19556         Likewise.
19557         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c:
19558         Likewise.
19559         * sysdeps/powerpc/powerpc64/power8/strcspn.S:
19560         Likewise.
19561         * sysdeps/powerpc/powerpc64/power8/strspn.S:
19562         [INITIAL_MASK]: New macro.
19563         [STRCSPN]: Likewise.
19564         [UPDATE_MASK]: Likewise.
19565         [USE_AS_STRCSPN]: Likewise.
19567 2016-04-25  Florian Weimer  <fweimer@redhat.com>
19569         [BZ #19931]
19570         * stdio-common/tst-vfprintf-width-prec.c: New file.
19571         * stdio-common/Makefile (tests): Add tst-vfprintf-width-prec.
19572         (tests-special): Add tst-vfprintf-width-prec-mem.out.
19573         (generated): Add mtrace-related files.
19574         (tst-vfprintf-width-prec-ENV): Set MALLOC_TRACE.
19575         (tst-%-mem.out): New pattern rule, replaces
19576         tst-printf-bz18872-mem.out.
19577         * stdio-common/vfprintf.c (vfprintf): When handling a precision
19578         specifier, deallocate any previously allocated work buffer.
19580 2016-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
19582         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__startcontext):
19583         Add nop before __startcontext, add explaining comments.
19585 2016-04-25  Samuel thibault  <samuel.thibault@ens-lyon.org>
19587         RFC2292 macros were obsoleted by RFC3542, and should not be exposed
19588         any more. Notably since IPV6_PKTINFO has been reintroduced with a
19589         completely different API.
19591         * bits/in.h (IPV6_PKTINFO): Rename to IPV6_2292PKTINFO.
19592         (IPV6_HOPOPTS): Rename to IPV6_2292HOPOPTS.
19593         (IPV6_DSTOPTS): Rename to IPV6_2292DSTOPTS.
19594         (IPV6_RTHDR): Rename to IPV6_2292RTHDR.
19595         (IPV6_PKTOPTIONS): Rename to IPV6_2292PKTOPTIONS.
19596         (IPV6_HOPLIMIT): Rename to IPV6_2292HOPLIMIT.
19597         (IPV6_RECVPKTINFO, IPV6_PKTINFO, IPV6_RECVHOPLIMIT, IPV6_HOPLIMIT,
19598         IPV6_RECVHOPOPTS, IPV6_HOPOPTS, IPV6_RTHDRDSTOPTS, IPV6_RECVRTHDR,
19599         IPV6_RTHDR, IPV6_RECVDSTOPTS, IPV6_DSTOPTS, IPV6_RECVPATHMTU,
19600         IPV6_PATHMTU, IPV6_DONTFRAG): New macros.
19602 2016-04-23  H.J. Lu  <hongjiu.lu@intel.com>
19604         * elf/dl-minimal.c (__libc_memalign): Mmap one extra page.
19606 2016-04-23  Mike Frysinger  <vapier@gentoo.org>
19608         * locale/programs/ld-time.c (time_finish): Set week_1stweek to 7
19609         when it is the default of 0.
19611 2016-04-22  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
19613         * sysdeps/powerpc/locale-defines.sym:  Add new macros.
19614         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
19615         (sysdep_routines): Add new strcasestr targets.
19616         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
19617         (__libc_ifunc_impl_list): Likewise.
19618         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-power8.S: New file.
19619         * sysdeps/powerpc/powerpc64/multiarch/strcasestr-ppc64.c: New file.
19620         * sysdeps/powerpc/powerpc64/multiarch/strcasestr.c: New file.
19621         * sysdeps/powerpc/powerpc64/power8/Makefile:
19622         New file to add strcasestr-ppc64 to sysdep_routines.
19623         * sysdeps/powerpc/powerpc64/power8/strcasestr-ppc64.c: New file.
19624         * sysdeps/powerpc/powerpc64/power8/strcasestr.S: New file.
19626 2016-04-20  Siddhesh Poyarekar  <sid@reserved-bit.com>
19628         * benchtests/Makefile (wcsmbs-benchset): Include only for
19629         native builds and runs.
19630         (LOCALES): Likewise.
19631         (bench-build): Build timing-type here instead of the bench
19632         target.  Generate locale only for native builds.
19633         * benchtests/README: Add note for cross-building.
19635         * benchtests/Makefile (bench-clean): Clean up extra-objs.
19637         * benchtests/README: Update README to include instructions on
19638         using bench-build.
19640         * Makefile.in (bench-build): New target.
19641         * Rules (PHONY): Add bench-build target.
19642         * benchtests/Makefile (bench): Depend on bench-build.
19643         (bench-build): New target.
19645 2016-04-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19647         * sysdeps/mach/hurd/profil.c (update_waiter): Initialize
19648         profil_reply_port.
19649         (profile_waiter): Do not initialize profil_reply_port.
19650         * sysdeps/mach/hurd/profil.c (__profile_frequency): Return tick
19651         frequency instead of tick length in us.
19653 2016-04-18  Wilco Dijkstra  <wdijkstr@arm.com>
19655         [BZ #18712]
19656         * string/string-inlines.c (__STRING2_COPY_TYPE): Add, moved from string2.h.
19657         (__old_mempcpy_small): Likewise.
19658         (__old_strcpy_small): Likewise.
19659         (__old_stpcpy_small): Likewise.
19660         (__old_strpbrk_c2): Fix compat symbol name.
19661         (__old_strpbrk_c3): Likewise.
19662         * string/bits/string2.h (__STRING2_COPY_TYPE): Remove.
19663         (__mempcpy_small): Remove.
19664         (__strcpy_small): Remove.
19665         (__stpcpy_small): Remove.
19667 2016-04-16  Robin van der Vliet <info@robinvandervliet.com>
19669         [BZ #19400]
19670         * locale/iso-639.def: Add the Talossan/tzl language.
19672 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
19674         [BZ #16983]
19675         * locale/programs/ld-address.c (address_finish): Update postal_fmt
19676         comment.  Add "ln" to strchr check on postal_fmt.
19678 2016-04-16  Mike Frysinger  <vapier@gentoo.org>
19680         * locale/programs/ld-telephone.c (telephone_finish): Add %t to the
19681         default tel_int_fmt.  Add "Cet" to strchr check on tel_int_fmt and
19682         tel_dom_fmt.
19684 2016-04-15  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
19686         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
19687         (sysdep_routines): Added __strlen_power8.
19688         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Added
19689         __strlen_power8 entry.
19690         * sysdeps/powerpc/powerpc64/multiarch/strlen-power8.S: New file.
19691         Implementation for POWER8.
19692         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Added IFUNC selector
19693         for __strlen_power8.
19694         * sysdeps/powerpc/powerpc64/power8/strlen.S: New file.
19695         Implementation for POWER8.
19697 2016-04-15  Mike Frysinger  <vapier@gentoo.org>
19699         * locale/iso-4217.def: Add SSP and change ZMK to ZMW.
19701 2016-04-15   H.J. Lu  <hongjiu.lu@intel.com>
19703         * sysdeps/x86/cpu-features.c (init_cpu_features): Detect Intel
19704         Goldmont and Airmont processors.
19706 2016-04-15  Wilco Dijkstra  <wdijkstr@arm.com>
19708         * string/string.h: Use __GNUC_PREREQ(3,4) for bits/string2.h.
19709         * string/bits/string2.h (__STRING2_SMALL_GET16): Remove.
19710         (__STRING2_SMALL_GET32): Remove.
19711         (memset): Remove.
19712         (__memset_1): Remove.
19713         (__memset_gc): Remove.
19714         (__mempcpy): Remove.
19715         (mempcpy): Remove.
19716         (__mempcpy_args): Remove.
19717         (strchr): Remove.
19718         (strcpy): Remove.
19719         (strcpy_args): Remove.
19720         (__stpcpy_args): Remove.
19721         (__strcmp_cc): Remove.
19722         (__strcmp_gc): Remove.
19723         (strstr): Remove.
19725 2016-04-15  Yvan Roux  <yvan.roux@linaro.org>
19727         * stdlib/setenv.c (unsetenv): Fix ambiguous 'else'.
19728         * nis/nis_call.c (nis_server_cache_add): Likewise.
19730 2016-04-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19732         * sysdeps/unix/sysv/linux/sysdep.h: Include kernel-features.h.
19734 2016-04-14  Florian Weimer  <fweimer@redhat.com>
19736         * malloc/arena.c (__malloc_fork_lock_parent)
19737         (__malloc_fork_unlock_parent, __malloc_fork_unlock_child): Add
19738         internal_function attribute.
19740 2016-04-14  Stefan Liebler  <stli@linux.vnet.ibm.com>
19742         * stdio-common/printf_fp.c (__printf_fp_l):
19743         Rename ___printf_fp_l to __printf_fp_l and
19744         remove strong alias. Use libc_hidden_def instead
19745         of ldbl_hidden_def macro.
19747 2016-04-14  Florian Weimer  <fweimer@redhat.com>
19749         Remove malloc hooks from fork handler.  They are no longer needed
19750         because malloc runs right before fork, and no malloc calls from
19751         other fork handlers are not possible anymore.
19752         * malloc/malloc.c (malloc_atfork, free_atfork): Remove
19753         declarations.
19754         * malloc/arena.c (save_malloc_hook, save_free_hook, save_arena)
19755         (ATFORK_ARENA_PTR, malloc_atfork, free_atfork)
19756         (atfork_recursive_cntr): Remove.
19757         (__malloc_fork_lock_parent): Do not override malloc hooks and
19758         thread_arena.
19759         (__malloc_fork_unlock_parent): Do not restore malloc hooks and
19760         thread_arena.
19761         (__malloc_fork_unlock_child): Do not restore malloc hooks.  Use
19762         thread_arena instead of save_arena.
19764 2016-04-14  Florian Weimer  <fweimer@redhat.com>
19766         * sysdeps/nptl/malloc-machine.h (ATFORK_MEM, __dso_handle)
19767         (thread_atfork, thread_atfork_static): Remove.
19768         * sysdeps/mach/hurd/malloc-machine.h:
19769         (thread_atfork, thread_atfork_static): Remove.
19771 2016-04-14  Florian Weimer  <fweimer@redhat.com>
19773         [BZ #19431]
19774         Run the malloc fork handler as late as possible to avoid deadlocks.
19775         * malloc/malloc-internal.h: New file.
19776         * malloc/malloc.c: Include it.
19777         * malloc/arena.c (ATFORK_MEM): Remove.
19778         (__malloc_fork_lock_parent): Rename from ptmalloc_lock_all.
19779         Update comment.
19780         (__malloc_fork_unlock_parent): Rename from ptmalloc_unlock_all.
19781         (__malloc_fork_unlock_child): Rename from ptmalloc_unlock_all2.
19782         Remove outdated comment.
19783         (ptmalloc_init): Do not call thread_atfork.  Remove
19784         thread_atfork_static.
19785         * malloc/tst-malloc-fork-deadlock.c: New file.
19786         * Makefile (tests): Add tst-malloc-fork-deadlock.
19787         (tst-malloc-fork-deadlock): Link against libpthread.
19788         * manual/memory.texi (Aligned Memory Blocks): Update safety
19789         annotation comments.
19790         * sysdeps/nptl/fork.c (__libc_fork): Call
19791         __malloc_fork_lock_parent, __malloc_fork_unlock_parent,
19792         __malloc_fork_unlock_child.
19793         * sysdeps/mach/hurd/fork.c (__fork): Likewise.
19795 2016-04-14  Florian Weimer  <fweimer@redhat.com>
19797         [BZ #19613]
19798         Remove union wait.
19799         * bits/waitstatus.h (union wait, w_termsig, w_coredump, w_retcode)
19800         (w_stopsig, w_stopval): Remove.
19801         * include/sys/wait.h (__wait, __wait3, __wait4): Use int * for the
19802         stat_loc argument.
19803         * posix/sys/wait.h (__WAIT_INT, __WAIT_STATUS)
19804         (__WAIT_STATUS_DEFN): Remove.
19805         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
19806         (WIFSTOPPED, WIFCONTINUED, WCOREDUMP): Remove __WAIT_INT.
19807         (wait, wait3, wait4): Use int * for the stat_loc argument.
19808         * posix/wait.c (__wait): Likewise.
19809         * posix/wait3.c (__wait3): Likewise.
19810         * posix/wait4.c (__wait4): Likewise.
19811         * stdlib/stdlib.h (__WAIT_INT, __WAIT_STATUS)
19812         (__WAIT_STATUS_DEFN): Remove.
19813         (WEXITSTATUS, WTERMSIG, WSTOPSIG, WIFEXITED, WIFSIGNALED)
19814         (WIFSTOPPED, WIFCONTINUED): Remove __WAIT_INT.
19815         * sysdeps/mach/hurd/wait4.c (__wait4): Use int * for the stat_loc
19816         argument.
19817         * sysdeps/posix/wait.c (__libc_wait): Likewise.
19818         * sysdeps/posix/wait3.c (__wait3): Likewise.
19819         * sysdeps/unix/bsd/wait.c (__libc_wait): Likewise.
19820         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
19821         * sysdeps/unix/bsd/waitpid.c (__waitpid): Remove cast.
19822         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Use int * for the
19823         stat_loc argument.
19824         * manual/process.texi (BSD Wait Functions): Remove union wait.
19826 2016-04-13  Andreas Schwab  <schwab@suse.de>
19828         * elf/Makefile (extra-test-objs): Add tst-tlsalign-vars.o.
19829         (test-extras): Add tst-tlsalign-vars.
19830         * math/Makefile: Wrap long lines.
19831         (libm-vec-test-wrappers): Define.
19832         (test-extras): Add $(libm-vec-test-wrappers).
19833         (extra-test-objs): Add $(libm-vec-test-wrappers) objects.
19834         * nss/Makefile (extra-test-objs): Add nss_test1.os.
19835         * stdlib/Makefile (extra-test-objs): Add $(modules-names) objects.
19836         * sysdeps/x86_64/Makefile (test-extras): Add tst-quadmod1pie
19837         tst-quadmod2pie tst-audit4-aux tst-audit10-aux.
19838         (extra-test-objs): Add corresponding objects.
19840 2016-04-12   H.J. Lu  <hongjiu.lu@intel.com>
19842         [BZ #19928]
19843         * sysdeps/x86_64/cacheinfo.c (__x86_shared_non_temporal_threshold):
19844         New.
19845         (init_cacheinfo): Set __x86_shared_non_temporal_threshold to 6
19846         times of shared cache size.
19847         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S
19848         (VMOVNT): New.
19849         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S
19850         (VMOVNT): Likewise.
19851         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S
19852         (VMOVNT): Likewise.
19853         (VMOVU): Changed to movups for smaller code sizes.
19854         (VMOVA): Changed to movaps for smaller code sizes.
19855         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S: Update
19856         comments.
19857         (PREFETCH): New.
19858         (PREFETCH_SIZE): Likewise.
19859         (PREFETCHED_LOAD_SIZE): Likewise.
19860         (PREFETCH_ONE_SET): Likewise.
19861         Rewrite to use forward and backward loops, which move 4 vector
19862         registers at a time, to support overlapping addresses and use
19863         non temporal store if size is above the threshold and there is
19864         no overlap between destination and source.
19866 2016-04-12  Alex Smith  <alex.smith@imgtec.com>
19868         * sysdeps/unix/sysv/linux/mips/Makefile (sysdep_routines):
19869         Include dl-vdso.
19870         * sysdeps/unix/sysv/linux/mips/Versions: Add
19871         __vdso_clock_gettime.
19872         * sysdeps/unix/sysv/linux/mips/init-first.c: New file.
19873         * sysdeps/unix/sysv/linux/mips/libc-vdso.h: New file.
19874         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h:
19875         (INTERNAL_VSYSCALL_CALL): Define to be compatible with MIPS
19876         definitions of INTERNAL_SYSCALL_{ERROR_P,ERRNO}.
19877         (HAVE_CLOCK_GETTIME_VSYSCALL): Define.
19878         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
19879         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
19880         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
19882 2016-04-11  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
19884         * sysdeps/unix/sysv/linux/arm/pwrite.c: Remove file.
19885         * sysdeps/unix/sysv/linux/arm/pwrite64.c: Likewise.
19886         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
19887         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
19888         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
19889         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
19890         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
19891         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
19892         * sysdeps/unix/sysv/linux/wordsize-64/pwrite64.c: Likewise.
19893         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (prite): Remove
19894         syscalls generation.
19895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19896         [__NR_pwrite64] (__NR_write): Remove define.
19897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
19898         [__NR_pwrite64] (__NR_write): Remove define.
19899         * sysdeps/unix/sysv/linux/pwrite.c [__NR_pwrite64] (__NR_pwrite):
19900         Remove define.
19901         (__libc_pwrite): Use SYSCALL_LL macro on offset argument.
19902         * sysdeps/unix/sysv/linux/pwrite64.c [__NR_pwrite64] (__NR_pwrite):
19903         Remove define.
19904         (__libc_pwrite64): Use SYSCALL_LL64 macro on offset argument.
19905         * sysdeps/unix/sysv/linux/sh/pwrite.c: Rewrite using default
19906         Linux implementation as base.
19907         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
19909         * sysdeps/unix/sysv/linux/arm/pread.c: Remove file.
19910         * sysdeps/unix/sysv/linux/arm/pread64.c: Likewise.
19911         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
19912         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
19913         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise,
19914         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
19915         * sysdeps/unix/sysv/linux/wordsize-64/pread64.c: Likewise.
19916         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (pread): Remove
19917         syscall generation.
19918         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
19919         [__NR_pread64] (__NR_pread): Remove define.
19920         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
19921         [__NR_pread64] (__NR_pread): Likewise.
19922         * sysdeps/unix/sysv/linux/pread.c [__NR_pread64] (__NR_pread): Remove
19923         define.
19924         (__libc_pread): Use SYSCALL_LL macro on offset argument.
19925         * sysdeps/unix/sysv/linux/pread64.c [__NR_pread64] (__NR_pread):
19926         Remove define.
19927         (__libc_pread64): Use SYSCALL_LL64 macro on offset argument.
19928         * sysdeps/unix/sysv/linux/sh/pread.c: Rewrite using default
19929         Linux implementation as base.
19930         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
19931         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
19932         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
19934         * sysdeps/unix/sysv/linux/generic/sysdep.h (__ALIGNMENT_ARG): Move
19935         definition.
19936         (__ALIGNMENT_COUNT): Likewise.
19937         * sysdeps/unix/sysv/linux/sysdep.h (__ALIGNMENT_ARG): To here.
19938         (__ALIGNMENT_COUNT): Likewise.
19939         (SYSCALL_LL): New define.
19940         (SYSCALL_LL64): Likewise.
19941         * sysdeps/unix/sysv/linux/mips/kernel-features.h:
19942         [_MIPS_SIM == _ABIO32] (__ASSUME_WORDSIZE64_ILP32): Define.
19943         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h:
19944         [ILP32] (__ASUME_WORDSIZE64_ILP32): Likewise.
19946         * sysdeps/unix/sysv/linux/arm/kernel-features.h
19947         (__ASSUME_ALIGNED_REGISTER_PAIRS): Define.
19948         * sysdeps/unix/sysv/linux/mips/kernel-features.h
19949         [_MIPS_SIM == _ABIO32] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
19950         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
19951         [!__powerpc64__] (__ASSUME_ALIGNED_REGISTER_PAIRS): Likewise.
19953 2016-04-11  Florian Weimer  <fweimer@redhat.com>
19955         [BZ #19865]
19956         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Restore
19957         original buffer before retry.
19959 2016-04-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
19961         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro)
19962         [!HAVE_AUX_VECTOR]: Do not define _dl_auxv field.
19963         * misc/getauxval.c (__getauxval) [!HAVE_AUX_VECTOR]: Do not go through
19964         GLRO(dl_auxv) list.
19965         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_VECTOR): Define before
19966         including <ldsodefs.h>.
19967         * sysdeps/nacl/ldsodefs.h (HAVE_AUX_VECTOR): Likewise.
19969 2016-04-09  Nick Alcock  <nick.alcock@oracle.com>
19971         * elf/rtld-Rules (rtld-compile-command.c): Add $(rtld-CFLAGS).
19972         * scripts/sysd-rules.awk: Substitute in $(CFLAGS) as well as
19973         $(CPPFLAGS).
19975 2016-04-09  Khem Raj  <raj.khem@gmail.com>
19977         [BZ #17950]
19978         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os):
19979         Add -mfpmath=387.
19981 2016-04-09  Mike Frysinger  <vapier@gentoo.org>
19983         * sysdeps/i386/configure.ac: Change == to = when calling test.
19984         * sysdeps/x86_64/configure.ac: Likewise.
19985         * sysdeps/i386/configure: Regenerated.
19986         * sysdeps/x86_64/configure: Likewise.
19988 2016-04-08  Mike Frysinger  <vapier@gentoo.org>
19990         [BZ #16137]
19991         * benchtests/Makefile (LOCALES): Change iw_IL to he_IL.
19992         * benchtests/bench-strcoll.c (input_files): Likewise.
19993         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
19994         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Rename to ...
19995         * benchtests/strcoll-inputs/lorem_ipsum#he_IL.UTF-8: ... here.
19997 2016-04-08  Joseph Myers  <joseph@codesourcery.com>
19999         [BZ #19929]
20000         * include/bits/xopen_lim.h (NL_NMAX): Do not define if
20001         [__USE_XOPEN2K8 && !__USE_GNU].
20002         * conform/Makefile (test-xfail-XOPEN2K8/limits.h/conform): Remove
20003         variable.
20005         [BZ #19925]
20006         * sysdeps/unix/sysv/linux/alpha/bits/termios.h (XCASE): Do not
20007         define if [!__USE_MISC && __USE_XOPEN2K].
20008         * sysdeps/unix/sysv/linux/bits/termios.h (XCASE): Likewise.
20009         * sysdeps/unix/sysv/linux/mips/bits/termios.h (XCASE): Likewise.
20010         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (XCASE):
20011         Likewise.
20012         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (XCASE): Likewise.
20013         * conform/Makefile (test-xfail-XOPEN2K/termios.h/conform): Remove
20014         variable.
20015         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
20017 2016-04-07  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20019         * sysdeps/powerpc/powerpc64/multiarch/Makefile:
20020         (sysdep_routines): Add new strspn targets.
20021         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
20022         (__libc_ifunc_impl_list): Add strspn.
20023         * sysdeps/powerpc/powerpc64/multiarch/strspn-power8.S:
20024         New file.
20025         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c:
20026         Likewise.
20027         * sysdeps/powerpc/powerpc64/multiarch/strspn.c:
20028         Likewise.
20029         * sysdeps/powerpc/powerpc64/power8/strspn.S:
20030         Likewise.
20032 2016-04-07  Florian Weimer  <fweimer@redhat.com>
20034         * misc/hsearch_r.c: Include <limits.h>.
20036 2016-04-07  Florian Weimer  <fweimer@redhat.com>
20038         * malloc/scratch_buffer_set_array_size.c: Include <limits.h>.
20040 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
20042         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S
20043         (MEMCPY_SYMBOL): New.
20044         (MEMPCPY_SYMBOL): Likewise.
20045         (MEMMOVE_CHK_SYMBOL): Likewise.
20046         Replace MEMMOVE_SYMBOL with MEMMOVE_CHK_SYMBOL on __mempcpy_chk
20047         symbols.  Replace MEMMOVE_SYMBOL with MEMPCPY_SYMBOL on
20048         __mempcpy symbols.  Provide alias for __memcpy_chk in libc.a.
20049         Provide alias for memcpy in libc.a and ld.so.
20051 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
20053         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S
20054         (MEMSET_CHK_SYMBOL): New.  Define if not defined.
20055         (__bzero): Check VEC_SIZE == 16 instead of USE_MULTIARCH.
20056         Disabled fro now.
20057         Replace MEMSET_SYMBOL with MEMSET_CHK_SYMBOL on __memset_chk
20058         symbols.  Properly check USE_MULTIARCH on __memset symbols.
20060 2016-04-06   H.J. Lu  <hongjiu.lu@intel.com>
20062         * benchtests/Makefile (string-benchset): Add memcpy-large,
20063         memmove-large and memset-large.
20064         * benchtests/bench-memcpy-large.c: New file.
20065         * benchtests/bench-memmove-large.c: Likewise.
20066         * benchtests/bench-memmove-large.c: Likewise.
20067         * benchtests/bench-string.h (TIMEOUT): Don't redefine.
20069 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
20071         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S: Force
20072         32-bit displacement to avoid long nop between instructions.
20074 2016-04-05   H.J. Lu  <hongjiu.lu@intel.com>
20076         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S: Add
20077         a comment on VMOVU and VMOVA.
20079 2016-04-04  Florian Weimer  <fweimer@redhat.com>
20081         [BZ #19633]
20082         Use specified locale for number formatting in strfmon_l.
20083         * locale/localeinfo.h (__nl_lookup, _nl_lookup_wstr)
20084         (__nl_lookup_word): New inline functions.
20085         * include/printf.h (__print_fp_l): Declare.
20086         * stdio-common/printf_fp.c (___printf_fp_l): Renamed from
20087         ___printf_fp.  Add locale argument.  Replace _NL_CURRENT with
20088         _nl_lookup and _NL_CURRENT_WORD with _nl_lookup_word.
20089         (___printf_fp): New function.
20090         * stdlib/strfmon_l.c (__printf_fp): Remove declaration.
20091         (__vstrfmon_l): Call __printf_fp_l instead of printf_fp.
20092         * stdlib/tst-strfmon_l.c (do_test): New test.
20093         * stdlib/Makefile (tests): Add kt.
20094         (LOCALES): Build additional locales.
20095         (tst-strfmon_l.out): Require locales.
20097 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
20099         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: Skip
20100         if not in libc.
20101         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
20102         Likewise.
20103         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S:
20104         Likewise.
20105         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
20106         Likewise.
20108 2016-04-03   H.J. Lu  <hongjiu.lu@intel.com>
20110         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
20111         (__mempcpy_erms, __memmove_erms): Moved before __mempcpy_chk
20112         with unaligned_erms.
20113         (__memmove_erms): Skip if source == destination.
20114         (__memmove_unaligned_erms): Don't check source == destination
20115         first.
20117 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
20119         * sysdeps/x86/cpu-features.c (init_cpu_features): Don't set
20120         bit_arch_Fast_Copy_Backward for Intel Core proessors.
20122 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20124         * string/strcspn.c (strcspn): Use PTR_ALIGN_DOWN.
20125         * string/strspn.c (strspn): Likewise.
20127 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
20129         * benchtests/bench-memset.c (do_test): Support 64-byte
20130         alignment.
20131         (test_main): Test 64-byte alignment.
20133 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
20135         * benchtests/bench-memmove.c (test_main): Test 64-byte
20136         alignment.
20138 2016-04-01   H.J. Lu  <hongjiu.lu@intel.com>
20140         * benchtests/bench-memcpy.c (test_main): Test 64-byte alignment.
20142 2016-04-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20144         * sysdeps/powerpc/powerpc64/strcspn.S: Remove file.
20145         * sysdeps/powerpc/powerpc64/strpbrk.S: Remove file.
20146         * sysdeps/powerpc/powerpc64/strspn.S: Remove file.
20148         * string/strpbrk.c (strpbrk): Rewrite function.
20149         * string/bits/string2.h (strpbrk): Use __builtin_strpbrk.
20150         (__strpbrk_c2): Likewise.
20151         (__strpbrk_c3): Likewise.
20152         * string/string-inlines.c
20153         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c2):
20154         Likewise.
20155         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strpbrk_c3):
20156         Likewise.
20158         * string/strspn.c (strcspn): Rewrite function.
20159         * string/bits/string2.h (strspn): Use __builtin_strcspn.
20160         (__strspn_c1): Remove inline function.
20161         (__strspn_c2): Likewise.
20162         (__strspn_c3): Likewise.
20163         * string/string-inlines.c
20164         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c1): Add
20165         compatibility symbol.
20166         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c2):
20167         Likewise.
20168         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strspn_c3):
20169         Likewise.
20170         * string/string-inlines.c: Include generic version.
20172 2016-04-01  Wilco Dijkstra  <wdijkstr@arm.com>
20173             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20175         * string/Version (libc): Add GLIBC_2.24.
20176         * string/strcspn.c (strcspn): Rewrite function.
20177         * string/bits/string2.h (strcspn): Use __builtin_strcspn.
20178         (__strcspn_c1): Remove inline function.
20179         (__strcspn_c2): Likewise.
20180         (__strcspn_c3): Likewise.
20181         * string/string-inline.c
20182         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c1): Add
20183         compatibility symbol.
20184         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c2):
20185         Likewise.
20186         [SHLIB_COMPAT(libc, GLIBC_2_1_1, GLIBC_2_24)] (__strcspn_c3):
20187         Likewise.
20188         * sysdeps/i386/string-inlines.c: Include generic string-inlines.c.
20190 2016-04-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
20192         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_resolve):
20193         Use ahi instead of aghi to adjust stack pointer.
20195 2016-03-31  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
20197         [BZ #19853]
20198         * stdio-common/tst-sprintf3.c [TEST_N]: Refactor
20199         TEST to take significant digits as second parameter.
20200         [TEST]: Redefine in terms of TEST_N taking 30
20201         significant digits.
20202         (do_test): Add test case to demonstrate precision
20203         failure in the ldbl-128ibm printf.
20204         * sysdeps/ieee754/ldbl-128ibm/ldbl2pm.c:
20205         (__mpn_extract_long_double): Carry 7 extra intermediate
20206         bits of precision to aide computing difference when
20207         signs differ.
20209 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
20211         [BZ #19881]
20212         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20213         memset-sse2-unaligned-erms, memset-avx2-unaligned-erms and
20214         memset-avx512-unaligned-erms.
20215         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
20216         (__libc_ifunc_impl_list): Test __memset_chk_sse2_unaligned,
20217         __memset_chk_sse2_unaligned_erms, __memset_chk_avx2_unaligned,
20218         __memset_chk_avx2_unaligned_erms, __memset_chk_avx512_unaligned,
20219         __memset_chk_avx512_unaligned_erms, __memset_sse2_unaligned,
20220         __memset_sse2_unaligned_erms, __memset_erms,
20221         __memset_avx2_unaligned, __memset_avx2_unaligned_erms,
20222         __memset_avx512_unaligned_erms and __memset_avx512_unaligned.
20223         * sysdeps/x86_64/multiarch/memset-avx2-unaligned-erms.S: New
20224         file.
20225         * sysdeps/x86_64/multiarch/memset-avx512-unaligned-erms.S:
20226         Likewise.
20227         * sysdeps/x86_64/multiarch/memset-sse2-unaligned-erms.S:
20228         Likewise.
20229         * sysdeps/x86_64/multiarch/memset-vec-unaligned-erms.S:
20230         Likewise.
20232 2016-03-31   H.J. Lu  <hongjiu.lu@intel.com>
20234         [BZ #19776]
20235         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
20236         memmove-sse2-unaligned-erms, memmove-avx-unaligned-erms and
20237         memmove-avx512-unaligned-erms.
20238         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
20239         (__libc_ifunc_impl_list): Test
20240         __memmove_chk_avx512_unaligned_2,
20241         __memmove_chk_avx512_unaligned_erms,
20242         __memmove_chk_avx_unaligned_2, __memmove_chk_avx_unaligned_erms,
20243         __memmove_chk_sse2_unaligned_2,
20244         __memmove_chk_sse2_unaligned_erms, __memmove_avx_unaligned_2,
20245         __memmove_avx_unaligned_erms, __memmove_avx512_unaligned_2,
20246         __memmove_avx512_unaligned_erms, __memmove_erms,
20247         __memmove_sse2_unaligned_2, __memmove_sse2_unaligned_erms,
20248         __memcpy_chk_avx512_unaligned_2,
20249         __memcpy_chk_avx512_unaligned_erms,
20250         __memcpy_chk_avx_unaligned_2, __memcpy_chk_avx_unaligned_erms,
20251         __memcpy_chk_sse2_unaligned_2, __memcpy_chk_sse2_unaligned_erms,
20252         __memcpy_avx_unaligned_2, __memcpy_avx_unaligned_erms,
20253         __memcpy_avx512_unaligned_2, __memcpy_avx512_unaligned_erms,
20254         __memcpy_sse2_unaligned_2, __memcpy_sse2_unaligned_erms,
20255         __memcpy_erms, __mempcpy_chk_avx512_unaligned_2,
20256         __mempcpy_chk_avx512_unaligned_erms,
20257         __mempcpy_chk_avx_unaligned_2, __mempcpy_chk_avx_unaligned_erms,
20258         __mempcpy_chk_sse2_unaligned_2, __mempcpy_chk_sse2_unaligned_erms,
20259         __mempcpy_avx512_unaligned_2, __mempcpy_avx512_unaligned_erms,
20260         __mempcpy_avx_unaligned_2, __mempcpy_avx_unaligned_erms,
20261         __mempcpy_sse2_unaligned_2, __mempcpy_sse2_unaligned_erms and
20262         __mempcpy_erms.
20263         * sysdeps/x86_64/multiarch/memmove-avx-unaligned-erms.S: New
20264         file.
20265         * sysdeps/x86_64/multiarch/memmove-avx512-unaligned-erms.S:
20266         Likewise.
20267         * sysdeps/x86_64/multiarch/memmove-sse2-unaligned-erms.S:
20268         Likewise.
20269         * sysdeps/x86_64/multiarch/memmove-vec-unaligned-erms.S:
20270         Likewise.
20272 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
20274         * sysdeps/s390/bits/link.h: (La_s390_vr) New typedef.
20275         (La_s390_32_regs): Append vector register lr_v24-lr_v31.
20276         (La_s390_64_regs): Likewise.
20277         (La_s390_32_retval): Append vector register lrv_v24.
20278         (La_s390_64_retval): Likeweise.
20279         * sysdeps/s390/s390-32/dl-trampoline.h (_dl_runtime_profile):
20280         Handle extended structs La_s390_32_regs and La_s390_32_retval.
20281         * sysdeps/s390/s390-64/dl-trampoline.h (_dl_runtime_profile):
20282         Handle extended structs La_s390_64_regs and La_s390_64_retval.
20284 2016-03-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
20286         [BZ #19916]
20287         * sysdeps/s390/s390-32/dl-trampoline.S: Include dl-trampoline.h twice
20288         to create a non-vector/vector version for _dl_runtime_resolve and
20289         _dl_runtime_profile. Move implementation to ...
20290         * sysdeps/s390/s390-32/dl-trampoline.h: ... here.
20291         (_dl_runtime_resolve) Save and restore fpr/vrs.
20292         (_dl_runtime_profile) Save and restore vrs and fix some issues
20293         if _dl_call_pltexit is called.
20294         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup):
20295         Choose the correct resolver function if running on a machine with vx.
20296         * sysdeps/s390/s390-64/dl-trampoline.S: Include dl-trampoline.h twice
20297         to create a non-vector/vector version for _dl_runtime_resolve and
20298         _dl_runtime_profile. Move implementation to ...
20299         * sysdeps/s390/s390-64/dl-trampoline.h: ... here.
20300         (_dl_runtime_resolve) Save and restore fpr/vrs.
20301         (_dl_runtime_profile) Save and restore vrs and fix some issues
20302         * sysdeps/s390/s390-64/dl-machine.h: (elf_machine_runtime_setup):
20303         Choose the correct resolver function if running on a machine with vx.
20305 2016-03-31  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20307         * elf/tst-dlsym-error.c: Include <string.h> for strchrnul.
20309 2016-03-31  Florian Weimer  <fweimer@redhat.com>
20311         [BZ #19509]
20312         * elf/dl-lookup.c (_dl_lookup_symbol_x): Report error even if
20313         skip_map != NULL.
20314         * elf/tst-dlsym-error.c: New file.
20315         * elf/Makefile (tests): Add tst-dlsym-error.
20316         (tst-dlsym-error): Link against libdl.
20318 2016-03-29  Joseph Myers  <joseph@codesourcery.com>
20320         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20321         (__ASSUME_FUTIMESAT): Remove macro.
20322         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: Remove file.
20324 2016-03-29  Florian Weimer  <fweimer@redhat.com>
20326         [BZ #19879]
20327         CVE-2016-3075
20328         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Do not
20329         copy name.
20331 2016-03-29  Florian Weimer  <fweimer@redhat.com>
20333         [BZ #19837]
20334         * nss/nss_db/db-XXX.c (_nss_db_getENTNAME_r): Propagate ERANGE
20335         error if parse_line fails.
20337 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
20339         * sysdeps/x86/cpu-features.h (bit_cpu_ERMS): New.
20340         (index_cpu_ERMS): Likewise.
20341         (reg_ERMS): Likewise.
20343 2016-03-28  Aurelien Jarno  <aurelien@aurel32.net>
20345         * sysdeps/unix/sysv/linux/sys/personality.h (UNAME26, FDPIC_FUNCPTRS,
20346         PER_LINUX_FDPIC): Add.
20348 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
20350         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
20351         memcpy-avx512-no-vzeroupper.
20352         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: Renamed
20353         to ...
20354         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: This.
20355         (MEMCPY): Don't define.
20356         (MEMCPY_CHK): Likewise.
20357         (MEMPCPY): Likewise.
20358         (MEMPCPY_CHK): Likewise.
20359         (MEMPCPY_CHK): Renamed to ...
20360         (__mempcpy_chk_avx512_no_vzeroupper): This.
20361         (MEMPCPY_CHK): Renamed to ...
20362         (__mempcpy_chk_avx512_no_vzeroupper): This.
20363         (MEMCPY_CHK): Renamed to ...
20364         (__memmove_chk_avx512_no_vzeroupper): This.
20365         (MEMCPY): Renamed to ...
20366         (__memmove_avx512_no_vzeroupper): This.
20367         (__memcpy_avx512_no_vzeroupper): New alias.
20368         (__memcpy_chk_avx512_no_vzeroupper): Likewise.
20370 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
20372         [BZ #18858]
20373         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
20374         mempcpy-ssse3, mempcpy-ssse3-back, mempcpy-avx-unaligned
20375         and mempcpy-avx512-no-vzeroupper.
20376         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMPCPY_CHK):
20377         New.
20378         (MEMPCPY): Likewise.
20379         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S
20380         (MEMPCPY_CHK): New.
20381         (MEMPCPY): Likewise.
20382         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S (MEMPCPY_CHK): New.
20383         (MEMPCPY): Likewise.
20384         * sysdeps/x86_64/multiarch/memcpy-ssse3.S (MEMPCPY_CHK): New.
20385         (MEMPCPY): Likewise.
20386         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: Removed.
20387         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S:
20388         Likewise.
20389         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: Likewise.
20390         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: Likewise.
20392 2016-03-28   H.J. Lu  <hongjiu.lu@intel.com>
20393              Amit Pawar  <Amit.Pawar@amd.com>
20395         [BZ #19583]
20396         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
20397         Fast_Unaligned_Copy with Fast_Unaligned_Load for Intel
20398         processors.  Set Fast_Copy_Backward for AMD Excavator
20399         processors.
20400         * sysdeps/x86/cpu-features.h (bit_arch_Fast_Unaligned_Copy):
20401         New.
20402         (index_arch_Fast_Unaligned_Copy): Likewise.
20403         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check
20404         Fast_Unaligned_Copy instead of Fast_Unaligned_Load.
20406 2016-03-25  Florian Weimer  <fweimer@redhat.com>
20408         [BZ #19791]
20409         * resolv/res_send.c (close_and_return_error): New function.
20410         (send_dg): Initialize *resplen2 after reopen failure.  Call
20411         close_and_return_error for error returns.  On error paths without
20412         __res_iclose, initialze *resplen2 explicitly.  Update comment for
20413         successful return.
20415 2016-03-25  Florian Weimer  <fweimer@redhat.com>
20417         [BZ #19860]
20418         * sysdeps/x86_64/tst-audit10.c (avx512_enabled): Always return
20419         zero if the compiler does not provide the AVX512F bit.
20421 2016-03-24  Joseph Myers  <joseph@codesourcery.com>
20423         [BZ #19848]
20424         * sysdeps/i386/fpu/e_powl.S (p3): Rename to p2 and change value
20425         from 8 to 4.
20426         (__ieee754_powl): Compare integer exponent against 4 not 8.
20427         * sysdeps/x86_64/fpu/e_powl.S (p3): Rename to p2 and change value
20428         from 8 to 4.
20429         (__ieee754_powl): Compare integer exponent against 4 not 8.
20430         * math/auto-libm-test-in: Add more tests of pow.
20431         * math/auto-libm-test-out: Regenerated.
20432         * sysdeps/i386/i686/fpu/multiarch/libm-test-ulps: Update.
20433         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
20435 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
20437         * sysdeps/unix/sysv/linux/futimens.c (futimens) [__NR_utimensat]:
20438         Make code unconditional.
20439         [!__NR_utimensat]: Remove conditional code.
20440         * sysdeps/unix/sysv/linux/lutimes.c (lutimes) [__NR_utimensat]:
20441         Make code unconditional.
20442         [!__NR_utimensat]: Remove conditional code.
20443         * sysdeps/unix/sysv/linux/utimensat.c (utimensat) [__NR_utimensat]:
20444         Make code unconditional.
20445         [!__NR_utimensat]: Remove conditional code.
20447 2016-03-23  Aurelien Jarno  <aurelien@aurel32.net>
20449         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64) [__NR_openat]:
20450         Make code unconditional.
20452 2016-03-23  Nick Alcock  <nick.alcock@oracle.com>
20454         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Reload
20455         call-clobbered %eax on retry path.
20456         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
20458 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
20460         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S (MEMCPY):
20461         Don't set %rcx twice before "rep movsb".
20463 2016-03-22  H.J. Lu  <hongjiu.lu@intel.com>
20465         [BZ #19583]
20466         * sysdeps/x86/cpu-features.c (get_common_indeces): Remove
20467         inline.  Check family before setting family, model and
20468         extended_model.  Set AVX, AVX2, AVX512, FMA and FMA4 usable
20469         bits here.
20470         (init_cpu_features): Replace HAS_CPU_FEATURE and
20471         HAS_ARCH_FEATURE with CPU_FEATURES_CPU_P and
20472         CPU_FEATURES_ARCH_P.  Set index_arch_AVX_Fast_Unaligned_Load
20473         for Intel processors with usable AVX2.  Call get_common_indeces
20474         for other processors with family == NULL.
20475         * sysdeps/x86/cpu-features.h (CPU_FEATURES_CPU_P): New macro.
20476         (CPU_FEATURES_ARCH_P): Likewise.
20477         (HAS_CPU_FEATURE): Use CPU_FEATURES_CPU_P.
20478         (HAS_ARCH_FEATURE): Use CPU_FEATURES_ARCH_P.
20480 2016-03-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20482         * malloc/Makefile ($(objpfx)tst-malloc-backtrace,
20483         $(objpfx)tst-malloc-thread-exit, $(objpfx)tst-malloc-thread-fail): Use
20484         $(shared-thread-library) instead of hardcoding the path to libpthread.
20486 2016-03-22  Joseph Myers  <joseph@codesourcery.com>
20488         * sysdeps/unix/sysv/linux/kernel-features.h
20489         (__ASSUME_GETDENTS64_SYSCALL): Remove macro.
20490         * sysdeps/unix/sysv/linux/getdents.c
20491         [!__ASSUME_GETDENTS64_SYSCALL]: Remove conditional code.
20492         [!have_no_getdents64_defined]: Likewise.
20493         (__GETDENTS): Remove __have_no_getdents64 conditional.
20495 2016-03-21  Joseph Myers  <joseph@codesourcery.com>
20497         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_SIGNALFD4):
20498         Remove macro.
20499         * sysdeps/unix/sysv/linux/signalfd.c: Do not include
20500         <kernel-features.h>.
20501         (signalfd) [__NR_signalfd4]: Make code unconditional.
20502         (signalfd) [!__ASSUME_SIGNALFD4]: Remove conditional code.
20504 2016-03-21  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20506         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix implict checks
20507         style.
20509 2016-03-21  H.J. Lu  <hongjiu.lu@intel.com>
20511         * sysdeps/unix/sysv/linux/x86_64/cancellation.S
20512         (__pthread_enable_asynccancel): Use JUMPTARGET to call
20513         __pthread_unwind.
20514         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
20515         (__condvar_cleanup2): Use JUMPTARGET to call _Unwind_Resume.
20516         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
20517         (__condvar_cleanup1): Likewise.
20519 2016-03-21  Dylan Alex Simon  <dylan-sourceware@dylex.net>
20521         [BZ #19822]
20522         * math/Makefile ($(inst_libdir)/libm.so): Write output to $@.tmp and
20523         move it to the final $@ location.
20525 2016-03-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20527         * sysdeps/unix/sysv/linux/spawni.c (__spawnix): Fix invalid memory
20528         access where posix_spawn success and pid argument is null.
20529         * posix/tst-spawn.c (do_test): Add posix_spawn null pid argument for
20530         success case.
20532 2016-03-20  Samuel Thibault  <samuel.thibault@ens-lyon.org>:
20534         * sysdeps/mach/hurd/i386/c++-types.data: New file.
20536         * sysdeps/mach/hurd/libc-lock.h (_IO_lock_inexpensive): Define to 1.
20538         * sysdeps/generic/dl-fcntl.h: New file, adds attribute_hidden to __open
20539         and __fcntl.
20540         * sysdeps/mach/hurd/dl-fcntl.h: New file, adds attribute_hidden to
20541         __fcntl only.
20542         * include/fcntl.h [IS_IN (rtld)]: Include <dl-fcntl.h> instead of
20543         adding attribute_hidden to __open and __fcntl.
20545         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Strip
20546         "-include $(common-objpfx)libc-modules.h" from CPPFLAGS, and do not
20547         depend on libc-modules.h,
20548         * mach/Makefile ($(objpfx)mach-syscalls.mk): Depend on libc-modules.h.
20550 2016-03-17  Joseph Myers  <joseph@codesourcery.com>
20552         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_EVENTFD2):
20553         Remove macro.
20554         * sysdeps/unix/sysv/linux/eventfd.c: Remove file.
20555         * sysdeps/unix/sysv/linux/syscalls.list (eventfd): New syscall
20556         entry.
20558         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FALLOCATE):
20559         Remove macro.
20560         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c: Do not
20561         include <kernel-features.h>.
20562         [!__ASSUME_FALLOCATE]: Remove conditional code.
20563         (posix_fallocate) [__NR_fallocate]: Make code unconditional.
20565 2016-03-16  H.J. Lu  <hongjiu.lu@intel.com>
20567         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S
20568         (_ZGVbN2v_cos_sse4): Use JUMPTARGET to call cos.
20569         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S
20570         (_ZGVdN4v_cos_avx2): Likewise.
20571         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S
20572         (_ZGVdN4v_cos): Likewise.
20573         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S
20574         (_ZGVbN2v_exp_sse4): Use JUMPTARGET to call exp.
20575         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S
20576         (_ZGVdN4v_exp_avx2): Likewise.
20577         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S
20578         (_ZGVdN4v_exp): Likewise.
20579         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S
20580         (_ZGVbN2v_log_sse4): Use JUMPTARGET to call log.
20581         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S
20582         (_ZGVdN4v_log_avx2): Likewise.
20583         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S
20584         (_ZGVdN4v_log): Likewise.
20585         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S
20586         (_ZGVbN2vv_pow_sse4): Use JUMPTARGET to call pow.
20587         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S
20588         (_ZGVdN4vv_pow_avx2): Likewise.
20589         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S
20590         (_ZGVdN4vv_pow): Likewise.
20591         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S
20592         (_ZGVbN2v_sin_sse4): Use JUMPTARGET to call sin.
20593         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S
20594         (_ZGVdN4v_sin_avx2): Likewise.
20595         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S
20596         (_ZGVdN4v_sin): Likewise.
20597         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S
20598         (_ZGVbN2vvv_sincos_sse4): Use JUMPTARGET to call sin and cos.
20599         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S
20600         (_ZGVdN4vvv_sincos_avx2): Likewise.
20601         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S
20602         (_ZGVdN4vvv_sincos): Likewise.
20603         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S
20604         (_ZGVdN8v_cosf): Use JUMPTARGET to call cosf.
20605         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S
20606         (_ZGVbN4v_cosf_sse4): Likewise.
20607         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S
20608         (_ZGVdN8v_cosf_avx2): Likewise.
20609         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S
20610         (_ZGVdN8v_expf): Use JUMPTARGET to call expf.
20611         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S
20612         (_ZGVbN4v_expf_sse4): Likewise.
20613         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S
20614         (_ZGVdN8v_expf_avx2): Likewise.
20615         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S
20616         (_ZGVdN8v_logf): Use JUMPTARGET to call logf.
20617         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S
20618         (_ZGVbN4v_logf_sse4): Likewise.
20619         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S
20620         (_ZGVdN8v_logf_avx2): Likewise.
20621         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S
20622         (_ZGVdN8vv_powf): Use JUMPTARGET to call powf.
20623         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S
20624         (_ZGVbN4vv_powf_sse4): Likewise.
20625         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S
20626         (_ZGVdN8vv_powf_avx2): Likewise.
20627         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
20628         (_ZGVdN8vv_powf): Use JUMPTARGET to call sinf and cosf.
20629         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
20630         (_ZGVbN4vvv_sincosf_sse4): Likewise.
20631         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
20632         (_ZGVdN8vvv_sincosf_avx2): Likewise.
20633         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S
20634         (_ZGVdN8v_sinf): Use JUMPTARGET to call sinf.
20635         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S
20636         (_ZGVbN4v_sinf_sse4): Likewise.
20637         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S
20638         (_ZGVdN8v_sinf_avx2): Likewise.
20639         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h (WRAPPER_IMPL_SSE2):
20640         Use JUMPTARGET to call callee.
20641         (WRAPPER_IMPL_SSE2_ff): Likewise.
20642         (WRAPPER_IMPL_SSE2_fFF): Likewise.
20643         (WRAPPER_IMPL_AVX): Likewise.
20644         (WRAPPER_IMPL_AVX_ff): Likewise.
20645         (WRAPPER_IMPL_AVX_fFF): Likewise.
20646         (WRAPPER_IMPL_AVX512): Likewise.
20647         (WRAPPER_IMPL_AVX512_ff): Likewise.
20648         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h (WRAPPER_IMPL_SSE2):
20649         Likewise.
20650         (WRAPPER_IMPL_SSE2_ff): Likewise.
20651         (WRAPPER_IMPL_SSE2_fFF): Likewise.
20652         (WRAPPER_IMPL_AVX): Likewise.
20653         (WRAPPER_IMPL_AVX_ff): Likewise.
20654         (WRAPPER_IMPL_AVX_fFF): Likewise.
20655         (WRAPPER_IMPL_AVX512): Likewise.
20656         (WRAPPER_IMPL_AVX512_ff): Likewise.
20657         (WRAPPER_IMPL_AVX512_fFF): Likewise.
20659 2016-03-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
20661         * sysdeps/mach/hurd/openat.c (__openat): Add missing ellipsis.
20662         * resolv/gai_sigqueue.c (__gai_sigqueue): Add missing internal_function
20663         qualifier.
20664         * /rt/aio_sigqueue.c (__aio_sigqueue): Add missing attribute_hidden
20665         internal_function qualifiers.
20667 2016-03-15  Carlos O'Donell <carlos@redhat.com>
20669         * catgets/tst-catgets.c (do_bz17905): Mark result unused.
20670         * dlfcn/bug-dl-leaf-lib.c (check_val_fini): Mark ret unused.
20671         * math/atest-exp.c (exp_mpn): Mark chk unused.
20672         * math/atest-exp2.c (exp_mpn): Likewise.
20673         * sysdeps/arm/dl-machine.h (elf_machine_rela): Mark td unused.
20674         * sysdeps/i386/i686/dl-hash.h: Mark _dl_elf_hash unused.
20676 2016-03-15  Joseph Myers  <joseph@codesourcery.com>
20678         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_PPOLL):
20679         Remove macro.
20680         * sysdeps/unix/sysv/linux/ppoll.c: Do not include
20681         <kernel-features.h>.
20682         [__NR_ppoll]: Make code unconditional.
20683         [!__ASSUME_PPOLL]: Remove conditional code.
20685         * sysdeps/unix/sysv/linux/kernel-features.h
20686         (__ASSUME_ACCEPT4_SYSCALL): Define unconditionally.
20687         (__ASSUME_ACCEPT4): Likewise.
20688         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20689         Define.
20690         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG):
20691         Likewise.
20692         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
20693         Likewise.
20694         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG):
20695         Likewise.
20696         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h: Remove file.
20697         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: Likewise.
20698         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
20699         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
20700         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20701         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20702         * sysdeps/unix/sysv/linux/arm/kernel-features.h
20703         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20704         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20705         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20706         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
20707         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20708         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20709         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20710         * sysdeps/unix/sysv/linux/i386/kernel-features.h
20711         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20712         Likewise.
20713         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
20714         Likewise.
20715         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
20716         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
20717         0x040300].
20718         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
20719         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
20720         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20721         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
20722         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
20723         0x030300].
20724         [__LINUX_KERNEL_VERSION < 0x030300] (__ASSUME_ACCEPT4): Undefine.
20725         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
20726         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
20727         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
20728         0x040300].
20729         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20730         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20731         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
20732         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
20733         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20734         (__ASSUME_SENDMMSG_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
20735         0x030300] instead of defining if [__LINUX_KERNEL_VERSION >=
20736         0x030300].
20737         * sysdeps/unix/sysv/linux/mips/kernel-features.h
20738         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
20739         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20740         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20741         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
20742         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20743         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20744         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20745         * sysdeps/unix/sysv/linux/s390/kernel-features.h
20746         (__ASSUME_ACCEPT4_SYSCALL): Undefine if [__LINUX_KERNEL_VERSION <
20747         0x040300] instead of defining if [__LINUX_KERNEL_VERSION >=
20748         0x040300].
20749         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20750         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20751         * sysdeps/unix/sysv/linux/sh/kernel-features.h
20752         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
20753         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20754         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20755         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
20756         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20757         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20758         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20759         * sysdeps/unix/sysv/linux/tile/kernel-features.h
20760         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20761         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
20762         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
20763         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h
20764         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
20765         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
20766         Likewise.
20767         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
20768         Likewise.
20770 2016-03-15  Andreas Schwab  <schwab@suse.de>
20772         [BZ #19257]
20773         * resolv/res_init.c (__res_iclose): Use statp->nscount instead of
20774         statp->_u._ext.nscount as loop count.
20776 2016-03-14  Andreas Schwab  <schwab@linux-m68k.org>
20778         * math/test-signgam-finite-c99.c: Also #undef
20779         __LIBC_INTERNAL_MATH_INLINES.
20780         * math/test-signgam-main.c: Likewise.
20782 2016-03-14  Joseph Myers  <joseph@codesourcery.com>
20784         * bits/mman-linux.h [__USE_MISC] (MADV_FREE): New macro.
20785         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]
20786         (MADV_FREE): Likewise.
20787         * sysdeps/unix/sysv/linux/bits/in.h (IPV6_HDRINCL): Likewise.
20788         * sysdeps/unix/sysv/linux/sys/epoll.h (enum EPOLL_EVENTS): Add
20789         EPOLLEXCLUSIVE.
20791 2016-03-14  Carlos O'Donell  <carlos@redhat.com>
20793         * timezone/README: Remove mention of checktab.awk. Mention wiki
20794         SharedSourceFiles.
20796 2016-03-13  Samuel Thibault  <samuel.thibault@ens-lyon.org
20798         * sysdeps/posix/waitid.c (OUR_WAITID): Test against WSTOPPED instead of
20799         WUNTRACED.
20801 2016-03-11  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
20803         * malloc/malloc.c (malloc_consolidate): Replace 0 by NULL in
20804         order to match the type of p when calling atomic_exchange_acq().
20806 2016-03-11  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
20808         * sysdeps/powerpc/powerpc32/power4/memcmp.S (memcmp): Rearrange
20809         cfi_offset calls.
20810         * sysdeps/powerpc/powerpc32/power6/memcpy.S (memcpy): Likewise.
20811         * sysdeps/powerpc/powerpc32/power7/memcmp.S (memcmp): Likewise.
20812         * sysdeps/powerpc/powerpc64/power4/memcmp.S (memcmp): Likewise.
20813         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Likewise.
20814         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Likewise.
20816 2016-03-10  Carlos O'Donell  <carlos@redhat.com>
20818         * timezone/checktab.awk: Removed.
20820 2016-03-10  Joseph Myers  <joseph@codesourcery.com>
20822         * manual/math.texi (Errors in Math Functions): Document relaxed
20823         accuracy goals for IBM long double.
20824         * math/libm-test.inc (test_exceptions): Always allow spurious
20825         "underflow" and "inexact" exceptions for IBM long double.
20827 2016-03-10  H.J. Lu  <hongjiu.lu@intel.com>
20829         [BZ #19762]
20830         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
20831         (EXTRA_LD_ENVVARS): Add _arch_ to index_*/bit_*.
20832         * sysdeps/x86/cpu-features.c (init_cpu_features): Likewise.
20833         * sysdeps/x86/cpu-features.h (bit_*): Renamed to ...
20834         (bit_arch_*): This for feature array.
20835         (bit_*): Renamed to ...
20836         (bit_cpu_*): This for cpu array.
20837         (index_*): Renamed to ...
20838         (index_arch_*): This for feature array.
20839         (index_*): Renamed to ...
20840         (index_cpu_*): This for cpu array.
20841         [__ASSEMBLER__] (HAS_FEATURE): Add and use field.
20842         [__ASSEMBLER__] (HAS_CPU_FEATURE)): Pass cpu to HAS_FEATURE.
20843         [__ASSEMBLER__] (HAS_ARCH_FEATURE)): Pass arch to HAS_FEATURE.
20844         [!__ASSEMBLER__] (HAS_CPU_FEATURE): Replace index_##name and
20845         bit_##name with index_cpu_##name and bit_cpu_##name.
20846         [!__ASSEMBLER__] (HAS_ARCH_FEATURE): Replace index_##name and
20847         bit_##name with index_arch_##name and bit_arch_##name.
20849 2016-03-09  Aurelien Jarno  <aurelien@aurel32.net>
20851         [BZ #19792]
20852         * sysdeps/unix/sysv/linux/mips/makecontext.S (__makecontext):
20853         Terminate FDE before return label.
20855 2016-03-09  Joseph Myers  <joseph@codesourcery.com>
20857         [BZ #19790]
20858         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c [USE_AS_NEARBYINTL]
20859         (rintl): Define as macro.
20860         [USE_AS_NEARBYINTL] (__rintl): Likewise.
20861         (__rintl) [USE_AS_NEARBYINTL]: Use SET_RESTORE_ROUND_NOEX instead
20862         of fesetround.  Ensure results are evaluated before end of scope.
20863         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Define
20864         USE_AS_NEARBYINTL and include s_rintl.c.
20865         * sysdeps/powerpc/fpu/fenv_private.h (libc_feholdsetround_ppc):
20866         Disable exception traps in new environment.
20867         (libc_feholdsetround_ppc_ctx): Likewise.
20869 2016-03-08  Roland McGrath  <roland@hack.frob.com>
20871         * sysdeps/x86_64/tst-audit10.c: #include <cpu-features.h>.
20872         * sysdeps/x86_64/tst-audit10-aux.c: Move audit_test extern decl ...
20873         (tst_audit10_aux) [__AVX512F__]: ... here.
20875 2016-03-08  Aurelien Jarno  <aurelien@aurel32.net>
20877         * include/sys/auxv.h: New file.
20879 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
20881         [BZ #19759]
20882         * sysdeps/x86/bits/string.h (_HAVE_STRING_ARCH_mempcpy): New.
20884 2016-03-08  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
20886         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Remove use of %s
20887         operand modifier.
20888         (feclearexcept): Likewise.
20890 2016-03-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
20892         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Updated
20893         to reflect the entire 32-bit HWCAP.
20894         * sysdeps/powerpc/dl-procinfo.h: Code cleanup.
20895         (_DL_HWCAP_FIRST): Removed.  Replaced by 0 accordingly.
20897 2016-03-08  H.J. Lu  <hongjiu.lu@intel.com>
20899         [BZ #19783]
20900         * benchtests/Makefile (run-bench): Replace $(rtld-prefix) with
20901         $(test-via-rtld-prefix).
20902         ($(binaries-bench)): Replace $(+link) with $(+link-tests).
20904 2016-03-08  Florian Weimer  <fweimer@redhat.com>
20906         * sunrpc/key_call.c (key_call_keyenvoy): Use int status instead of
20907         union wait.  Report any non-zero exit status as error.
20909 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20911         * posix/tst-execvpe5.c (do_test): Fix fix test invocation when
20912         configured with --enable-hardcoded-path-in-tests.
20914 2016-03-08  Joseph Myers  <joseph@codesourcery.com>
20916         [BZ #19677]
20917         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
20918         (__ieee754_remainderl): Put zero low parts in canonical form.
20919         * sysdeps/ieee754/ldbl-128ibm/test-fmodrem-ldbl-128ibm.c: New
20920         file.  Based on
20921         sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c.
20922         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: Replace
20923         with wrapper round test-fmodrem-ldbl-128ibm.c.
20924         * sysdeps/ieee754/ldbl-128ibm/test-remainderl-ldbl-128ibm.c: New
20925         file.
20926         * sysdeps/ieee754/ldbl-128ibm/test-remquol-ldbl-128ibm.c:
20927         Likewise.
20928         * sysdeps/ieee754/ldbl-128ibm/Makefile (tests): Add
20929         test-remainderl-ldbl-128ibm and test-remquol-ldbl-128ibm.
20931 2016-03-07  Florian Weimer  <fweimer@redhat.com>
20933         [BZ #19610]
20934         * elf/ldconfig.c (opt_link): Update comment.
20935         (options): Update help string for option -X.
20936         (search_dir): Unlink stale symbolic link only if updating symbolic
20937         links.
20938         * elf/tst-ldconfig-X.sh: New file.
20939         * elf/Makefile (tests-special): Add tst-ldconfig-X.out.
20940         (tst-ldconfig-X.out): New rule to run tst-ldconfig-X.sh.
20942 2016-03-07  Andreas Schwab  <schwab@suse.de>
20944         * iconv/gconv_builtin.h ("=ascii->INTERNAL"): Correct min/max
20945         needed arguments.
20947 2016-03-07  Hongjiu Zhang  <noctuorare@gmail.com>
20949         [BZ #15333]
20950         * elf/sln.c (makesymlink): Change struct stat to stat64, and lstat
20951         to lstat64.
20953 2016-03-07  Florian Weimer  <fweimer@redhat.com>
20955         * libio/filedoalloc.c (isatty): Remove.
20956         (local_isatty): Add comment.  Call __isatty directly.
20957         (_IO_file_doallocate): Update comment.  Assume _LIBC.
20958         * libio/wfiledoalloc.c (isatty): Remove.
20959         (_IO_wfile_doallocate): Update comment.
20961 2016-03-07  Florian Weimer  <fweimer@redhat.com>
20963         [BZ #19269]
20964         * sysdeps/x86_64/Makefile (tst-audit4): Depend on
20965         tst-audit4-aux.o.
20966         (tst-audit10): Depend on tst-audit10-aux.o.
20967         (CFLAGS-tst-audit4-aux.c): Compile with AVX enabled.
20968         (CFLAGS-tst-audit10-aux.c): Compile with AVX512 enabled.
20969         * sysdeps/x86_64/tst-audit4.c (do_test): Call tst_audit4_aux
20970         instead of inline AVX code.
20971         * sysdeps/x86_64/tst-audit10.c (do_test): Call tst_audit10_aux
20972         instead of inline AVX512 code.
20973         * sysdeps/x86_64/tst-audit4-aux.c: New file
20974         * sysdeps/x86_64/tst-audit10-aux.c: New file
20976         [BZ #19648]
20977         * test-skeleton.c (main): Do not set RLIMIT_DATA.
20979 2016-03-07  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
20981         [BZ #14750]
20982         [BZ #10354]
20983         [BZ #18433]
20984         * include/sched.h (__clone): Add hidden prototype.
20985         (__clone2): Likewise.
20986         * include/unistd.h (__dup): Likewise.
20987         * posix/Makefile (tests): Add tst-spawn2.
20988         * posix/tst-spawn2.c: New file.
20989         * sysdeps/posix/dup.c (__dup): Add hidden definition.
20990         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Likewise.
20991         * sysdeps/unix/sysv/linux/alpha/clone.S (__clone): Likewise.
20992         * sysdeps/unix/sysv/linux/arm/clone.S (__clone): Likewise.
20993         * sysdeps/unix/sysv/linux/hppa/clone.S (__clone): Likewise.
20994         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Likewise.
20995         * sysdeps/unix/sysv/linux/ia64/clone2.S (__clone): Likewise.
20996         * sysdeps/unix/sysv/linux/m68k/clone.S (__clone): Likewise.
20997         * sysdeps/unix/sysv/linux/microblaze/clone.S (__clone): Likewise.
20998         * sysdeps/unix/sysv/linux/mips/clone.S (__clone): Likewise.
20999         * sysdeps/unix/sysv/linux/nios2/clone.S (__clone): Likewise.
21000         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone):
21001         Likewise.
21002         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
21003         Likewise.
21004         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S (__clone): Likewise.
21005         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S (__clone): Likewise.
21006         * sysdeps/unix/sysv/linux/sh/clone.S (__clone): Likewise.
21007         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__clone): Likewise.
21008         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__clone): Likewise.
21009         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Likewise.
21010         * sysdeps/unix/sysv/linux/x86_64/clone.S (__clone): Likewise.
21011         * sysdeps/unix/sysv/linux/nptl-signals.h
21012         (____nptl_is_internal_signal): New function.
21013         * sysdeps/unix/sysv/linux/spawni.c: New file.
21015         * posix/execvpe.c (__execvpe): Remove dynamic allocation.
21016         * posix/Makefile (tests): Add tst-execvpe{1,2,3,4,5,6}.
21017         * posix/tst-execvp1.c (do_test): Use a macro to call execvp.
21018         * posix/tst-execvp2.c (do_test): Likewise.
21019         * posix/tst-execvp3.c (do_test): Likewise.
21020         * posix/tst-execvp4.c (do_test): Likewise.
21021         * posix/tst-execvpe1.c: New file.
21022         * posix/tst-execvpe2.c: Likewise.
21023         * posix/tst-execvpe3.c: Likewise.
21024         * posix/tst-execvpe4.c: Likewise.
21025         * posix/tst-execvpe5.c: Likewise.
21026         * posix/tst-execvpe6.c: Likewise.
21028         [BZ #19534]
21029         * posix/execl.c (execl): Remove dynamic memory allocation.
21030         * posix/execle.c (execle): Likewise.
21031         * posix/execlp.c (execlp): Likewise.
21033 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
21035         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S:
21036         Replace .text with .text.avx512.
21037         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S:
21038         Likewise.
21040 2016-03-07  Aurelien Jarno  <aurelien@aurel32.net>
21042         * sysdeps/generic/libnsl.abilist: New file.
21043         * sysdeps/generic/libutil.abilist: New file.
21045 2016-03-06  H.J. Lu  <hongjiu.lu@intel.com>
21047         [BZ #19762]
21048         * sysdeps/i386/i686/multiarch/bcopy.S (bcopy): Use
21049         HAS_ARCH_FEATURE with Fast_Rep_String.
21050         * sysdeps/i386/i686/multiarch/bzero.S (__bzero): Likewise.
21051         * sysdeps/i386/i686/multiarch/memcpy.S (memcpy): Likewise.
21052         * sysdeps/i386/i686/multiarch/memcpy_chk.S (__memcpy_chk):
21053         Likewise.
21054         * sysdeps/i386/i686/multiarch/memmove_chk.S (__memmove_chk):
21055         Likewise.
21056         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy): Likewise.
21057         * sysdeps/i386/i686/multiarch/mempcpy_chk.S (__mempcpy_chk):
21058         Likewise.
21059         * sysdeps/i386/i686/multiarch/memset.S (memset): Likewise.
21060         * sysdeps/i386/i686/multiarch/memset_chk.S (__memset_chk):
21061         Likewise.
21063 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
21065         [BZ #19745]
21066         * sysdeps/x86_64/crti.S (_init): Replace PREINIT_FUNCTION@PLT
21067         with *%rax in call.
21069 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
21071         [BZ #19745]
21072         * sysdeps/x86_64/start.S (_start): Replace __libc_start_main@PLT
21073         with *__libc_start_main@GOTPCREL(%rip) in call.
21075 2016-03-04  Roland McGrath  <roland@hack.frob.com>
21077         * Makefile (tests-special): Add $(objpfx)c++-types-check.out only
21078         inside conditional for nonempty $(CXX).
21080         * math/Makefile (tests): Add test-math-isinff only if $(CXX) is
21081         nonempty.
21083         * Makefile ($(objpfx)c++-types-check.out): Fix conditionalization
21084         to test for empty $(CXX) rather than $(CXX) of "no".
21086 2016-03-04  H.J. Lu  <hongjiu.lu@intel.com>
21088         * sysdeps/x86_64/Makefile (sysdep_noprof): Add comments.
21090 2016-03-04  Amit Pawar  <Amit.Pawar@amd.com>
21091             H.J. Lu  <hongjiu.lu@intel.com>
21093         [BZ #18880]
21094         * sysdeps/x86_64/multiarch/memcpy.S: Check Fast_Unaligned_Load,
21095         instead of Slow_BSF, and also check for Fast_Copy_Backward to
21096         enable __memcpy_ssse3_back.
21098 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
21100         [BZ #19758]
21101         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h
21102         (EXTRA_LD_ENVVARS): Or in bit_Prefer_MAP_32BIT_EXEC.
21104 2016-03-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
21106         [BZ #19490]
21107         * sysdeps/x86_64/_mcount.S (_mcount): Add unwind descriptor.
21108         (__fentry__): Likewise.
21110 2016-03-03  H.J. Lu  <hongjiu.lu@intel.com>
21112         * gmon/Makefile (noprof): Add $(sysdep_noprof).
21113         * sysdeps/x86_64/Makefile (sysdep_noprof): Add _mcount.
21115 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
21117         * sysdeps/x86_64/_mcount.S (C_LABEL(_mcount)): Call
21118         __mcount_internal directly.
21119         (C_LABEL(__fentry__)): Likewise.
21120         * sysdeps/x86_64/setjmp.S __sigsetjmp): Call __sigjmp_save
21121         directly.
21123 2016-03-01  H.J. Lu  <hongjiu.lu@intel.com>
21125         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
21126         (__start_context): Call __setcontext directly.
21128 2016-02-26  Joseph Myers  <joseph@codesourcery.com>
21130         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
21131         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
21132         [__LINUX_KERNEL_VERSION >= 0x030200]: Likewise.
21133         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
21134         * sysdeps/unix/sysv/linux/arm/kernel-features.h
21135         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
21136         [__LINUX_KERNEL_VERSION >= 0x020624]: Likewise.
21137         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
21138         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
21139         [__LINUX_KERNEL_VERSION >= 0x020622]: Likewise.
21140         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
21141         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
21142         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
21143         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
21144         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
21145         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
21146         [__LINUX_KERNEL_VERSION < 0x030000]: Remove conditional code.
21147         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
21148         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
21149         [__LINUX_KERNEL_VERSION < 0x020621]: Remove conditional code.
21150         [__LINUX_KERNEL_VERSION < 0x020625]: Likewise.
21151         * sysdeps/unix/sysv/linux/mips/kernel-features.h
21152         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
21153         [__LINUX_KERNEL_VERSION >= 0x030100]: Likewise.
21154         [_MIPS_SIM == _ABIN32 && __LINUX_KERNEL_VERSION < 0x020623]:
21155         Remove conditional code.
21156         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
21157         [__LINUX_KERNEL_VERSION >= 0x020625]: Make code unconditional.
21158         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
21159         * sysdeps/unix/sysv/linux/sh/kernel-features.h
21160         [__LINUX_KERNEL_VERSION >= 0x020625]: Likewise.
21161         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
21162         [__LINUX_KERNEL_VERSION < 0x020625]: Remove conditional code.
21163         * sysdeps/unix/sysv/linux/sparc/kernel-features.h
21164         [__LINUX_KERNEL_VERSION >= 0x020621]: Make code unconditional.
21165         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
21166         * sysdeps/unix/sysv/linux/tile/kernel-features.h
21167         [__LINUX_KERNEL_VERSION >= 0x030000]: Likewise.
21169 2016-02-24  Marko Myllynen  <myllynen@redhat.com>
21171         * NEWS (2.23): Fix typo in bug 19048 text.
21173 2016-02-24  Carlos O'Donell  <carlos@redhat.com>
21175         [BZ #14259]
21176         * Makeconfig: Rename msgcatdir to localedir.
21177         Rename inst_msgcatdir to inst_localedir.
21178         * catgets/Makefile (catgets-CPPFLAGS): Use localedir.
21179         * config.make.in: Add localedir.
21180         * elf/Makefile ($(objpfx)sotruss): Use localedir.
21181         (ldd-rewrite): Likewise.
21182         * intl/Makefile: Rename inst_msgcatdir to inst_localedir.
21183         (install-others): Use inst_localedir.
21184         (CPPFLAGS): Use localedir.
21185         * locale/Makefile (locale-CPPFLAGS): Likewise.
21186         * po/Makefile (mo-installed): Use inst_localedir.
21188         [BZ #19575]
21189         * localedata/charmaps/GB18030: Update comments regarding PAU to
21190         non-PUA mappings.
21192 2016-02-24  Joseph Myers  <joseph@codesourcery.com>
21194         * sysdeps/unix/sysv/linux/configure.ac (linux/fanotify.h): Do not
21195         test for header.
21196         * sysdeps/unix/sysv/linux/configure: Regenerated.
21197         * config.h.in (HAVE_LINUX_FANOTIFY_H): Remove #undef.
21198         * sysdeps/unix/sysv/linux/tst-fanotify.c [!HAVE_LINUX_FANOTIFY_H]:
21199         Remove conditional code.
21200         [HAVE_LINUX_FANOTIFY_H]: Make code unconditional.
21202         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
21203         Define to 3.2.0.
21204         (arch_minimum_kernel): Likewise.
21205         * sysdeps/unix/sysv/linux/configure: Regenerated.
21206         * sysdeps/unix/sysv/linux/i386/configure.ac (arch_minimum_kernel):
21207         Define to 2.6.32.
21208         * sysdeps/unix/sysv/linux/i386/configure: Regenerated.
21209         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac
21210         (arch_minimum_kernel): Define to 2.6.32.
21211         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerated.
21212         * README: Document Linux 3.2 requirement.
21213         * manual/install.texi (Linux): Document Linux 3.2 headers
21214         requirement.
21215         * INSTALL: Regenerated.
21217 2016-02-24  Andreas Schwab  <schwab@suse.de>
21219         * math/test-math-isinff.cc (do_test): Only call isinfl and isnanl
21220         if !NO_LONG_DOUBLE.
21222 2016-02-22  Roland McGrath  <roland@hack.frob.com>
21224         * sysdeps/arm/nacl/libc.abilist (GLIBC_2.23): Add GLIBC_2.23,
21225         fts64_children, fts64_close, fts64_open, fts64_read and fts64_set.
21227 2016-02-22  Dmitry V. Levin  <ldv@altlinux.org>
21229         [BZ #19512]
21230         * config.h.in (HAVE_BUILTIN_EXPECT): New macro.
21232 2016-02-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
21234         * posix/tst-dir.c: Include libc-internal.h.
21236 2016-02-20  Florian Weimer  <fweimer@redhat.com>
21238         [BZ #19056]
21239         * dirent/dirent.h (readdir_r, readdir64_r): Mark as deprecated.
21240         * manual/filesys.texi (Reading/Closing Directory): Mention
21241         deprecaion.
21242         * posix/tst-dir.c (main): Disable deprecation warning in test.
21244 2016-02-19  H.J. Lu  <hongjiu.lu@intel.com>
21246         [BZ #19679]
21247         * sysdeps/x86_64/dl-trampoline.S (DL_RUNIME_UNALIGNED_VEC_SIZE):
21248         Renamed to ...
21249         (DL_RUNTIME_UNALIGNED_VEC_SIZE): This.  Set to 8.
21250         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
21251         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.  Updated.
21252         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
21253         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
21254         * sysdeps/x86_64/dl-trampoline.h
21255         (DL_RUNIME_RESOLVE_REALIGN_STACK): Renamed to ...
21256         (DL_RUNTIME_RESOLVE_REALIGN_STACK): This.
21258 2016-02-19  Mark Wielaard  <mjw@redhat.com>
21260         * elf/elf.h: Add NT_ARM_SYSTEM_CALL.
21262 2016-02-19  Mark Wielaard  <mjw@redhat.com>
21264         * elf/elf.h (R_386_GOT32X): New.
21265         (R_386_NUM): Update.
21266         (R_X86_64_GOTPCRELX: New.
21267         (R_X86_64_REX_GOTPCRELX): New.
21268         (R_X86_64_NUM): Update.
21270 2016-02-19  Mike Frysinger  <vapier@gentoo.org>
21272         * test-skeleton.c (TIMEOUT): Change to 20 and adjust comment.
21274 2016-02-19  Carlos O'Donell  <carlos@systemhalted.org>
21276         * nptl/allocatestack.c (allocate_stack): Declare new stackaddr,
21277         assign attr->stackaddr to it, and adjust it down when
21278         _STACK_GROWS_UP.  Change all attr->stackaddr to stackaddr.
21279         [_STACK_GROWS_UP]: Delete assert.
21280         * nptl/pthread_create.c (START_THREAD_DEFN) [!_STACK_GROWS_DOWN]:
21281         Implement stack grows up logic.
21282         * nptl/pthread_getattr_np.c (pthread_getattr_np): Implement
21283         stack grows up logic.
21285 2016-02-19  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21287         * NEWS: Update with 2.24 template.
21289 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
21291         [BZ #19678]
21292         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
21293         Ensure +0.0 is returned when taking the next value below the least
21294         positive value.
21296 2016-02-19  Florian Weimer  <fweimer@redhat.com>
21298         * sysdeps/generic/malloc-machine.h: Assume mutex_init is always
21299         available.  Do not define NO_THREADS.
21300         * malloc/malloc.c: Do not check NO_THREADS.
21301         * malloc/arena.c: Likewise.
21303 2016-02-19  Florian Weimer  <fweimer@redhat.com>
21305         * malloc/malloc.c (__libc_mallinfo): Update comment.
21306         (struct malloc_par): Remove max_total_mem member, it was always 0.
21307         (int_mallinfo): Store 0 into usmblks (no functional change).
21308         * malloc/hooks.c (struct malloc_state): Document that
21309         max_total_mem is always 0.
21310         * malloc/malloc.h (struct mallinfo): Dcoument that usmblks is
21311         always 0.
21312         * manual/memory.texi (Statistics of Malloc): Likewise.
21314 2016-02-19  Florian Weimer  <fweimer@redhat.com>
21316         * malloc/malloc.c (sysmalloc): Do not update arena_max.
21317         * malloc/arena.c (arena_max): Remove.
21318         (heap_trim, _int_new_arena): Do not update arena_max.
21320 2016-02-19  Florian Weimer  <fweimer@redhat.com>
21322         * resolv/res_init.c (res_ninit): Update comment.
21324 2016-02-19  Florian Weimer  <fweimer@redhat.com>
21326         [BZ #19505]
21327         * posix/spawn_int.h: Add headers and include guard.
21328         (__spawn_valid_fd): New function.
21329         * posix/spawn_faction_addopen.c
21330         (posix_spawn_file_actions_addopen): Use __spawn_valid_fd.
21331         * posix/spawn_faction_addclose.c
21332         (posix_spawn_file_actions_addclose): Likewise.
21333         * posix/spawn_faction_adddup2.c
21334         (posix_spawn_file_actions_adddup2): Likewise.  Add check for
21335         second file descriptor.
21336         * posix/spawn_valid_fd.c: New file.
21337         * posix/tst-posix_spawn-fd.c: New file.
21338         * posix/Makefile (routines): Add spawn_valid_fd.
21339         (tests): Add tst-posix_spawn-fd.
21341 2016-02-19  Florian Weimer  <fweimer@redhat.com>
21343         * malloc/tst-malloc-thread-exit.c: Include test-skeleton.c early.
21344         (do_test): Limit the number of arenas, so that we can use fewer
21345         outer threads.  Limit timeout to 3 seconds, in preparation for a
21346         larger TIMEOUT value.
21348 2016-02-19  Joseph Myers  <joseph@codesourcery.com>
21350         [BZ #19674]
21351         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Include
21352         sign in overflowing and underflowing results when overflow or
21353         underflow is detected early.  Include sign in result before rather
21354         than after scaling.
21356         [BZ #19603]
21357         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c
21358         (__ieee754_remainderl): Adjust sign of integer version of low part
21359         when taking absolute value of high part.
21360         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
21361         * math/libm-test.inc (remainder_test_data): Add another test.
21362         (remquo_test_data): Likewise.
21364 2016-02-18  Joseph Myers  <joseph@codesourcery.com>
21366         [BZ #19602]
21367         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Handle
21368         equal high parts and both low parts zero specially.
21369         * sysdeps/ieee754/ldbl-128ibm/test-fmodl-ldbl-128ibm.c: New test.
21370         * sysdeps/ieee754/ldbl-128ibm/Makefile [$(subdir) = math] (tests):
21371         Add test-fmodl-ldbl-128ibm.
21373         [BZ #19595]
21374         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Use
21375         common logic for all cases of shifting subnormal results.  Do not
21376         insert sign bit in shifted mantissa.  Always pass -1023 as biased
21377         exponent to ldbl_insert_mantissa in subnormal case.
21379         [BZ #19594]
21380         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c (__roundl): Use __round
21381         on high and low parts then adjust result and use
21382         ldbl_canonicalize_int if needed.
21384         [BZ #19593]
21385         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c (__truncl): Use __trunc
21386         on high part and __floor or __ceil on low part then use
21387         ldbl_canonicalize_int if needed.
21389         [BZ #19592]
21390         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c (__ceill): Use __ceil on
21391         high and low parts then use ldbl_canonicalize_int if needed.
21393         [BZ #17899]
21394         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_canonicalize_int):
21395         New function.
21396         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c (__floorl): Use __floor
21397         on high and low parts then use ldbl_canonicalize_int if needed.
21399 2016-02-18  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21401         * configure: Regenerated.
21403         * po/libc.pot: Regenerated.
21405         * po/be.po: Updated translation.
21406         * po/bg.po: Likewise.
21407         * po/ca.po: Likewise.
21408         * po/cs.po: Likewise.
21409         * po/da.po: Likewise.
21410         * po/el.po: Likewise.
21411         * po/eo.po: Likewise.
21412         * po/es.po: Likewise.
21413         * po/fi.po: Likewise.
21414         * po/fr.po: Likewise.
21415         * po/gl.po: Likewise.
21416         * po/hr.po: Likewise.
21417         * po/hu.po: Likewise.
21418         * po/ia.po: Likewise.
21419         * po/id.po: Likewise.
21420         * po/it.po: Likewise.
21421         * po/ja.po: Likewise.
21422         * po/lt.po: Likewise.
21423         * po/nb.po: Likewise.
21424         * po/nl.po: Likewise.
21425         * po/pt_BR.po: Likewise.
21426         * po/rw.po: Likewise.
21427         * po/sk.po: Likewise.
21428         * po/sl.po: Likewise.
21429         * po/sv.po: Likewise.
21430         * po/tr.po: Likewise.
21431         * po/zh_CN.po: Likewise.
21432         * po/zh_TW.po: Likewise.
21434         * version.h (RELEAES): Set to "development".
21435         (VERSION): Set to 2.23.90.
21437         * version.h (RELEASE): Set to "stable".
21438         (VERSION): Set to 2.23.
21439         * include/feature.h (__GLIBC_MINOR__): Set to 23.
21441         * NEWS: Updated fixed bugs.
21443 2016-02-18  H.J. Lu  <hongjiu.lu@intel.com>
21444             Wilco Dijkstra  <wdijkstr@arm.com>
21446         [BZ #19462]
21447         * bits/string.h (_STRING_ARCH_unaligned): Renamed to ...
21448         (_STRING_INLINE_unaligned): This.
21449         * include/string.h: Include <string_private.h>.
21450         * string/bits/string2.h: Replace _STRING_ARCH_unaligned with
21451         _STRING_INLINE_unaligned.
21452         * sysdeps/aarch64/bits/string.h (_STRING_ARCH_unaligned): Removed.
21453         (_STRING_INLINE_unaligned): New.
21454         * sysdeps/aarch64/string_private.h: New file.
21455         * sysdeps/generic/string_private.h: Likewise.
21456         * sysdeps/m68k/m680x0/m68020/string_private.h: Likewise.
21457         * sysdeps/s390/string_private.h: Likewise.
21458         * sysdeps/x86/string_private.h: Likewise.
21459         * sysdeps/m68k/m680x0/m68020/bits/string.h
21460         (_STRING_ARCH_unaligned): Renamed to ...
21461         (_STRING_INLINE_unaligned): This.
21462         * sysdeps/s390/bits/string.h (_STRING_ARCH_unaligned): Renamed
21463         to ...
21464         (_STRING_INLINE_unaligned): This.
21465         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Renamed
21466         to ...
21467         (_STRING_INLINE_unaligned): This.
21468         * sysdeps/x86/bits/string.h (_STRING_ARCH_unaligned): Renamed
21469         to ...
21470         (_STRING_INLINE_unaligned): This.
21472 2016-02-17  Andrew Senkevich  <andrew.senkevich@intel.com>
21473             H.J. Lu  <hongjiu.lu@intel.com>
21475         [BZ #19590]
21476         * sysdeps/x86_64/fpu/svml_finite_alias.S (ALIAS_IMPL): Use PIC
21477         relocation.
21479 2016-02-15  Carlos O'Donell  <carlos@redhat.com>
21481         [BZ #18665]
21482         * resolv/nss_dns/dns-host.c (gaih_getanswer_slice): Always set
21483         *herrno_p.
21484         (gaih_getanswer): Document functional behviour. Return tryagain
21485         if any result is tryagain.
21486         * resolv/res_query.c (__libc_res_nsearch): Set buffer size to zero
21487         when freed.
21488         * resolv/res_send.c: Add copyright text.
21489         (__libc_res_nsend): Document that MAXPACKET is expected.
21490         (send_vc): Document. Remove buffer reuse.
21491         (send_dg): Document. Remove buffer reuse. Set *thisanssizp to set the
21492         size of the buffer. Add Dprint for truncated UDP buffer.
21494 2016-02-14  Carlos O'Donell  <carlos@redhat.com>
21496         * manual/install.texi: Latest tested is GCC 5.3, texinfo 6.0, gawk
21497         4.1.3, and sed 4.2.2. Remove po2test.sed comments.
21498         * INSTALL: Regenerate.
21500 2016-02-14  Jakub Jelinek  <jakub@redhat.com>
21501             Jonathan Wakely  <jwakely@redhat.com>
21502             Carlos O'Donell  <carlos@redhat.com>
21504         [BZ 19439]
21505         * math/Makefile (tests): Add test-math-isinff.
21506         (CFLAGS-test-math-isinff.cc): Use -std=gnu++11.
21507         * math/bits/mathcalls.h [__USE_MISC]: Use
21508         '|| __MATH_DECLARING_DOUBLE == 0' to relax definition of
21509         functions not in C++11 and which don't conflict e.g. isinff,
21510         isinfl etc.
21511         * math/test-math-isinff.cc: New file.
21513 2016-02-12  Florian Weimer  <fweimer@redhat.com>
21515         * misc/bug18240.c (do_test): Set RLIMIT_AS.
21517 2016-02-11  Szabolcs Nagy  <szabolcs.nagy@arm.com>
21519         [BZ #19529]
21520         * stdlib/Makefile (CFLAGS-tst-makecontext.c): Add -funwind-tables.
21522 2016-02-04  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
21524         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
21526 2016-02-01  Joseph Myers  <joseph@codesourcery.com>
21528         [BZ #19550]
21529         * sysdeps/unix/sysv/linux/mips/mips32/mmap.c: New file.
21530         * sysdeps/unix/sysv/linux/mips/mips64/mmap64.c: Move to ....
21531         * sysdeps/unix/sysv/linux/mips/mips64/n64/mmap64.c: ... here.
21532         * sysdeps/unix/sysv/linux/mips/mips64/n32/mmap.c: New file.
21533         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (mmap64):
21534         New syscall entry.
21535         * sysdeps/unix/sysv/linux/mips/mips64/n64/syscalls.list (mmap):
21536         New syscall entry.
21537         * sysdeps/unix/sysv/linux/mips/mips64/syscalls.list (mmap): Remove
21538         syscall entry.
21540 2016-01-27  Paul Eggert  <eggert@cs.ucla.edu>
21542         [BZ #18240]
21543         * misc/hsearch_r.c (isprime, __hcreate_r): Protect against
21544         unsigned int wraparound.
21546 2016-01-27  Florian Weimer  <fweimer@redhat.com>
21548         [BZ #18240]
21549         * misc/bug18240.c: New test.
21550         * misc/Makefile (tests): Add it.
21552 2016-01-28  Steve Ellcey  <sellcey@imgtec.com>
21553             Joseph Myers  <joseph@codesourcery.com>
21555         * sysdeps/mips/memcpy.S (MEMCPY_NAME) [USE_DOUBLE]: Avoid word
21556         load in branch delay slot when less than a word of input left.
21558 2016-01-27  Andreas Schwab  <schwab@suse.de>
21560         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (half): Remove.
21561         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (maxlog, big): Remove.
21562         * sysdeps/powerpc/fpu/s_cosf.c (one): Remove.
21563         * sysdeps/powerpc/fpu/e_hypotf.c (two30): Remove.
21565 2016-01-26  David S. Miller  <davem@davemloft.net>
21567         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Add _Q_cmp.
21569 2016-01-25  David S. Miller  <davem@davemloft.net>
21571         * sysdeps/sparc/sparc32/Versions (GLIBC_2.23): Add entry for
21572         __sqrtl_finite.
21573         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c (__sqrtl_finite): Define
21574         instead using versioned_symbol.
21575         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Fix ordering
21576         of entries.
21578         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Move
21579         __sqrtl_finite to GLIBC_2.23
21581 2016-01-25  Ricchard Henderson  <rth@redhat.com>
21583         * sysdeps/alpha/fpu/libm-test-ulps: Update.
21585 2016-01-25  Andreas Schwab  <schwab@suse.de>
21587         [BZ #17514]
21588         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock)
21589         <case PTHREAD_MUTEX_ERRORCHECK_NP>: Don't do lock elision.
21590         * nptl/Makefile (tests): Add tst-mutex-errorcheck.
21591         * nptl/tst-mutex-errorcheck.c: New file.
21593 2016-01-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21595         [BZ #18560]
21596         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h (__ipc): Remove.
21597         (IPCOP_semop): Likewise.
21598         (IPCOP_semget): Likewise.
21599         (IPCOP_semctl): Likewise.
21600         (IPCOP_msgsnd): Likewise.
21601         (IPCOP_msgrcv): Likewise.
21602         (IPCOP_msgget): Likewise.
21603         (IPCOP_msgctl): Likewise.
21604         (IPCOP_shmat): Likewise.
21605         (IPCOP_shmdt): Likewise.
21606         (IPCOP_shmget): Likewise.
21607         (IPCOP_shmctl): Likewise.
21609 2016-01-22  Stefan Liebler  <stli@linux.vnet.ibm.com>
21611         * string/tst-endian.c: Include <libc-internal.h>.
21612         (do_test): Ignore tautological-compare warnings around
21613         "htobeXX (beXXtoh (i)) != i" and
21614         "htoleXX (leXXtoh (i)) != i" if-statements.
21616 2016-01-24  David S. Miller  <davem@davemloft.net>
21618         * sysdeps/sparc/sparc32/fpu/e_sqrtl.c: New file.
21619         * sysdeps/sparc/sparc32/soft-fp/q_sqrt.c (__ieee754_sqrtl): Remove
21620         alias.
21621         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Add
21622         __sqrtl_finite.
21624         * sysdeps/sparc/fpu/libm-test-ulps: Update.
21626 2016-01-25  Maciej W. Rozycki  <macro@imgtec.com>
21628         * sysdeps/unix/sysv/linux/mips/configure.ac: Set
21629         `arch_minimum_kernel' to 4.5.0 if 2008 NaN encoding is used.
21630         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
21632 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21634         * nptl/tst-setuid3.c (is_invalid_barrier_ret): New function.
21635         (thread_func): Use new function to simplify barrier check.
21636         (do_test): Use new function to simplify checking barrier exit
21637         code, and actually join the child thread.
21639 2016-01-22  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21641         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin): Remove
21642         semicolon.
21643         (__libc_tend): Likewise.
21644         (__libc_tabort): Likewise.
21646 2016-01-22  Chung-Lin Tang  <cltang@codesourcery.com>
21648         * sysdeps/nios2/libm-test-ulps: Update.
21649         * sysdeps/unix/sysv/linux/nios2/localplt.data (__gtdf2): Add.
21650         (__gtsf2): Likewise.
21651         (__unorddf2): Likewise.
21652         (__unordsf2): Likewise.
21653         (__ledf2): Likewise.
21655 2016-01-20  Chris Metcalf  <cmetcalf@ezchip.com>
21657         * nis/nis_table.c (__follow_path): Disable diagnostic for
21658         uninitialized variable that is a false positive for gcc 4.7.
21659         * stdio-common/vfscanf.c (_IO_vfwscanf): Likewise.
21661 2016-01-20  Roland McGrath  <roland@hack.frob.com>
21663         * sysdeps/nacl/lowlevellock-futex.h
21664         (lll_futex_wait, lll_futex_timed_wait, lll_futex_wake):
21665         Always evaluate PRIVATE argument.
21667 2016-01-20  Paul Pluzhnikov  <ppluzhnikov@google.com>
21669         [BZ #19490]
21670         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S
21671         (pthread_cond_broadcast): Use ENTRY/END
21672         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S
21673         (pthread_cond_signal): Likewise.
21674         * sysdeps/x86_64/nptl/pthread_spin_lock.S (pthread_spin_lock):
21675         Likewise.
21676         * sysdeps/x86_64/nptl/pthread_spin_trylock.S (pthread_spin_trylock):
21677         Likewise.
21678         * sysdeps/x86_64/nptl/pthread_spin_unlock.S (pthread_spin_unlock):
21679         Likewise.
21681 2016-01-20  Joseph Myers  <joseph@codesourcery.com>
21683         * sysdeps/ieee754/dbl-64/s_finite.c
21684         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Define
21685         compat symbol at version GLIBC_2_1 and use GLIBC_2_1 in
21686         SHLIB_COMPAT condition for libm, not GLIBC_2_0.
21687         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c
21688         [NO_LONG_DOUBLE && LDBL_CLASSIFY_COMPAT] (__finitel): Likewise.
21690         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data
21691         (__gtsf2): Add as optional for libc.so.
21692         (__unordsf2): Likewise.
21693         (__signbit): Remove for libc.so.
21694         (__signbitl): Likewise.
21696 2016-01-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
21698         * iconvdata/bug-iconv11.c (test_ibm93x):
21699         Use %zu printf format specifier for size_t argument.
21701 2016-01-19  Joseph Myers  <joseph@codesourcery.com>
21703         * math/gen-libm-test.pl (parse_ulps): Do not reduce
21704         already-recorded ulps.
21705         * sysdeps/arm/libm-test-ulps: Regenerated.
21706         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
21707         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
21708         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
21710 2016-01-19  Andrew Senkevich  <andrew.senkevich@intel.com>
21711             Paul Pluzhnikov  <ppluzhnikov@google.com>
21713         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Fixed build with
21714         assembler not supporting AVX-512.
21716 2016-01-18  Stefan Liebler  <stli@linux.vnet.ibm.com>
21718         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
21720 2016-01-18  Joseph Myers  <joseph@codesourcery.com>
21722         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
21723         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
21725         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
21727         * sysdeps/arm/libm-test-ulps: Regenerated.
21729 2016-01-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
21731         [BZ #19451]
21732         * math/Makefile (libm-vec-tests): Move libraries after wrappers.o
21734 2016-01-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
21736         [BZ #19486]
21737         * sysdeps/s390/fix-fp-int-convert-overflow.h: New File.
21738         * sysdeps/generic/fix-fp-int-convert-overflow.h
21739         (FIX_LDBL_LONG_CONVERT_OVERFLOW,
21740         FIX_LDBL_LLONG_CONVERT_OVERFLOW): New define.
21741         * sysdeps/arm/fix-fp-int-convert-overflow.h: Likewise.
21742         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h:
21743         Likewise.
21744         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl):
21745         Avoid conversions to long int where inexact exceptions
21746         could be raised.
21747         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl):
21748         Likewise.
21749         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl):
21750         Avoid conversions to long long int where inexact exceptions
21751         could be raised.
21752         * sysdeps/ieee754/ldbl-128/s_llroundl.c (__llroundl):
21753         Likewise.
21755 2016-01-17  Mike Frysinger  <vapier@gentoo.org>
21757         * configure.ac: Rewrite error comment and use AC_MSG_ERROR.
21758         * configure: Regenerated.
21760 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
21762         * sysdeps/x86_64/multiarch/memcpy_chk.S: Fixed typos.
21764 2016-01-16  Mike Frysinger  <vapier@gentoo.org>
21766         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT): Move
21767         outside of comment.
21769 2016-01-15  Torvald Riegel  <triegel@redhat.com>
21771         * nptl/tst-barrier1.c: Add description on first line.
21772         * nptl/tst-barrier2.c: Likewise.
21773         * nptl/tst-barrier3.c: Likewise.
21774         * nptl/tst-barrier4.c: Likewise.
21775         * nptl/tst-barrier5.c: Likewise.
21777 2016-01-15  Torvald Riegel  <triegel@redhat.com>
21779         [BZ #18868]
21780         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Apply fix.
21782 2016-01-16  Andrew Senkevich  <andrew.senkevich@intel.com>
21784         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new files.
21785         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
21786         * sysdeps/x86_64/multiarch/memcpy-avx512-no-vzeroupper.S: New file.
21787         * sysdeps/x86_64/multiarch/mempcpy-avx512-no-vzeroupper.S: Likewise.
21788         * sysdeps/x86_64/multiarch/memmove-avx512-no-vzeroupper.S: Likewise.
21789         * sysdeps/x86_64/multiarch/memcpy.S: Added new IFUNC branch.
21790         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
21791         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
21792         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
21793         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
21794         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
21796 2016-01-15  Torvald Riegel  <triegel@redhat.com>
21798         [BZ #13065]
21799         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Replace with
21800         new implementation.
21801         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy): Likewise.
21802         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Adapt.
21803         * sysdeps/nptl/internaltypes.h (pthread_barrier): Adapt.
21804         (BARRIER_IN_THRESHOLD): New macro.
21805         * nptl/pthread_barrierattr_setpshared.c
21806         (pthread_barrierattr_setpshared): Clean up.
21807         * nptl/tst-barrier4.c: Correct comment.
21808         * nptl/tst-barrier5.c: New file.
21809         * nptl/Makefile (tests): Add nptl/tst-barrier5.c.
21810         (gen-as-const-headers): Remove lowlevelbarrier.sym.
21811         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Remove.
21812         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Remove.
21813         * nptl/lowlevelbarrier.sym: Remove.
21814         * nptl/DESIGN-barrier.txt: Remove.
21815         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Remove.
21816         * sysdeps/sparc/nptl/pthread_barrier_init.c: Remove.
21817         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Remove.
21818         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: Replace with build
21819         error.
21820         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: Use generic
21821         implementation.
21823 2016-01-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
21825         * rt/tst-mqueue5.c (thr): Cleanup misleading comment.
21826         (do_child): Mask SIGRTMIN while thr is running.
21828 2016-01-15  Martin Sebor  <msebor@redhat.com>
21830         [BZ #19432]
21831         * iconvdata/Makefile: Add bug-iconv11.
21832         * iconvdata/bug-iconv11.c: New test.
21833         * iconvdata/ibm930.c: Do not reject redundant shift sequences.
21834         * iconvdata/ibm933.c: Same.
21835         * iconvdata/ibm935.c: Same.
21836         * iconvdata/ibm937.c: Same.
21837         * iconvdata/ibm939.c: Same.
21839 2016-01-15  Martin Sebor  <msebor@redhat.com>
21841         [BZ #19443]
21842         * crypt/crypt_util.c [DEBUG] (_ufc_prbits): Correct format string.
21843         [DEBUG] (_ufc_set_bits): Declare used.
21844         * iconv/gconv_dl.c [DEBUG]: Add a missing include directive.
21845         [DEBUG] (print_all): Declare used.
21846         * resolv/res_send.c [DEBUG] (__libc_res_nsend): Explicitly convert
21847         operands of the ternary ?: expression to target type.
21848         * stdlib/rshift.c [DEBUG] (mpn_rshift): Use assert() instead of
21849         calling the undeclared abort.
21850         * time/mktime.c [DEBUG] (DEBUG): Rename to DEBUG_MKTIME.
21852 2016-01-15  Martin Sebor  <msebor@redhat.com>
21854         [BZ #18755]
21855         * iconv/skeleton.c (FUNCTION_NAME): Suppress -Wunused-but-set-variable
21856         warnings.
21857         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread): Same.
21858         (__gai_create_helper_thread): Same.
21859         * nscd/nscd.c (do_exit): Suppress -Wunused-variable.
21860         * iconvdata/iso-2022-cn-ext.c (BODY): Initialize local variable
21861         to suppress -Wmaybe-uninitialized warnings.
21863 2016-01-15  H.J. Lu  <hongjiu.lu@intel.com>
21865         [BZ #19465]
21866         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Call math_opt_barrier
21867         inside if.
21868         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
21869         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
21870         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
21872 2016-01-14  H.J. Lu  <hongjiu.lu@intel.com>
21874         [BZ #19466]
21875         * time/tst-mktime2.c (time_t_max): Removed.
21876         (time_t_min): Likewise.
21877         (TYPE_SIGNED): New.
21878         (TYPE_MINIMUM): Likewise.
21879         (TYPE_MAXIMUM): Likewise.
21880         (TIME_T_MIN): Likewise.
21881         (TIME_T_MAX): Likewise.
21882         (mktime_test): Replace time_t_max and time_t_min with TIME_T_MAX
21883         and TIME_T_MIN.
21884         (do_test): Likewise.
21886 2016-01-14  Amit Pawar  <amit.pawar@amd.com>
21888         [BZ #19467]
21889         * sysdeps/x86/cpu-features.c (init_cpu_features): Set
21890         index_Fast_Unaligned_Load flag for Excavator family CPUs.
21892 2016-01-02  Marcin Kościelnicki  <koriakin@0x04.net>
21894         * sysdeps/s390/nptl/tls.h (struct tcbhead_t): Add __private_ss field.
21896 2016-01-13  Carlos O'Donell  <carlos@redhat.com>
21898         * benchtests/Makefile (PYTHON): Define.
21899         (bench-func): Use $(PYTHON) to run python scripts.
21900         ($(objpfx)bench-%.c): Likewise.
21902 2016-01-13  Flavio Cruz  <flaviocruz@gmail.com>
21904         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Do not remove
21905         leading slash when `file_name' is "/".
21907 2016-01-12  Joseph Myers  <joseph@codesourcery.com>
21909         * bits/mman-linux.h [!MCL_CURRENT] (MCL_ONFAULT): New macro.
21910         * sysdeps/unix/sysv/linux/alpha/bits/mman.h (MCL_ONFAULT):
21911         Likewise.
21912         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h (MCL_ONFAULT):
21913         Likewise.
21914         * sysdeps/unix/sysv/linux/sparc/bits/mman.h (MCL_ONFAULT):
21915         Likewise.
21916         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_GETSIGMASK): New
21917         enum constant and macro.
21918         (PTRACE_SETSIGMASK): Likewise.
21919         (PTRACE_SECCOMP_GET_FILTER): Likewise.
21920         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
21921         (PTRACE_GETSIGMASK): Likewise.
21922         (PTRACE_SETSIGMASK): Likewise.
21923         (PTRACE_SECCOMP_GET_FILTER): Likewise.
21924         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_GETSIGMASK):
21925         Likewise.
21926         (PTRACE_SETSIGMASK): Likewise.
21927         (PTRACE_SECCOMP_GET_FILTER): Likewise.
21928         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
21929         (PTRACE_GETSIGMASK): Likewise.
21930         (PTRACE_SETSIGMASK): Likewise.
21931         (PTRACE_SECCOMP_GET_FILTER): Likewise.
21932         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_GETSIGMASK):
21933         Likewise.
21934         (PTRACE_SETSIGMASK): Likewise.
21935         (PTRACE_SECCOMP_GET_FILTER): Likewise.
21936         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_GETSIGMASK):
21937         Likewise.
21938         (PTRACE_SETSIGMASK): Likewise.
21939         (PTRACE_SECCOMP_GET_FILTER): Likewise.
21940         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_GETSIGMASK):
21941         Likewise.
21942         (PTRACE_SETSIGMASK): Likewise.
21943         (PTRACE_SECCOMP_GET_FILTER): Likewise.
21945 2016-01-11  Jonathan Wakely  <jwakely.gcc@gmail.com>
21946             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
21948         [BZ #19439]
21949         * math/bits/mathcalls.h
21950         [!__cplusplus || __cplusplus < 201103L] (isinf): Do not declare
21951         prototype.
21952         [!__cplusplus || __cplusplus < 201103L] (isnan): Likewise.
21954 2016-01-11  Andreas Schwab  <schwab@suse.de>
21956         [BZ #19253]
21957         * time/tzfile.c (__tzfile_default): Invalidate tzfile attribute
21958         cache when TZDEFRULES was used.
21959         * time/tst-tzname.c: New file.
21960         * time/Makefile (test): Add tst-tzname.
21961         (tst-tzname-ENV, CPPFLAGS-tst-tzname.c): Define.
21962         * timezone/Makefile (test-zones): Add $(posixrules-file).
21963         ($(testdata)/$(posixrules-file)): New rule.
21965 2016-01-10  Paul Eggert  <eggert@cs.ucla.edu>
21967         Fix doc quoting problems with Texinfo 5
21968         Without this change, in the info file output, Texinfo 5 quotes code
21969         in text with undirected single quotes 'like this' and generates
21970         code examples that with many PDF readers cannot be cut out of PDFs
21971         and pasted into code.
21972         * manual/libc.texinfo: Configure the libc manual like the GNU
21973         Emacs manual, by using @documentencoding and setting
21974         txicodequoteundirected and txicodequotebacktick.  This way,
21975         Texinfo 5 quotes code in text with directed single quotes ‘like
21976         this’ and produces examples that can be cut out of PDFs.  This
21977         change causes Texinfo 5 to generate info files that contain UTF-8
21978         characters in the set {'‘', '’', '“', '”', 'Ä', 'ä', 'ö', '−',
21979         '–', '—', '©', '⇒', '•', '…'}, which is OK nowadays.
21981 2016-01-08  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
21983         * sysdeps/unix/sysv/linux/powerpc/htm.h (__libc_tbegin,
21984         __libc_tabort, __libc_tend): New wrappers that enforce compiler
21985         barriers to their respective compiler built-ins.
21986         * sysdeps/powerpc/nptl/elide.h (__get_new_count, ELIDE_LOCK,
21987         ELIDE_TRYLOCK, __elide_unlock): Use the new wrappers.
21988         * sysdeps/powerpc/sysdep.h: Likewise.
21989         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: Likewise.
21990         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: Likewise.
21991         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: Likewise.
21993 2016-01-08  Marko Myllynen  <myllynen@redhat.com>
21995         * scripts/config.guess: Revert previous shebang change.
21996         * scripts/config.sub: Likewise.
21997         * scripts/mkinstalldirs: Likewise.
21999 2016-01-08  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
22001         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_ARCH_3_00 and
22002         PPC_FEATURE2_HAS_IEEE128.
22003         * sysdeps/powerpc/dl-procinfo.c:
22004         (_dl_powerpc_cap_flags): Add corresponding names to new capabilities.
22006 2016-01-08  John David Anglin  <danglin@gcc.gnu.org>
22008         [BZ #19415]
22009         * sysdeps/hppa/dl-fptr.c (_dl_fixup): Declare.
22010         (elf_machine_resolve): New.  Return address of _dl_runtime_resolve.
22011         (_dl_lookup_address): Rewrite using function resolver trampoline.
22012         * sysdeps/hppa/dl-lookupcfg.h (DL_LOOKUP_ADDRESS): Don't clear bottom
22013         two bits in address.
22015 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
22017         * longlong.h: Change !__SHMEDIA__ to
22018         (!defined (__SHMEDIA__) || !__SHMEDIA__).
22019         Change __SHMEDIA__ to defined (__SHMEDIA__) && __SHMEDIA__.
22021 2016-01-07  Daniel Jacobowitz  <dan@codesourcery.com>
22022             Joseph Myers  <joseph@codesourcery.com>
22023             Mark Shinwell  <shinwell@codesourcery.com>
22024             Andrew Stubbs  <ams@codesourcery.com>
22025             Rich Felker <dalias@libc.org>
22027         * longlong.h (udiv_qrnnd): Add FDPIC compatible version for SH.
22029 2016-01-07  Richard Henderson  <rth@redhat.com>
22031         * longlong.h [__alpha] (umul_ppmm): Disable for c++.
22033 2016-01-07  Mike Frysinger  <vapier@gentoo.org>
22035         * sysdeps/unix/sysv/linux/fxstat64.c (___fxstat64): Change
22036         __ASSUME_ST_INO_64_BIT == 0 to !defined __ASSUME_ST_INO_64_BIT.
22037         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
22038         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
22039         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat32_conv): Likewise.
22041 2016-01-07  Paul Eggert  <eggert@cs.ucla.edu>
22042             Joseph Myers  <joseph@codesourcery.com>
22044         * timezone/private.h: Update from tzcode 2015g.
22045         * timezone/tzfile.h: Likewise.
22046         * timezone/tzselect.ksh: Likewise.
22047         * timezone/zdump.c: Likewise.
22048         * timezone/zic.c: Likewise.
22049         * timezone/ialloc.c: Remove file.
22050         * timezone/scheck.c: Likewise.
22051         * timezone/Makefile (extra-objs): Remove variable.
22052         ($(objpfx)zic): Do not depend on scheck.o and ialloc.o.
22053         (tz-cflags): Add -DHAVE_GETTEXT -DUSE_LTZ=0
22054         -Wno-maybe-uninitialized.
22055         (CFLAGS-zdump.c): Remove -fwrapv -DNOID -DHAVE_GETTEXT.
22056         (CFLAGS-zic.c): Remove -DNOID -DHAVE_GETTEXT.
22057         (CFLAGS-ialloc.c): Remove variable.
22058         (CFLAGS-scheck.c): Likewise.
22059         * timezone/README: Update list of files from tzcode.
22061 2016-01-07  Khem Raj  <raj.khem@gmail.com>
22063         * argp/argp-fmtstream.c (__argp_fmtstream_free): Use fwrite_unlocked
22064         instead of __fxprintf when _LIBC is undefined.
22066 2016-01-07  Marko Myllynen  <myllynen@redhat.com>
22068         * catgets/test-gencat.sh: Remove space after shebang.
22069         * conform/GlibcConform.pm: Likewise.
22070         * conform/check-header-lists.sh: Likewise.
22071         * conform/conformtest.pl: Likewise.
22072         * conform/linknamespace.pl: Likewise.
22073         * conform/list-header-symbols.pl: Likewise.
22074         * debug/catchsegv.sh: Likewise.
22075         * elf/genrtldtbl.awk: Likewise.
22076         * elf/tst-pathopt.sh: Likewise.
22077         * elf/tst-rtld-load-self.sh: Likewise.
22078         * grp/tst_fgetgrent.sh: Likewise.
22079         * iconvdata/gen-8bit-gap-1.sh: Likewise.
22080         * iconvdata/gen-8bit-gap.sh: Likewise.
22081         * iconvdata/gen-8bit.sh: Likewise.
22082         * iconvdata/run-iconv-test.sh: Likewise.
22083         * intl/tst-gettext.sh: Likewise.
22084         * intl/tst-gettext2.sh: Likewise.
22085         * intl/tst-gettext4.sh: Likewise.
22086         * intl/tst-gettext6.sh: Likewise.
22087         * intl/tst-translit.sh: Likewise.
22088         * io/ftwtest-sh: Likewise.
22089         * libio/test-freopen.sh: Likewise.
22090         * locale/gen-translit.pl: Likewise.
22091         * malloc/tst-mtrace.sh: Likewise.
22092         * manual/check-safety.sh: Likewise.
22093         * manual/libc-texinfo.sh: Likewise.
22094         * manual/tsort.awk: Likewise.
22095         * manual/xtract-typefun.awk: Likewise.
22096         * nptl/tst-cancel-wrappers.sh: Likewise.
22097         * nptl/tst-tls6.sh: Likewise.
22098         * posix/globtest.sh: Likewise.
22099         * posix/tst-getconf.sh: Likewise.
22100         * posix/wordexp-tst.sh: Likewise.
22101         * scripts/check-c++-types.sh: Likewise.
22102         * scripts/check-local-headers.sh: Likewise.
22103         * scripts/config.guess: Likewise.
22104         * scripts/config.sub: Likewise.
22105         * scripts/cpp: Likewise.
22106         * scripts/cross-test-ssh.sh: Likewise.
22107         * scripts/documented.sh: Likewise.
22108         * scripts/evaluate-test.sh: Likewise.
22109         * scripts/gen-libc-abis: Likewise.
22110         * scripts/gen-sorted.awk: Likewise.
22111         * scripts/list-fixed-bugs.py: Likewise.
22112         * scripts/merge-test-results.sh: Likewise.
22113         * scripts/mkinstalldirs: Likewise.
22114         * scripts/rellns-sh: Likewise.
22115         * scripts/test-installation.pl: Likewise.
22116         * scripts/update-copyrights: Likewise.
22117         * stdio-common/tst-printf.sh: Likewise.
22118         * stdio-common/tst-unbputc.sh: Likewise.
22119         * stdlib/tst-fmtmsg.sh: Likewise.
22120         * stdlib/tst-setcontext3.sh: Likewise.
22121         * sysdeps/i386/tst-ld-sse-use.sh: Likewise.
22122         * sysdeps/unix/make-syscalls.sh: Likewise.
22124 2016-01-06  John David Anglin  <dave.anglin@bell.net>
22126         * sysdeps/hppa/nptl/pthread_spin_init.c (pthread_spin_init): Replace
22127         asm stw with atomic_exchange_rel.  Add explanatory comment.
22128         * sysdeps/hppa/nptl/pthread_spin_unlock.c (pthread_spin_unlock):
22129         Likewise.
22131 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
22133         [BZ #19122]
22134         * include/unistd.h [IS_IN (rtld)]: Include <dl-unistd.h>.
22135         * sysdeps/generic/dl-unistd.h: New file.
22136         * sysdeps/mach/hurd/dl-unistd.h: Likewise.
22138 2016-01-05  H.J. Lu  <hongjiu.lu@intel.com>
22140          [BZ #19122]
22141          * include/sys/mman.h [IS_IN (rtld)]: Include <dl-mman.h>.
22142          * sysdeps/generic/dl-mman.h: New file.
22143          * sysdeps/mach/hurd/dl-mman.h: Likewise.
22145 2016-01-05  Joseph Myers  <joseph@codesourcery.com>
22147         * manual/texinfo.tex: Update to version 2016-01-04.21 with
22148         trailing whitespace removed.
22149         * scripts/config.guess: Update to version 2016-01-01.
22150         * scripts/config.sub: Update to version 2016-01-01.
22151         * scripts/move-if-change: Update from gnulib.
22153 2016-01-04  Anton Blanchard  <anton@samba.org>
22155         * sysdeps/ieee754/dbl-64/e_pow.c (log1): Use unsigned int
22156         for array indices.
22157         * sysdeps/ieee754/dbl-64/e_pow.c (my_log2): Likewise.
22159 2016-01-04  Joseph Myers  <joseph@codesourcery.com>
22161         * NEWS: Update copyright dates.
22162         * catgets/gencat.c (print_version): Likewise.
22163         * csu/version.c (banner): Likewise.
22164         * debug/catchsegv.sh: Likewise.
22165         * debug/pcprofiledump.c (print_version): Likewise.
22166         * debug/xtrace.sh (do_version): Likewise.
22167         * elf/ldconfig.c (print_version): Likewise.
22168         * elf/ldd.bash.in: Likewise.
22169         * elf/pldd.c (print_version): Likewise.
22170         * elf/sotruss.sh: Likewise.
22171         * elf/sprof.c (print_version): Likewise.
22172         * iconv/iconv_prog.c (print_version): Likewise.
22173         * iconv/iconvconfig.c (print_version): Likewise.
22174         * locale/programs/locale.c (print_version): Likewise.
22175         * locale/programs/localedef.c (print_version): Likewise.
22176         * login/programs/pt_chown.c (print_version): Likewise.
22177         * malloc/memusage.sh (do_version): Likewise.
22178         * malloc/memusagestat.c (print_version): Likewise.
22179         * malloc/mtrace.pl: Likewise.
22180         * manual/libc.texinfo: Likewise.
22181         * nptl/version.c (banner): Likewise.
22182         * nscd/nscd.c (print_version): Likewise.
22183         * nss/getent.c (print_version): Likewise.
22184         * nss/makedb.c (print_version): Likewise.
22185         * posix/getconf.c (main): Likewise.
22186         * scripts/test-installation.pl: Likewise.
22187         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
22189         * All files with FSF copyright notices: Update copyright dates
22190         using scripts/update-copyrights.
22191         * intl/plural.c: Regenerated.
22192         * locale/programs/charmap-kw.h: Likewise.
22193         * locale/programs/locfile-kw.h: Likewise.
22195 2016-01-02  Helge Deller  <deller@gmx.de>
22197         [BZ #19285]
22198         * sysdeps/unix/sysv/linux/hppa/bits/mman.h (MAP_STACK): Define.
22199         (MAP_HUGETLB, MCL_ONFAULT): Likewise.
22200         (MADV_HUGEPAGE, MADV_NOHUGEPAGE, MADV_DONTDUMP, MADV_DODUMP): Likewise.
22201         (MADV_xxK_PAGES): Remove.
22203 2016-01-01  Mike Frysinger  <vapier@gentoo.org>
22205         [BZ #15421]
22206         * sysdeps/ia64/fpu/w_lgamma_main.c: Include math.h & math_private.h.
22207         [BUILD_LGAMMA]: Wrap all code by define.  Re-indent sub-preprocessor.
22208         * sysdeps/ia64/fpu/w_lgammaf_main.c: Likewise.
22209         * sysdeps/ia64/fpu/w_lgammal_main.c: Likewise.
22211 2015-12-30  Dmitry V. Levin  <ldv@altlinux.org>
22213         [BZ #19408]
22214         * sysdeps/unix/sysv/linux/personality.c: New file.
22215         * sysdeps/unix/sysv/linux/sparc/sparc64/personality.c: Likewise.
22216         * sysdeps/unix/sysv/linux/tst-personality.c: Likewise.
22217         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == misc]
22218         (sysdep_routines): Add personality.
22219         (tests): Add tst-personality.
22220         * sysdeps/unix/sysv/linux/syscalls.list (personality): Move ...
22221         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ... here.
22222         * sysdeps/unix/sysv/linux/arm/syscalls.list (personality): New entry.
22223         * sysdeps/unix/sysv/linux/hppa/syscalls.list (personality): Likewise.
22224         * sysdeps/unix/sysv/linux/i386/syscalls.list (personality): Likewise.
22225         * sysdeps/unix/sysv/linux/m68k/syscalls.list (personality): Likewise.
22226         * sysdeps/unix/sysv/linux/microblaze/syscalls.list (personality):
22227         Likewise.
22228         * sysdeps/unix/sysv/linux/mips/mips64/n32/syscalls.list (personality):
22229         Likewise.
22230         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (personality):
22231         Likewise.
22232         * sysdeps/unix/sysv/linux/sh/syscalls.list (personality): Likewise.
22233         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list (personality):
22234         Likewise.
22236 2015-12-30  Aurelien Jarno  <aurelien@aurel32.net>
22238         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include <string.h>.
22239         (PATH_ARM_SYSTYPE): Remove.
22240         (PATH_CPUINFO): Likewise.
22241         (IO_BASE_FOOTBRIDGE): Likewise.
22242         (IO_SHIFT_FOOTBRIDGE): Likewise.
22243         (struct platform): Likewise.
22244         (init_iosys): Remove compatibility code for 2.4 kernels.
22245         * sysdeps/unix/sysv/linux/arm/localplt.data: Remove fscanf.
22247 2015-12-29  Florian Weimer  <fweimer@redhat.com>
22249         * malloc/tst-malloc-thread-fail.c: New file.
22250         * malloc/Makefile (tests): Add tst-malloc-thread-fail.
22251         (tst-malloc-thread-fail): Link against libpthread.
22253 2015-12-29  Mike Frysinger  <vapier@gentoo.org>
22255         * scripts/list-fixed-bugs.py: Import argparse.  Call main instead.
22256         (get_parser): New function.
22257         (main): New function.
22259 2015-12-29  Rob Wu  <rob@robwu.nl>
22261         [BZ #19369]
22262         * resolv/res_init.c (__res_vinit): Reset defdname before use.
22264 2015-12-29  John David Anglin  <danglin@gcc.gnu.org>
22266         [BZ #19270]
22267         * sysdeps/hppa/fpu/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
22269 2015-12-28  Mike Frysinger  <vapier@gentoo.org>
22271         [BZ #15421]
22272         * sysdeps/ia64/fpu/w_lgamma_main.c: Change gammaf to gamma.
22274 2015-12-23  Torvald Riegel  <triegel@redhat.com>
22276         [BZ #13690]
22277         * sysdeps/nptl/lowlevellock.h (__lll_unlock): Do not access the lock
22278         after releasing it.
22279         (__lll_robust_unlock): Likewise.
22280         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
22281         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (lll_unlock): Likewise.
22282         (lll_robust_unlock): Likewise.
22283         * sysdeps/unix/sysv/linux/lowlevellock-futex.h (__lll_private_flag):
22284         Prevent warnings in callers.
22286 2015-12-23  Florian Weimer  <fweimer@redhat.com>
22288         * malloc/arena.c (list_lock): Update comment.
22290 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
22292         * sysdeps/powerpc/hwcapinfo.c: Export symbol
22293         __parse_hwcap_and_convert_at_platform to libc.a.
22295 2015-12-22  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
22297         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Added
22298         platform and feature support for POWER9.
22299         * sysdeps/powerpc/dl-procinfo.h: Likewise.
22300         * sysdeps/powerpc/powerpc32/power9/Implies: New file.
22301         * sysdeps/powerpc/powerpc32/power9/fpu/multiarch/Implies: Likewise.
22302         * sysdeps/powerpc/powerpc32/power9/multiarch/Implies: Likewise.
22303         * sysdeps/powerpc/powerpc64/power9/Implies: Likewise, for powerpc64.
22304         * sysdeps/powerpc/powerpc64/power9/fpu/Implies: Likewise.
22305         * sysdeps/powerpc/powerpc64/power9/fpu/multiarch/Implies: Likewise.
22306         * sysdeps/powerpc/powerpc64/power9/multiarch/Implies: Likewise.
22308 2015-12-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22310         Harmonize generic stdio-lock support with nptl
22312         This fixes build when _IO_funlockfile is a macro, fixes build where
22313         _IO_acquire_lock_clear_flags2 is used, and fixes unlocking on unexpected
22314         stack unwind.
22316         * sysdeps/generic/stdio-lock.h [__EXCEPTIONS] (_IO_acquire_lock,
22317         _IO_release_lock ): Use cleanup attribute on new
22318         _IO_acquire_lock_file variable instead of assuming that
22319         _IO_release_lock will be called.
22320         [!__EXCEPTIONS] (_IO_acquire_lock): Define to non-existing
22321         _IO_acquire_lock_needs_exceptions_enabled.
22322         (_IO_acquire_lock_clear_flags2): New macro.
22324 2015-12-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22326         * sysdeps/powerpc/fpu/libm-test-ulps: Regenerated.
22328 2015-12-21  Florian Weimer  <fweimer@redhat.com>
22330         [BZ #19182]
22331         * malloc/arena.c (list_lock): Document lock ordering requirements.
22332         (free_list_lock): New lock.
22333         (ptmalloc_lock_all): Comment on free_list_lock.
22334         (ptmalloc_unlock_all2): Reinitialize free_list_lock.
22335         (detach_arena): Update comment.  free_list_lock is now needed.
22336         (_int_new_arena): Use free_list_lock around detach_arena call.
22337         Acquire arena lock after list_lock.  Add comment, including FIXME
22338         about incorrect synchronization.
22339         (get_free_list): Switch to free_list_lock.
22340         (reused_arena): Acquire free_list_lock around detach_arena call
22341         and attached threads counter update.  Add two FIXMEs about
22342         incorrect synchronization.
22343         (arena_thread_freeres): Switch to free_list_lock.
22344         * malloc/malloc.c (struct malloc_state): Update comments to
22345         mention free_list_lock.
22347 2015-12-21  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
22349         * sysdeps/ieee754/dbl-64/s_sin.c (csloww, csloww1, csloww2):
22350         Remove functions.
22351         (sloww, sloww1): Accept argument to offset quadrant.
22352         (sloww, sloww1, sloww2): Call __mpsin or __mpcos based on
22353         quadrant.
22354         (__sin, __cos): Consolidate common code into new functions.
22355         (reduce_sincos_1, do_sincos_1): New functions.
22356         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
22358         * sysdeps/ieee754/dbl-64/s_sin.c (__sin, __cos): Move common
22359         code to new functions.
22360         (reduce_sincos_2, do_sincos_2): New functions.
22361         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Use them.
22363         * sysdeps/ieee754/dbl-64/s_sin.c (__sin) [!IN_SINCOS]: Skip
22364         common code for sincos.
22365         (__cos) [!IN_SINCOS]: Likewise.
22366         * sysdeps/ieee754/dbl-64/s_sincos.c (reduce_and_compute_sincos):
22367         New function.
22368         (__sincos): Use it.
22370 2015-12-20  Aurelien Jarno  <aurelien@aurel32.net>
22372         * sysdeps/i386/fpu/libm-test-ulps: Move to ....
22373         * sysdeps/i386/i686/multiarch/fpu/libm-test-ulps: ...here.
22374         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
22376 2015-12-19  Andrew Senkevich  <andrew.senkevich@intel.com>
22378         * sysdeps/x86_64/multiarch/memset-avx512-no-vzeroupper.S: New file.
22379         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Added new file.
22380         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Added new tests.
22381         * sysdeps/x86_64/multiarch/memset.S: Added new IFUNC branch.
22382         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
22383         * sysdeps/x86/cpu-features.h (bit_Prefer_No_VZEROUPPER,
22384         index_Prefer_No_VZEROUPPER): New feature.
22385         * sysdeps/x86/cpu-features.c (init_cpu_features): Set the
22386         Prefer_No_VZEROUPPER for Knights Landing.
22388 015-12-18  Torvald Riegel  <triegel@redhat.com>
22390         * math/atest-exp2.c (mp_exp_m1): Remove.
22392 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22394         * sysdeps/unix/sysdep.h (SYSCALL_CANCEL): Fix macro for zero argument
22395         syscalls.
22396         (__SYSCALL0): New macro.
22397         (__SYSCALL1): Likewise.
22398         (__SYSCALL2): Likewise.
22399         (__SYSCALL3): Likewise.
22400         (__SYSCALL4): Likewise.
22401         (__SYSCALL5): Likewise.
22402         (__SYSCALL6): Likewise.
22403         (__SYSCALL_CONCAT_X): Likewise.
22404         (__SYSCALL_CONCAT): Likewise.
22405         (__SYSCALL_DIST): Likewise.
22406         (__SYSCALL_CALL): Likewise.
22408 2015-12-17  H.J. Lu  <hongjiu.lu@intel.com>
22410         [BZ #19363]
22411         * sysdeps/unix/sysv/linux/x86_64/x32/times.c: New file.
22413 2015-12-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22415         [BZ #19375]
22416         * sysdeps/powerpc/power7/fpu/s_logb.c (__logb): Fix return for
22417         negative subnormals.
22419 2015-12-16  H.J. Lu  <hongjiu.lu@intel.com>
22421         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
22422         (REGISTERS_CLOBBERED_BY_SYSCALL): New.
22423         (INTERNAL_SYSCALL_NCS): Use it.
22424         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
22426 2015-12-16  Florian Weimer  <fweimer@redhat.com>
22428         [BZ #19243]
22429         * malloc/arena.c (get_free_list): Remove assert and adjust
22430         reference count handling.  Add comment about reused_arena
22431         interaction.
22432         (reused_arena): Add comments abount get_free_list interaction.
22433         * malloc/tst-malloc-thread-exit.c: New file.
22434         * malloc/Makefile (tests): Add tst-malloc-thread-exit.
22435         (tst-malloc-thread-exit): Link against libpthread.
22437 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
22439         [BZ #19367]
22440         * sysdeps/unix/sysv/linux/wordsize-64/mmap.c: New file.
22441         * sysdeps/unix/sysv/linux/x86_64/64/dl-librecon.h: Likewise.
22442         * sysdeps/unix/sysv/linux/x86_64/64/mmap.c: Likewise.
22443         * sysdeps/x86/cpu-features.h (bit_Prefer_MAP_32BIT_EXEC): New.
22444         (index_Prefer_MAP_32BIT_EXEC): Likewise.
22446 2015-12-15  H.J. Lu  <hongjiu.lu@intel.com>
22448         * sysdeps/x86/cpu-features.c (init_cpu_features): Enable
22449         Silvermont optimizations for Knights Landing.
22451 2015-12-15  Andreas Schwab  <schwab@suse.de>
22453         [BZ #17197]
22454         * iconvdata/ibm930.c (BODY for TO_LOOP): Record current DBCS state
22455         immediately after emitting SI.
22456         * iconvdata/ibm933.c (BODY for TO_LOOP): Likewise.
22457         * iconvdata/ibm935.c (BODY for TO_LOOP): Likewise.
22458         * iconvdata/ibm937.c (BODY for TO_LOOP): Likewise.
22459         * iconvdata/ibm939.c (BODY for TO_LOOP): Likewise.
22460         * iconvdata/bug-iconv10.c: New file.
22461         * iconvdata/Makefile (tests): Add bug-iconv10.
22462         ($(objpfx)bug-iconv10.out): New rule.
22464 2015-12-15  Florian Weimer  <fweimer@redhat.com>
22466         * dlfcn/tst-rec-dlopen.c (call_func): Cast dlsym result, fixing an
22467         aliasing violation.
22469 2015-12-14  Joseph Myers  <joseph@codesourcery.com>
22471         [BZ #18472]
22472         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Handle entries
22473         for the form NAME@VERSION:OBSOLETED and generate SHLIB_COMPAT
22474         conditionals for them.
22475         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Likewise.
22476         * sysdeps/unix/sysv/linux/sys/kdaemon.h: Remove file.
22477         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Remove
22478         sys/kdaemon.h.
22479         * sysdeps/unix/sysv/linux/syscalls.list (bdflush): Make into
22480         compat-only syscall, obsoleted in glibc 2.23.
22481         (create_module): Likewise.
22482         (get_kernel_syms): Likewise.
22483         (query_module): Likewise.
22484         (uselib): Likewise.
22485         * manual/sysinfo.texi (System Parameters): Do not mention bdflush.
22487 2015-12-11  Aurelien Jarno  <aurelien@aurel32.net>
22489         * sysdeps/unix/sysv/linux/arm/ioperm.c: Do not include
22490         <linux/version.h>.
22491         [LINUX_VERSION_CODE >= KERNEL_VERSION(2,4,23)]: Remove
22492         conditional code.
22493         (init_iosys): Use CTL_BUS_ISA instead of BUS_ISA in iobase_name
22494         and ioshift_name initialization.
22496 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
22498         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
22499         Fix indentation.
22501 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
22503         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Fix indentation.
22505 2015-12-11  Steve Ellcey  <sellcey@imgtec.com>
22507         * stdlib/strtol_l.c (__strtol_l): Fix indentation.
22509 2015-12-10  Aurelien Jarno  <aurelien@aurel32.net>
22510             Jakub Wilk  <jwilk@debian.org>
22512         [BZ #19347]
22513         * sysdeps/unix/grantpt.c [!HAVE_PT_CHOWN] (grantpt): Do not try
22514         to change the group of the device to the tty group.
22516 2015-12-10  Paul Eggert  <eggert@cs.ucla.edu>
22518         Split large string section; add truncation advice
22519         * manual/examples/strncat.c: Remove.
22520         This example was misleading, as the code would have undefined
22521         behavior if "hello" was longer than SIZE.  Anyway, the manual
22522         shouldn't encourage strncpy+strncat for this sort of thing.
22523         * manual/string.texi (Copying Strings and Arrays): Split into
22524         three sections Copying Strings and Arrays, Concatenating Strings,
22525         and Truncating Strings, as this section was way too long.  All
22526         cross-referenced changed.  Add advice about string-truncation
22527         functions.  Remove misleading strncat example.
22529 2015-12-10  Carlos O'Donell  <carlos@redhat.com>
22531         * manual/nss.texi (NSS Modules Interface): Document
22532         NSS_STATUS_NOTFOUND and SUCCESS.
22534 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
22536         [BZ 18568]
22537         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
22538         201505L, for Unicode 8.
22540 2015-12-09  Carlos O'Donell  <carlos@redhat.com>
22542         * locale/C-translit.h: Regenerate.
22544 2015-12-09  Mike FABIAN  <mfabian@redhat.com>
22546         * locale/C-translit.h.in: Remove duplicate transliterations for U+0152
22547         and U+0153.
22549 2015-12-09  Joseph Myers  <joseph@codesourcery.com>
22551         [BZ #19351]
22552         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): When
22553         expanding log(1+z), compare z rather than its square with epsilon
22554         to determine when to avoid evaluating the expansion.
22556         [BZ #19350]
22557         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
22558         Increase overflow threshold.
22560         [BZ #19349]
22561         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Return argument
22562         when small.
22564         * sysdeps/unix/sysv/linux/i386/kernel-features.h
22565         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
22566         New macro.
22567         [__LINUX_KERNEL_VERSION >= 0x040300]
22568         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
22569         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
22570         Likewise.
22571         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
22572         Likewise.
22573         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
22574         Likewise.
22575         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
22576         Likewise.
22577         [__LINUX_KERNEL_VERSION >= 0x040300]
22578         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
22579         [__LINUX_KERNEL_VERSION >= 0x040300]
22580         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
22581         [__LINUX_KERNEL_VERSION >= 0x040300]
22582         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
22583         [__LINUX_KERNEL_VERSION >= 0x040300]
22584         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
22585         [__LINUX_KERNEL_VERSION >= 0x040300]
22586         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
22587         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
22588         Likewise.
22589         [__LINUX_KERNEL_VERSION >= 0x040300]
22590         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
22591         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
22592         Likewise.
22593         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
22594         Likewise.
22595         [__LINUX_KERNEL_VERSION >= 0x040300]
22596         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
22597         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
22598         Likewise.
22599         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
22600         Likewise.
22601         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
22602         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMMSG_SYSCALL):
22603         Likewise.
22604         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMMSG_SYSCALL):
22605         Likewise.
22606         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SOCKET_SYSCALL):
22607         Likewise.
22608         [__LINUX_KERNEL_VERSION >= 0x040300]
22609         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
22610         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_BIND_SYSCALL):
22611         Likewise.
22612         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_CONNECT_SYSCALL):
22613         Likewise.
22614         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_LISTEN_SYSCALL):
22615         Likewise.
22616         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_ACCEPT4_SYSCALL):
22617         Likewise.
22618         [__LINUX_KERNEL_VERSION >= 0x040300]
22619         (__ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL): Likewise.
22620         [__LINUX_KERNEL_VERSION >= 0x040300]
22621         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
22622         [__LINUX_KERNEL_VERSION >= 0x040300]
22623         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
22624         [__LINUX_KERNEL_VERSION >= 0x040300]
22625         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
22626         [__LINUX_KERNEL_VERSION >= 0x040300]
22627         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
22628         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDTO_SYSCALL):
22629         Likewise.
22630         [__LINUX_KERNEL_VERSION >= 0x040300]
22631         (__ASSUME_SENDTO_FOR_SEND_SYSCALL): Likewise.
22632         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SENDMSG_SYSCALL):
22633         Likewise.
22634         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVFROM_SYSCALL):
22635         Likewise.
22636         [__LINUX_KERNEL_VERSION >= 0x040300]
22637         (__ASSUME_RECVFROM_FOR_RECV_SYSCALL): Likewise.
22638         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_RECVMSG_SYSCALL):
22639         Likewise.
22640         [__LINUX_KERNEL_VERSION >= 0x040300] (__ASSUME_SHUTDOWN_SYSCALL):
22641         Likewise.
22642         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
22643         (__ASSUME_SOCKET_SYSCALL): Likewise.
22644         (__ASSUME_BIND_SYSCALL): Likewise.
22645         (__ASSUME_CONNECT_SYSCALL): Likewise.
22646         (__ASSUME_LISTEN_SYSCALL): Likewise.
22647         (__ASSUME_ACCEPT_SYSCALL): Likewise.
22648         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
22649         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
22650         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
22651         (__ASSUME_SEND_SYSCALL): Likewise.
22652         (__ASSUME_SENDTO_SYSCALL): Likewise.
22653         (__ASSUME_RECV_SYSCALL): Likewise.
22654         (__ASSUME_RECVFROM_SYSCALL): Likewise.
22655         (__ASSUME_SHUTDOWN_SYSCALL): Likewise.
22656         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
22657         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
22658         (__ASSUME_SENDMSG_SYSCALL): Likewise.
22659         (__ASSUME_RECVMSG_SYSCALL): Likewise.
22660         * sysdeps/unix/sysv/linux/sh/kernel-features.h
22661         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SOCKET_SYSCALL):
22662         Likewise.
22663         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_BIND_SYSCALL):
22664         Likewise.
22665         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_CONNECT_SYSCALL):
22666         Likewise.
22667         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_LISTEN_SYSCALL):
22668         Likewise.
22669         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_ACCEPT_SYSCALL):
22670         Likewise.
22671         [__LINUX_KERNEL_VERSION >= 0x020625]
22672         (__ASSUME_GETSOCKNAME_SYSCALL): Likewise.
22673         [__LINUX_KERNEL_VERSION >= 0x020625]
22674         (__ASSUME_GETPEERNAME_SYSCALL): Likewise.
22675         [__LINUX_KERNEL_VERSION >= 0x020625]
22676         (__ASSUME_SOCKETPAIR_SYSCALL): Likewise.
22677         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SEND_SYSCALL):
22678         Likewise.
22679         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDTO_SYSCALL):
22680         Likewise.
22681         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECV_SYSCALL):
22682         Likewise.
22683         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVFROM_SYSCALL):
22684         Likewise.
22685         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SHUTDOWN_SYSCALL):
22686         Likewise.
22687         [__LINUX_KERNEL_VERSION >= 0x020625]
22688         (__ASSUME_GETSOCKOPT_SYSCALL): Likewise.
22689         [__LINUX_KERNEL_VERSION >= 0x020625]
22690         (__ASSUME_SETSOCKOPT_SYSCALL): Likewise.
22691         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_SENDMSG_SYSCALL):
22692         Likewise.
22693         [__LINUX_KERNEL_VERSION >= 0x020625] (__ASSUME_RECVMSG_SYSCALL):
22694         Likewise.
22696 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
22698         * sysdeps/unix/sysv/linux/mips/configure.ac (has-mpf64): Define to
22699         record the current if the current ABI and CPU support the FP64
22700         extension.
22701         (has-modd-spreg): Define to record the current if the current ABI and
22702         CPU support 32-bit floating point values in odd FPU registers.
22703         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
22704         * sysdeps/mips/Makefile (tst-abi-fpxxomod): Only build when
22705         $(has-modd-spreg) equals yes.
22706         (tst-abi-fp64amod): Only build when $(has-mpf64) equals yes.
22707         (tst-abi-fp64mod): Only build when both $(has-mpf64) and
22708         $(has-modd-spreg) equal yes.
22710 2015-12-09  Aurelien Jarno  <aurelien@aurel32.net>
22712         * sysdeps/unix/grantpt.c (grantpt): Call__basename instead of
22713         basename.
22715 2015-12-08  Siddhesh Poyarekar  <sid@reserved-bit.com>
22717         * benchtests/Makefile (bench-math): Move ffs and ffsll...
22718         (bench-string): ... here.
22719         (bench): Add bench-string.
22720         (string-bench, wcsmbs-bench, stdlib-bench, stdio-common-bench): Rename
22721         to *-benchset to reflect what they are.
22722         (benchset): Adjust.
22724         * benchtests/sincos-inputs: Add inputs from sin-inputs and
22725         cos-inputs.
22727 2015-12-07  Andrew Senkevich  <andrew.senkevich@intel.com>
22729         * sysdeps/x86/fpu/bits/math-vector.h: W/o -fopenmp use GCC 6.*
22730         __attribute__ ((__simd__)) for vector math function declarations.
22732 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
22734         Fix typo in strncat, wcsncat manual entries
22735         * manual/string.texi (Copying and Concatenation): Fix typos in
22736         sample implementations of strncat and wcsncat, by having them use
22737         the old value of the destination length, not the new one.
22739 2015-12-04  Joseph Myers  <joseph@codesourcery.com>
22741         [BZ #16961]
22742         [BZ #16962]
22743         * math/s_nan.c (__nan): Use __strtod_nan instead of constructing a
22744         string on the stack for strtod.
22745         * math/s_nanf.c (__nanf): Use __strtof_nan instead of constructing
22746         a string on the stack for strtof.
22747         * math/s_nanl.c (__nanl): Use __strtold_nan instead of
22748         constructing a string on the stack for strtold.
22749         * stdlib/Versions (libc): Add __strtof_nan, __strtod_nan and
22750         __strtold_nan to GLIBC_PRIVATE.
22751         * math/test-nan-overflow.c: New file.
22752         * math/test-nan-payload.c: Likewise.
22753         * math/Makefile (tests): Add test-nan-overflow and
22754         test-nan-payload.
22756 2015-12-04  Paul Eggert  <eggert@cs.ucla.edu>
22758         Consistency about byte vs character in string.texi
22759         * manual/string.texi (String and Array Utilities):
22760         Distinguish more carefully among bytes, multibyte characters,
22761         and wide characters.  Use "byte" when talking about C 'char',
22762         to distinguish it more clearly from multibyte characters.
22763         Say "wide character" or "multibyte character" instead of
22764         "character", when a wide or multibyte character is intended.
22765         Similarly for "multibyte string" versus "string".
22766         Define these terms more carefully.
22768 2015-12-03  Chris Metcalf  <cmetcalf@ezchip.com>
22770         * sysdeps/arm/math_private.h (LDBL_CLASSIFY_COMPAT): New symbol.
22771         * sysdeps/microblaze/math_private.h (LDBL_CLASSIFY_COMPAT):
22772         Likewise.
22773         * sysdeps/mips/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
22774         * sysdeps/nios2/math_private.h (LDBL_CLASSIFY_COMPAT): Likewise.
22775         * sysdeps/sh/math_private.h: New file.
22776         * sysdeps/m68k/coldfire/fpu/math_private.h: Likewise.
22777         * sysdeps/ieee754/dbl-64/s_finite.c [defined NO_LONG_DOUBLE &&
22778         defined LDBL_CLASSIFY_COMPAT]: Create compat symbol for internal
22779         long double function name.
22780         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
22781         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
22782         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
22783         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
22784         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
22785         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist:
22786         Remove __finitel, __isinfl, and __isnanl.
22787         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
22788         Likewise.
22789         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
22790         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
22791         Remove __finitel.
22792         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
22793         Likewise.
22794         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
22796 2015-12-03  Andrew Senkevich  <andrew.senkevich@intel.com>
22798         * math/Makefile ($(inst_libdir)/libm.so): Corrected path to
22799         installed libmvec_nonshared.a.
22801 2015-12-03  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
22803         * sysdeps/powerpc/Makefile (sysdep-dl-routines): Add hwcapinfo.
22804         (sysdep_routines): Likewise.
22805         (sysdep-rtld-routines): Likewise.
22806         [$(subdir) = nptl](tests): Add test-get_hwcap and test-get_hwcap-static
22807         [$(subdir) = nptl](tests-static): test-get_hwcap-static
22808         * sysdeps/powerpc/Versions: Added new
22809         __parse_hwcap_and_convert_at_platform symbol to GLIBC-2.23.
22810         * sysdeps/powerpc/hwcapinfo.c: New file.
22811         (__tcb_parse_hwcap_and_convert_at_platform): New function to initialize
22812         and parse hwcap, hwcap2 and platform number information.
22813         * sysdeps/powerpc/hwcapinfo.h: New file.  Creates global variables
22814         to store HWCAP+HWCAP2 and platform number.
22815         * sysdeps/powerpc/nptl/tcb-offsets.sym: Added new offsets
22816         for HWCAP+HWCAP2 and platform number in the TCB.
22817         * sysdeps/powerpc/nptl/tls.h: New functionality.  Stores
22818         the HWCAP, HWCAP2 and platform number in the TCB.
22819         (dtv): Added new fields for HWCAP+HWCAP2 and platform number.
22820         (TLS_INIT_TP): Included calls to add the hwcap and
22821         at_platform values in the TCB in TP initialization.
22822         (TLS_DEFINE_INIT_TP): Likewise.
22823         (THREAD_GET_HWCAP): New macro.
22824         (THREAD_SET_HWCAP): Likewise.
22825         (THREAD_GET_AT_PLATFORM): Likewise.
22826         (THREAD_SET_AT_PLATFORM): Likewise.
22827         * sysdeps/powerpc/powerpc32/dl-machine.h:
22828         (dl_platform_init): New function that calls
22829         __parse_hwcap_and_convert_at_platform for the dymanic linking case for
22830         powerpc32.
22831         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise, for powerpc64.
22832         * sysdeps/powerpc/test-get_hwcap-static.c: New file.  Testcase for
22833         this functionality, static linking case.
22834         * sysdeps/powerpc/test-get_hwcap.c: New file.  Likewise, dynamic
22835         linking case.
22836         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Added call to
22837         __parse_hwcap_and_convert_at_platform for the static linking case.
22838         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist:
22839         Included the new __parse_hwcap_and_convert_at_platform symbol in the
22840         ABI list for GLIBC 2.23.
22841         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist:
22842         Likewise.
22843         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist:
22844         Likewise.
22846 2015-12-02  Ludovic Courtès  <ludo@gnu.org>
22848         * configure.ac: Use 'pwd -P' instead of '/bin/pwd'.
22849         * configure: Regenerate.
22850         * io/ftwtest-sh: Use 'pwd -P' instead of '/bin/pwd'.
22851         * scripts/rellns-sh: Likewise.  Remove 'pwd' variable.
22853 2015-12-02  Carlos O'Donell  <carlos@redhat.com>
22855         * iconvdata/ibm930.c: Add comment explaining encoding uses.
22856         * iconvdata/ibm933.c: Likewise.
22857         * iconvdata/ibm935.c: Likewise.
22858         * iconvdata/ibm937.c: Likewise.
22859         * iconvdata/ibm939.c: Likewise.
22861 2015-12-02  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
22863         * nptl/tst-cancel20.c (do_one_test): Move the pipe closing after
22864         pthread_join.
22865         * nptl/tst-cancel21.c (tf): Likewise.
22867 2015-12-01  H.J. Lu  <hongjiu.lu@intel.com>
22869         [BZ #19313]
22870         * bits/typesizes.h (__CPU_MASK_TYPE): New.
22871         * sysdeps/mach/hurd/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
22872         * sysdeps/nacl/bits/typesizes.h (__CPU_MASK_TYPE): Likewise.
22873         * sysdeps/unix/sysv/linux/alpha/bits/typesizes.h (__CPU_MASK_TYPE):
22874         Likewise.
22875         * sysdeps/unix/sysv/linux/generic/bits/typesizes.h (__CPU_MASK_TYPE):
22876         Likewise.
22877         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h (__CPU_MASK_TYPE):
22878         Likewise.
22879         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h (__CPU_MASK_TYPE):
22880         Likewise.
22881         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h (__CPU_MASK_TYPE):
22882         * sysdeps/unix/sysv/linux/bits/sched.h (__cpu_mask): Replace
22883         unsigned long int with __CPU_MASK_TYPE.
22885 2015-12-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
22887         * sysdeps/aarch64/libm-test-ulps: Regenerated.
22889 2015-12-01  Joseph Myers  <joseph@codesourcery.com>
22891         * sysdeps/ieee754/dbl-64/e_sqrt.c: Do not include uroot.h.
22892         (__ieee754_sqrt): Use hex float constants instead of tm256.x and
22893         t512.x.
22894         * sysdeps/ieee754/dbl-64/uroot.h: Remove file.
22896 2015-11-30  Amit Pawar  <amit.pawar@amd.com>
22898         [BZ #19214]
22899         * sysdeps/x86/cpu-features.c (get_common_indeces): Add an
22900         argument to return extended model.  Update family and model
22901         with extended family and model when family == 0x0f.
22902         (init_cpu_features): Updated.
22904 2015-11-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22906         The RPC interface used by mmap uses the unsigned vm_offset_t, not the
22907         signed off_t, so 32bit bigger than 2GiB values are fine actually.
22909         * sysdeps/mach/hurd/mmap64.c: New file.
22911 2015-11-29  Thomas Schwinge  <thomas@codesourcery.com>
22913         * sysdeps/mach/hurd/fork.c (__fork): Install correct number of send
22914         rights for its main user thread in NEWTASK.
22916 2015-11-28  Maciej W. Rozycki  <macro@imgtec.com>
22918         * sysdeps/mips/fpu_control.h (_FPU_RESERVED): Include ABS2008.
22919         (_FPU_DEFAULT, _FPU_IEEE) [__mips_nan2008]: Set ABS2008.
22921 2015-11-27  Carlos O'Donell  <carlos@redhat.com>
22923         [BZ #14259]
22924         * Makeconfig: Rename localedir to complocaledir.
22925         Rename inst_localedir to inst_complocaledir.
22926         * aclocal.m4: Rename libc_cv_localedir to libc_cv_complocaledir.
22927         * config.make.in: Use complocaledir and libc_cv_complocaledir.
22928         * configure.ac: Use libc_cv_complocaledir.
22929         * configure: Regenerate.
22930         * locale/Makefile: Use complocaledir. Rename define -DLOCALEDIR to
22931         -DCOMPLOCALEDIR.
22932         * locale/findlocale.c: Use COMPLOCALEDIR.
22933         * locale/loadarchive.c: Likewise.
22934         * locale/programs/locale.c: Likewise.
22935         * locale/programs/localedef.c: Likewise.
22936         * locale/programs/locarchive.c: Likewise.
22937         * localedata/Makefile: Use inst_complocaledir.
22938         * sysdeps/gnu/configure: Regenerate.
22939         * sysdeps/hppa/configure: Regenerate.
22940         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerate.
22941         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
22942         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
22943         * sysdeps/unix/sysv/linux/s390/s390-64/configure: Regenerate.
22944         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: Regenerate.
22945         * sysdeps/unix/sysv/linux/x86_64/64/configure: Regenerate.
22946         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Regenerate.
22948 2015-11-27  Andrew Senkevich  <andrew.senkevich@intel.com>
22950         [BZ #19058]
22951         * math/Makefile ($(inst_libdir)/libm.so): Added libmvec_nonshared.a to
22952         AS_NEEDED.
22953         * sysdeps/x86/fpu/bits/math-vector.h: Removed code with asm aliases
22954         workaround.
22955         * sysdeps/x86_64/fpu/Makefile (libmvec-support,
22956         libmvec-static-only-routines): Added new file.
22957         * sysdeps/x86_64/fpu/svml_finite_alias.S: New file.
22959 2015-11-25  Samuel Thibault  <samuel.thibault@ens-lyon.org>
22961         * hurd/sigunwind.c (_hurdsig_longjmp_from_handler): Destroy reply port
22962         of interrupted RPC instead of restoring it.
22964         * sysdeps/i386/setjmp.S (__sigsetjmp): Add hidden_def.
22965         * sysdeps/mach/hurd/accept4.c (__libc_accept4): Remove
22966         libc_hidden_def.
22967         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Initialize to get
22968         into initialized data instead of common. Define rtld_hidden_data_def.
22969         * sysdeps/mach/hurd/fxstatat64.c (__fxstatat64): Add libc_hidden_def.
22970         * sysdeps/mach/hurd/if_index.c (__if_freenameindex): Add
22971         libc_hidden_def.
22972         (if_freenameindex): Add libc_hidden_weak.
22973         (if_nameindex): Add libc_hidden_weak.
22974         * sysdeps/mach/hurd/open.c (_open64): Rename libc_hidden_weak into
22975         __open64.
22976         * sysdeps/mach/hurd/sigwait.c (__sigwait): Add libc_hidden_def.
22977         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Add libc_hidden_def.
22978         * sysdeps/mach/nanosleep.c: Include <time.h>
22979         (__nanosleep): Rename to __libc_nanosleep.
22980         (__nanosleep): Add weak_alias.
22981         (nanosleep): Update alias.
22983 2015-11-24  Joseph Myers  <joseph@codesourcery.com>
22985         * stdlib/strtod_nan.c: New file.
22986         * stdlib/strtod_nan_double.h: Likewise.
22987         * stdlib/strtod_nan_float.h: Likewise.
22988         * stdlib/strtod_nan_main.c: Likewise.
22989         * stdlib/strtod_nan_narrow.h: Likewise.
22990         * stdlib/strtod_nan_wide.h: Likewise.
22991         * stdlib/strtof_nan.c: Likewise.
22992         * stdlib/strtold_nan.c: Likewise.
22993         * sysdeps/ieee754/ldbl-128/strtod_nan_ldouble.h: Likewise.
22994         * sysdeps/ieee754/ldbl-128ibm/strtod_nan_ldouble.h: Likewise.
22995         * sysdeps/ieee754/ldbl-96/strtod_nan_ldouble.h: Likewise.
22996         * wcsmbs/wcstod_nan.c: Likewise.
22997         * wcsmbs/wcstof_nan.c: Likewise.
22998         * wcsmbs/wcstold_nan.c: Likewise.
22999         * stdlib/Makefile (routines): Add strtof_nan, strtod_nan and
23000         strtold_nan.
23001         * wcsmbs/Makefile (routines): Add wcstod_nan, wcstold_nan and
23002         wcstof_nan.
23003         * include/stdlib.h (__strtof_nan): Declare and use
23004         libc_hidden_proto.
23005         (__strtod_nan): Likewise.
23006         (__strtold_nan): Likewise.
23007         (__wcstof_nan): Likewise.
23008         (__wcstod_nan): Likewise.
23009         (__wcstold_nan): Likewise.
23010         * include/wchar.h (____wcstoull_l_internal): Declare.
23011         * stdlib/strtod_l.c: Do not include <ieee754.h>.
23012         (____strtoull_l_internal): Remove declaration.
23013         (STRTOF_NAN): Define macro.
23014         (SET_MANTISSA): Remove macro.
23015         (STRTOULL): Likewise.
23016         (____STRTOF_INTERNAL): Use STRTOF_NAN to parse NaN payload.
23017         * stdlib/strtof_l.c (____strtoull_l_internal): Remove declaration.
23018         (STRTOF_NAN): Define macro.
23019         (SET_MANTISSA): Remove macro.
23020         * sysdeps/ieee754/ldbl-128/strtold_l.c (STRTOF_NAN): Define macro.
23021         (SET_MANTISSA): Remove macro.
23022         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (STRTOF_NAN): Define
23023         macro.
23024         (SET_MANTISSA): Remove macro.
23025         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (STRTOF_NAN): Define
23026         macro.
23027         (SET_MANTISSA): Remove macro.
23028         * sysdeps/ieee754/ldbl-96/strtold_l.c (STRTOF_NAN): Define macro.
23029         (SET_MANTISSA): Remove macro.
23030         * wcsmbs/wcstod_l.c (____wcstoull_l_internal): Remove declaration.
23031         * wcsmbs/wcstof_l.c (____wcstoull_l_internal): Likewise.
23032         * wcsmbs/wcstold_l.c (____wcstoull_l_internal): Likewise.
23034         [BZ #19266]
23035         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check directly for
23036         upper case and lower case letters inside NAN(), not using TOLOWER.
23037         * stdlib/tst-strtod-nan-locale-main.c: New file.
23038         * stdlib/tst-strtod-nan-locale.c: Likewise.
23039         * stdlib/Makefile (tests): Add tst-strtod-nan-locale.
23040         [$(run-built-tests) = yes] ($(objpfx)tst-strtod-nan-locale.out):
23041         Depend on $(gen-locales).
23042         ($(objpfx)tst-strtod-nan-locale): Depend on $(libm).
23043         * wcsmbs/tst-wcstod-nan-locale.c: New file.
23044         * wcsmbs/Makefile (tests): Add tst-wcstod-nan-locale.
23045         [$(run-built-tests) = yes] ($(objpfx)tst-wcstod-nan-locale.out):
23046         Depend on $(gen-locales).
23047         ($(objpfx)tst-wcstod-nan-locale): Depend on $(libm).
23049 2015-11-24  Chris Metcalf  <cmetcalf@ezchip.com>
23051         * misc/tst-tsearch.c (TIMEOUT): Set to 10.
23053         * sysdeps/tile/bits/mathdef.h (__NO_LONG_DOUBLE_MATH): Define.
23054         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Add
23055         __finitel, __isinfl, and __isnanl.
23056         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist:
23057         Likewise.
23058         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
23059         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: Add
23060         __finitel.
23061         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
23062         Likewise.
23063         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
23065 2015-11-24  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
23067         * malloc/memusage.c (me): Remove redundant getenv call.
23069 2015-10-24  Florian Weimer  <fweimer@redhat.com>
23071         [BZ #19143]
23072         [BZ #19164]
23073         * nptl/check-cpuset.h: Remove.
23074         * nptl/pthread_attr_setaffinity.c (__pthread_attr_setaffinity_new):
23075         Remove CPU set size check.
23076         * nptl/pthread_setattr_default_np.c (pthread_setattr_default_np):
23077         Likewise.
23078         * sysdeps/unix/sysv/linux/check-cpuset.h: Remove.
23079         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
23080         (__kernel_cpumask_size, __determine_cpumask_size): Remove.
23081         (__pthread_setaffinity_new): Remove CPU set size check.
23082         * sysdeps/unix/sysv/linux/sched_setaffinity.c
23083         (__kernel_cpumask_size): Remove.
23084         (__sched_setaffinity_new): Remove CPU set size check.
23085         * manual/threads.texi (Default Thread Attributes): Remove stale
23086         reference to check_cpuset_attr, determine_cpumask_size in comment.
23087         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == posix] (tests):
23088         Remove tst-getcpu.  Add tst-affinity, tst-affinity-pid.
23089         [$(subdir) == nptl] (tests): Add tst-thread-affinity-pthread,
23090         tst-thread-affinity-pthread2, tst-thread-affinity-sched.
23091         * sysdeps/unix/sysv/linux/tst-affinity.c: New file.
23092         * sysdeps/unix/sysv/linux/tst-affinity-pid.c: New file.
23093         * sysdeps/unix/sysv/linux/tst-skeleton-affinity.c: New skeleton test file.
23094         * sysdeps/unix/sysv/linux/tst-thread-affinity-sched.c: New file.
23095         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread.c: New file.
23096         * sysdeps/unix/sysv/linux/tst-thread-affinity-pthread2.c: New file.
23097         * sysdeps/unix/sysv/linux/tst-thread-skeleton-affinity.c: New
23098         skeleton test file.
23099         * sysdeps/unix/sysv/linux/tst-getcpu.c: Remove.  Superseded by
23100         tst-affinity-pid.
23102 2015-11-24  Florian Weimer  <fweimer@redhat.com>
23104         * scripts/update-abilist.sh: New file.
23105         * Makefile (+subdir_targets): Add subdir_update-all-abi.
23106         * Makerules (update-all-abi-%, update-all-abi)
23107         (subdir_update-all-abi): New targets.
23108         * elf/Makefile (update-all-abi): New target.
23110 2015-11-24  Florian Weimer  <fweimer@redhat.com>
23112         Replace MUTEX_INITIALIZER with _LIBC_LOCK_INITIALIZER in generic code.
23113         * sysdeps/mach/hurd/libc-lock.h (_LIBC_LOCK_INITIALIZER): Define.
23114         (__libc_lock_define_initialized): Use it.
23115         * sysdeps/nptl/libc-lockP.h (_LIBC_LOCK_INITIALIZER): Define.
23116         * malloc/arena.c (list_lock): Use _LIBC_LOCK_INITIALIZER.
23117         * malloc/malloc.c (main_arena): Likewise.
23118         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): Remove.
23119         * sysdeps/nptl/malloc-machine.h (MUTEX_INITIALIZER): Remove.
23121 2015-11-23  Joseph Myers  <joseph@codesourcery.com>
23123         * sysdeps/unix/sysv/linux/aarch64/sys/ptrace.h
23124         (PTRACE_O_EXITKILL): New value in enum __ptrace_setoptions.
23125         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
23126         (PTRACE_O_MASK): Update value.
23127         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h (PTRACE_O_EXITKILL):
23128         New value in enum __ptrace_setoptions.
23129         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
23130         (PTRACE_O_MASK): Update value.
23131         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h
23132         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
23133         (PTRACE_O_MASK): Update value.
23134         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h
23135         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
23136         (PTRACE_O_MASK): Update value.
23137         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h
23138         (PTRACE_O_SUSPEND_SECCOMP): New value in enum __ptrace_setoptions.
23139         (PTRACE_O_MASK): Update value.
23140         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_SUSPEND_SECCOMP):
23141         New value in enum __ptrace_setoptions.
23142         (PTRACE_O_MASK): Update value.
23143         * sysdeps/unix/sysv/linux/tile/sys/ptrace.h (PTRACE_O_EXITKILL):
23144         New value in enum __ptrace_setoptions.
23145         (PTRACE_O_SUSPEND_SECCOMP): Likewise.
23146         (PTRACE_O_MASK): Update value.
23148         * sysdeps/unix/sysv/linux/netpacket/packet.h (PACKET_COPY_THRESH):
23149         New macro.
23150         (PACKET_AUXDATA): Likewise.
23151         (PACKET_ORIGDEV): Likewise.
23152         (PACKET_VERSION): Likewise.
23153         (PACKET_HDRLEN): Likewise.
23154         (PACKET_RESERVE): Likewise.
23155         (PACKET_TX_RING): Likewise.
23156         (PACKET_LOSS): Likewise.
23157         (PACKET_VNET_HDR): Likewise.
23158         (PACKET_TX_TIMESTAMP): Likewise.
23159         (PACKET_TIMESTAMP): Likewise.
23160         (PACKET_FANOUT): Likewise.
23161         (PACKET_TX_HAS_OFF): Likewise.
23162         (PACKET_QDISC_BYPASS): Likewise.
23163         (PACKET_ROLLOVER_STATS): Likewise.
23164         (PACKET_FANOUT_DATA): Likewise.
23165         (PACKET_MR_UNICAST): Likewise.
23167         [BZ #19242]
23168         * stdlib/strtol_l.c (ISALPHA): Use _nl_C_locobj_ptr for locale.
23169         (TOUPPER): Likewise.
23170         * stdlib/tst-strtol-locale-main.c: New file.
23171         * stdlib/tst-strtol-locale.c: Likewise.
23172         * stdlib/Makefile (tests): Add tst-strtol-locale.
23173         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.ISO-8859-9.
23174         [$(run-built-tests) = yes] ($(objpfx)tst-strtol-locale.out):
23175         Depend on $(gen-locales).
23176         * wcsmbs/tst-wcstol-locale.c: New file.
23177         * wcsmbs/Makefile (tests): Add tst-wcstol-locale.
23178         [$(run-built-tests) = yes] (LOCALES): Add tr_TR.UTF-8 and
23179         tr_TR.ISO-8859-9.
23180         [$(run-built-tests) = yes] ($(objpfx)tst-wcstol-locale.out):
23181         Depend on $(gen-locales).
23183 2015-11-20  Roland McGrath  <roland@hack.frob.com>
23185         * sysdeps/nacl/dl-map-segments.h (_dl_map_segments): Use
23186         __glibc_likely instead of __builtin_expect.  After falling back to
23187         dyncode_create in a non-ET_DYN case, use the allocate_code_data
23188         system interface to register the code pages as occupied.
23190 2015-11-20  Joseph Myers  <joseph@codesourcery.com>
23192         * sysdeps/arm/math_private.h [!_MATH_PRIVATE_H]: Change guard to
23193         [!ARM_MATH_PRIVATE_H].
23194         [!ARM_MATH_PRIVATE_H] (ARM_MATH_PRIVATE_H): Define macro.
23195         * sysdeps/hppa/math_private.h [!_MATH_PRIVATE_H]: Change guard to
23196         [!HPPA_MATH_PRIVATE_H].
23197         [!HPPA_MATH_PRIVATE_H] (HPPA_MATH_PRIVATE_H): Define macro.
23198         * sysdeps/i386/fpu/math_private.h [!_MATH_PRIVATE_H]: Change guard
23199         to [!I386_MATH_PRIVATE_H].
23200         [!I386_MATH_PRIVATE_H] (I386_MATH_PRIVATE_H): Define macro.
23201         * sysdeps/m68k/m680x0/fpu/math_private.h [!_MATH_PRIVATE_H]:
23202         Change guard to [!M68K_MATH_PRIVATE_H].
23203         [!M68K_MATH_PRIVATE_H] (M68K_MATH_PRIVATE_H): Define macro.
23204         * sysdeps/microblaze/math_private.h [!_MATH_PRIVATE_H]: Change
23205         guard to [!MICROBLAZE_MATH_PRIVATE_H].
23206         [!MICROBLAZE_MATH_PRIVATE_H] (MICROBLAZE_MATH_PRIVATE_H): Define
23207         macro.
23208         * sysdeps/mips/math_private.h [!_MATH_PRIVATE_H]: Change guard to
23209         [!MIPS_MATH_PRIVATE_H].
23210         [!MIPS_MATH_PRIVATE_H] (MIPS_MATH_PRIVATE_H): Define macro.
23211         * sysdeps/nios2/math_private.h [!_MATH_PRIVATE_H]: Change guard to
23212         [!NIO2_MATH_PRIVATE_H].
23213         [!NIO2_MATH_PRIVATE_H] (NIO2_MATH_PRIVATE_H): Define macro.
23214         * sysdeps/tile/math_private.h [!_MATH_PRIVATE_H]: Change guard to
23215         [!TILE_MATH_PRIVATE_H].
23216         [!TILE_MATH_PRIVATE_H] (TILE_MATH_PRIVATE_H): Define macro.
23218         [BZ #15421]
23219         * sysdeps/ieee754/s_signgam.c (signgam): Rename to __signgam,
23220         initialize with 0 and define as weak alias of __signgam.
23221         * include/math.h [!_ISOMAC] (__signgam): Declare.
23222         * math/Makefile (libm-calls): Add w_lgamma_compat.
23223         (tests): Add test-signgam-uchar, test-signgam-uchar-init,
23224         test-signgam-uint, test-signgam-uint-init, test-signgam-ullong and
23225         test-signgam-ullong-init.
23226         (tests-static): Add test-signgam-uchar-static,
23227         test-signgam-uchar-init-static, test-signgam-uint-static,
23228         test-signgam-uint-init-static, test-signgam-ullong-static and
23229         test-signgam-ullong-init-static.
23230         (CFLAGS-test-signgam-uchar.c): New variable.
23231         (CFLAGS-test-signgam-uchar-init.c): Likewise.
23232         (CFLAGS-test-signgam-uchar-static.c): Likewise.
23233         (CFLAGS-test-signgam-uchar-init-static.c): Likewise.
23234         (CFLAGS-test-signgam-uint.c): Likewise.
23235         (CFLAGS-test-signgam-uint-init.c): Likewise.
23236         (CFLAGS-test-signgam-uint-static.c): Likewise.
23237         (CFLAGS-test-signgam-uint-init-static.c): Likewise.
23238         (CFLAGS-test-signgam-ullong.c): Likewise.
23239         (CFLAGS-test-signgam-ullong-init.c): Likewise.
23240         (CFLAGS-test-signgam-ullong-static.c): Likewise.
23241         (CFLAGS-test-signgam-ullong-init-static.c): Likewise.
23242         * math/Versions (libm): Add GLIBC_2.23.
23243         * math/lgamma-compat.h: New file.
23244         * math/test-signgam-main.c: Likewise.
23245         * math/test-signgam-uchar-init-static.c: Likewise.
23246         * math/test-signgam-uchar-init.c: Likewise.
23247         * math/test-signgam-uchar-static.c: Likewise.
23248         * math/test-signgam-uchar.c: Likewise.
23249         * math/test-signgam-uint-init-static.c: Likewise.
23250         * math/test-signgam-uint-init.c: Likewise.
23251         * math/test-signgam-uint-static.c: Likewise.
23252         * math/test-signgam-uint.c: Likewise.
23253         * math/test-signgam-ullong-init-static.c: Likewise.
23254         * math/test-signgam-ullong-init.c: Likewise.
23255         * math/test-signgam-ullong-static.c: Likewise.
23256         * math/test-signgam-ullong.c: Likewise.
23257         * math/w_lgamma.c: Rename to w_lgamma_main.c and replace by
23258         wrapper of w_lgamma_main.c.
23259         * math/w_lgamma_compat.c: New file.
23260         * math/w_lgamma_compatf.c: Likewise.
23261         * math/w_lgamma_compatl.c: Likewise.
23262         * math/w_lgamma_main.c: New file.  Based on w_lgamma.c.  Include
23263         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
23264         defining compatibility symbols.
23265         (__lgamma): Change to LGFUNC (__lgamma).  Use CALL_LGAMMA.
23266         * math/w_lgammaf.c: Rename to w_lgammaf_main.c and replace by
23267         wrapper of w_lgammaf_main.c.
23268         * math/w_lgammaf_main.c: New file.  Based on w_lgammaf.c.  Include
23269         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
23270         defining compatibility symbols.
23271         (__lgammaf): Change to LGFUNC (__lgammaf).  Use CALL_LGAMMA.
23272         * math/w_lgammal.c: Rename to w_lgammal_main.c and replace by
23273         wrapper of w_lgammal_main.c.
23274         * math/w_lgammal_main.c: New file.  Based on w_lgammal.c.  Include
23275         <lgamma-compat.h>.  Condition contents on [BUILD_LGAMMA].  Support
23276         defining compatibility symbols.
23277         (__lgammal): Change to LGFUNC (__lgammal).  Use CALL_LGAMMA.
23278         * sysdeps/ia64/fpu/lgamma-compat.h: New file.
23279         * sysdeps/ia64/fpu/w_lgamma.c: Move to ....
23280         * sysdeps/ia64/fpu/w_lgamma_main.c: ...here.  Include
23281         <lgamma-compat.h>.
23282         (__ieee754_lgamma): Change to LGFUNC (lgamma).  Use CALL_LGAMMA.
23283         (__ieee754_gamma): Define as alias.
23284         * sysdeps/ia64/fpu/w_lgammaf.c: Move to ....
23285         * sysdeps/ia64/fpu/w_lgammaf_main.c: ...here.  Include
23286         <lgamma-compat.h>.
23287         (__ieee754_lgammaf): Change to LGFUNC (lgammaf).  Use CALL_LGAMMA.
23288         (__ieee754_gammaf): Define as alias.
23289         * sysdeps/ia64/fpu/w_lgammal.c: Move to ....
23290         * sysdeps/ia64/fpu/w_lgammal_main.c: ...here.  Include
23291         <lgamma-compat.h>.
23292         (__ieee754_lgammal): Change to LGFUNC (lgammal).  Use CALL_LGAMMA.
23293         (__ieee754_gammal): Define as alias.
23294         * sysdeps/ieee754/ldbl-opt/w_lgamma.c: Move to ....
23295         * sysdeps/ieee754/ldbl-opt/w_lgamma_compat.c: ...here.  Include
23296         <math/w_lgamma_compat.c>.
23297         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__lgammal_dbl_compat):
23298         Define as alias of __lgamma_compat and use in defining lgammal.
23299         * sysdeps/ieee754/ldbl-opt/w_lgammal.c: Move to ....
23300         * sysdeps/ieee754/ldbl-opt/w_lgamma_compatl.c: ...here.  Include
23301         <math/lgamma-compat.h> and <math/w_lgamma_compatl.c>.
23302         (USE_AS_COMPAT): New macro.
23303         (LGAMMA_OLD_VER): Undefine and redefine.
23304         (lgammal): Do not define here.
23305         (gammal): Only define here if [GAMMA_ALIAS].
23306         * conform/linknamespace.pl (@whitelist): Remove signgam.
23307         * sysdeps/nacl/libm.abilist: Update.
23308         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: Likewise.
23309         * sysdeps/unix/sysv/linux/alpha/libm.abilist: Likewise.
23310         * sysdeps/unix/sysv/linux/arm/libm.abilist: Likewise.
23311         * sysdeps/unix/sysv/linux/hppa/libm.abilist: Likewise.
23312         * sysdeps/unix/sysv/linux/i386/libm.abilist: Likewise.
23313         * sysdeps/unix/sysv/linux/ia64/libm.abilist: Likewise.
23314         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: Likewise.
23315         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: Likewise.
23316         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Likewise.
23317         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: Likewise.
23318         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: Likewise.
23319         * sysdeps/unix/sysv/linux/nios2/libm.abilist: Likewise.
23320         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist:
23321         Likewise.
23322         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
23323         Likewise.
23324         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist:
23325         Likewise.
23326         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist:
23327         Likewise.
23328         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: Likewise.
23329         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: Likewise.
23330         * sysdeps/unix/sysv/linux/sh/libm.abilist: Likewise.
23331         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: Likewise.
23332         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: Likewise.
23333         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist:
23334         Likewise.
23335         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist:
23336         Likewise.
23337         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: Likewise.
23338         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: Likewise.
23339         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: Likewise.
23341 2015-11-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23343         [BZ #16364]
23344         * sysdeps/unix/sysv/linux/sleep.c: Remove file.
23345         * sysdeps/posix/sleep.c (__sleep): Simplify cancellation handling.
23347 2015-11-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
23349         * sysdeps/s390/fpu/bits/mathinline.h:
23350         Use __asm__ [__volatile__] instead of asm [volatile].
23351         * sysdeps/s390/abort-instr.h: Likewise.
23352         * sysdeps/s390/atomic-machine.h: Likewise.
23353         * sysdeps/s390/bits/string.h: Likewise.
23354         * sysdeps/s390/dl-tls.h: Likewise.
23355         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
23356         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
23357         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
23358         * sysdeps/s390/fpu/fesetround.c: Likewise.
23359         * sysdeps/s390/fpu/fpu_control.h: Likewise.
23360         * sysdeps/s390/fpu/s_fma.c: Likewise.
23361         * sysdeps/s390/fpu/s_fmaf.c: Likewise.
23362         * sysdeps/s390/memusage.h: Likewise.
23363         * sysdeps/s390/multiarch/ifunc-resolve.h: Likewise.
23364         * sysdeps/s390/nptl/pthread_spin_lock.c: Likewise.
23365         * sysdeps/s390/nptl/pthread_spin_trylock.c: Likewise.
23366         * sysdeps/s390/nptl/pthread_spin_unlock.c: Likewise.
23367         * sysdeps/s390/nptl/tls.h: Likewise.
23368         * sysdeps/s390/s390-32/__longjmp.c: Likewise.
23369         * sysdeps/s390/s390-32/backtrace.c: Likewise.
23370         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
23371         * sysdeps/s390/s390-32/multiarch/memcmp.c: Likewise.
23372         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
23373         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
23374         * sysdeps/s390/s390-64/__longjmp.c: Likewise.
23375         * sysdeps/s390/s390-64/backtrace.c: Likewise.
23376         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
23377         * sysdeps/s390/s390-64/iso-8859-1_cp037_z900.c: Likewise.
23378         * sysdeps/s390/s390-64/multiarch/memcmp.c: Likewise.
23379         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
23380         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
23381         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Likewise.
23382         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
23383         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
23384         * sysdeps/unix/sysv/linux/s390/brk.c: Likewise.
23385         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
23386         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Likewise.
23387         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
23388         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c: Likewise.
23389         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
23390         * sysdeps/unix/sysv/linux/s390/sysconf.c: Likewise.
23392 2015-11-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
23393             Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
23395         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
23396         Add lwarx hint, and use macro for acquire instruction.
23397         * sysdeps/powerpc/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
23398         Likewise.
23399         * sysdep/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Move to ...
23400         * sysdeps/powerpc/nptl/pthread_spin_unlock.c: ... here, and
23401         update to use new atomic macros.
23403 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
23405         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
23406         (__lll_trylock_elision): Fix setting of adapt_count.
23407         * sysdeps/unix/sysv/linux/powerpc/htm.h
23408         (_ABORT_PERSISTENT): Define to clarify persistent aborts.
23409         (_ABORT_NESTED_TRYLOCK): Renumber, and make persistent.
23410         (_ABORT_SYSCALL): Renumber, and clarify definition.
23411         (_ABORT_LOCK_BUSY): Renumber, make non-persistent.
23413 2015-11-19  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
23415         * sysdeps/ieee754/ldbl-128ibm/mpn2ldl.c: Include gmp headers
23416         after system headers to prevent MIN/MAX redefinition.  Define
23417         HAVE_ALLOCA to preserve builtin alloca usage.
23419 2015-11-17  Siddhesh Poyarekar  <siddhesh.poyarekar@linaro.org>
23421         * sysdeps/ieee754/dbl-64/s_sin.c (__sin)[IN_SINCOS]: Mark function
23422         static and don't set or restore rounding.
23423         (__cos)[IN_SINCOS]: Likewise.
23424         * sysdeps/ieee754/dbl-64/s_sincos.c: Include s_sin.c.
23425         (__sincos): Set and restore rounding mode.  Remove check for infinite
23426         or NaN input.
23428         * sysdeps/ieee754/dbl-64/s_sin.c: Remove redundant else clauses.
23430         * benchtests/scripts/bench.py (_print_arg_data): Mark output variables
23431         as used.
23433 2015-11-16  Florian Weimer  <fweimer@redhat.com>
23435         * math/test-signgam-finite-c99.c (_Mlong_double_): Undefine.
23437 2015-11-14  H.J. Lu  <hongjiu.lu@intel.com>
23439         * config.make.in (have-glob-dat-reloc): New.
23440         * configure.ac (libc_cv_has_glob_dat): New.  Set to yes if
23441         target supports GLOB_DAT relocaton. AC_SUBST.
23442         * configure: Regenerated.
23443         * elf/Makefile (tests): Add tst-prelink.
23444         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
23445         (tst-prelink-ENV): New.
23446         ($(objpfx)tst-prelink-conflict.out): Likewise.
23447         ($(objpfx)tst-prelink-cmp.out): Likewise.
23448         * sysdeps/x86/tst-prelink.c: Moved to ...
23449         * elf/tst-prelink.c: Here.
23450         * sysdeps/x86/tst-prelink.exp: Moved to ...
23451         * elf/tst-prelink.exp: Here.
23452         * sysdeps/x86/Makefile (tests): Don't add tst-prelink.
23453         (tst-prelink-ENV): Removed.
23454         ($(objpfx)tst-prelink-conflict.out): Likewise.
23455         ($(objpfx)tst-prelink-cmp.out): Likewise.
23456         (tests-special): Don't add $(objpfx)tst-prelink-cmp.out.
23458 2015-11-13  Joseph Myers  <joseph@codesourcery.com>
23460         [BZ #14551]
23461         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Include <errno.h>.
23462         (__mpn_construct_long_double): If high part overflows to infinity,
23463         set errno and recompute overflowed result of the correct sign.
23464         * sysdeps/ieee754/ldbl-128ibm/Makefile
23465         [$(subdir) = stdlib] (tests): Add tst-strtold-ldbl-128ibm.
23466         [$(subdir) = stdlib] ($(objpfx)tst-strtold-ldbl-128ibm): Depend on
23467         $(libm).
23468         * sysdeps/ieee754/ldbl-128ibm/tst-strtold-ldbl-128ibm.c: New file.
23470 2015-11-12  Joseph Myers  <joseph@codesourcery.com>
23472         [BZ #15479]
23473         [BZ #19238]
23474         * sysdeps/powerpc/powerpc32/fpu/s_round.S (__round): Save
23475         floating-point state after first operation on input.  Restore full
23476         state rather than just rounding mode.
23477         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S (__roundf): Likewise.
23478         * sysdeps/powerpc/powerpc64/fpu/s_round.S (__round): Likewise.
23479         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S (__roundf): Likewise.
23481         [BZ #19235]
23482         * sysdeps/powerpc/powerpc64/fpu/s_llround.S (__llround): Do not
23483         add 0.5 to integer arguments.
23484         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S (__llroundf):
23485         Likewise.
23486         (.LC2): New object.
23488 2015-11-11  Mike Frysinger  <vapier@gentoo.org>
23490         * scripts/pylintrc (reports): Set to no.
23492 2015-11-10  Roland McGrath  <roland@hack.frob.com>
23494         * elf/dl-load.c (open_verify): Take new argument FD.
23495         Skip __open call if passed FD is not -1.
23496         (_dl_map_object, open_path): Update callers.
23497         * elf/dl-sysdep-open.h: New file.
23498         * elf/dl-load.c: Include it.
23499         (_dl_map_object): Try _dl_sysdep_open_object before ldconfig cache.
23500         * sysdeps/nacl/dl-sysdep.c (_dl_sysdep_open_object): New function.
23501         * sysdeps/nacl/dl-sysdep-open.h: New file.
23502         * sysdeps/nacl/nacl-interface-list.h: Move nacl_irt_resource_open
23503         from libc to rtld.
23505 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
23507         [BZ #19228]
23508         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Save
23509         and restore full floating-point state.
23510         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
23511         Likewise.
23512         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (__nearbyint):
23513         Likewise.
23514         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S (__nearbyintf):
23515         Likewise.
23516         * math/test-nearbyint-except-2.c: New file.
23517         * math/Makefile (tests): Add test-nearbyint-except-2.
23519 2015-11-10  H.J. Lu  <hongjiu.lu@intel.com>
23521         [BZ #19178]
23522         * sysdeps/x86/Makefile (tests): Add tst-prelink.
23523         (tst-prelink-ENV): New.
23524         ($(objpfx)tst-prelink-conflict.out): Likewise.
23525         ($(objpfx)tst-prelink-cmp.out): Likewise.
23526         (tests-special): Add $(objpfx)tst-prelink-cmp.out.
23527         * sysdeps/x86/tst-prelink.c: New file.
23528         * sysdeps/x86/tst-prelink.exp: Likewise.
23530 2015-11-10  Joseph Myers  <joseph@codesourcery.com>
23532         * math/auto-libm-test-in: Add another test of pow.
23533         * math/auto-libm-test-out: Regenerated.
23534         * math/libm-test.inc (pow_test_data): Add another test.
23536 2015-11-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
23538         [BZ #19219]
23539         * sysdeps/ia64/fpu/s_nearbyintl.S (__nearbyint): Define and
23540         weak_alias to nearbyintl.
23542 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
23544         * sysdeps/aarch64/bits/string.h: New file.
23545         (_STRING_ARCH_unaligned): Define.
23547 2015-11-10  Wilco Dijkstra  <wdijkstr@arm.com>
23549         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Remove __signbit*.
23550         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
23551         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
23552         * sysdeps/unix/sysv/linux/nios2/localplt.data: Likewise.
23553         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data: Likewise.
23555 2015-11-09  Ulrich Drepper  <drepper@gmail.com>
23557         * elf/dl-load.c (_dl_map_object_from_fd): Add additional parameter
23558         for original name of the DSO.  Add it to the name list of the DSO
23559         if it is actually given.
23560         (_dl_map_object): Keep track of whether an audit module rewrote
23561         the file name.  If yes, pass the original name to
23562         _dl_map_object_from_fd in a new parameter, otherwise NULL.  When
23563         debugging is enabled, log the change of the file name.
23564         * sysdeps/mach/hur/dl-sysdep.c: Adjust commented-out call to
23565         _dl_map_object_from_fd.
23566         * elf/Makefile: Build and run tst-audit11 and tst-audit12.
23567         * elf/tst-audit11.c: New file
23568         * elf/tst-auditmod11.c: New file.
23569         * elf/tst-audit11mod1.c: New file.
23570         * elf/tst-audit11mod2.c: New file.
23571         * elf/tst-audit11mod2.map: New file.
23572         * elf/tst-audit12.c: New file
23573         * elf/tst-auditmod12.c: New file.
23574         * elf/tst-audit12mod1.c: New file.
23575         * elf/tst-audit12mod2.c: New file.
23576         * elf/tst-audit12mod2.map: New file.
23577         * elf/tst-audit12mod3.c: New file.
23579 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
23581         * sysdeps/s390/longjmp.c (longjmp, _longjmp, siglongjmp):
23582         Don't create weak aliases,
23583         because versioned symbols are created later.
23584         * sysdeps/s390/s390-32/setjmp.S
23585         (setjmp, _setjmp): Remove weak and rename to an unique name
23586         in SHARED case due to existing versioned symbols.
23587         * sysdeps/s390/s390-64/setjmp.S: Likewise.
23588         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S
23589         (getcontext): Create weak alias only in non SHARED case.
23590         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
23592 2015-11-09  Stefan Liebler  <stli@linux.vnet.ibm.com>
23594         * sysdeps/unix/sysv/linux/s390/kernel-features.h:
23595         (__ASSUME_*_SYSCALL) Define new macros.
23596         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list:
23597         Remove socketcall syscalls.
23598         * sysdeps/unix/sysv/linux/accept.c (__libc_accept):
23599         Use accept4 if defined __ASSUME_ACCEPT4_FOR_ACCEPT_SYSCALL.
23600         * sysdeps/unix/sysv/linux/recv.c (__libc_recv):
23601         Use recvfrom if defined __ASSUME_RECVFROM_FOR_RECV_SYSCALL.
23602         * sysdeps/unix/sysv/linux/send.c (__libc_send):
23603         Use sendto if defined __ASSUME_SENDTO_FOR_SEND_SYSCALL.
23605 2015-11-09  Florian Weimer  <fweimer@redhat.com>
23607         [BZ #12926]
23608         Terminate process on invalid netlink response.
23609         * sysdeps/unix/sysv/linux/netlinkaccess.h
23610         (__netlink_assert_response): Declare.
23611         * sysdeps/unix/sysv/linux/netlink_assert_response.c: New file.
23612         * sysdeps/unix/sysv/linux/Makefile [$(subdir) == inet]
23613         (sysdep_routines): Add netlink_assert_response.
23614         * sysdeps/unix/sysv/linux/check_native.c (__check_native): Call
23615         __netlink_assert_response.
23616         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Likewise.
23617         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request): Likewise.
23618         * sysdeps/unix/sysv/linux/Versions (GLIBC_PRIVATE): Add
23619         __netlink_assert_response.
23621 2015-11-07  H.J. Lu  <hongjiu.lu@intel.com>
23623         [BZ #19178]
23624         * elf/dl-lookup.c (RTYPE_CLASS_VALID): New.
23625         (RTYPE_CLASS_PLT): Likewise.
23626         (RTYPE_CLASS_COPY): Likewise.
23627         (RTYPE_CLASS_TLS): Likewise.
23628         (_dl_debug_bindings): Use RTYPE_CLASS_TLS and RTYPE_CLASS_VALID
23629         to set relocation type class for DL_DEBUG_PRELINK.  Keep only
23630         ELF_RTYPE_CLASS_PLT and ELF_RTYPE_CLASS_COPY bits for
23631         DL_DEBUG_PRELINK.
23633 2015-11-06  Joseph Myers  <joseph@codesourcery.com>
23635         * math/test-signgam-finite.c (RUN_TESTS): Correct messages about
23636         calls with argument -0.5.
23637         * math/test-signgam-finite-c99.c (RUN_TESTS): Likewise.
23639         * configure.ac (libc_cv_z_nodelete): Remove configure test.
23640         (libc_cv_z_nodlopen): Likewise.
23641         (libc_cv_z_initfirst): Likewise.
23642         * configure: Regenerated.
23644 2015-11-06  Florian Weimer  <fweimer@redhat.com>
23646         Simplify abilist format to be line-based.
23647         * scripts/abilist.awk: Collect descriptors in the descs variable.
23648         (emit): Write descs variable and sort it
23649         externally, with sort.
23650         * sysdeps/**/*.abilist: Convert to new format.
23652 2015-11-06  Mark Wielaard  <mjw@redhat.com>
23654         [BZ #11460]
23655         * io/Makefile (routines): Add fts64.
23656         (tests): Add tst-fts and tst-fts-lfs.
23657         (CFLAGS-fts64.c): New.
23658         * io/Versions (GLIBC_2.23): New.
23659         * io/fts.c: Replace FTS with FTSOBJ, FTSENT with FTSENTRY. Use
23660         function defines FTS_OPEN, FTS_CLOSE, FTS_READ, FTS_SET and
23661         FTS_CHILDREN. Define FTSOBJ, FTSENTRY, FTS_OPEN, FTS_CLOSE,
23662         FTS_READ, FTS_SET, FTS_CHILDREN, INO_T, STAT and LSTAT if necessary.
23663         * io/fts.h (FTS64): New if _USE_LARGEFILE64.
23664         (FTSENT64): Likewise.
23665         (fts64_children): Likewise.
23666         (fts64_close): Likewise.
23667         (fts64_open): Likewise.
23668         (fts64_read): Likewise.
23669         (fts64_set): Likewise.
23670         * io/fts64.c: New file.
23671         * io/tst-fts.c: New test.
23672         * io/tst-fts-lfs.c: Likewise.
23673         * sysdeps/unix/sysv/linux/aarch64/libc.abilist (GLIBC_2.23): Add
23674         GLIBC_2.23, fts64_children, fts64_close, fts64_open, fts64_read and
23675         fts64_set.
23676         * sysdeps/unix/sysv/linux/alpha/libc.abilist: Likewise.
23677         * sysdeps/unix/sysv/linux/arm/libc.abilist: Likewise.
23678         * sysdeps/unix/sysv/linux/hppa/libc.abilist: Likewise.
23679         * sysdeps/unix/sysv/linux/i386/libc.abilist: Likewise.
23680         * sysdeps/unix/sysv/linux/ia64/libc.abilist: Likewise.
23681         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: Likewise.
23682         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: Likewise.
23683         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Likewise.
23684         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: Likewise.
23685         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: Likewise.
23686         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: Likewise.
23687         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: Likewise.
23688         * sysdeps/unix/sysv/linux/nios2/libc.abilist: Likewise.
23689         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist:
23690         Likewise.
23691         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
23692         Likewise.
23693         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: Likewise.
23694         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: Likewise.
23695         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: Likewise.
23696         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: Likewise.
23697         * sysdeps/unix/sysv/linux/sh/libc.abilist: Likewise.
23698         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: Likewise.
23699         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: Likewise.
23700         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: Likewise.
23701         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: Likewise.
23702         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: Likewise.
23703         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: Likewise.
23704         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: Likewise.
23705         * sysdeps/wordsize-64/fts.c: New file.
23706         * sysdeps/wordsize-64/fts64.c: Likewise.
23707         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts.c: Likewise.
23708         * sysdeps/unix/sysv/linux/mips/mips64/n64/fts64.c: Likewise.
23709         * sysdeps/unix/sysv/linux/x86_64/x32/fts.c: likewise.
23710         * sysdeps/unix/sysv/linux/x86_64/x32/fts64.c: likewise.
23712 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
23714         * math/libm-test.inc (NON_FINITE): New macro.
23715         (enable_test): Do not run tests flagged NON_FINITE if TEST_FINITE.
23716         * math/gen-libm-test.pl (show_exceptions): Add argument
23717         $non_finite.
23718         (parse_args): Update call to show_exceptions.
23719         * math/test-math-finite.h: New file.
23720         * math/test-math-no-finite.h: Likewise.
23721         * math/test-double-finite.c: Likewise.
23722         * math/test-float-finite.c: Likewise.
23723         * math/test-ldouble-finite.c: Likewise.
23724         * math/test-double.c: Include "test-math-no-finite.h".
23725         * math/test-float.c: Include "test-math-no-finite.h".
23726         * math/test-ldouble.c: Include "test-math-no-finite.h".
23727         * math/test-math-inline.h (TEST_FINITE): New macro.
23728         * math/test-math-vector.h (TEST_FINITE): Likewise.
23729         * math/Makefile (test-longdouble-yes): Add test-ldouble-finite.
23730         (libm-tests): Add test-float-finite and test-double-finite.
23731         ($(objpfx)test-float-finite.o): New dependency on
23732         $(objpfx)libm-test.stmp.
23733         ($(objpfx)test-double-finite.o): Likewise.
23734         ($(objpfx)test-ldouble-finite.o): Likewise.
23735         (libm-test-no-inline-cflags): New variable.
23736         (libm-test-finite-cflags): Likewise.
23737         (CFLAGS-test-float-finite.c): Likewise.
23738         (CFLAGS-test-double-finite.c): Likewise.
23739         (CFLAGS-test-ldouble-finite.c): Likewise.
23740         (CFLAGS-test-float.c): Use $(libm-test-no-inline-cflags).
23741         (CFLAGS-test-double.c): Likewise.
23742         (CFLAGS-test-ldouble.c): Likewise.
23744 2015-11-05  Roland McGrath  <roland@hack.frob.com>
23746         * io/fcntl.c (__fcntl): Add ... to prototype.
23747         * misc/ioctl.c (__ioctl): Likewise.
23748         * misc/syscall.c (syscall): Likewise.
23750 2015-11-05  Joseph Myers  <joseph@codesourcery.com>
23752         * scripts/list-fixed-bugs.py: New file.
23754         [BZ #19213]
23755         * sysdeps/i386/fpu/e_log.S (__log_finite): Ensure +0 is always
23756         returned for argument 1.
23757         * sysdeps/i386/fpu/e_logf.S (__logf_finite): Likewise.
23758         * sysdeps/i386/fpu/e_logl.S (__logl_finite): Likewise.
23759         * sysdeps/i386/i686/fpu/e_logl.S (__logl_finite): Likewise.
23760         * sysdeps/x86_64/fpu/e_log10l.S (__log10l_finite): Likewise.
23761         * sysdeps/x86_64/fpu/e_log2l.S (__log2l_finite): Likewise.
23762         * sysdeps/x86_64/fpu/e_logl.S (__logl_finite): Likewise.
23764         [BZ #19211]
23765         * math/bits/math-finite.h (lgamma): Set signgam if [__USE_MISC ||
23766         __USE_XOPEN], not if [!__USE_ISOC99].
23767         (lgammaf): Likewise.
23768         (lgammal): Likewise.
23769         (gamma): Set signgam unconditionally, not if [!__USE_ISOC99].
23770         (gammaf): Likewise.
23771         (gammal): Likewise.
23772         * math/test-signgam-finite-c11.c: New file.
23773         * math/test-signgam-finite-c99.c: Likewise.
23774         * math/test-signgam-finite.c: Likewise.
23775         * math/Makefile (tests): Add test-signgam-finite,
23776         test-signgam-finite-c99 and test-signgam-finite-c11.
23777         (CFLAGS-test-signgam-finite.c): New variable.
23778         (CFLAGS-test-signgam-finite-c99.c): Likewise.
23779         (CFLAGS-test-signgam-finite-c11.c): Likewise.
23781         [BZ #19212]
23782         * include/features.h [(_XOPEN_SOURCE - 0) >= 500]: Change
23783         conditional to [defined _XOPEN_SOURCE && (_XOPEN_SOURCE - 0) >=
23784         500].
23785         [_POSIX_C_SOURCE >= 1]: Change conditional to [defined
23786         _POSIX_C_SOURCE && _POSIX_C_SOURCE >= 1].
23787         [(_POSIX_C_SOURCE - 0) >= 199309L]: Change conditional to [defined
23788         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199309L].
23789         [(_POSIX_C_SOURCE - 0) >= 199506L]: Change conditional to [defined
23790         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 199506L].
23791         [(_POSIX_C_SOURCE - 0) >= 200112L]: Change conditional to [defined
23792         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200112L].
23793         [(_POSIX_C_SOURCE - 0) >= 200809L]: Change conditional to [defined
23794         _POSIX_C_SOURCE && (_POSIX_C_SOURCE - 0) >= 200809L].
23796         [BZ #19209]
23797         * math/bits/math-finite.h (ldexp): Remove declaration.
23798         (ldexpf): Likewise.
23799         (ldexpl): Likewise.
23801         [BZ #19205]
23802         * math/bits/math-finite.h (acosf): Condition declaration on
23803         [__USE_ISOC99].
23804         (acosl): Likewise.
23805         (acoshf): Likewise.
23806         (acoshl): Likewise.
23807         (asinf): Likewise.
23808         (asinl): Likewise.
23809         (atan2f): Likewise.
23810         (atan2l): Likewise.
23811         (atanhf): Likewise.
23812         (atanhl): Likewise.
23813         (coshf): Likewise.
23814         (coshl): Likewise.
23815         (expf): Likewise.
23816         (expl): Likewise.
23817         (fmodf): Likewise.
23818         (fmodl): Likewise.
23819         (hypot): Change condition to [__USE_XOPEN || __USE_ISOC99].
23820         (j0f): Change condition to [__USE_MISC && __USE_ISOC99].
23821         (j0l): Likewise.
23822         (y0f): Likewise.
23823         (y0l): Likewise.
23824         (j1f): Likewise.
23825         (j1l): Likewise.
23826         (y1f): Likewise.
23827         (y1l): Likewise.
23828         (jnf): Likewise.
23829         (jnl): Likewise.
23830         (ynf): Likewise.
23831         (ynl): Likewise.
23832         (lgammaf_r): Condition declaration on [__USE_ISOC99].
23833         (lgammal_r): Likewise.
23834         (__lgamma_r_finite): New declaration.
23835         (__lgammaf_r_finite): Likewise.
23836         (__lgammal_r_finite): Likewise.
23837         (lgamma): Use __lgamma_r_finite.
23838         (lgammaf): Condition definition on [__USE_ISOC99].  Use
23839         __lgammaf_r_finite.
23840         (lgammal): Condition definition on [__USE_ISOC99].  Use
23841         __lgammal_r_finite.
23842         (gamma): Do not define for [!__USE_MISC && __USE_XOPEN2K].  Use
23843         __lgamma_r_finite.
23844         (gammaf): Condition definition on [__USE_ISOC99].  Use
23845         __lgammaf_r_finite.
23846         (gammal): Condition definition on [__USE_ISOC99].  Use
23847         __lgammal_r_finite.
23848         (logf): Condition declaration on [__USE_ISOC99].
23849         (logl): Likewise.
23850         (log10f): Likewise.
23851         (log10l): Likewise.
23852         (ldexpf): Likewise.
23853         (ldexpl): Likewise.
23854         (powf): Likewise.
23855         (powl): Likewise.
23856         (remainder): Condition declaration on [__USE_XOPEN_EXTENDED ||
23857         __USE_ISOC99].
23858         (remainderf): Condition declaration on [__USE_ISOC99].
23859         (remainderl): Likewise.
23860         (scalb): Do not declare for [!__USE_MISC && __USE_XOPEN2K8].
23861         (scalbf): Change condition to [__USE_MISC && __USE_ISOC99].
23862         (scalbl): Likewise.
23863         (sinhf): Condition declaration on [__USE_ISOC99].
23864         (sinhl): Likewise.
23865         (sqrtf): Likewise.
23866         (sqrtl): Likewise.
23868 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
23870         * sysdeps/arm/atomic-machine.h
23871         [__GNUC_PREREQ (4, 7) && __GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
23872         Change conditional to [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
23873         [__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4 && !__GNUC_PREREQ (4, 7)]:
23874         Remove conditional code.
23875         [!__GNUC_PREREQ (4, 7) || !__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4]:
23876         Change conditional to [!__GCC_HAVE_SYNC_COMPARE_AND_SWAP_4].
23877         * sysdeps/i386/sysdep.h [__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]:
23878         Change conditional to [__ASSEMBLER__].
23879         [__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
23880         [!__ASSEMBLER__ && __GNUC_PREREQ (4, 7)]: Change conditional to
23881         [!__ASSEMBLER__].
23882         [!__ASSEMBLER__ && !__GNUC_PREREQ (4, 7)]: Remove conditional
23883         code.
23884         * sysdeps/unix/sysv/linux/sh/atomic-machine.h (rNOSP): Remove
23885         conditional macro definitions.
23886         (__arch_compare_and_exchange_val_8_acq): Use "u" instead of rNOSP.
23887         (__arch_compare_and_exchange_val_16_acq): Likewise.
23888         (__arch_compare_and_exchange_val_32_acq): Likewise.
23889         (atomic_exchange_and_add): Likewise.
23890         (atomic_add): Likewise.
23891         (atomic_add_negative): Likewise.
23892         (atomic_add_zero): Likewise.
23893         (atomic_bit_set): Likewise.
23894         (atomic_bit_test_set): Likewise.
23895         * sysdeps/x86_64/atomic-machine.h [__GNUC_PREREQ (4, 7)]: Make
23896         code unconditional.
23897         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
23899         * math/test-math-errno.h: New file.
23900         * math/test-math-inline.h (TEST_INLINE): Define to 1 instead of
23901         empty.
23902         (TEST_ERRNO): New macro.
23903         (TEST_EXCEPTIONS): Likewise.
23904         * math/test-math-no-inline.h (TEST_INLINE): Likewise.
23905         (TEST_EXCEPTIONS): Likewise.
23906         * math/test-math-vector.h (TEST_ERRNO): Likewise.
23907         * math/test-double.c: Include "test-math-errno.h".
23908         * math/test-float.c: Likewise.
23909         * math/test-ldouble.c: Likewise.
23910         * math/libm-test.inc (test_single_exception) [!TEST_INLINE]: Make
23911         code unconditional.
23912         (test_exceptions): Only run code if TEST_EXCEPTIONS.
23913         (test_single_errno) [!TEST_INLINE && !TEST_MATHVEC]: Make code
23914         unconditional.
23915         (test_errno): Only run code if TEST_ERRNO.
23916         (enable_test): Use "if" conditional on TEST_INLINE, not #ifdef.
23918 2015-11-04  Florian Weimer  <fweimer@redhat.com>
23920         * nptl/tst-once5.cc: Remove attribution.
23922 2015-11-04  Joseph Myers  <joseph@codesourcery.com>
23924         * math/auto-libm-test-in: Add more tests of sin, sincos, sinh,
23925         sqrt, tan, tanh, y0, y1 and yn.
23926         * math/auto-libm-test-out: Regenerated.
23927         * math/libm-test.inc (scalb_test_data): Add more tests.
23928         (scalbn_test_data): Likewise.
23929         (scalbln_test_data): Likewise.
23930         (signbit_test_data): Likewise.
23931         (sin_test_data): Likewise.
23932         (sincos_test_data): Likewise.
23933         (sinh_test_data): Likewise.
23934         (sqrt_test_data): Likewise.
23935         (tan_test_data): Likewise.
23936         (tanh_test_data): Likewise.
23937         (tgamma_test_data): Likewise.
23938         (y0_test_data): Likewise.
23939         (y1_test_data): Likewise.
23940         (yn_test_data): Likewise.
23941         (significand_test_data): Likewise.
23942         * sysdeps/i386/fpu/libm-test-ulps: Update.
23944 2015-11-03  David Kastrup  <dak@gnu.org>
23946         [BZ #18604]
23947         * assert/assert.h (assert): Don't macro-expand failed assertion
23948         expression in error message.
23949         * malloc/malloc.c (assert): Likewise.
23951 2015-11-03  Joseph Myers  <joseph@codesourcery.com>
23953         * configure.ac (libc_cv_ld_no_whole_archive): Remove configure
23954         test.
23955         * configure: Regenerated.
23957 2015-11-02  Joseph Myers  <joseph@codesourcery.com>
23959         * math/libm-test.inc (modf_test_data): Add more tests.
23960         (nearbyint_test_data): Likewise.
23961         (nextafter_test_data): Likewise.
23962         (nexttoward_test_data): Likewise.
23963         (pow_test_data): Likewise.
23964         (remainder_test_data): Likewise.
23965         (remquo_test_data): Likewise.
23966         (rint_test_data): Likewise.
23968         [BZ #19201]
23969         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
23970         Check for zero remainder in case of large exponents and ensure
23971         correct sign of result in that case.
23972         * math/libm-test.inc (remainder_test_data): Add more tests.
23974         [BZ #6799]
23975         * math/s_nextafter.c: Include <errno.h>.
23976         (__nextafter): Set errno on overflow and underflow.
23977         * math/s_nexttowardf.c: Include <errno.h>.
23978         (__nexttowardf): Set errno on overflow and underflow.
23979         * sysdeps/i386/fpu/s_nextafterl.c: Include <errno.h>.
23980         (__nextafterl): Set errno on overflow and underflow.
23981         * sysdeps/i386/fpu/s_nexttoward.c: Include <errno.h>.
23982         (__nexttoward): Set errno on overflow and underflow.
23983         * sysdeps/i386/fpu/s_nexttowardf.c: Include <errno.h>.
23984         (__nexttowardf): Set errno on overflow and underflow.
23985         * sysdeps/ieee754/flt-32/s_nextafterf.c: Include <errno.h>.
23986         (__nextafterf): Set errno on overflow and underflow.
23987         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Include <errno.h>.
23988         (__nextafterl): Set errno on overflow and underflow.
23989         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Include <errno.h>.
23990         (__nexttoward): Set errno on overflow and underflow.
23991         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Include <errno.h>.
23992         (__nexttowardf): Set errno on overflow and underflow.
23993         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <errno.h>.
23994         (__nextafterl): Set errno on overflow and underflow.
23995         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Include <errno.h>.
23996         (__nexttoward): Set errno on overflow and underflow.
23997         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Include <errno.h>.
23998         (__nexttowardf): Set errno on overflow and underflow.
23999         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Include <errno.h>.
24000         (__nexttoward): Set errno on overflow and underflow.
24001         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Include <errno.h>.
24002         (__nexttowardf): Set errno on overflow and underflow.
24003         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c: Include <errno.h>.
24004         (__nldbl_nexttowardf): Set errno on overflow and underflow.
24005         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c: Include <errno.h>.
24006         (__nextafterl): Set errno on overflow and underflow.
24007         * math/libm-test.inc (nextafter_test_data): Do not allow errno
24008         setting to be missing on overflow.  Add more tests.
24009         (nexttoward_test_data): Likewise.
24011         * configure.ac (libc_cv_initfini_array): Remove configure test.
24012         * configure: Regenerated.
24014 2015-10-29  Joseph Myers  <joseph@codesourcery.com>
24016         [BZ #19189]
24017         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Make check for
24018         non-finite argument handle arguments with negative sign.
24020         * math/libm-test.inc (j0_test_data): Do not test sign of zero
24021         result from infinite argument.
24022         (j1_test_data): Likewise.
24023         (jn_test_data): Likewise.
24024         (y0_test_data): Likewise.
24025         (y1_test_data): Likewise.
24026         (yn_test_data): Likewise.
24028         [BZ #16171]
24029         * math/w_remainder.c (drem): Define as weak alias of __remainder.
24030         [NO_LONG_DOUBLE] (dreml): Define as weak alias of __remainder.
24031         * math/w_remainderf.c (dremf): Define as weak alias of
24032         __remainderf.
24033         * math/w_remainderl.c (dreml): Define as weak alias of
24034         __remainderl.
24035         * sysdeps/ia64/fpu/e_remainder.S (drem): Define as weak alias of
24036         __remainder.
24037         * sysdeps/ia64/fpu/e_remainderf.S (dremf): Define as weak alias of
24038         __remainderf.
24039         * sysdeps/ia64/fpu/e_remainderl.S (dreml): Define as weak alias of
24040         __remainderl.
24041         * sysdeps/ieee754/ldbl-opt/nldbl-remainder.c (dreml): Define as
24042         weak alias of remainderl.
24043         * sysdeps/ieee754/ldbl-opt/w_remainder.c
24044         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (__drem): Define as strong
24045         alias of __remainder.
24046         [LONG_DOUBLE_COMPAT(libm, GLIBC_2_0)] (dreml): Use compat_symbol.
24047         * sysdeps/ieee754/ldbl-opt/w_remainderl.c (__dreml): Define as
24048         strong alias of __remainderl.
24049         (dreml): Use long_double_symbol.
24050         * math/Makefile (libm-calls): Remove w_drem.
24051         * sysdeps/ieee754/ldbl-opt/Makefile (libnldbl-calls): Remove drem.
24052         (CFLAGS-nldbl-drem.c): Remove variable.
24053         (CFLAGS-nldbl-remainder.c): Add -fno-builtin-dreml.
24054         * math/w_drem.c: Remove file.
24055         * math/w_dremf.c: Likewise.
24056         * math/w_dreml.c: Likewise.
24057         * sysdeps/ieee754/ldbl-opt/nldbl-drem.c: Likewise.
24058         * sysdeps/ieee754/ldbl-opt/w_drem.c: Likewise.
24059         * sysdeps/ieee754/ldbl-opt/w_dreml.c: Likewise.
24061         * sysdeps/i386/configure.ac (cpuid.h): Do not test for header.
24062         * sysdeps/i386/configure: Regenerated.
24063         * sysdeps/x86_64/configure.ac (cpuid.h): Do not test for header.
24064         * sysdeps/x86_64/configure: Regenerated.
24066         * configure.ac (libc_cv_asm_protected_directive): Remove configure
24067         test.
24068         (libc_cv_visibility_attribute): Likewise.
24069         (libc_cv_protected_data): Test unconditionally.
24070         (libc_cv_broken_visibility_attribute): Remove configure test.
24071         (libc_cv_have_sdata_section): Test unconditionally.
24072         * configure: Regenerated.
24074         * include/libc-internal.h (libc_max_align_t): Remove typedef.
24075         * include/scratch_buffer.h: Include <stddef.h> instead of
24076         <libc-internal.h>.
24077         (struct scratch_buffer): Use max_align_t instead of
24078         libc_max_align_t.
24080 2015-10-29  Florian Weimer  <fweimer@redhat.com>
24082         * elf/dl-fini.c (_dl_fini): Rewrite to use variable-length array
24083         instead of extend_alloca.  Change control flow to avoid a goto.
24084         Remove assert which is trivially always true.
24086 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
24088         [BZ #16068]
24089         * sysdeps/i386/fpu/fesetenv.c: Include <fpu_control.h>.
24090         (FE_ALL_EXCEPT_X86): New macro.
24091         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
24092         FE_ALL_EXCEPT.  Ensure precision control is included in
24093         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
24094         handle "denormal operand exception" and clear FZ and DAZ bits.
24095         * sysdeps/x86_64/fpu/fesetenv.c: Include <fpu_control.h>.
24096         (FE_ALL_EXCEPT_X86): New macro.
24097         (__fesetenv): Use FE_ALL_EXCEPT_X86 in most places instead of
24098         FE_ALL_EXCEPT.  Ensure precision control is included in
24099         floating-point state.  Ensure that FE_DFL_ENV and FE_NOMASK_ENV
24100         handle "denormal operand exception" and clear FZ and DAZ bits.
24101         * sysdeps/x86/fpu/test-fenv-sse-2.c: New file.
24102         * sysdeps/x86/fpu/test-fenv-x87.c: Likewise.
24103         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
24104         test-fenv-x87 and test-fenv-sse-2.
24105         [$(subdir) = math] (CFLAGS-test-fenv-sse-2.c): New variable.
24107         * math/libm-test.inc (BUILD_COMPLEX): Remove macro.
24108         * math/test-double.h (BUILD_COMPLEX): New macro.
24109         * math/test-float.h (BUILD_COMPLEX): Likewise.
24110         * math/test-ldouble.h (BUILD_COMPLEX): Likewise.
24112         * math/libm-test.inc (min_subnorm_value): Use LDBL_TRUE_MIN,
24113         DBL_TRUE_MIN and FLT_TRUE_MIN instead of __LDBL_DENORM_MIN__,
24114         __DBL_DENORM_MIN__ and __FLT_DENORM_MIN__.
24115         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Refer to DBL_TRUE_MIN
24116         instead of DBL_DENORM_MIN in comment.
24117         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Refer to
24118         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
24119         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Include <float.h>.
24120         (__nextafterl): Use LDBL_TRUE_MIN instead of __LDBL_DENORM_MIN__.
24121         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Refer to
24122         LDBL_TRUE_MIN instead of LDBL_DENORM_MIN in comment.
24124 2015-10-28  Florian Weimer  <fweimer@redhat.com>
24126         [BZ #19048]
24127         * malloc/malloc.c (struct malloc_state): Update comment.  Add
24128         attached_threads member.
24129         (main_arena): Initialize attached_threads.
24130         * malloc/arena.c (list_lock): Update comment.
24131         (ptmalloc_lock_all, ptmalloc_unlock_all): Likewise.
24132         (ptmalloc_unlock_all2): Reinitialize arena reference counts.
24133         (deattach_arena): New function.
24134         (_int_new_arena): Initialize arena reference count and deattach
24135         replaced arena.
24136         (get_free_list, reused_arena): Update reference count and deattach
24137         replaced arena.
24138         (arena_thread_freeres): Update arena reference count and only put
24139         unreferenced arenas on the free list.
24141 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
24143         [BZ #19181]
24144         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Clear already-raised
24145         SSE exceptions when argument is FE_DFL_ENV or FE_NOMASK_ENV.
24146         * sysdeps/x86_64/fpu/fesetenv.c (__fesetenv): Likewise.
24147         * math/test-fenv-clear-main.c: New file.
24148         * math/test-fenv-clear.c: Likewise.
24149         * math/Makefile (tests): Add test-fenv-clear.
24150         * sysdeps/x86/fpu/test-fenv-clear-sse.c: New file.
24151         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
24152         test-fenv-clear-sse.
24153         [$(subdir) = math] (CFLAGS-test-fenv-clear-sse.c): New variable.
24155         * math/libm-test.inc (TYPE_DECIMAL_DIG): Use LDBL_DECIMAL_DIG,
24156         DBL_DECIMAL_DIG and FLT_DECIMAL_DIG instead of __DECIMAL_DIG__,
24157         __DBL_DECIMAL_DIG__ and __FLT_DECIMAL_DIG__.
24159 2015-10-28  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
24161         * sysdeps/powerpc/libc-tls.c: New file. Provides __tls_get_addr () in
24162         static libc.
24164 2015-10-28  Joseph Myers  <joseph@codesourcery.com>
24166         * sysdeps/i386/configure.ac (libc_cv_cc_avx2): Remove configure
24167         test.
24168         * sysdeps/i386/configure: Regenerated.
24169         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx2): Remove configure
24170         test.
24171         * sysdeps/x86_64/configure: Regenerated.
24172         * config.h.in (HAVE_AVX2_SUPPORT): Remove #undef.
24173         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
24174         memset-avx2 unconditionally instead of conditionally on
24175         [$(config-cflags-avx2) = yes].
24176         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
24177         (__libc_ifunc_impl_list) [HAVE_AVX2_SUPPORT]: Make code
24178         unconditional.
24179         * sysdeps/x86_64/multiarch/memset.S [HAVE_AVX2_SUPPORT]: Likewise.
24180         * sysdeps/x86_64/multiarch/memset_chk.S
24181         [IS_IN (libc) && SHARED && HAVE_AVX2_SUPPORT]: Change conditional
24182         to [IS_IN (libc) && SHARED].
24184 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
24186         * sysdeps/arm/configure.ac (libc_cv_arm_tls_desc): Remove
24187         configure test.
24188         * sysdeps/arm/configure: Regenerated.
24189         * sysdeps/arm/Makefile [!have-arm-tls-desc] (have-arm-tls-desc):
24190         Define variable if not already defined.
24192         [BZ #17404]
24193         * sysdeps/mips/atomic-machine.h
24194         [__GNUC_PREREQ (4, 8) || (__mips16 && __GNUC_PREREQ (4, 7))]:
24195         Change conditional to [__GNUC_PREREQ (4, 8) || __mips16].
24196         [__mips16 && !__GNUC_PREREQ (4, 7)]: Remove conditional code.
24198         * resolv/res_send.c (send_vc) [__GNUC_PREREQ (4, 7)]: Make code
24199         unconditional.
24200         * soft-fp/fmadf4.c [__GNUC_PREREQ (4, 7)]: Likewise.
24201         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
24202         * soft-fp/fmasf4.c [__GNUC_PREREQ (4, 7)]: Make code
24203         unconditional.
24204         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
24205         * soft-fp/fmatf4.c [__GNUC_PREREQ (4, 7)]: Make code
24206         unconditional.
24207         [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
24208         * stdlib/setenv.c
24209         [((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7)]: Make
24210         code unconditional.
24211         [!(((__GNUC__ << 16) + __GNUC_MINOR__) >= ((4 << 16) + 7))]:
24212         Remove conditional code.
24213         * sysdeps/ieee754/dbl-64/e_lgamma_r.c
24214         (__ieee754_lgamma_r) [__GNUC_PREREQ (4, 7)]: Make code
24215         unconditional.
24216         (__ieee754_lgamma_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
24217         code.
24218         * sysdeps/ieee754/flt-32/e_lgammaf_r.c
24219         (__ieee754_lgammaf_r) [__GNUC_PREREQ (4, 7)]: Make code
24220         unconditional.
24221         (__ieee754_lgammaf_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
24222         code.
24223         * sysdeps/ieee754/ldbl-128/k_tanl.c
24224         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
24225         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
24226         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c
24227         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
24228         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
24229         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c
24230         (__ieee754_lgammal_r) [__GNUC_PREREQ (4, 7)]: Make code
24231         unconditional.
24232         (__ieee754_lgammal_r) [!__GNUC_PREREQ (4, 7)]: Remove conditional
24233         code.
24234         * sysdeps/ieee754/ldbl-96/k_tanl.c
24235         (__kernel_tanl) [__GNUC_PREREQ (4, 7)]: Make code unconditional.
24236         (__kernel_tanl) [!__GNUC_PREREQ (4, 7)]: Remove conditional code.
24238         * nptl/tst-initializers1-c11.c: New file.
24239         * nptl/tst-initializers1-gnu11.c: Likewise.
24240         * nptl/Makefile (tests): Add these new tests.
24241         (CFLAGS-tst-initializers1-c11.c): New variable.
24242         (CFLAGS-tst-initializers1-gnu11.c): Likewise.
24244         * Makeconfig (CFLAGS): Use -std=gnu11 instead of -std=gnu99.
24245         * Makefile ($(objpfx)c++-types-check.out): Filter out -std=gnu11
24246         instead of -std=gnu99.
24247         * configure.ac (systemtap): Test with -std=gnu11 instead of
24248         -std=gnu99.
24249         * configure: Regenerated.
24250         * math/gen-auto-libm-tests.c: Use -std=gnu11 instead of -std=gnu99
24251         in compilation command in comment.
24253         * sysdeps/nptl/configure.ac: Remove file.
24254         * sysdeps/nptl/configure: Remove generated file.
24255         * configure.ac (libc_cv_forced_unwind): Do not substitute.
24256         * configure: Regenerated.
24257         * config.h.in (HAVE_FORCED_UNWIND): Remove #undef.
24258         * config.make.in (have-forced-unwind): Remove variable.
24259         * nptl/Makefile [$(have-forced-unwind) = yes]: Make code
24260         unconditional.
24261         * nptl/descr.h [HAVE_FORCED_UNWIND]: Likewise.
24262         * nptl/unwind.c [HAVE_FORCED_UNWIND]: Likewise.
24263         (__pthread_unwind) [!HAVE_FORCED_UNWIND]: Remove conditional code.
24264         * nptl/version.c [HAVE_FORCED_UNWIND]: Make code unconditional.
24265         * sysdeps/nptl/Makefile [$(have-forced-unwind) = yes]: Make code
24266         unconditional.
24268 2015-10-27  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
24270         [BZ #19174]
24271         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Fix usage of
24272         .skip_lock_out_of_tbegin_retries.
24273         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
24274         (__lll_lock_elision): Likewise, and respect a value of
24275         try_tbegin <= 0.
24277 2015-10-27  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
24279         * elf/dl-support.c (_dl_aux_init): Added AT_PLATFORM to the case
24280         statement.
24282 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
24284         * conform/Makefile (test-xfail-ISO11/complex.h/conform): Remove
24285         variable.
24286         (test-xfail-ISO11/stdalign.h/conform): Likewise.
24287         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
24289         * conform/GlibcConform.pm ($CFLAGS{"ISO11"}): Use -std=c11 instead
24290         of -std=c1x -D_ISOC11_SOURCE.
24292         * configure.ac (libc_cv_compiler_ok): Require GCC 4.7 or later.
24293         * configure: Regenerated.
24294         * manual/install.texi (Tools for Compilation): Document
24295         requirement for GCC 4.7 or later.
24296         * INSTALL: Regenerated.
24298 2015-10-27  Ludovic Courtès  <ludo@gnu.org>
24300         * locale/loadlocale.c (_nl_intern_locale_data): Change assertion
24301         on CNT to a conditional jump to 'puntdata'.
24303 2015-10-27  Joseph Myers  <joseph@codesourcery.com>
24305         * configure.ac (libc_cv_gcc___thread): Remove configure test.
24306         (libc_cv_gcc_tls_model_attr): Likewise.
24307         * configure: Regenerated.
24309         * configure.ac (libc_cv_need_minus_P): Remove configure test.
24310         * configure: Regenerated.
24311         * Makeconfig (asm-CPPFLAGS): Remove reference to -P in comment.
24313 2015-10-26  Joseph Myers  <joseph@codesourcery.com>
24315         * configure.ac (old_glibc_headers): Remove configure test.
24316         * configure: Regenerated.
24317         * config.make.in (old-glibc-headers): Remove variable.
24318         * Makefile [!$(install_root) && $(old-glibc-headers) = yes]
24319         (install): Remove dependency on remove-old-headers.
24320         (headers2_0): Remove variable.
24321         (remove-old-headers): Remove rule.
24323         * configure.ac (libc_cv_dot_text): Remove configure test.
24324         (libc_cv_asm_set_directive): Use .text instead of
24325         ${libc_cv_dot_text} in configure test.
24326         * configure: Regenerated.
24328 2015-10-26  Florian Weimer  <fweimer@redhat.com>
24330         [BZ #19168]
24331         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
24333 2015-10-26  Florian Weimer  <fweimer@redhat.com>
24335         * configure.ac (CXX): Clear the variable if the C++ toolchain does
24336         not support static linking.
24337         * configure: Regenerate.
24339 2015-10-23  Joseph Myers  <joseph@codesourcery.com>
24341         * math/libm-test.inc (check_float_internal): Do not special-case
24342         errors up to 0.5 ulp.
24344         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
24345         log2.
24346         * math/auto-libm-test-out: Regenerated.
24347         * math/libm-test.inc (MAX_EXP): New macro.
24348         (ilogb_test_data): Add more tests.
24349         (isfinite_test_data): Likewise.
24350         (isgreater_test_data): Likewise.
24351         (isgreaterequal_test_data): Likewise.
24352         (isinf_test_data): Likewise.
24353         (isless_test_data): Likewise.
24354         (islessequal_test_data): Likewise.
24355         (islessgreater_test_data): Likewise.
24356         (isnan_test_data): Likewise.
24357         (isnormal_test_data): Likewise.
24358         (issignaling_test_data): Likewise.
24359         (isunordered_test_data): Likewise.
24360         (j0_test_data): Likewise.
24361         (j1_test_data): Likewise.
24362         (jn_test_data): Likewise.
24363         (lgamma_test_data): Likewise.
24364         (log_test_data): Likewise.
24365         (log10_test_data): Likewise.
24366         (log1p_test_data): Likewise.
24367         (log2_test_data): Likewise.
24368         (logb_test_data): Likewise.
24369         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
24371         [BZ #18611]
24372         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Set errno and
24373         avoid excess range and precision on underflow.
24374         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
24375         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Likewise.
24376         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
24377         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Set errno on
24378         underflow.
24379         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
24380         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
24381         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
24382         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
24383         * math/auto-libm-test-in: Do not allow missing errno setting for
24384         tests of j1 and jn.
24385         * math/auto-libm-test-out: Regenerated.
24387 2015-10-22  Joseph Myers  <joseph@codesourcery.com>
24389         [BZ #15491]
24390         * sysdeps/i386/fpu/s_nearbyint.S (__nearbyint): Save and restore
24391         floating-point environment instead of clearing all exceptions.
24392         * sysdeps/i386/fpu/s_nearbyintf.S (__nearbyintf): Likewise.
24393         * sysdeps/i386/fpu/s_nearbyintl.S (__nearbyintl): Likewise,
24394         merging in "invalid" exceptions from frndint.
24395         * sysdeps/x86_64/fpu/s_nearbyintl.S (__nearbyintl): Likewise.
24396         * math/test-nearbyint-except.c: New file.
24397         * math/Makefile (tests): Add test-nearbyint-except.
24399 2015-10-22  Chris Metcalf  <cmetcalf@ezchip.com>
24401         * NEWS: Mention bug 18699 fixed by commit fe8c2b33aed0.
24403         * sysdeps/tile/libm-test-ulps: Regenerated.
24405 2015-10-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
24407         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c
24408         (__NR_sync_file_range2): Assume it is always defined.
24409         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
24410         (__NR_sync_file_range): Assume it is always defined.
24412 2015-10-22  Andreas Schwab  <schwab@suse.de>
24414         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
24415         INTERNAL_SYSCALL_ERRNO.
24416         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
24417         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
24418         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
24419         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
24420         Likewise.
24421         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
24423 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
24425         * io/tst-fcntl.c (fd): New static variable.
24426         (do_prepare): Open temporary file here....
24427         (do_test): ...not here.
24429         * io/ftwtest-sh: Also trap on exit to remove temporary files.
24431 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
24433         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: Replace
24434         __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
24435         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
24436         Moved before "#ifdef __ASSEMBLER__".
24438 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
24440         [BZ #19156]
24441         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Return 1 for
24442         arguments very close to 0.
24444 2015-10-21  Chris Metcalf  <cmetcalf@ezchip.com>
24446         * sysdeps/unix/sysv/linux/tile/sysdep.h (PSEUDO_END)
24447         (PSEUDO_NOERRNO, PSEUDO_END_NOERRNO): Undef before defining.
24449 2015-10-21  H.J. Lu  <hongjiu.lu@intel.com>
24451         * sysdeps/unix/sysv/linux/i386/sysdep.h (OPTIMIZE_FOR_GCC_5):
24452         New.  Defined for GCC 5 and above when not compiling for
24453         profiling.
24454         Replace __GNUC_PREREQ (5,0) with OPTIMIZE_FOR_GCC_5.
24456         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
24457         Renamed to ...
24458         (CFLAGS-epoll_pwait.o): This.
24459         (CFLAGS-mmap.c): Renamed to ...
24460         (CFLAGS-mmap.o): This.
24461         (CFLAGS-mmap64.c): Renamed to ...
24462         (CFLAGS-mmap64.o): This.
24463         (CFLAGS-epoll_pwait.os): New.
24464         (CFLAGS-mmap.os): Likewise.
24465         (CFLAGS-mmap64.os): Likewise.
24466         (CFLAGS-semtimedop.os): Likewise.
24467         (CFLAGS-semtimedop.c): Renamed to ...
24468         (CFLAGS-semtimedop.o): This.
24470 2015-10-21  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
24472         * debug/tst-backtrace4.c (handle_signal): Fix a comment and
24473         warning message.
24475 2015-10-21  Joseph Myers  <joseph@codesourcery.com>
24477         * Makeconfig (+gccwarn-c): Add -Wold-style-definition.
24478         * Makefile ($(objpfx)c++-types-check.out): Filter out
24479         $(+gccwarn-c) instead of -Wstrict-prototypes.
24481         * io/fts.c (fts_open): Convert to prototype-style function
24482         definition.
24483         * malloc/mcheck.c (mcheck): Likewise.
24484         (mcheck_pedantic): Likewise.
24485         * posix/regexec.c (re_search_2_stub): Likewise.  Use
24486         internal_function.
24487         (re_search_internal): Likewise.
24488         * resolv/res_init.c [RESOLVSORT] (net_mask): Convert to
24489         prototype-style function definition.
24490         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
24491         * sunrpc/pmap_rmt.c (clnt_broadcast): Likewise.
24492         * sunrpc/rpcsvc/rusers.x (xdr_utmp): Likewise.
24493         (xdr_utmpptr): Likewise.
24494         (xdr_utmparr): Likewise.
24495         (xdr_utmpidle): Likewise.
24496         (xdr_utmpidleptr): Likewise.
24497         (xdr_utmpidlearr): Likewise.
24499         * math/auto-libm-test-in: Add more tests of hypot, j0, j1, jn,
24500         log, log10 and log2.
24501         * math/auto-libm-test-out: Regenerated.
24502         * math/libm-test.inc (fmod_test_data): Add more tests.
24503         (fpclassify_test_data): Likewise.
24504         (frexp_test_data): Likewise.
24505         (hypot_test_data): Likewise.
24506         (ilogb_test_data): Likewise.
24508 2015-10-20  Joseph Myers  <joseph@codesourcery.com>
24510         * debug/fortify_fail.c (__fortify_fail): Convert to
24511         prototype-style function definition.  Use internal_function.
24512         * libio/genops.c (save_for_backup): Convert to prototype-style
24513         function definition.
24514         * libio/wgenops.c (save_for_wbackup): Likewise.
24515         * login/grantpt.c (grantpt): Likewise.
24516         * login/ptsname.c (ptsname): Likewise.
24517         (__ptsname_r): Likewise.
24518         * login/unlockpt.c (unlockpt): Likewise.
24519         * mach/msgserver.c (__mach_msg_server): Likewise.
24520         * misc/efgcvt.c (__APPEND (FUNC_PREFIX, fcvt)): Likewise.
24521         (__APPEND (FUNC_PREFIX, ecvt)): Likewise.
24522         (__APPEND (FUNC_PREFIX, gcvt)): Likewise.
24523         * misc/efgcvt_r.c (__APPEND (FUNC_PREFIX, fcvt_r)): Likewise.
24524         (__APPEND (FUNC_PREFIX, ecvt_r)): Likewise.
24525         * nptl/cleanup_compat.c (_pthread_cleanup_push): Likewise.
24526         * nptl/cleanup_defer_compat.c (_pthread_cleanup_push_defer):
24527         Likewise.
24528         * nptl/libc_pthread_init.c (__libc_pthread_init): Likewise.  Use
24529         internal_function.
24530         * nptl/pthread_atfork.c (__pthread_atfork): Convert to
24531         prototype-style function definition.
24532         * nptl/pthread_create.c (__pthread_create_2_1): Likewise.
24533         [SHLIB_COMPAT(libpthread, GLIBC_2_0, GLIBC_2_1)]
24534         (__pthread_create_2_0): Likewise.
24535         * nptl/pthread_key_create.c (__pthread_key_create): Likewise.
24536         * nptl/register-atfork.c (__register_atfork): Likewise.
24537         * posix/glob.c (glob): Likewise.
24538         * posix/regcomp.c (re_comp): Likewise.
24539         * posix/regexec.c (re_exec): Likewise.
24540         * stdlib/add_n.c [__STDC__]: Make code unconditional.
24541         [!__STDC__]: Remove conditional code.
24542         * stdlib/cmp.c [__STDC__]: Make code unconditional.
24543         [!__STDC__]: Remove conditional code.
24544         * stdlib/divmod_1.c [__STDC__]: Make code unconditional.
24545         [!__STDC__]: Remove conditional code.
24546         * stdlib/divrem.c [__STDC__]: Make code unconditional.
24547         [!__STDC__]: Remove conditional code.
24548         * stdlib/lshift.c [__STDC__]: Make code unconditional.
24549         [!__STDC__]: Remove conditional code.
24550         * stdlib/mod_1.c [__STDC__]: Make code unconditional.
24551         [!__STDC__]: Remove conditional code.
24552         * stdlib/mul.c [__STDC__]: Make code unconditional.
24553         [!__STDC__]: Remove conditional code.
24554         * stdlib/mul_n.c [__STDC__]: Make code unconditional.
24555         [!__STDC__]: Remove conditional code.
24556         * stdlib/rshift.c [__STDC__]: Make code unconditional.
24557         [!__STDC__]: Remove conditional code.
24558         * stdlib/strtod.c (INTERNAL (STRTOF)): Convert to prototype-style
24559         function definition.
24560         (STRTOF): Likewise.
24561         * stdlib/strtod_l.c (__STRTOF): Likewise.
24562         * stdlib/strtol.c (INTERNAL (strtol)): Likewise.
24563         * stdlib/strtol_l.c (INTERNAL (__strtol_l)): Likewise.
24564         (__strtol_l): Likewise.
24565         * stdlib/sub_n.c [__STDC__]: Make code unconditional.
24566         [!__STDC__]: Remove conditional code.
24567         * string/memrchr.c (MEMRCHR): Convert to prototype-style function
24568         definition.
24569         * string/strcasecmp.c (LOCALE_PARAM_DECL): Remove macro.
24570         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
24571         type.
24572         (__strcasecmp): Convert to prototype-style function definition.
24573         * string/strncase.c (LOCALE_PARAM_DECL): Remove macro.
24574         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
24575         type.
24576         (__strncasecmp): Convert to prototype-style function definition.
24577         * sunrpc/pm_getport.c (__libc_rpc_getport): Likewise.
24578         * sunrpc/xdr.c (xdr_union): Likewise.
24579         * sunrpc/xdr_array.c (xdr_array): Likewise.
24580         * sunrpc/xdr_ref.c (xdr_reference): Likewise.
24581         * sysdeps/m68k/m680x0/fpu/s_atan.c (__CONCATX(__,FUNC)): Likewise.
24582         * sysdeps/m68k/m680x0/fpu/s_isinf.c (__CONCATX(__,FUNC)):
24583         Likewise.
24584         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(__scalbn,suffix):
24585         Likewise.
24586         * sysdeps/m68k/m680x0/fpu/s_sincos.c (CONCATX(__,FUNC)): Likewise.
24587         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
24588         Likewise.
24589         * time/strftime_l.c (LOCALE_PARAM_DECL): Remove macro.
24590         (LOCALE_PARAM_PROTO): Likewise.
24591         [_LIBC && USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include
24592         argument type.
24593         (ut_argument_spec): Remove macro.
24594         (ut_argument_spec_iso): Rename to ut_argument_spec.
24595         (memcpy_lowcase): Use LOCALE_PARAM in declaration.  Convert to
24596         prototype-style function definition.
24597         (memcpy_uppcase): Likewise.
24598         (__strftime_internal): Likewise.
24599         (my_strftime): Likewise.
24600         * time/strptime_l.c (LOCALE_PARAM_PROTO): Remove macro.
24601         (LOCALE_PARAM_DECL): Likewise.
24602         [_LIBC] (LOCALE_PARAM): Include argument type.
24603         (__strptime_internal): Convert to prototype-style function
24604         definition.
24605         (strptime): Likewise.
24606         * wcsmbs/wcscasecmp.c (LOCALE_PARAM_DECL): Remove macro.
24607         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
24608         type.
24609         (__wcscasecmp): Convert to prototype-style function definition.
24610         * wcsmbs/wcsncase.c (LOCALE_PARAM_DECL): Remove macro.
24611         [USE_IN_EXTENDED_LOCALE_MODEL] (LOCALE_PARAM): Include argument
24612         type.
24613         (__wcsncasecmp): Convert to prototype-style function definition.
24615         * crypt/md5-crypt.c (__md5_crypt_r): Convert to prototype-style
24616         function definition.
24617         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
24618         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
24619         * debug/backtracesyms.c (__backtrace_symbols): Likewise.
24620         * elf/dl-minimal.c (_itoa): Likewise.
24621         * hurd/hurdmalloc.c (malloc): Likewise.
24622         (free): Likewise.
24623         (realloc): Likewise.
24624         * inet/inet6_option.c (inet6_option_space): Likewise.
24625         (inet6_option_init): Likewise.
24626         (inet6_option_append): Likewise.
24627         (inet6_option_alloc): Likewise.
24628         (inet6_option_next): Likewise.
24629         (inet6_option_find): Likewise.
24630         * io/ftw.c (FTW_NAME): Likewise.
24631         (NFTW_NAME): Likewise.
24632         (NFTW_NEW_NAME): Likewise.
24633         (NFTW_OLD_NAME): Likewise.
24634         * libio/iofwide.c (_IO_fwide): Likewise.
24635         * libio/strops.c (_IO_str_init_static_internal): Likewise.
24636         (_IO_str_init_static): Likewise.
24637         (_IO_str_init_readonly): Likewise.
24638         (_IO_str_overflow): Likewise.
24639         (_IO_str_underflow): Likewise.
24640         (_IO_str_count): Likewise.
24641         (_IO_str_seekoff): Likewise.
24642         (_IO_str_pbackfail): Likewise.
24643         (_IO_str_finish): Likewise.
24644         * libio/wstrops.c (_IO_wstr_init_static): Likewise.
24645         (_IO_wstr_overflow): Likewise.
24646         (_IO_wstr_underflow): Likewise.
24647         (_IO_wstr_count): Likewise.
24648         (_IO_wstr_seekoff): Likewise.
24649         (_IO_wstr_pbackfail): Likewise.
24650         (_IO_wstr_finish): Likewise.
24651         * locale/programs/localedef.c (normalize_codeset): Likewise.
24652         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
24653         (add_locales_to_archive): Likewise.
24654         (delete_locales_from_archive): Likewise.
24655         * malloc/malloc.c (__libc_mallinfo): Likewise.
24656         * math/gen-auto-libm-tests.c (init_fp_formats): Likewise.
24657         * misc/tsearch.c (__tfind): Likewise.
24658         * nptl/pthread_attr_destroy.c (__pthread_attr_destroy): Likewise.
24659         * nptl/pthread_attr_getdetachstate.c
24660         (__pthread_attr_getdetachstate): Likewise.
24661         * nptl/pthread_attr_getguardsize.c (pthread_attr_getguardsize):
24662         Likewise.
24663         * nptl/pthread_attr_getinheritsched.c
24664         (__pthread_attr_getinheritsched): Likewise.
24665         * nptl/pthread_attr_getschedparam.c
24666         (__pthread_attr_getschedparam): Likewise.
24667         * nptl/pthread_attr_getschedpolicy.c
24668         (__pthread_attr_getschedpolicy): Likewise.
24669         * nptl/pthread_attr_getscope.c (__pthread_attr_getscope):
24670         Likewise.
24671         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack):
24672         Likewise.
24673         * nptl/pthread_attr_getstackaddr.c (__pthread_attr_getstackaddr):
24674         Likewise.
24675         * nptl/pthread_attr_getstacksize.c (__pthread_attr_getstacksize):
24676         Likewise.
24677         * nptl/pthread_attr_init.c (__pthread_attr_init_2_1): Likewise.
24678         (__pthread_attr_init_2_0): Likewise.
24679         * nptl/pthread_attr_setdetachstate.c
24680         (__pthread_attr_setdetachstate): Likewise.
24681         * nptl/pthread_attr_setguardsize.c (pthread_attr_setguardsize):
24682         Likewise.
24683         * nptl/pthread_attr_setinheritsched.c
24684         (__pthread_attr_setinheritsched): Likewise.
24685         * nptl/pthread_attr_setschedparam.c
24686         (__pthread_attr_setschedparam): Likewise.
24687         * nptl/pthread_attr_setschedpolicy.c
24688         (__pthread_attr_setschedpolicy): Likewise.
24689         * nptl/pthread_attr_setscope.c (__pthread_attr_setscope):
24690         Likewise.
24691         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack):
24692         Likewise.
24693         * nptl/pthread_attr_setstackaddr.c (__pthread_attr_setstackaddr):
24694         Likewise.
24695         * nptl/pthread_attr_setstacksize.c (__pthread_attr_setstacksize):
24696         Likewise.
24697         * nptl/pthread_condattr_setclock.c (pthread_condattr_setclock):
24698         Likewise.
24699         * nptl/pthread_create.c (__find_in_stack_list): Likewise.
24700         * nptl/pthread_getattr_np.c (pthread_getattr_np): Likewise.
24701         * nptl/pthread_mutex_cond_lock.c (__pthread_mutex_lock): Define to
24702         use internal_function.
24703         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Convert to
24704         prototype-style function definition.
24705         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Likewise.
24706         (__pthread_mutex_cond_lock_adjust): Likewise.  Use
24707         internal_function.
24708         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock):
24709         Convert to prototype-style function definition.
24710         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
24711         Likewise.
24712         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_usercnt):
24713         Likewise.
24714         (__pthread_mutex_unlock): Likewise.
24715         * nptl_db/td_ta_clear_event.c (td_ta_clear_event): Likewise.
24716         * nptl_db/td_ta_set_event.c (td_ta_set_event): Likewise.
24717         * nptl_db/td_thr_clear_event.c (td_thr_clear_event): Likewise.
24718         * nptl_db/td_thr_event_enable.c (td_thr_event_enable): Likewise.
24719         * nptl_db/td_thr_set_event.c (td_thr_set_event): Likewise.
24720         * nss/makedb.c (process_input): Likewise.
24721         * posix/fnmatch.c (__strchrnul): Likewise.
24722         (__wcschrnul): Likewise.
24723         (fnmatch): Likewise.
24724         * posix/fnmatch_loop.c (FCT): Likewise.
24725         * posix/glob.c (globfree): Likewise.
24726         (__glob_pattern_type): Likewise.
24727         (__glob_pattern_p): Likewise.
24728         * posix/regcomp.c (re_compile_pattern): Likewise.
24729         (re_set_syntax): Likewise.
24730         (re_compile_fastmap): Likewise.
24731         (regcomp): Likewise.
24732         (regerror): Likewise.
24733         (regfree): Likewise.
24734         * posix/regexec.c (regexec): Likewise.
24735         (re_match): Likewise.
24736         (re_search): Likewise.
24737         (re_match_2): Likewise.
24738         (re_search_2): Likewise.
24739         (re_search_stub): Likewise.  Use internal_function
24740         (re_copy_regs): Likewise.
24741         (re_set_registers): Convert to prototype-style function
24742         definition.
24743         (prune_impossible_nodes): Likewise.  Use internal_function.
24744         * resolv/inet_net_pton.c (inet_net_pton): Convert to
24745         prototype-style function definition.
24746         (inet_net_pton_ipv4): Likewise.
24747         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
24748         * sysdeps/pthread/aio_cancel.c (aio_cancel): Likewise.
24749         * sysdeps/pthread/aio_suspend.c (aio_suspend): Likewise.
24750         * sysdeps/pthread/timer_delete.c (timer_delete): Likewise.
24751         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
24752         Make variadic.
24753         * time/strptime_l.c (localtime_r): Convert to prototype-style
24754         function definition.
24755         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
24756         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
24757         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
24758         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
24760         * crypt/crypt.c (_ufc_doit_r): Convert to prototype-style function
24761         definition.
24762         (_ufc_doit_r): Likewise.
24763         * crypt/crypt_util.c (_ufc_copymem): Likewise.
24764         (_ufc_output_conversion_r): Likewise.
24765         * inet/inet_mkadr.c (__inet_makeaddr): Likewise.
24766         * inet/rcmd.c (rcmd_af): Likewise.
24767         (rcmd): Likewise.
24768         (ruserok_af): Likewise.
24769         (ruserok): Likewise.
24770         (ruserok2_sa): Likewise.
24771         (ruserok_sa): Likewise.
24772         (iruserok_af): Likewise.
24773         (iruserok): Likewise.
24774         (__ivaliduser): Likewise.
24775         (__validuser2_sa): Likewise.
24776         * inet/rexec.c (rexec_af): Likewise.
24777         (rexec): Likewise.
24778         * inet/ruserpass.c (ruserpass): Likewise.
24779         * locale/programs/xmalloc.c (xcalloc): Likewise.
24780         * manual/examples/timeval_subtract.c (timeval_subtract): Likewise.
24781         * math/w_drem.c (__drem): Likewise.
24782         * math/w_dremf.c (__dremf): Likewise.
24783         * math/w_dreml.c (__dreml): Likewise.
24784         * misc/daemon.c (daemon): Likewise.
24785         * resolv/res_debug.c (p_fqnname): Likewise.
24786         * stdlib/div.c (div): Likewise.
24787         * string/memcmp.c (memcmp_bytes): Likewise.
24788         * sunrpc/pmap_rmt.c (pmap_rmtcall): Likewise.
24789         * sunrpc/svc_udp.c (svcudp_bufcreate): Likewise.
24791         * crypt/cert.c (main): Convert to prototype-style function
24792         definition.
24793         * io/pipe.c (__pipe): Likewise.
24794         * io/pipe2.c (__pipe2): Likewise.
24795         * misc/futimesat.c (futimesat): Likewise.
24796         * misc/utimes.c (__utimes): Likewise.
24797         * posix/execve.c (__execve): Likewise.
24798         * posix/execvp.c (execvp): Likewise.
24799         * posix/execvpe.c (__execvpe): Likewise.
24800         * posix/fexecve.c (fexecve): Likewise.
24801         * socket/socketpair.c (socketpair): Likewise.
24802         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
24803         * stdlib/erand48.c (erand48): Likewise.
24804         * stdlib/erand48_r.c (__erand48_r): Likewise.
24805         * stdlib/jrand48.c (jrand48): Likewise.
24806         * stdlib/jrand48_r.c (__jrand48_r): Likewise.
24807         * stdlib/lcong48.c (lcong48): Likewise.
24808         * stdlib/lcong48_r.c (__lcong48_r): Likewise.
24809         * stdlib/nrand48.c (nrand48): Likewise.
24810         * stdlib/nrand48_r.c (__nrand48_r): Likewise.
24811         * stdlib/seed48.c (seed48): Likewise.
24812         * stdlib/seed48_r.c (__seed48_r): Likewise.
24813         * sysdeps/mach/hurd/execve.c (__execve): Likewise.
24814         * sysdeps/mach/hurd/utimes.c (__utimes): Likewise.
24815         * sysdeps/unix/sysv/linux/fexecve.c (fexecve): Likewise.
24817 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
24819         * configure.ac (libc_cv_asm_unique_object): Remove configure test.
24820         * configure: Regenerated.
24821         * config.h.in (HAVE_ASM_UNIQUE_OBJECT): Remove #undef.
24822         * elf/tst-unique1.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Make code
24823         unconditional.
24824         * elf/tst-unique1mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
24825         * elf/tst-unique1mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
24826         * elf/tst-unique2.c (do_test) [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
24827         (do_test) [!HAVE_ASM_UNIQUE_OBJECT]: Remove conditional code.
24828         * elf/tst-unique2mod1.c [HAVE_ASM_UNIQUE_OBJECT]: Make code
24829         unconditional.
24830         * elf/tst-unique2mod2.c [HAVE_ASM_UNIQUE_OBJECT]: Likewise.
24832         * posix/Makefile (CFLAGS-regex.c): Remove variable.
24833         * resolv/Makefile (+cflags): Do not use -Wno-strict-prototypes.
24835         * crypt/crypt-entry.c (__crypt_r): Convert to prototype-style
24836         function definition.
24837         * crypt/crypt_util.c (__encrypt_r): Likewise.
24838         * libio/genops.c (_IO_no_init): Likewise.
24839         * libio/iofopncook.c (_IO_fopencookie): Likewise.
24840         (_IO_old_fopencookie): Likewise.
24841         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
24842         * libio/iogetline.c (_IO_getline): Likewise.
24843         (_IO_getline_info): Likewise.
24844         * libio/iogetwline.c (_IO_getwline): Likewise.
24845         (_IO_getwline_info): Likewise.
24846         * libio/vsnprintf.c (_IO_vsnprintf): Likewise.
24847         * libio/vswprintf.c (_IO_vswprintf): Likewise.
24848         * locale/programs/simple-hash.c (insert_entry_2): Likewise.
24849         (find_entry): Likewise.
24850         (iterate_table): Likewise.
24851         (lookup): Likewise.
24852         * login/forkpty.c (forkpty): Likewise.
24853         * misc/hsearch_r.c (__hsearch_r): Likewise.
24854         * misc/select.c (__select): Likewise.
24855         * nptl/cleanup_defer_compat.c (_pthread_cleanup_pop_restore):
24856         Likewise.
24857         * nptl/old_pthread_cond_init.c (__pthread_cond_init_2_0):
24858         Likewise.
24859         * nptl/old_pthread_cond_timedwait.c
24860         (__pthread_cond_timedwait_2_0): Likewise.
24861         * nptl/pthread_barrier_init.c (__pthread_barrier_init): Likewise.
24862         * nptl/pthread_barrierattr_getpshared.c
24863         (pthread_barrierattr_getpshared): Likewise.
24864         * nptl/pthread_getschedparam.c (__pthread_getschedparam):
24865         Likewise.
24866         * nptl/pthread_mutex_setprioceiling.c
24867         (pthread_mutex_setprioceiling): Likewise.
24868         * nptl/pthread_mutexattr_getprioceiling.c
24869         (pthread_mutexattr_getprioceiling): Likewise.
24870         * nptl/pthread_rwlock_init.c (__pthread_rwlock_init): Likewise.
24871         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
24872         Likewise.
24873         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
24874         Likewise.
24875         * nptl/pthread_setschedparam.c (__pthread_setschedparam):
24876         Likewise.
24877         * socket/recvfrom.c (__recvfrom): Likewise.
24878         * socket/sendto.c (__sendto): Likewise.
24879         * socket/setsockopt.c (__setsockopt): Likewise.
24880         * stdio-common/_itoa.c (_itoa): Likewise.
24881         * stdio-common/_itowa.c (_itowa): Likewise.
24882         * stdio-common/reg-printf.c (__register_printf_specifier):
24883         Likewise.
24884         (__register_printf_function): Likewise.
24885         * stdio-common/tempname.c (__path_search): Likewise.
24886         * stdlib/addmul_1.c (mpn_addmul_1): Likewise.
24887         * stdlib/mul_1.c (mpn_mul_1): Likewise.
24888         * stdlib/random_r.c (__initstate_r): Likewise.
24889         * stdlib/setenv.c (__add_to_environ): Likewise.
24890         * stdlib/submul_1.c (mpn_submul_1): Likewise.
24891         * streams/getpmsg.c (getpmsg): Likewise.
24892         * streams/putmsg.c (putmsg): Likewise.
24893         * streams/putpmsg.c (putpmsg): Likewise.
24894         * sunrpc/clnt_raw.c (clntraw_call): Likewise.
24895         * sunrpc/clnt_tcp.c (clnttcp_call): Likewise.
24896         * sunrpc/clnt_udp.c (clntudp_create): Likewise.
24897         * sunrpc/clnt_unix.c (clntunix_call): Likewise.
24898         * sunrpc/pm_getport.c (pmap_getport): Likewise.
24899         * sunrpc/svc_udp.c (cache_get): Likewise.
24900         * sunrpc/xdr_array.c (xdr_vector): Likewise.
24901         * sysdeps/mach/hurd/getcwd.c
24902         (__canonicalize_directory_name_internal): Likewise.
24903         * sysdeps/mach/hurd/pselect.c (__pselect): Likewise.
24904         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Likewise.
24905         * sysdeps/mach/hurd/select.c (__select): Likewise.
24906         * sysdeps/posix/ttyname_r.c (getttyname_r): Likewise.
24907         * sysdeps/pthread/timer_settime.c (timer_settime): Likewise.
24908         * sysdeps/sparc/nptl/pthread_barrier_init.c
24909         (__pthread_barrier_init): Likewise.
24910         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c
24911         (__pthread_cond_timedwait): Likewise.
24912         * sysdeps/unix/sysv/linux/i386/putmsg.c (putmsg): Likewise.
24913         * sysdeps/unix/sysv/linux/s390/semtimedop.c (semtimedop):
24914         Likewise.
24915         * sysdeps/unix/sysv/linux/semtimedop.c (semtimedop): Likewise.
24916         * sysdeps/unix/sysv/linux/timer_settime.c (timer_settime):
24917         Likewise.
24918         * sysvipc/semtimedop.c (semtimedop): Likewise.
24919         * time/setitimer.c (__setitimer): Likewise.
24920         * time/strftime_l.c (emacs_strftime): Likewise.
24922 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
24924         * config.make.in (have-ssp): Delete.
24925         (stack-protector): New variable.
24926         * configure.ac: Delete libc_cv_ssp export.  Add libc_cv_ssp_strong
24927         cache test for -fstack-protector-strong.  Export stack_protector to
24928         the best ssp flag.
24929         * configure: Regenerated.
24930         * login/Makefile (pt_chown-cflags): Always add $(stack-protector).
24931         * nscd/Makefile (CFLAGS-nscd): Likewise.
24932         * resolv/Makefile (CFLAGS-libresolv): Likewise.
24934 2015-10-16  H.J. Lu  <hongjiu.lu@intel.com>
24936         [BZ #19122]
24937         * include/sys/stat.h [IS_IN (rtld)] (__fxstatat64): Add
24938         attribute_hidden.
24940 2015-10-19  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
24942         [BZ #18743]
24943         * sysdeps/powerpc/nptl/elide.h (__elide_lock): Move most of this
24944         code to...
24945         (ELIDE_LOCK): ...here.
24946         (__get_new_count): New function with part of the code from
24947         __elide_lock that updates the value of adapt_count after a
24948         transaction abort.
24949         (__elided_trylock): Moved this code to...
24950         (ELIDE_TRYLOCK): ...here.
24952 2015-10-19  Mike Frysinger  <vapier@gentoo.org>
24954         * configure.ac (AC_ARG_ENABLE(timezone-tools)): Tweak help phrasing.
24955         * configure: Regenerate.
24956         * INSTALL: Regenerate.
24957         * manual/install.texi (--disable-timezone-tools): Use @theglibc{}
24958         and tweak grammar.
24960 2015-10-19  Geoffrey Thomas  <geofft@ldpreload.com>
24962         * login/programs/pt_chown.c: Include signal.h
24963         (main): Clear any signal mask from the parent process.
24965 2015-10-19  Joseph Myers  <joseph@codesourcery.com>
24967         * configure.ac (libc_cv_gnu89_inline): Remove configure test.
24968         * configure: Regenerated.
24969         * config.make.in (gnu89-inline-CFLAGS): Remove variable.
24970         * Makeconfig (CFLAGS): Use -fgnu89-inline instead of
24971         $(gnu89-inline-CFLAGS).
24973         * configure.ac (libc_cv_asm_weak_directive): Remove configure
24974         test.
24975         (libc_cv_asm_weakext_directive): Likewise.
24976         * configure: Regenerated.
24977         * config.h.in (HAVE_ASM_WEAK_DIRECTIVE): Remove #undef.
24978         (HAVE_ASM_WEAKEXT_DIRECTIVE): Likewise.
24979         * include/libc-symbols.h
24980         [!HAVE_ASM_WEAK_DIRECTIVE && !HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove
24981         #error.
24982         [HAVE_ASM_WEAKEXT_DIRECTIVE]: Remove conditional code.
24983         [!HAVE_ASM_WEAKEXT_DIRECTIVE]: Make code unconditional.
24985         * sysdeps/arm/backtrace.c (__backtrace): Convert to
24986         prototype-style function definition.
24987         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
24988         * sysdeps/i386/ffs.c (__ffs): Likewise.
24989         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
24990         * sysdeps/ia64/nptl/pthread_spin_lock.c (pthread_spin_lock):
24991         Likewise.
24992         * sysdeps/ia64/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
24993         Likewise.
24994         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Likewise.
24995         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
24996         Likewise.
24997         * sysdeps/m68k/ffs.c (__ffs): Likewise.
24998         * sysdeps/m68k/m680x0/fpu/e_acos.c (FUNC): Likewise.
24999         * sysdeps/m68k/m680x0/fpu/e_fmod.c (FUNC): Likewise.
25000         * sysdeps/mach/adjtime.c (__adjtime): Likewise.
25001         * sysdeps/mach/gettimeofday.c (__gettimeofday): Likewise.
25002         * sysdeps/mach/hurd/_exit.c (_exit): Likewise.
25003         * sysdeps/mach/hurd/access.c (__access): Likewise.
25004         * sysdeps/mach/hurd/adjtime.c (__adjtime): Likewise.
25005         * sysdeps/mach/hurd/chdir.c (__chdir): Likewise.
25006         * sysdeps/mach/hurd/chmod.c (__chmod): Likewise.
25007         * sysdeps/mach/hurd/chown.c (__chown): Likewise.
25008         * sysdeps/mach/hurd/cthreads.c (cthread_keycreate): Likewise.
25009         (cthread_getspecific): Likewise.
25010         (cthread_setspecific): Likewise.
25011         (__libc_getspecific): Likewise.
25012         * sysdeps/mach/hurd/euidaccess.c (__euidaccess): Likewise.
25013         * sysdeps/mach/hurd/faccessat.c (faccessat): Likewise.
25014         * sysdeps/mach/hurd/fchdir.c (__fchdir): Likewise.
25015         * sysdeps/mach/hurd/fchmod.c (__fchmod): Likewise.
25016         * sysdeps/mach/hurd/fchmodat.c (fchmodat): Likewise.
25017         * sysdeps/mach/hurd/fchown.c (__fchown): Likewise.
25018         * sysdeps/mach/hurd/fchownat.c (fchownat): Likewise.
25019         * sysdeps/mach/hurd/flock.c (__flock): Likewise.
25020         * sysdeps/mach/hurd/fsync.c (fsync): Likewise.
25021         * sysdeps/mach/hurd/ftruncate.c (__ftruncate): Likewise.
25022         * sysdeps/mach/hurd/getgroups.c (__getgroups): Likewise.
25023         * sysdeps/mach/hurd/gethostname.c (__gethostname): Likewise.
25024         * sysdeps/mach/hurd/getitimer.c (__getitimer): Likewise.
25025         * sysdeps/mach/hurd/getlogin_r.c (__getlogin_r): Likewise.
25026         * sysdeps/mach/hurd/getpgid.c (__getpgid): Likewise.
25027         * sysdeps/mach/hurd/getrusage.c (__getrusage): Likewise.
25028         * sysdeps/mach/hurd/getsockname.c (__getsockname): Likewise.
25029         * sysdeps/mach/hurd/group_member.c (__group_member): Likewise.
25030         * sysdeps/mach/hurd/isatty.c (__isatty): Likewise.
25031         * sysdeps/mach/hurd/lchown.c (__lchown): Likewise.
25032         * sysdeps/mach/hurd/link.c (__link): Likewise.
25033         * sysdeps/mach/hurd/linkat.c (linkat): Likewise.
25034         * sysdeps/mach/hurd/listen.c (__listen): Likewise.
25035         * sysdeps/mach/hurd/mkdir.c (__mkdir): Likewise.
25036         * sysdeps/mach/hurd/mkdirat.c (mkdirat): Likewise.
25037         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
25038         * sysdeps/mach/hurd/poll.c (__poll): Likewise.
25039         * sysdeps/mach/hurd/readlink.c (__readlink): Likewise.
25040         * sysdeps/mach/hurd/readlinkat.c (readlinkat): Likewise.
25041         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
25042         * sysdeps/mach/hurd/rename.c (rename): Likewise.
25043         * sysdeps/mach/hurd/renameat.c (renameat): Likewise.
25044         * sysdeps/mach/hurd/revoke.c (revoke): Likewise.
25045         * sysdeps/mach/hurd/rewinddir.c (__rewinddir): Likewise.
25046         * sysdeps/mach/hurd/rmdir.c (__rmdir): Likewise.
25047         * sysdeps/mach/hurd/seekdir.c (seekdir): Likewise.
25048         * sysdeps/mach/hurd/send.c (__send): Likewise.
25049         * sysdeps/mach/hurd/setdomain.c (setdomainname): Likewise.
25050         * sysdeps/mach/hurd/setegid.c (setegid): Likewise.
25051         * sysdeps/mach/hurd/seteuid.c (seteuid): Likewise.
25052         * sysdeps/mach/hurd/setgid.c (__setgid): Likewise.
25053         * sysdeps/mach/hurd/setgroups.c (setgroups): Likewise.
25054         * sysdeps/mach/hurd/sethostid.c (sethostid): Likewise.
25055         * sysdeps/mach/hurd/sethostname.c (sethostname): Likewise.
25056         * sysdeps/mach/hurd/setlogin.c (setlogin): Likewise.
25057         * sysdeps/mach/hurd/setpgid.c (__setpgid): Likewise.
25058         * sysdeps/mach/hurd/setregid.c (__setregid): Likewise.
25059         * sysdeps/mach/hurd/setreuid.c (__setreuid): Likewise.
25060         * sysdeps/mach/hurd/settimeofday.c (__settimeofday): Likewise.
25061         * sysdeps/mach/hurd/setuid.c (__setuid): Likewise.
25062         * sysdeps/mach/hurd/shutdown.c (shutdown): Likewise.
25063         * sysdeps/mach/hurd/sigaction.c (__sigaction): Likewise.
25064         * sysdeps/mach/hurd/sigaltstack.c (__sigaltstack): Likewise.
25065         * sysdeps/mach/hurd/sigpending.c (sigpending): Likewise.
25066         * sysdeps/mach/hurd/sigprocmask.c (__sigprocmask): Likewise.
25067         * sysdeps/mach/hurd/sigsuspend.c (__sigsuspend): Likewise.
25068         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
25069         * sysdeps/mach/hurd/symlink.c (__symlink): Likewise.
25070         * sysdeps/mach/hurd/symlinkat.c (symlinkat): Likewise.
25071         * sysdeps/mach/hurd/telldir.c (telldir): Likewise.
25072         * sysdeps/mach/hurd/truncate.c (__truncate): Likewise.
25073         * sysdeps/mach/hurd/umask.c (__umask): Likewise.
25074         * sysdeps/mach/hurd/unlink.c (__unlink): Likewise.
25075         * sysdeps/mach/hurd/unlinkat.c (unlinkat): Likewise.
25076         * sysdeps/mips/mips64/__longjmp.c (__longjmp): Likewise.
25077         * sysdeps/posix/alarm.c (alarm): Likewise.
25078         * sysdeps/posix/cuserid.c (cuserid): Likewise.
25079         * sysdeps/posix/dirfd.c (dirfd): Likewise.
25080         * sysdeps/posix/dup.c (__dup): Likewise.
25081         * sysdeps/posix/dup2.c (__dup2): Likewise.
25082         * sysdeps/posix/euidaccess.c (euidaccess): Likewise.
25083         (main): Likewise.
25084         * sysdeps/posix/flock.c (__flock): Likewise.
25085         * sysdeps/posix/fpathconf.c (__fpathconf): Likewise.
25086         * sysdeps/posix/getcwd.c (__getcwd): Likewise.
25087         * sysdeps/posix/gethostname.c (__gethostname): Likewise.
25088         * sysdeps/posix/gettimeofday.c (__gettimeofday): Likewise.
25089         * sysdeps/posix/isatty.c (__isatty): Likewise.
25090         * sysdeps/posix/killpg.c (killpg): Likewise.
25091         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
25092         * sysdeps/posix/mkfifoat.c (mkfifoat): Likewise.
25093         * sysdeps/posix/raise.c (raise): Likewise.
25094         * sysdeps/posix/remove.c (remove): Likewise.
25095         * sysdeps/posix/rename.c (rename): Likewise.
25096         * sysdeps/posix/rewinddir.c (__rewinddir): Likewise.
25097         * sysdeps/posix/seekdir.c (seekdir): Likewise.
25098         * sysdeps/posix/sigblock.c (__sigblock): Likewise.
25099         * sysdeps/posix/sigignore.c (sigignore): Likewise.
25100         * sysdeps/posix/sigintr.c (siginterrupt): Likewise.
25101         * sysdeps/posix/signal.c (__bsd_signal): Likewise.
25102         * sysdeps/posix/sigset.c (sigset): Likewise.
25103         * sysdeps/posix/sigsuspend.c (__sigsuspend): Likewise.
25104         * sysdeps/posix/sysconf.c (__sysconf): Likewise.
25105         * sysdeps/posix/sysv_signal.c (__sysv_signal): Likewise.
25106         * sysdeps/posix/time.c (time): Likewise.
25107         * sysdeps/posix/ttyname.c (getttyname): Likewise.
25108         (ttyname): Likewise.
25109         * sysdeps/posix/ttyname_r.c (__ttyname_r): Likewise.
25110         * sysdeps/posix/utime.c (utime): Likewise.
25111         * sysdeps/powerpc/fpu/s_isnan.c (__isnan): Likewise.
25112         * sysdeps/powerpc/nptl/pthread_spin_lock.c (pthread_spin_lock):
25113         Likewise.
25114         * sysdeps/powerpc/nptl/pthread_spin_trylock.c
25115         (pthread_spin_trylock): Likewise.
25116         * sysdeps/pthread/aio_error.c (aio_error): Likewise.
25117         * sysdeps/pthread/aio_read.c (aio_read): Likewise.
25118         * sysdeps/pthread/aio_read64.c (aio_read64): Likewise.
25119         * sysdeps/pthread/aio_write.c (aio_write): Likewise.
25120         * sysdeps/pthread/aio_write64.c (aio_write64): Likewise.
25121         * sysdeps/pthread/flockfile.c (__flockfile): Likewise.
25122         * sysdeps/pthread/ftrylockfile.c (__ftrylockfile): Likewise.
25123         * sysdeps/pthread/funlockfile.c (__funlockfile): Likewise.
25124         * sysdeps/pthread/timer_create.c (timer_create): Likewise.
25125         * sysdeps/pthread/timer_getoverr.c (timer_getoverrun): Likewise.
25126         * sysdeps/pthread/timer_gettime.c (timer_gettime): Likewise.
25127         * sysdeps/s390/ffs.c (__ffs): Likewise.
25128         * sysdeps/s390/nptl/pthread_spin_lock.c (pthread_spin_lock):
25129         Likewise.
25130         * sysdeps/s390/nptl/pthread_spin_trylock.c (pthread_spin_trylock):
25131         Likewise.
25132         * sysdeps/sh/nptl/pthread_spin_lock.c (pthread_spin_lock):
25133         Likewise.
25134         * sysdeps/sparc/nptl/pthread_barrier_destroy.c
25135         (pthread_barrier_destroy): Likewise.
25136         * sysdeps/sparc/nptl/pthread_barrier_wait.c
25137         (__pthread_barrier_wait): Likewise.
25138         * sysdeps/sparc/sparc32/e_sqrt.c (__ieee754_sqrt): Likewise.
25139         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
25140         (__pthread_barrier_wait): Likewise.
25141         * sysdeps/sparc/sparc32/sem_init.c (__old_sem_init): Likewise.
25142         * sysdeps/tile/memcmp.c (memcmp_common_alignment): Likewise.
25143         (memcmp_not_common_alignment): Likewise.
25144         (MEMCMP): Likewise.
25145         * sysdeps/tile/wordcopy.c (_wordcopy_fwd_aligned): Likewise.
25146         (_wordcopy_fwd_dest_aligned): Likewise.
25147         (_wordcopy_bwd_aligned): Likewise.
25148         (_wordcopy_bwd_dest_aligned): Likewise.
25149         * sysdeps/unix/bsd/ftime.c (ftime): Likewise.
25150         * sysdeps/unix/bsd/gtty.c (gtty): Likewise.
25151         * sysdeps/unix/bsd/stty.c (stty): Likewise.
25152         * sysdeps/unix/bsd/tcflow.c (tcflow): Likewise.
25153         * sysdeps/unix/bsd/tcflush.c (tcflush): Likewise.
25154         * sysdeps/unix/bsd/tcgetattr.c (__tcgetattr): Likewise.
25155         * sysdeps/unix/bsd/tcgetpgrp.c (tcgetpgrp): Likewise.
25156         * sysdeps/unix/bsd/tcsendbrk.c (tcsendbreak): Likewise.
25157         * sysdeps/unix/bsd/tcsetattr.c (tcsetattr): Likewise.
25158         * sysdeps/unix/bsd/tcsetpgrp.c (tcsetpgrp): Likewise.
25159         * sysdeps/unix/bsd/ualarm.c (ualarm): Likewise.
25160         * sysdeps/unix/bsd/wait3.c (__wait3): Likewise.
25161         * sysdeps/unix/getlogin_r.c (__getlogin_r): Likewise.
25162         * sysdeps/unix/sockatmark.c (sockatmark): Likewise.
25163         * sysdeps/unix/stime.c (stime): Likewise.
25164         * sysdeps/unix/sysv/linux/_exit.c (_exit): Likewise.
25165         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue):
25166         Likewise.  Use internal_function.
25167         * sysdeps/unix/sysv/linux/arm/sigaction.c (__libc_sigaction):
25168         Convert to prototype-style function definition.
25169         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
25170         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
25171         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Likewise.
25172         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
25173         Likewise.  Use internal_function.
25174         * sysdeps/unix/sysv/linux/gethostid.c (sethostid): Convert to
25175         prototype-style function definition
25176         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
25177         Likewise.
25178         (__getlogin_r): Likewise.
25179         * sysdeps/unix/sysv/linux/getpt.c (__posix_openpt): Likewise.
25180         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c
25181         (__pthread_cond_broadcast): Likewise.
25182         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c
25183         (__pthread_cond_destroy): Likewise.
25184         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c
25185         (__pthread_cond_init): Likewise.
25186         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c
25187         (__pthread_cond_signal): Likewise.
25188         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c
25189         (__pthread_cond_wait): Likewise.
25190         * sysdeps/unix/sysv/linux/i386/getmsg.c (getmsg): Likewise.
25191         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
25192         * sysdeps/unix/sysv/linux/ia64/sigaction.c (__libc_sigaction):
25193         Likewise.
25194         * sysdeps/unix/sysv/linux/ia64/sigpending.c (sigpending):
25195         Likewise.
25196         * sysdeps/unix/sysv/linux/ia64/sigprocmask.c (__sigprocmask):
25197         Likewise.
25198         * sysdeps/unix/sysv/linux/mips/sigaction.c (__libc_sigaction):
25199         Likewise.
25200         * sysdeps/unix/sysv/linux/msgget.c (msgget): Likewise.
25201         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c
25202         (__ftruncate64): Likewise.
25203         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c
25204         (truncate64): Likewise.
25205         * sysdeps/unix/sysv/linux/pt-raise.c (raise): Likewise.
25206         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c
25207         (pthread_getcpuclockid): Likewise.
25208         * sysdeps/unix/sysv/linux/pthread_getname.c (pthread_getname_np):
25209         Likewise.
25210         * sysdeps/unix/sysv/linux/pthread_setname.c (pthread_setname_np):
25211         Likewise.
25212         * sysdeps/unix/sysv/linux/pthread_sigmask.c (pthread_sigmask):
25213         Likewise.
25214         * sysdeps/unix/sysv/linux/pthread_sigqueue.c (pthread_sigqueue):
25215         Likewise.
25216         * sysdeps/unix/sysv/linux/raise.c (raise): Likewise.
25217         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c
25218         (__libc_sigaction): Likewise.
25219         * sysdeps/unix/sysv/linux/s390/s390-64/sigpending.c (sigpending):
25220         Likewise.
25221         * sysdeps/unix/sysv/linux/s390/s390-64/sigprocmask.c
25222         (__sigprocmask): Likewise.
25223         * sysdeps/unix/sysv/linux/semget.c (semget): Likewise.
25224         * sysdeps/unix/sysv/linux/semop.c (semop): Likewise.
25225         * sysdeps/unix/sysv/linux/setrlimit64.c (setrlimit64): Likewise.
25226         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
25227         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
25228         * sysdeps/unix/sysv/linux/shmget.c (shmget): Likewise.
25229         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
25230         Likewise.
25231         * sysdeps/unix/sysv/linux/sigpending.c (sigpending): Likewise.
25232         * sysdeps/unix/sysv/linux/sigprocmask.c (__sigprocmask): Likewise.
25233         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
25234         * sysdeps/unix/sysv/linux/sigstack.c (sigstack): Likewise.
25235         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c (sigpending):
25236         Likewise.
25237         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c
25238         (__sigprocmask): Likewise.
25239         * sysdeps/unix/sysv/linux/speed.c (cfgetospeed): Likewise.
25240         (cfgetispeed): Likewise.
25241         (cfsetospeed): Likewise.
25242         (cfsetispeed): Likewise.
25243         * sysdeps/unix/sysv/linux/tcflow.c (tcflow): Likewise.
25244         * sysdeps/unix/sysv/linux/tcflush.c (tcflush): Likewise.
25245         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
25246         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
25247         * sysdeps/unix/sysv/linux/time.c (time): Likewise.
25248         * sysdeps/unix/sysv/linux/timer_create.c (timer_create): Likewise.
25249         * sysdeps/unix/sysv/linux/timer_delete.c (timer_delete): Likewise.
25250         * sysdeps/unix/sysv/linux/timer_getoverr.c (timer_getoverrun):
25251         Likewise.
25252         * sysdeps/unix/sysv/linux/timer_gettime.c (timer_gettime):
25253         Likewise.
25254         * sysdeps/unix/sysv/linux/x86_64/sigpending.c (sigpending):
25255         Likewise.
25256         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c (__sigprocmask):
25257         Likewise.
25258         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
25260 2015-10-17  Florian Weimer  <fweimer@redhat.com>
25262         sunrpc: Rewrite with explicit TLS access using __thread.
25263         * sunrpc/rpc_thread.c (thread_rpc_vars): New TLS variable.
25264         (__rpc_thread_destroy, rpc_thread_multi): Access thread_rpc_vars
25265         directly.
25266         (__rpc_thread_variables): Access thread_rpc_vars directly.
25267         Eliminate redundant assignment of the tvp variable.
25269 2015-10-17  Florian Weimer  <fweimer@redhat.com>
25271         malloc: Rewrite with explicit TLS access using __thread.
25272         * sysdeps/generic/malloc-machine.h (tsd_key_t, tsd_key_create)
25273         (tsd_setspecific, tsd_getspecific): Remove.
25274         * sysdeps/mach/hurd/malloc-machine.h (tsd_key_t, tsd_key_create)
25275         (tsd_setspecific, tsd_getspecific): Likewise.
25276         * sysdeps/nptl/malloc-machine.h (tsd_key_t, tsd_key_create)
25277         (tsd_setspecific, tsd_getspecific): Likewise.
25278         * malloc/arena.c (thread_arena): New TLS variable.
25279         (arena_key): Remove variable.
25280         (arena_get): Use thread_arena.
25281         (arena_lookup): Remove macro.
25282         (malloc_atfork, free_atfork, ptmalloc_lock_all)
25283         (ptmalloc_unlock_all, ptmalloc_unlock_all2, ptmalloc_init)
25284         (_int_new_arena, get_free_list, reused_arena)
25285         (arena_thread_freeres): Use thread_arena.
25286         * manual/memory.texi (Basic Allocation): Remove arena_lookup,
25287         tsd_getspecific, tsd_setspecific from safety annotations.
25288         (Allocating Cleared Space): Remove arena_lookup from safety
25289         annotations.
25291 2015-10-17  Florian Weimer  <fweimer@redhat.com>
25293         * stdio-common/vfprintf.c (printf_positional): Rewrite to use
25294         struct scratch_buffer instead of extend_alloca.
25296 2015-10-17  Florian Weimer  <fweimer@redhat.com>
25298         * sysdeps/unix/sysv/linux/kernel-features.h
25299         (__ASSUME_SOCK_CLOEXEC): Remove.
25300         * include/sys/socket.h (__have_sock_cloexec): Remove declaration.
25301         (__have_paccept): Remove unused macro.
25302         * include/unistd.h (__have_sock_cloexec): Remove declaration.
25303         * misc/syslog.c (openlog_internal): Remove fallback code for
25304         !__ASSUME_SOCK_CLOEXEC.
25305         * nis/ypclnt.c (yp_bind_client_create): Remove fallback code for
25306         missing SOCK_CLOEXEC.
25307         * nscd/connections.c (have_sock_cloexec): Remove definition.
25308         (nscd_init): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
25309         * nscd/nscd_helper.c (open_socket): Remove fallback code for
25310         !__ASSUME_SOCK_CLOEXEC.
25311         * resolv/res_send.c (__have_o_nonblock): Remove definition.
25312         (reopen): Remove fallback code for !__ASSUME_SOCK_CLOEXEC.
25313         * socket/have_sock_cloexec.c (__have_sock_cloexec): Remove
25314         definition.
25315         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Remove fallback
25316         code for !__ASSUME_SOCK_CLOEXEC.
25318 2015-10-17  Florian Weimer  <fweimer@redhat.com>
25320         [BZ #18982]
25321         * manual/stdio.texi (Variable Arguments Output): Add portability
25322         note, explaining that vfprintf clobbers the va_list pointer.
25324 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
25326         * math/libm-test.inc (fabs_test_data): Add more tests.
25327         (fdim_test_data): Likewise.
25328         (fma_test_data): Likewise.
25329         (fmax_test_data): Likewise.
25330         (fmin_test_data): Likewise.
25331         (fmod_test_data): Likewise.
25333 2015-10-16  Steve Ellcey  <sellcey@imgtec.com>
25335         * sysdeps/mips/memcpy.S (memcpy):  Add word copies for small aligned
25336         data.
25338 2015-10-16  Joseph Myers  <joseph@codesourcery.com>
25340         * math/libm-test.inc (ceil_test_data): Add more tests and more
25341         expectations for "inexact".
25342         (floor_test_data): Add more tests.
25343         (round_test_data): Likewise.
25344         (trunc_test_data): Likewise.
25346         * crypt/cert.c (good_bye): Convert to prototype-style function
25347         definition.
25348         (get8): Likewise.
25349         (put8): Likewise.
25350         * crypt/crypt-entry.c (crypt): Likewise.
25351         (__fcrypt): Likewise.
25352         * crypt/crypt_util.c (_ufc_prbits): Likewise.
25353         (_ufc_set_bits): Likewise.
25354         (_ufc_clearmem): Likewise.
25355         (__init_des_r): Likewise.
25356         (shuffle_sb): Likewise.
25357         (shuffle_sb): Likewise.
25358         (_ufc_setup_salt_r): Likewise.
25359         (_ufc_mk_keytab_r): Likewise.
25360         (_ufc_dofinalperm_r): Likewise.
25361         (encrypt): Likewise.
25362         (__setkey_r): Likewise.
25363         (setkey): Likewise.
25364         * crypt/md5.c (md5_init_ctx): Likewise.
25365         (md5_read_ctx): Likewise.
25366         (md5_finish_ctx): Likewise.
25367         (md5_stream): Likewise.
25368         (md5_buffer): Likewise.
25369         (md5_process_bytes): Likewise.
25370         * crypt/sha256.c (__sha256_init_ctx): Likewise.
25371         (__sha256_finish_ctx): Likewise.
25372         (__sha256_process_bytes): Likewise.
25373         * crypt/sha512.c (__sha512_init_ctx): Likewise.
25374         (__sha512_finish_ctx): Likewise.
25375         (__sha512_process_bytes): Likewise.
25376         * ctype/isctype.c (__isctype): Likewise.
25377         * debug/backtrace.c (__backtrace): Likewise.
25378         * debug/backtracesymsfd.c (__backtrace_symbols_fd): Likewise.
25379         * debug/fgets_chk.c (__fgets_chk): Likewise.
25380         * debug/fgets_u_chk.c (__fgets_unlocked_chk): Likewise.
25381         * debug/memcpy_chk.c (__memcpy_chk): Likewise.
25382         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
25383         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
25384         * debug/memset_chk.c (__memset_chk): Likewise.
25385         * debug/strcat_chk.c (__strcat_chk): Likewise.
25386         * debug/strncat_chk.c (__strncat_chk): Likewise.
25387         * debug/strncpy_chk.c (__strncpy_chk): Likewise.
25388         * debug/vsprintf_chk.c (_IO_str_chk_overflow): Likewise.
25389         * dirent/dirfd.c (dirfd): Likewise.
25390         * dirent/getdents.c (__getdirentries): Likewise.
25391         * dirent/getdents64.c (getdirentries64): Likewise.
25392         * dirent/rewinddir.c (__rewinddir): Likewise.
25393         * dirent/seekdir.c (seekdir): Likewise.
25394         * dirent/telldir.c (telldir): Likewise.
25395         * elf/sln.c (makesymlinks): Likewise.
25396         (makesymlink): Likewise.
25397         * gmon/gmon.c (__moncontrol): Likewise.
25398         (__monstartup): Likewise.
25399         (write_hist): Likewise.
25400         (write_call_graph): Likewise.
25401         (write_bb_counts): Likewise.
25402         * grp/setgroups.c (setgroups): Likewise.
25403         * inet/inet_lnaof.c (inet_lnaof): Likewise.
25404         * inet/inet_net.c (inet_network): Likewise.
25405         * inet/inet_netof.c (inet_netof): Likewise.
25406         * inet/rcmd.c (rresvport_af): Likewise.
25407         (rresvport): Likewise.
25408         * io/access.c (__access): Likewise.
25409         * io/chdir.c (__chdir): Likewise.
25410         * io/chmod.c (__chmod): Likewise.
25411         * io/chown.c (__chown): Likewise.
25412         * io/close.c (__close): Likewise.
25413         * io/creat.c (creat): Likewise.
25414         * io/creat64.c (creat64): Likewise.
25415         * io/dup.c (__dup): Likewise.
25416         * io/dup2.c (__dup2): Likewise.
25417         * io/dup3.c (__dup3): Likewise.
25418         * io/euidaccess.c (__euidaccess): Likewise.
25419         * io/faccessat.c (faccessat): Likewise.
25420         * io/fchmod.c (__fchmod): Likewise.
25421         * io/fchmodat.c (fchmodat): Likewise.
25422         * io/fchown.c (__fchown): Likewise.
25423         * io/fchownat.c (fchownat): Likewise.
25424         * io/fcntl.c (__fcntl): Likewise.
25425         * io/flock.c (__flock): Likewise.
25426         * io/fts.c (fts_load): Likewise.
25427         (fts_close): Likewise.
25428         (fts_read): Likewise.
25429         (fts_set): Likewise.
25430         (fts_children): Likewise.
25431         (fts_build): Likewise.
25432         (fts_stat): Likewise.
25433         (fts_sort): Likewise.
25434         (fts_alloc): Likewise.
25435         (fts_lfree): Likewise.
25436         (fts_palloc): Likewise.
25437         (fts_padjust): Likewise.
25438         (fts_maxarglen): Likewise.
25439         (fts_safe_changedir): Likewise.
25440         * io/getwd.c (getwd): Likewise.
25441         * io/isatty.c (__isatty): Likewise.
25442         * io/lchown.c (__lchown): Likewise.
25443         * io/link.c (__link): Likewise.
25444         * io/linkat.c (linkat): Likewise.
25445         * io/lseek.c (__libc_lseek): Likewise.
25446         * io/mkdir.c (__mkdir): Likewise.
25447         * io/mkdirat.c (mkdirat): Likewise.
25448         * io/mkfifo.c (mkfifo): Likewise.
25449         * io/mkfifoat.c (mkfifoat): Likewise.
25450         * io/open.c (__libc_open): Likewise.
25451         * io/open64.c (__libc_open64): Likewise.
25452         * io/readlink.c (__readlink): Likewise.
25453         * io/readlinkat.c (readlinkat): Likewise.
25454         * io/rmdir.c (__rmdir): Likewise.
25455         * io/symlink.c (__symlink): Likewise.
25456         * io/symlinkat.c (symlinkat): Likewise.
25457         * io/ttyname.c (ttyname): Likewise.
25458         * io/ttyname_r.c (__ttyname_r): Likewise.
25459         * io/umask.c (__umask): Likewise.
25460         * io/unlink.c (__unlink): Likewise.
25461         * io/unlinkat.c (unlinkat): Likewise.
25462         * io/utime.c (utime): Likewise.
25463         * libio/clearerr.c (clearerr): Likewise.
25464         * libio/clearerr_u.c (clearerr_unlocked): Likewise.
25465         * libio/feof.c (_IO_feof): Likewise.
25466         * libio/feof_u.c (feof_unlocked): Likewise.
25467         * libio/ferror.c (_IO_ferror): Likewise.
25468         * libio/ferror_u.c (ferror_unlocked): Likewise.
25469         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
25470         * libio/fileno.c (__fileno): Likewise.
25471         * libio/fputc.c (fputc): Likewise.
25472         * libio/fputc_u.c (fputc_unlocked): Likewise.
25473         * libio/fputwc.c (fputwc): Likewise.
25474         * libio/fputwc_u.c (fputwc_unlocked): Likewise.
25475         * libio/freopen.c (freopen): Likewise.
25476         * libio/freopen64.c (freopen64): Likewise.
25477         * libio/fseek.c (fseek): Likewise.
25478         * libio/fseeko.c (fseeko): Likewise.
25479         * libio/fseeko64.c (fseeko64): Likewise.
25480         * libio/ftello.c (__ftello): Likewise.
25481         * libio/ftello64.c (ftello64): Likewise.
25482         * libio/fwide.c (fwide): Likewise.
25483         * libio/genops.c (_IO_un_link): Likewise.
25484         (_IO_link_in): Likewise.
25485         (_IO_least_marker): Likewise.
25486         (_IO_switch_to_main_get_area): Likewise.
25487         (_IO_switch_to_backup_area): Likewise.
25488         (_IO_switch_to_get_mode): Likewise.
25489         (_IO_free_backup_area): Likewise.
25490         (_IO_switch_to_put_mode): Likewise.
25491         (__overflow): Likewise.
25492         (__underflow): Likewise.
25493         (__uflow): Likewise.
25494         (_IO_setb): Likewise.
25495         (_IO_doallocbuf): Likewise.
25496         (_IO_default_underflow): Likewise.
25497         (_IO_default_uflow): Likewise.
25498         (_IO_default_xsputn): Likewise.
25499         (_IO_sgetn): Likewise.
25500         (_IO_default_xsgetn): Likewise.
25501         (_IO_sync): Likewise.
25502         (_IO_default_setbuf): Likewise.
25503         (_IO_default_seekpos): Likewise.
25504         (_IO_default_doallocate): Likewise.
25505         (_IO_init): Likewise.
25506         (_IO_old_init): Likewise.
25507         (_IO_default_sync): Likewise.
25508         (_IO_default_finish): Likewise.
25509         (_IO_default_seekoff): Likewise.
25510         (_IO_sputbackc): Likewise.
25511         (_IO_sungetc): Likewise.
25512         (_IO_set_column): Likewise.
25513         (_IO_set_column): Likewise.
25514         (_IO_adjust_column): Likewise.
25515         (_IO_get_column): Likewise.
25516         (_IO_init_marker): Likewise.
25517         (_IO_remove_marker): Likewise.
25518         (_IO_marker_difference): Likewise.
25519         (_IO_marker_delta): Likewise.
25520         (_IO_seekmark): Likewise.
25521         (_IO_unsave_markers): Likewise.
25522         (_IO_nobackup_pbackfail): Likewise.
25523         (_IO_default_pbackfail): Likewise.
25524         (_IO_default_seek): Likewise.
25525         (_IO_default_stat): Likewise.
25526         (_IO_default_read): Likewise.
25527         (_IO_default_write): Likewise.
25528         (_IO_default_showmanyc): Likewise.
25529         (_IO_default_imbue): Likewise.
25530         (_IO_iter_next): Likewise.
25531         (_IO_iter_file): Likewise.
25532         * libio/getc.c (_IO_getc): Likewise.
25533         * libio/getwc.c (_IO_getwc): Likewise.
25534         * libio/iofclose.c (_IO_new_fclose): Likewise.
25535         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
25536         * libio/iofflush.c (_IO_fflush): Likewise.
25537         * libio/iofflush_u.c (__fflush_unlocked): Likewise.
25538         * libio/iofgetpos.c (_IO_new_fgetpos): Likewise.
25539         * libio/iofgetpos64.c (_IO_new_fgetpos64): Likewise.
25540         * libio/iofgets.c (_IO_fgets): Likewise.
25541         * libio/iofgets_u.c (__fgets_unlocked): Likewise.
25542         * libio/iofgetws.c (fgetws): Likewise.
25543         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
25544         * libio/iofopen64.c (_IO_fopen64): Likewise.
25545         * libio/iofopncook.c (_IO_cookie_read): Likewise.
25546         (_IO_cookie_write): Likewise.
25547         (_IO_cookie_seek): Likewise.
25548         (_IO_cookie_close): Likewise.
25549         (_IO_cookie_seekoff): Likewise.
25550         (_IO_old_cookie_seek): Likewise.
25551         * libio/iofputs.c (_IO_fputs): Likewise.
25552         * libio/iofputs_u.c (__fputs_unlocked): Likewise.
25553         * libio/iofputws.c (fputws): Likewise.
25554         * libio/iofputws_u.c (fputws_unlocked): Likewise.
25555         * libio/iofread.c (_IO_fread): Likewise.
25556         * libio/iofread_u.c (__fread_unlocked): Likewise.
25557         * libio/iofsetpos.c (_IO_new_fsetpos): Likewise.
25558         * libio/iofsetpos64.c (_IO_new_fsetpos64): Likewise.
25559         * libio/ioftell.c (_IO_ftell): Likewise.
25560         * libio/iofwrite.c (_IO_fwrite): Likewise.
25561         * libio/iogetdelim.c (_IO_getdelim): Likewise.
25562         * libio/iogets.c (_IO_gets): Likewise.
25563         * libio/iopadn.c (_IO_padn): Likewise.
25564         * libio/iopopen.c (_IO_new_proc_open): Likewise.
25565         (_IO_new_popen): Likewise.
25566         (_IO_new_proc_close): Likewise.
25567         * libio/ioputs.c (_IO_puts): Likewise.
25568         * libio/ioseekoff.c (_IO_seekoff_unlocked): Likewise.
25569         (_IO_seekoff): Likewise.
25570         * libio/ioseekpos.c (_IO_seekpos_unlocked): Likewise.
25571         (_IO_seekpos): Likewise.
25572         * libio/iosetbuffer.c (_IO_setbuffer): Likewise.
25573         * libio/iosetvbuf.c (_IO_setvbuf): Likewise.
25574         * libio/ioungetc.c (_IO_ungetc): Likewise.
25575         * libio/ioungetwc.c (ungetwc): Likewise.
25576         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
25577         * libio/iovsscanf.c (_IO_vsscanf): Likewise.
25578         * libio/iowpadn.c (_IO_wpadn): Likewise.
25579         * libio/libc_fatal.c (__libc_fatal): Likewise.
25580         * libio/memstream.c (__open_memstream): Likewise.
25581         (_IO_mem_sync): Likewise.
25582         (_IO_mem_finish): Likewise.
25583         * libio/oldfileops.c (_IO_old_file_init): Likewise.
25584         (_IO_old_file_close_it): Likewise.
25585         (_IO_old_file_finish): Likewise.
25586         (_IO_old_file_fopen): Likewise.
25587         (_IO_old_file_attach): Likewise.
25588         (_IO_old_file_setbuf): Likewise.
25589         (_IO_old_do_write): Likewise.
25590         (old_do_write): Likewise.
25591         (_IO_old_file_underflow): Likewise.
25592         (_IO_old_file_overflow): Likewise.
25593         (_IO_old_file_sync): Likewise.
25594         (_IO_old_file_seekoff): Likewise.
25595         (_IO_old_file_write): Likewise.
25596         (_IO_old_file_xsputn): Likewise.
25597         * libio/oldiofclose.c (_IO_old_fclose): Likewise.
25598         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
25599         * libio/oldiofgetpos.c (_IO_old_fgetpos): Likewise.
25600         * libio/oldiofgetpos64.c (_IO_old_fgetpos64): Likewise.
25601         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
25602         * libio/oldiofsetpos.c (_IO_old_fsetpos): Likewise.
25603         * libio/oldiofsetpos64.c (_IO_old_fsetpos64): Likewise.
25604         * libio/oldiopopen.c (_IO_old_proc_open): Likewise.
25605         (_IO_old_popen): Likewise.
25606         (_IO_old_proc_close): Likewise.
25607         * libio/oldpclose.c (__old_pclose): Likewise.
25608         * libio/pclose.c (__new_pclose): Likewise.
25609         * libio/peekc.c (_IO_peekc_locked): Likewise.
25610         * libio/putc.c (_IO_putc): Likewise.
25611         * libio/putc_u.c (putc_unlocked): Likewise.
25612         * libio/putchar.c (putchar): Likewise.
25613         * libio/putchar_u.c (putchar_unlocked): Likewise.
25614         * libio/putwc.c (putwc): Likewise.
25615         * libio/putwc_u.c (putwc_unlocked): Likewise.
25616         * libio/putwchar.c (putwchar): Likewise.
25617         * libio/putwchar_u.c (putwchar_unlocked): Likewise.
25618         * libio/rewind.c (rewind): Likewise.
25619         * libio/setbuf.c (setbuf): Likewise.
25620         * libio/setlinebuf.c (setlinebuf): Likewise.
25621         * libio/vasprintf.c (_IO_vasprintf): Likewise.
25622         * libio/vscanf.c (_IO_vscanf): Likewise.
25623         * libio/vsnprintf.c (_IO_strn_overflow): Likewise.
25624         * libio/vswprintf.c (_IO_wstrn_overflow): Likewise.
25625         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
25626         * libio/wgenops.c (_IO_least_wmarker): Likewise.
25627         (_IO_switch_to_main_wget_area): Likewise.
25628         (_IO_switch_to_wbackup_area): Likewise.
25629         (_IO_wsetb): Likewise.
25630         (_IO_wdefault_pbackfail): Likewise.
25631         (_IO_wdefault_finish): Likewise.
25632         (_IO_wdefault_uflow): Likewise.
25633         (__woverflow): Likewise.
25634         (__wuflow): Likewise.
25635         (__wunderflow): Likewise.
25636         (_IO_wdefault_xsputn): Likewise.
25637         (_IO_wdefault_xsgetn): Likewise.
25638         (_IO_wdoallocbuf): Likewise.
25639         (_IO_wdefault_doallocate): Likewise.
25640         (_IO_switch_to_wget_mode): Likewise.
25641         (_IO_free_wbackup_area): Likewise.
25642         (_IO_switch_to_wput_mode): Likewise.
25643         (_IO_sputbackwc): Likewise.
25644         (_IO_sungetwc): Likewise.
25645         (_IO_adjust_wcolumn): Likewise.
25646         (_IO_init_wmarker): Likewise.
25647         (_IO_wmarker_delta): Likewise.
25648         (_IO_seekwmark): Likewise.
25649         (_IO_unsave_wmarkers): Likewise.
25650         * libio/wmemstream.c (open_wmemstream): Likewise.
25651         (_IO_wmem_sync): Likewise.
25652         (_IO_wmem_finish): Likewise.
25653         * locale/nl_langinfo.c (nl_langinfo): Likewise.
25654         * locale/nl_langinfo_l.c (__nl_langinfo_l): Likewise.
25655         * locale/programs/simple-hash.c (init_hash): Likewise.
25656         (delete_hash): Likewise.
25657         (insert_entry): Likewise.
25658         (set_entry): Likewise.
25659         (next_prime): Likewise.
25660         (is_prime): Likewise.
25661         * locale/programs/xmalloc.c (fixup_null_alloc): Likewise.
25662         (xmalloc): Likewise.
25663         (xrealloc): Likewise.
25664         * locale/programs/xstrdup.c (xstrdup): Likewise.
25665         * localedata/collate-test.c (xstrcoll): Likewise.
25666         * localedata/xfrm-test.c (xstrcmp): Likewise.
25667         * login/getlogin_r.c (__getlogin_r): Likewise.
25668         * login/getpt.c (__posix_openpt): Likewise.
25669         * login/login_tty.c (login_tty): Likewise.
25670         * login/setlogin.c (setlogin): Likewise.
25671         * mach/msg-destroy.c (__mach_msg_destroy): Likewise.
25672         (mach_msg_destroy_port): Likewise.
25673         (mach_msg_destroy_memory): Likewise.
25674         * malloc/mcheck.c (flood): Likewise.
25675         * misc/acct.c (acct): Likewise.
25676         * misc/brk.c (__brk): Likewise.
25677         * misc/chflags.c (chflags): Likewise.
25678         * misc/chroot.c (chroot): Likewise.
25679         * misc/fchflags.c (fchflags): Likewise.
25680         * misc/fstab.c (getfsspec): Likewise.
25681         (getfsfile): Likewise.
25682         * misc/fsync.c (fsync): Likewise.
25683         * misc/ftruncate.c (__ftruncate): Likewise.
25684         * misc/ftruncate64.c (__ftruncate64): Likewise.
25685         * misc/getdomain.c (getdomainname): Likewise.
25686         (getdomainname): Likewise.
25687         * misc/gethostname.c (__gethostname): Likewise.
25688         * misc/getpass.c (getpass): Likewise.
25689         * misc/getttyent.c (skip): Likewise.
25690         (value): Likewise.
25691         * misc/gtty.c (gtty): Likewise.
25692         * misc/hsearch.c (hsearch): Likewise.
25693         (hcreate): Likewise.
25694         * misc/hsearch_r.c (__hcreate_r): Likewise.
25695         (__hdestroy_r): Likewise.
25696         * misc/ioctl.c (__ioctl): Likewise.
25697         * misc/mkdtemp.c (mkdtemp): Likewise.
25698         * misc/mkostemp.c (mkostemp): Likewise.
25699         * misc/mkostemp64.c (mkostemp64): Likewise.
25700         * misc/mkostemps.c (mkostemps): Likewise.
25701         * misc/mkostemps64.c (mkostemps64): Likewise.
25702         * misc/mkstemp.c (mkstemp): Likewise.
25703         * misc/mkstemp64.c (mkstemp64): Likewise.
25704         * misc/mkstemps.c (mkstemps): Likewise.
25705         * misc/mkstemps64.c (mkstemps64): Likewise.
25706         * misc/mktemp.c (__mktemp): Likewise.
25707         * misc/preadv.c (preadv): Likewise.
25708         * misc/preadv64.c (preadv64): Likewise.
25709         * misc/pwritev.c (pwritev): Likewise.
25710         * misc/pwritev64.c (pwritev64): Likewise.
25711         * misc/readv.c (__readv): Likewise.
25712         * misc/revoke.c (revoke): Likewise.
25713         * misc/setdomain.c (setdomainname): Likewise.
25714         * misc/setegid.c (setegid): Likewise.
25715         * misc/seteuid.c (seteuid): Likewise.
25716         * misc/sethostid.c (sethostid): Likewise.
25717         * misc/sethostname.c (sethostname): Likewise.
25718         * misc/setregid.c (__setregid): Likewise.
25719         * misc/setreuid.c (__setreuid): Likewise.
25720         * misc/sstk.c (sstk): Likewise.
25721         * misc/stty.c (stty): Likewise.
25722         * misc/syscall.c (syscall): Likewise.
25723         * misc/syslog.c (setlogmask): Likewise.
25724         * misc/truncate.c (__truncate): Likewise.
25725         * misc/truncate64.c (truncate64): Likewise.
25726         * misc/ualarm.c (ualarm): Likewise.
25727         * misc/usleep.c (usleep): Likewise.
25728         * misc/ustat.c (ustat): Likewise.
25729         * misc/writev.c (__writev): Likewise.
25730         * nptl/cleanup_compat.c (_pthread_cleanup_pop): Likewise.
25731         * nptl/old_pthread_cond_broadcast.c
25732         (__pthread_cond_broadcast_2_0): Likewise.
25733         * nptl/old_pthread_cond_destroy.c (__pthread_cond_destroy_2_0):
25734         Likewise.
25735         * nptl/old_pthread_cond_signal.c (__pthread_cond_signal_2_0):
25736         Likewise.
25737         * nptl/old_pthread_cond_wait.c (__pthread_cond_wait_2_0):
25738         Likewise.
25739         * nptl/pt-raise.c (raise): Likewise.
25740         * nptl/pthread_barrier_destroy.c (pthread_barrier_destroy):
25741         Likewise.
25742         * nptl/pthread_barrier_wait.c (__pthread_barrier_wait): Likewise.
25743         * nptl/pthread_barrierattr_destroy.c
25744         (pthread_barrierattr_destroy): Likewise.
25745         * nptl/pthread_barrierattr_init.c (pthread_barrierattr_init):
25746         Likewise.
25747         * nptl/pthread_barrierattr_setpshared.c
25748         (pthread_barrierattr_setpshared): Likewise.
25749         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
25750         Likewise.
25751         * nptl/pthread_cond_destroy.c (__pthread_cond_destroy): Likewise.
25752         * nptl/pthread_cond_init.c (__pthread_cond_init): Likewise.
25753         * nptl/pthread_cond_signal.c (__pthread_cond_signal): Likewise.
25754         * nptl/pthread_condattr_destroy.c (__pthread_condattr_destroy):
25755         Likewise.
25756         * nptl/pthread_condattr_getclock.c (pthread_condattr_getclock):
25757         Likewise.
25758         * nptl/pthread_condattr_getpshared.c
25759         (pthread_condattr_getpshared): Likewise.
25760         * nptl/pthread_condattr_init.c (__pthread_condattr_init):
25761         Likewise.
25762         * nptl/pthread_condattr_setpshared.c
25763         (pthread_condattr_setpshared): Likewise.
25764         * nptl/pthread_detach.c (pthread_detach): Likewise.
25765         * nptl/pthread_equal.c (__pthread_equal): Likewise.
25766         * nptl/pthread_getcpuclockid.c (pthread_getcpuclockid): Likewise.
25767         * nptl/pthread_getspecific.c (__pthread_getspecific): Likewise.
25768         * nptl/pthread_key_delete.c (pthread_key_delete): Likewise.
25769         * nptl/pthread_mutex_consistent.c (pthread_mutex_consistent):
25770         Likewise.
25771         * nptl/pthread_mutex_destroy.c (__pthread_mutex_destroy):
25772         Likewise.
25773         * nptl/pthread_mutex_getprioceiling.c
25774         (pthread_mutex_getprioceiling): Likewise.
25775         * nptl/pthread_mutexattr_destroy.c (__pthread_mutexattr_destroy):
25776         Likewise.
25777         * nptl/pthread_mutexattr_getprotocol.c
25778         (pthread_mutexattr_getprotocol): Likewise.
25779         * nptl/pthread_mutexattr_getpshared.c
25780         (pthread_mutexattr_getpshared): Likewise.
25781         * nptl/pthread_mutexattr_getrobust.c
25782         (pthread_mutexattr_getrobust): Likewise.
25783         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
25784         Likewise.
25785         * nptl/pthread_mutexattr_init.c (__pthread_mutexattr_init):
25786         Likewise.
25787         * nptl/pthread_mutexattr_setprioceiling.c
25788         (pthread_mutexattr_setprioceiling): Likewise.
25789         * nptl/pthread_mutexattr_setprotocol.c
25790         (pthread_mutexattr_setprotocol): Likewise.
25791         * nptl/pthread_mutexattr_setpshared.c
25792         (pthread_mutexattr_setpshared): Likewise.
25793         * nptl/pthread_mutexattr_setrobust.c
25794         (pthread_mutexattr_setrobust): Likewise.
25795         * nptl/pthread_mutexattr_settype.c (__pthread_mutexattr_settype):
25796         Likewise.
25797         * nptl/pthread_rwlock_destroy.c (__pthread_rwlock_destroy):
25798         Likewise.
25799         * nptl/pthread_rwlockattr_destroy.c (pthread_rwlockattr_destroy):
25800         Likewise.
25801         * nptl/pthread_rwlockattr_getkind_np.c
25802         (pthread_rwlockattr_getkind_np): Likewise.
25803         * nptl/pthread_rwlockattr_getpshared.c
25804         (pthread_rwlockattr_getpshared): Likewise.
25805         * nptl/pthread_rwlockattr_init.c (pthread_rwlockattr_init):
25806         Likewise.
25807         * nptl/pthread_rwlockattr_setkind_np.c
25808         (pthread_rwlockattr_setkind_np): Likewise.
25809         * nptl/pthread_rwlockattr_setpshared.c
25810         (pthread_rwlockattr_setpshared): Likewise.
25811         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate):
25812         Likewise.
25813         * nptl/pthread_setcanceltype.c (__pthread_setcanceltype):
25814         Likewise.
25815         * nptl/pthread_setconcurrency.c (pthread_setconcurrency):
25816         Likewise.
25817         * nptl/pthread_setschedprio.c (pthread_setschedprio): Likewise.
25818         * nptl/pthread_setspecific.c (__pthread_setspecific): Likewise.
25819         * nptl/pthread_spin_destroy.c (pthread_spin_destroy): Likewise.
25820         * nptl/pthread_tryjoin.c (pthread_tryjoin_np): Likewise.
25821         * nptl/sem_close.c (sem_close): Likewise.
25822         * nptl/sem_destroy.c (__new_sem_destroy): Likewise.
25823         * nptl/sem_init.c (__old_sem_init): Likewise.
25824         * nptl/sigaction.c (__sigaction): Likewise.
25825         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
25826         * posix/_exit.c (_exit): Likewise.
25827         * posix/alarm.c (alarm): Likewise.
25828         * posix/confstr.c (confstr): Likewise.
25829         * posix/fpathconf.c (__fpathconf): Likewise.
25830         * posix/getgroups.c (__getgroups): Likewise.
25831         * posix/getpgid.c (__getpgid): Likewise.
25832         * posix/group_member.c (__group_member): Likewise.
25833         * posix/pathconf.c (__pathconf): Likewise.
25834         * posix/sched_getaffinity.c (sched_getaffinity): Likewise.
25835         * posix/sched_setaffinity.c (sched_setaffinity): Likewise.
25836         * posix/setgid.c (__setgid): Likewise.
25837         * posix/setpgid.c (__setpgid): Likewise.
25838         * posix/setuid.c (__setuid): Likewise.
25839         * posix/sleep.c (__sleep): Likewise.
25840         * posix/sysconf.c (__sysconf): Likewise.
25841         * posix/times.c (__times): Likewise.
25842         * posix/uname.c (__uname): Likewise.
25843         * posix/waitid.c (__waitid): Likewise.
25844         * pwd/getpw.c (__getpw): Likewise.
25845         * resolv/base64.c (b64_pton): Likewise.
25846         * resolv/gai_sigqueue.c (__gai_sigqueue): Likewise.
25847         * resolv/gethnamaddr.c (Dprintf): Likewise.
25848         (gethostbyname): Likewise.
25849         (gethostbyname2): Likewise.
25850         (gethostbyaddr): Likewise.
25851         (_sethtent): Likewise.
25852         (_gethtbyname): Likewise.
25853         (_gethtbyname2): Likewise.
25854         (_gethtbyaddr): Likewise.
25855         (map_v4v6_address): Likewise.
25856         (map_v4v6_hostent): Likewise.
25857         (addrsort): Likewise.
25858         (ht_sethostent): Likewise.
25859         (ht_gethostbyname): Likewise.
25860         (ht_gethostbyaddr): Likewise.
25861         * resolv/inet_net_ntop.c (inet_net_ntop): Likewise.
25862         (inet_net_ntop_ipv4): Likewise.
25863         * resolv/inet_neta.c (inet_neta): Likewise.
25864         * resolv/inet_ntop.c (inet_ntop): Likewise.
25865         (inet_ntop4): Likewise.
25866         (inet_ntop6): Likewise.
25867         * resolv/inet_pton.c (__inet_pton): Likewise.
25868         (inet_pton4): Likewise.
25869         (inet_pton6): Likewise.
25870         * resolv/res_debug.c (loc_aton): Likewise.
25871         (loc_ntoa): Likewise.
25872         * resource/getpriority.c (__getpriority): Likewise.
25873         * resource/getrusage.c (__getrusage): Likewise.
25874         * resource/nice.c (nice): Likewise.
25875         * resource/setpriority.c (__setpriority): Likewise.
25876         * resource/setrlimit64.c (setrlimit64): Likewise.
25877         * resource/vlimit.c (vlimit): Likewise.
25878         * resource/vtimes.c (vtimes): Likewise.
25879         * rt/aio_error.c (aio_error): Likewise.
25880         * rt/aio_return.c (aio_return): Likewise.
25881         * rt/aio_sigqueue.c (__aio_sigqueue): Likewise.
25882         * signal/kill.c (__kill): Likewise.
25883         * signal/killpg.c (killpg): Likewise.
25884         * signal/raise.c (raise): Likewise.
25885         * signal/sigaction.c (__sigaction): Likewise.
25886         * signal/sigaddset.c (sigaddset): Likewise.
25887         * signal/sigaltstack.c (sigaltstack): Likewise.
25888         * signal/sigandset.c (sigandset): Likewise.
25889         * signal/sigblock.c (__sigblock): Likewise.
25890         * signal/sigdelset.c (sigdelset): Likewise.
25891         * signal/sigempty.c (sigemptyset): Likewise.
25892         * signal/sigfillset.c (sigfillset): Likewise.
25893         * signal/sighold.c (sighold): Likewise.
25894         * signal/sigignore.c (sigignore): Likewise.
25895         * signal/sigintr.c (siginterrupt): Likewise.
25896         * signal/sigisempty.c (sigisemptyset): Likewise.
25897         * signal/sigismem.c (sigismember): Likewise.
25898         * signal/signal.c (signal): Likewise.
25899         * signal/sigorset.c (sigorset): Likewise.
25900         * signal/sigpause.c (__sigpause): Likewise.
25901         * signal/sigpending.c (sigpending): Likewise.
25902         * signal/sigprocmask.c (__sigprocmask): Likewise.
25903         * signal/sigrelse.c (sigrelse): Likewise.
25904         * signal/sigreturn.c (__sigreturn): Likewise.
25905         * signal/sigset.c (sigset): Likewise.
25906         * signal/sigsetmask.c (__sigsetmask): Likewise.
25907         * signal/sigstack.c (sigstack): Likewise.
25908         * signal/sigsuspend.c (__sigsuspend): Likewise.
25909         * signal/sigvec.c (sigvec_wrapper_handler): Likewise.
25910         * signal/sysv_signal.c (__sysv_signal): Likewise.
25911         * socket/accept.c (accept): Likewise.
25912         * socket/accept4.c (__libc_accept4): Likewise.
25913         * socket/bind.c (__bind): Likewise.
25914         * socket/connect.c (__connect): Likewise.
25915         * socket/getpeername.c (getpeername): Likewise.
25916         * socket/getsockname.c (__getsockname): Likewise.
25917         * socket/getsockopt.c (getsockopt): Likewise.
25918         * socket/listen.c (__listen): Likewise.
25919         * socket/recv.c (__recv): Likewise.
25920         * socket/recvmsg.c (__recvmsg): Likewise.
25921         * socket/send.c (__send): Likewise.
25922         * socket/sendmsg.c (__sendmsg): Likewise.
25923         * socket/shutdown.c (shutdown): Likewise.
25924         * socket/sockatmark.c (sockatmark): Likewise.
25925         * socket/socket.c (__socket): Likewise.
25926         * stdio-common/ctermid.c (ctermid): Likewise.
25927         * stdio-common/cuserid.c (cuserid): Likewise.
25928         * stdio-common/printf-prs.c (parse_printf_format): Likewise.
25929         * stdio-common/remove.c (remove): Likewise.
25930         * stdio-common/rename.c (rename): Likewise.
25931         * stdio-common/renameat.c (renameat): Likewise.
25932         * stdio-common/tempname.c (__gen_tempname): Likewise.
25933         * stdio-common/xbug.c (InitBuffer): Likewise.
25934         (AppendToBuffer): Likewise.
25935         (ReadFile): Likewise.
25936         * stdlib/a64l.c (a64l): Likewise.
25937         * stdlib/drand48_r.c (drand48_r): Likewise.
25938         * stdlib/getcontext.c (getcontext): Likewise.
25939         * stdlib/getenv.c (getenv): Likewise.
25940         * stdlib/l64a.c (l64a): Likewise.
25941         * stdlib/llabs.c (llabs): Likewise.
25942         * stdlib/lldiv.c (lldiv): Likewise.
25943         * stdlib/lrand48_r.c (lrand48_r): Likewise.
25944         * stdlib/mrand48_r.c (mrand48_r): Likewise.
25945         * stdlib/putenv.c (putenv): Likewise.
25946         * stdlib/random.c (__srandom): Likewise.
25947         (__initstate): Likewise.
25948         (__setstate): Likewise.
25949         * stdlib/random_r.c (__srandom_r): Likewise.
25950         (__setstate_r): Likewise.
25951         (__random_r): Likewise.
25952         * stdlib/secure-getenv.c (__libc_secure_getenv): Likewise.
25953         * stdlib/setcontext.c (setcontext): Likewise.
25954         * stdlib/setenv.c (setenv): Likewise.
25955         (unsetenv): Likewise.
25956         * stdlib/srand48.c (srand48): Likewise.
25957         * stdlib/srand48_r.c (__srand48_r): Likewise.
25958         * stdlib/swapcontext.c (swapcontext): Likewise.
25959         * stdlib/system.c (__libc_system): Likewise.
25960         * stdlib/tst-strtod.c (expand): Likewise.
25961         * stdlib/tst-strtol.c (expand): Likewise.
25962         * stdlib/tst-strtoll.c (expand): Likewise.
25963         * streams/fattach.c (fattach): Likewise.
25964         * streams/fdetach.c (fdetach): Likewise.
25965         * streams/getmsg.c (getmsg): Likewise.
25966         * streams/isastream.c (isastream): Likewise.
25967         * string/ffs.c (__ffs): Likewise.
25968         * string/ffsll.c (ffsll): Likewise.
25969         * string/memcmp.c (memcmp_common_alignment): Likewise.
25970         (memcmp_not_common_alignment): Likewise.
25971         (MEMCMP): Likewise.
25972         * string/memcpy.c (memcpy): Likewise.
25973         * string/memmove.c (MEMMOVE): Likewise.
25974         * string/memset.c (memset): Likewise.
25975         * string/rawmemchr.c (RAWMEMCHR): Likewise.
25976         * string/strchrnul.c (STRCHRNUL): Likewise.
25977         * string/strerror.c (strerror): Likewise.
25978         * string/strndup.c (__strndup): Likewise.
25979         * string/strverscmp.c (__strverscmp): Likewise.
25980         * sunrpc/clnt_raw.c (clntraw_freeres): Likewise.
25981         * sunrpc/clnt_tcp.c (clnttcp_geterr): Likewise.
25982         (clnttcp_freeres): Likewise.
25983         * sunrpc/clnt_unix.c (clntunix_freeres): Likewise.
25984         * sunrpc/pmap_prot.c (xdr_pmap): Likewise.
25985         * sunrpc/pmap_prot2.c (xdr_pmaplist): Likewise.
25986         * sunrpc/pmap_rmt.c (xdr_rmtcallres): Likewise.
25987         * sunrpc/rpc_prot.c (xdr_replymsg): Likewise.
25988         (xdr_callhdr): Likewise.
25989         * sunrpc/rpcinfo.c (udpping): Likewise.
25990         (tcpping): Likewise.
25991         (pstatus): Likewise.
25992         (pmapdump): Likewise.
25993         (brdcst): Likewise.
25994         (deletereg): Likewise.
25995         (getprognum): Likewise.
25996         (getvers): Likewise.
25997         (get_inet_address): Likewise.
25998         * sunrpc/svc_raw.c (svcraw_recv): Likewise.
25999         * sunrpc/svc_udp.c (svcudp_create): Likewise.
26000         (svcudp_stat): Likewise.
26001         (svcudp_recv): Likewise.
26002         (svcudp_reply): Likewise.
26003         (svcudp_getargs): Likewise.
26004         (svcudp_freeargs): Likewise.
26005         (svcudp_destroy): Likewise.
26006         * sunrpc/xdr.c (xdr_bytes): Likewise.
26007         (xdr_netobj): Likewise.
26008         (xdr_string): Likewise.
26009         (xdr_wrapstring): Likewise.
26010         * sunrpc/xdr_float.c (xdr_float): Likewise.
26011         (xdr_double): Likewise.
26012         * sunrpc/xdr_mem.c (xdrmem_setpos): Likewise.
26013         * sunrpc/xdr_ref.c (xdr_pointer): Likewise.
26014         * sysvipc/ftok.c (ftok): Likewise.
26015         * sysvipc/msgctl.c (msgctl): Likewise.
26016         * sysvipc/msgget.c (msgget): Likewise.
26017         * sysvipc/msgrcv.c (msgrcv): Likewise.
26018         * sysvipc/msgsnd.c (msgsnd): Likewise.
26019         * sysvipc/semget.c (semget): Likewise.
26020         * sysvipc/semop.c (semop): Likewise.
26021         * sysvipc/shmat.c (shmat): Likewise.
26022         * sysvipc/shmctl.c (shmctl): Likewise.
26023         * sysvipc/shmdt.c (shmdt): Likewise.
26024         * sysvipc/shmget.c (shmget): Likewise.
26025         * termios/cfmakeraw.c (cfmakeraw): Likewise.
26026         * termios/speed.c (cfgetospeed): Likewise.
26027         (cfgetispeed): Likewise.
26028         (cfsetospeed): Likewise.
26029         (cfsetispeed): Likewise.
26030         * termios/tcflow.c (tcflow): Likewise.
26031         * termios/tcflush.c (tcflush): Likewise.
26032         * termios/tcgetattr.c (__tcgetattr): Likewise.
26033         * termios/tcgetpgrp.c (tcgetpgrp): Likewise.
26034         * termios/tcgetsid.c (tcgetsid): Likewise.
26035         * termios/tcsendbrk.c (tcsendbreak): Likewise.
26036         * termios/tcsetpgrp.c (tcsetpgrp): Likewise.
26037         * time/adjtime.c (__adjtime): Likewise.
26038         * time/dysize.c (dysize): Likewise.
26039         * time/ftime.c (ftime): Likewise.
26040         * time/getitimer.c (__getitimer): Likewise.
26041         * time/gettimeofday.c (__gettimeofday): Likewise.
26042         * time/gmtime.c (__gmtime_r): Likewise.
26043         (gmtime): Likewise.
26044         * time/localtime.c (__localtime_r): Likewise.
26045         (localtime): Likewise.
26046         * time/offtime.c (__offtime): Likewise.
26047         * time/settimeofday.c (__settimeofday): Likewise.
26048         * time/stime.c (stime): Likewise.
26049         * time/strftime_l.c (tm_diff): Likewise.
26050         (iso_week_days): Likewise.
26051         * time/strptime.c (strptime): Likewise.
26052         * time/time.c (time): Likewise.
26053         * time/timespec_get.c (timespec_get): Likewise.
26054         * time/tzset.c (tzset_internal): Likewise.
26055         (compute_change): Likewise.
26056         (__tz_compute): Likewise.
26057         * wcsmbs/btowc.c (__btowc): Likewise.
26058         * wcsmbs/mbrlen.c (__mbrlen): Likewise.
26059         * wcsmbs/mbsinit.c (__mbsinit): Likewise.
26060         * wcsmbs/mbsrtowcs.c (__mbsrtowcs): Likewise.
26061         * wcsmbs/wcpcpy.c (__wcpcpy): Likewise.
26062         * wcsmbs/wcpncpy.c (__wcpncpy): Likewise.
26063         * wcsmbs/wcscat.c (__wcscat): Likewise.
26064         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
26065         * wcsmbs/wcscmp.c (WCSCMP): Likewise.
26066         * wcsmbs/wcscpy.c (WCSCPY): Likewise.
26067         * wcsmbs/wcscspn.c (wcscspn): Likewise.
26068         * wcsmbs/wcsdup.c (wcsdup): Likewise.
26069         * wcsmbs/wcslen.c (__wcslen): Likewise.
26070         * wcsmbs/wcsncat.c (WCSNCAT): Likewise.
26071         * wcsmbs/wcsncmp.c (WCSNCMP): Likewise.
26072         * wcsmbs/wcsncpy.c (__wcsncpy): Likewise.
26073         * wcsmbs/wcsnlen.c (__wcsnlen): Likewise.
26074         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
26075         * wcsmbs/wcsrchr.c (WCSRCHR): Likewise.
26076         * wcsmbs/wcsspn.c (wcsspn): Likewise.
26077         * wcsmbs/wcsstr.c (wcsstr): Likewise.
26078         * wcsmbs/wcstok.c (wcstok): Likewise.
26079         * wcsmbs/wctob.c (wctob): Likewise.
26080         * wcsmbs/wmemchr.c (__wmemchr): Likewise.
26081         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
26082         * wcsmbs/wmemcpy.c (__wmemcpy): Likewise.
26083         * wcsmbs/wmemmove.c (__wmemmove): Likewise.
26084         * wcsmbs/wmempcpy.c (__wmempcpy): Likewise.
26085         * wcsmbs/wmemset.c (__wmemset): Likewise.
26086         * wctype/wcfuncs.c (__towlower): Likewise.
26087         (__towupper): Likewise.
26089         * sysdeps/unix/sysv/linux/i386/lowlevellock.h
26090         (lll_unlock_elision): Add adapt_count parameter.
26092 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
26094         * sysdeps/nptl/configure.ac: Do not give errors based on the
26095         results of top-level configure tests.
26096         * sysdeps/nptl/configure: Regenerated.
26098         * configure.ac (libc_cv_Bgroup): Remove configure test.
26099         * configure: Regenerated.
26100         * config.make.in (have-Bgroup): Remove variable.
26102         * configure.ac (sizeof_long_double): Remove configure test.
26103         * configure: Regenerated.
26104         * config.make.in (sizeof-long-double): Remove variable.
26106         * configure.ac (libc_cv_gcc_exceptions): Remove configure test.
26107         * configure: Regenerated.
26108         * sysdeps/arm/configure.ac (libc_cv_gcc_exceptions): Do not set
26109         variable.
26110         (exceptions): Likewise.
26111         * sysdeps/arm/configure: Regenerated.
26112         * config.make.in (exceptions): Remove variable.
26113         * Makeconfig (uses-callbacks): Use -fexceptions instead of
26114         $(exceptions).
26115         * debug/Makefile (CFLAGS-dprintf_chk.c): Likewise.
26116         (CFLAGS-vdprintf_chk.c): Likewise.
26117         (CFLAGS-printf_chk.c): Likewise.
26118         (CFLAGS-fprintf_chk.c): Likewise.
26119         (CFLAGS-vprintf_chk.c): Likewise.
26120         (CFLAGS-vfprintf_chk.c): Likewise.
26121         (CFLAGS-gets_chk.c): Likewise.
26122         (CFLAGS-fgets_chk.c): Likewise.
26123         (CFLAGS-fgets_u_chk.c): Likewise.
26124         (CFLAGS-fread_chk.c): Likewise.
26125         (CFLAGS-fread_u_chk.c): Likewise.
26126         (CFLAGS-wprintf_chk.c): Likewise.
26127         (CFLAGS-fwprintf_chk.c): Likewise.
26128         (CFLAGS-vwprintf_chk.c): Likewise.
26129         (CFLAGS-vfwprintf_chk.c): Likewise.
26130         (CFLAGS-fgetws_chk.c): Likewise.
26131         (CFLAGS-fgetws_u_chk.c): Likewise.
26132         * libio/Makefile (CFLAGS-fileops.c): Likewise.
26133         (CFLAGS-fputc.c): Likewise.
26134         (CFLAGS-fputwc.c): Likewise.
26135         (CFLAGS-freopen64.c): Likewise.
26136         (CFLAGS-freopen.c): Likewise.
26137         (CFLAGS-fseek.c): Likewise.
26138         (CFLAGS-fseeko64.c): Likewise.
26139         (CFLAGS-fseeko.c): Likewise.
26140         (CFLAGS-ftello64.c): Likewise.
26141         (CFLAGS-ftello.c): Likewise.
26142         (CFLAGS-fwide.c): Likewise.
26143         (CFLAGS-genops.c): Likewise.
26144         (CFLAGS-getc.c): Likewise.
26145         (CFLAGS-getchar.c): Likewise.
26146         (CFLAGS-getwc.c): Likewise.
26147         (CFLAGS-getwchar.c): Likewise.
26148         (CFLAGS-iofclose.c): Likewise.
26149         (CFLAGS-iofflush.c): Likewise.
26150         (CFLAGS-iofgetpos64.c): Likewise.
26151         (CFLAGS-iofgetpos.c): Likewise.
26152         (CFLAGS-iofgets.c): Likewise.
26153         (CFLAGS-iofgetws.c): Likewise.
26154         (CFLAGS-iofputs.c): Likewise.
26155         (CFLAGS-iofputws.c): Likewise.
26156         (CFLAGS-iofread.c): Likewise.
26157         (CFLAGS-iofsetpos64.c): Likewise.
26158         (CFLAGS-iofsetpos.c): Likewise.
26159         (CFLAGS-ioftell.c): Likewise.
26160         (CFLAGS-iofwrite.c): Likewise.
26161         (CFLAGS-iogetdelim.c): Likewise.
26162         (CFLAGS-iogetline.c): Likewise.
26163         (CFLAGS-iogets.c): Likewise.
26164         (CFLAGS-iogetwline.c): Likewise.
26165         (CFLAGS-ioputs.c): Likewise.
26166         (CFLAGS-ioseekoff.c): Likewise.
26167         (CFLAGS-ioseekpos.c): Likewise.
26168         (CFLAGS-iosetbuffer.c): Likewise.
26169         (CFLAGS-iosetvbuf.c): Likewise.
26170         (CFLAGS-ioungetc.c): Likewise.
26171         (CFLAGS-ioungetwc.c): Likewise.
26172         (CFLAGS-oldfileops.c): Likewise.
26173         (CFLAGS-oldiofclose.c): Likewise.
26174         (CFLAGS-oldiofgetpos64.c): Likewise.
26175         (CFLAGS-oldiofgetpos.c): Likewise.
26176         (CFLAGS-oldiofsetpos64.c): Likewise.
26177         (CFLAGS-oldiofsetpos.c): Likewise.
26178         (CFLAGS-peekc.c): Likewise.
26179         (CFLAGS-putc.c): Likewise.
26180         (CFLAGS-putchar.c): Likewise.
26181         (CFLAGS-putwc.c): Likewise.
26182         (CFLAGS-putwchar.c): Likewise.
26183         (CFLAGS-rewind.c): Likewise.
26184         (CFLAGS-wfileops.c): Likewise.
26185         (CFLAGS-wgenops.c): Likewise.
26186         (CFLAGS-oldiofopen.c): Likewise.
26187         (CFLAGS-iofopen.c): Likewise.
26188         (CFLAGS-iofopen64.c): Likewise.
26189         (CFLAGS-oldtmpfile.c): Likewise.
26190         * stdio-common/Makefile (CFLAGS-vfprintf.c): Likewise.
26191         (CFLAGS-fprintf.c): Likewise.
26192         (CFLAGS-printf.c): Likewise.
26193         (CFLAGS-vfwprintf.c): Likewise.
26194         (CFLAGS-vfscanf.c): Likewise.
26195         (CFLAGS-vfwscanf.c): Likewise.
26196         (CFLAGS-fscanf.c): Likewise.
26197         (CFLAGS-scanf.c): Likewise.
26198         (CFLAGS-isoc99_vfscanf.c): Likewise.
26199         (CFLAGS-isoc99_vscanf.c): Likewise.
26200         (CFLAGS-isoc99_fscanf.c): Likewise.
26201         (CFLAGS-isoc99_scanf.c): Likewise.
26202         * wcsmbs/Makefile (CFLAGS-isoc99_wscanf.c): Likewise.
26203         (CFLAGS-isoc99_fwscanf.c): Likewise.
26204         (CFLAGS-isoc99_vwscanf.c): Likewise.
26205         (CFLAGS-isoc99_vfwscanf.c): Likewise.
26207         * io/test-lfs.c (do_prepare): Do not call add_temp_file until
26208         after mkstemp64.
26209         * login/tst-utmp.c (do_prepare): Likewise.
26210         * rt/tst-aio.c (do_prepare): Likewise.
26211         * rt/tst-aio64.c (do_prepare): Likewise.
26213 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
26215         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
26216         (__lll_lock_elision): Remove adapt_count decrement...
26217         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c
26218         (__lll_trylock_elision): Likewise.
26219         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c
26220         (__lll_unlock_elision): ... to here. And utilize
26221         new adapt_count parameter.
26222         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
26223         (__lll_unlock_elision): Update to include adapt_count
26224         parameter.
26225         (lll_unlock_elision): Pass pointer to adapt_count
26226         variable.
26228 2015-10-15  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
26230         * nptl/pthread_mutex_unlock.c (lll_unlock_elision):
26231         Add elision adapt_count parameter to list of arguments.
26232         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h
26233         (lll_unlock_elision): Update with new parameter list
26234         * sysdeps/unix/sysv/linux/s390/lowlevellock.h
26235         (lll_unlock_elision): Likewise.
26236         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h
26237         (lll_unlock_elision): Likewise.
26239 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
26241         [BZ #19122]
26242         * include/sys/utsname.h [IS_IN (rtld)] (__uname): Add
26243         attribute_hidden.
26245         * include/string.h [IS_IN (rtld)] (__stpcpy): Add
26246         attribute_hidden.
26247         [IS_IN (rtld)] (__strdup): Likewise.
26248         [IS_IN (rtld)] (__strerror_r): Likewise.
26249         [IS_IN (rtld)] (__strsep_g): Likewise.
26250         [IS_IN (rtld)] (memchr): Likewise.
26251         [IS_IN (rtld)] (memcmp): Likewise.
26252         [IS_IN (rtld)] (memcpy): Likewise.
26253         [IS_IN (rtld)] (memmove): Likewise.
26254         [IS_IN (rtld)] (memset): Likewise.
26255         [IS_IN (rtld)] (rawmemchr): Likewise.
26256         [IS_IN (rtld)] (stpcpy): Likewise.
26257         [IS_IN (rtld)] (strchr): Likewise.
26258         [IS_IN (rtld)] (strcmp): Likewise.
26259         [IS_IN (rtld)] (strlen): Likewise.
26260         [IS_IN (rtld)] (strnlen): Likewise.
26261         [IS_IN (rtld)] (strsep): Likewise.
26263         * include/stdlib.h [IS_IN (rtld)] (unsetenv): Add
26264         attribute_hidden.
26265         [IS_IN (rtld)] (__strtoul_internal): Likewise.
26267         * include/signal.h [IS_IN (rtld)] (__sigaction): Add
26268         attribute_hidden.
26269         [IS_IN (rtld)] (__libc_sigaction): Likewise.
26271         * include/setjmp.h (__longjmp): Add attribute_hidden.
26272         [IS_IN (rtld)] (__sigsetjmp): Likewise.
26274         * include/libc-internal.h [IS_IN (rtld)] (__profile_frequency):
26275         Add attribute_hidden.
26277         * include/fcntl.h (__libc_fcntl): Add attribute_hidden.
26278         [IS_IN (rtld)] (__open): Likewise.
26279         [IS_IN (rtld)] (__fcntl): Likewise.
26281         * include/dirent.h (__opendirat): Add attribute_hidden.
26282         (__getdents): Likewise.
26283         (__getdents64): Likewise.
26284         (__alloc_dir): Likewise.
26285         [IS_IN (rtld)] (__closedir): Likewise.
26286         [IS_IN (rtld)] (__fdopendir): Likewise.
26287         [IS_IN (rtld)] (__readdir): Likewise.
26288         [IS_IN (rtld)] (__readdir64): Likewise.
26289         [IS_IN (rtld)] (__rewinddir): Likewise.
26291         * include/dlfcn.h (_dl_catch_error): Moved to ...
26292         * sysdeps/generic/ldsodefs.h (_dl_catch_error): Add
26293         attribute_hidden.
26295         * sysdeps/generic/_itoa.h (_itoa): Add attribute_hidden.
26296         (_itoa_word): Likewise.
26298         * elf/dl-runtime.c (_dl_fixup): Add attribute_hidden.
26299         * elf/dynamic-link.h (_dl_try_allocate_static_tls): Likewise.
26300         * sysdeps/generic/dl-cache.h (_dl_cache_libcmp): Likewise.
26301         * sysdeps/generic/ldsodefs.h (_dl_name_match_p): Likewise.
26302         (_dl_higher_prime_number): Likewise.
26303         (_dl_debug_printf_c): Likewise.
26304         (_dl_signal_cerror): Likewise.
26305         (_dl_receive_error): Likewise.
26306         (_dl_reloc_bad_type): Likewise.
26307         (_dl_resolve_conflicts): Likewise.
26308         (_dl_check_all_versions): Likewise.
26309         (_dl_check_map_versions): Likewise.
26310         (_dl_sort_fini): Likewise.
26311         (_dl_debug_initialize): Likewise.
26312         (_dl_init_paths): Likewise.
26313         (_dl_show_auxv): Likewise.
26314         (_dl_next_ld_env_entry): Likewise.
26315         (_dl_important_hwcaps): Likewise.
26316         (_dl_load_cache_lookup): Likewise.
26317         (_dl_update_slotinfo): Likewise.
26318         (_dl_show_scope): Likewise.
26320         * sysdeps/generic/memcopy.h (_wordcopy_fwd_aligned): Add
26321         attribute_hidden.
26322         (_wordcopy_fwd_dest_aligned): Likewise.
26323         (_wordcopy_bwd_aligned): Likewise.
26324         (_wordcopy_bwd_dest_aligned): Likewise.
26326         * sysdeps/i386/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
26327         * sysdeps/i386/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
26328         Likewise.
26329         * sysdeps/x86_64/dl-tlsdesc.h (_dl_make_tlsdesc_dynamic):
26330         Likewise.
26331         * sysdeps/x86_64/dl-lookupcfg.h (_dl_unmap): Likewise.
26333 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
26335         * sysdeps/unix/sysv/linux/i386/sysdep.h: Add comments for
26336         GCC 5 requirement.
26338 2015-10-15  Joseph Myers  <joseph@codesourcery.com>
26340         * sysdeps/i386/configure.ac (libc_cv_as_i686): Remove configure
26341         test.
26342         * sysdeps/i386/configure: Regenerated.
26343         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]: Make
26344         code unconditional.
26346         * configure.ac (libc_cv_asm_previous_directive): Remove configure
26347         test.
26348         (libc_cv_asm_popsection_directive): Likewise.
26349         * configure: Regenerated.
26350         * config.h.in (HAVE_ASM_PREVIOUS_DIRECTIVE): Remove #undef.
26351         (HAVE_ASM_POPSECTION_DIRECTIVE): Likewise.
26352         * include/libc-symbols.h [HAVE_ASM_PREVIOUS_DIRECTIVE]
26353         (__make_section_unallocated): Make definition unconditional.
26354         [HAVE_ASM_POPSECTION_DIRECTIVE] (__make_section_unallocated):
26355         Remove conditional definition.
26356         [!HAVE_ASM_PREVIOUS_DIRECTIVE && !HAVE_ASM_POPSECTION_DIRECTIVE]
26357         (__make_section_unallocated): Likewise.
26359         * configure.ac (libc_cv_gcc_static_libgcc): Remove configure test.
26360         * configure: Regenerated.
26361         * config.make.in (static-libgcc): Remove variable.
26362         * Makerules (build-shlib-helper): Use -static-libgcc instead of
26363         $(static-libgcc).
26364         (build-module-helper): Likewise.
26366         * configure.ac (libc_cv_friendly_stddef): Remove configure test.
26367         * configure: Regenerated.
26369 2015-10-15  Florian Weimer  <fweimer@redhat.com>
26371         * stdio-common/vfscanf.c (MEMCPY): Remove macro.
26372         (struct char_buffer): New type.
26373         (char_buffer_start, char_buffer_size, char_buffer_error)
26374         (char_buffer_rewind, char_buffer_add): New functions.
26375         (ADDW): Remove macro, replaced by the char_buffer_add function.
26376         (_IO_vfscanf_internal): Rewrite using struct char_buffer instead
26377         of extend_alloca.  Make control flow more explicit.
26379 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
26381         [BZ #19137]
26382         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-epoll_pwait.c):
26383         Add -fomit-frame-pointer.
26384         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Remove file.
26386 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
26388         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S
26389         (__libc_do_syscall): Defined only if !__GNUC_PREREQ (5,0).
26390         * sysdeps/unix/sysv/linux/i386/sysdep.h: Define assembler macros
26391         only if !__GNUC_PREREQ (5,0).
26392         (INTERNAL_SYSCALL_MAIN_6): Optimize for GCC 5.
26393         (INTERNAL_SYSCALL_MAIN_INLINE): Likewise.
26394         (INTERNAL_SYSCALL_NCS): Likewise.
26395         (LOADREGS_0): New macro for GCC 5.
26396         (ASMARGS_0): Likewise.
26397         (LOADREGS_1): Likewise.
26398         (ASMARGS_1): Likewise.
26399         (LOADREGS_2): Likewise.
26400         (ASMARGS_2): Likewise.
26401         (LOADREGS_3): Likewise.
26402         (ASMARGS_3): Likewise.
26403         (LOADREGS_4): Likewise.
26404         (ASMARGS_4): Likewise.
26405         (LOADREGS_5): Likewise.
26406         (ASMARGS_5): Likewise.
26407         (LOADREGS_6): Likewise.
26408         (ASMARGS_6): Likewise.
26410 2015-10-15  H.J. Lu  <hongjiu.lu@intel.com>
26412         * sysdeps/unix/sysv/linux/i386/Makefile (CFLAGS-mmap.c): Add
26413         -fomit-frame-pointer.
26414         (CFLAGS-mmap64.c): Likewise.
26415         (CFLAGS-semtimedop.c): Likewise.
26416         * sysdeps/unix/sysv/linux/i386/mmap.c: New file.
26417         * sysdeps/unix/sysv/linux/i386/mmap.S: Remove file.
26418         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
26419         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
26421 2015-10-15  Florian Weimer  <fweimer@redhat.com>
26423         [BZ #18928]
26424         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Remove
26425         _dl_pointer_guard member.
26426         * elf/rtld.c (_rtld_global_ro): Remove _dl_pointer_guard
26427         initializer.
26428         (security_init): Always set up pointer guard.
26429         (process_envvars): Do not process LD_POINTER_GUARD.
26431 2015-10-14  Joseph Myers  <joseph@codesourcery.com>
26433         [BZ #19134]
26434         * sysdeps/powerpc/powerpc32/fpu/s_lround.S (.LC1): New object.
26435         (.LC2): Likewise.
26436         (.LC3): Likewise.
26437         (__lround): Do not add 0.5 to integer or out-of-range arguments.
26439 2015-10-14  Szabolcs Nagy  <szabolcs.nagy@arm.com>
26441         [BZ #19129]
26442         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save and restore
26443         r0 and r1.
26445 2015-10-14  Namhyung Kim  <namhyung@gmail.com>
26447         * manaual/argp.texi (Specifying Argp Parsers): Fix typo.
26449 2015-10-14  Carlos O'Donell  <carlos@redhat.com>
26451         * include/stap-probe.h: Fix macro definition formatting.
26453 2015-10-14  Florian Weimer  <fweimer@redhat.com>
26455         [BZ #19074]
26456         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use atomics to
26457         load and store num_ifs.
26459 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
26461         [BZ #18822]
26462         * sysdeps/unix/sysv/linux/sched_getaffinity.c
26463         (__sched_getaffinity_new): Add libc_hidden_proto and
26464         libc_hidden_def.
26466 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
26468         [BZ #19007]
26469         * scripts/localplt.awk: Also allow GOT references.
26470         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark
26471         _Unwind_Find_FDE, calloc, memalign, realloc and __libc_memalign
26472         with "+ REL R_386_GLOB_DAT".
26473         * sysdeps/x86_64/localplt.data: Mark calloc, memalign, realloc
26474         and __libc_memalign with "+ RELA R_X86_64_GLOB_DAT".
26476 2015-10-14  H.J. Lu  <hongjiu.lu@intel.com>
26478         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Use
26479         INLINE_SYSCALL_ERROR_RETURN_VALUE.
26480         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat):
26481         Likewise.
26482         * sysdeps/unix/sysv/linux/i386/setegid.c (setegid): Likewise.
26483         * sysdeps/unix/sysv/linux/i386/seteuid.c (seteuid): Likewise.
26484         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Use
26485         INTERNAL_SYSCALLINTERNAL_SYSCALL and
26486         INLINE_SYSCALL_ERROR_RETURN_VALUE.
26487         * sysdeps/unix/sysv/linux/i386/lockf64.c (lockf64): Likewise.
26488         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
26489         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction):
26490         Likewise.
26491         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
26493 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
26495         [BZ #19125]
26496         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: Include <limits.h>,
26497         <math_private.h> and <stdint.h>.
26498         (__llround): Avoid conversions to and from long long int, and
26499         subtractions, where those might raise spurious exceptions.
26500         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: Include
26501         <math_private.h> and <stdint.h>.
26502         (__llroundf): Avoid conversions to and from long long int, and
26503         subtractions, where those might raise spurious exceptions.
26505 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
26507         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Use
26508         INLINE_SYSCALL_ERROR_RETURN_VALUE.
26509         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
26510         * sysdeps/unix/sysv/linux/eventfd.c (eventfd): Likewise.
26511         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
26512         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
26513         * sysdeps/unix/sysv/linux/fcntl.c (do_fcntl): Likewise.
26514         * sysdeps/unix/sysv/linux/futimens.c (futimens): Likewise.
26515         * sysdeps/unix/sysv/linux/futimes.c (__futimes): Likewise.
26516         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
26517         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
26518         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
26519         * sysdeps/unix/sysv/linux/lutimes.c (lutimes): Likewise.
26520         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
26521         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
26522         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Likewise.
26523         * sysdeps/unix/sysv/linux/mq_open.c (__mq_open): Likewise.
26524         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
26525         * sysdeps/unix/sysv/linux/prlimit.c (prlimit): Likewise.
26526         * sysdeps/unix/sysv/linux/readahead.c (__readahead): Likewise.
26527         * sysdeps/unix/sysv/linux/shmat.c (shmat): Likewise.
26528         * sysdeps/unix/sysv/linux/signalfd.c (signalfd): Likewise.
26529         * sysdeps/unix/sysv/linux/speed.c (cfsetospeed): Likewise.
26530         * sysdeps/unix/sysv/linux/tcsetattr.c (tcsetattr): Likewise.
26531         * sysdeps/unix/sysv/linux/ustat.c (ustat): Likewise.
26532         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
26533         * sysdeps/unix/sysv/linux/xmknod.c (__xmknod): Likewise.
26534         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
26535         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
26536         * sysdeps/unix/sysv/linux/xstatconv.c (__xstat_conv): Likewise.
26537         (__xstat64_conv): Likewise.
26538         (__xstat32_conv): Likewise.
26540 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
26542         * sysdeps/unix/sysv/linux/sysdep.h: New file.
26543         * sysdeps/unix/sysv/linux/i386/sysdep.c: Likewise.
26544         * sysdeps/unix/sysv/linux/alpha/sysdep.h: Include
26545         <sysdeps/unix/sysv/linux/sysdep.h>.
26546         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
26547         * sysdeps/unix/sysv/linux/generic/sysdep.h: Likewise.
26548         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Likewise.
26549         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
26550         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
26551         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Likewise.
26552         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h: Likewise.
26553         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h: Likewise.
26554         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h: Likewise.
26555         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
26556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
26557         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
26558         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
26559         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
26560         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
26561         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
26562         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) == csu]
26563         (sysdep-dl-routines): Add sysdep.
26564         [$(subdir) == nptl] (libpthread-routines): Likewise.
26565         [$(subdir) == rt] (librt-routines): Likewise.
26566         * sysdeps/unix/sysv/linux/i386/clone.S (__clone): Don't check
26567         PIC when branching to SYSCALL_ERROR_LABEL.
26568         * sysdeps/unix/sysv/linux/i386/sysdep.S: Removed.
26569         * sysdeps/unix/sysv/linux/i386/sysdep.h: Include
26570         <sysdeps/unix/sysv/linux/sysdep.h>.
26571         (SYSCALL_ERROR_LABEL): Changed to __syscall_error.
26572         (SYSCALL_ERROR_ERRNO): Removed.
26573         (SYSCALL_ERROR_HANDLER): Changed to empty.
26574         (SYSCALL_ERROR_HANDLER_TLS_STORE): Likewise.
26575         (__syscall_error): New prototype.
26576         [IS_IN (libc)] (INLINE_SYSCALL): New macro.
26577         (INLINE_SYSCALL_ERROR_RETURN_VALUE): Likewise.
26579 2015-10-13  H.J. Lu  <hongjiu.lu@intel.com>
26581         [BZ #19124]
26582         * sysdeps/x86_64/dl-trampoline.S [!HAVE_AVX512_ASM_SUPPORT]
26583         (_dl_runtime_resolve_avx512): Make it a hidden alias of
26584         _dl_runtime_resolve_avx.
26585         (_dl_runtime_profile_avx512): Make it a hidden alias of
26586         _dl_runtime_profile_avx.
26588 2015-10-13  Joseph Myers  <joseph@codesourcery.com>
26590         * sysdeps/powerpc/fpu/s_llround.c: Move to ....
26591         * sysdeps/powerpc/powerpc32/fpu/s_llround.c: ...here.
26592         * sysdeps/powerpc/fpu/s_llroundf.c: Move to ....
26593         * sysdeps/powerpc/powerpc32/fpu/s_llroundf.c: ...here.
26595         [BZ #16422]
26596         * sysdeps/powerpc/powerpc32/fpu/configure.ac (libc_cv_ppc_fctidz):
26597         New configure test.
26598         * sysdeps/powerpc/powerpc32/fpu/configure: Regenerated.
26599         * config.h.in [_LIBC] (HAVE_PPC_FCTIDZ): New macro.
26600         * sysdeps/powerpc/powerpc32/fpu/s_llrint.c: Include <limits.h>,
26601         <math_private.h> and <stdint.h>.
26602         (__llrint): Avoid conversions to long long int where those might
26603         raise spurious exceptions.
26604         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Include
26605         <math_private.h> and <stdint.h>.
26606         (__llrintf): Avoid conversions to long long int where those might
26607         raise spurious exceptions.
26609 2015-10-12  Andreas Schwab  <schwab@suse.de>
26611         [BZ #18969]
26612         * debug/Makefile (LOCALES): Define.  Include gen-locales.mk.
26613         ($(objpfx)tst-chk1.out): Depend on $(gen-locales).
26614         * iconvdata/Makefile (LOCALES): Define.  Include gen-locales.mk.
26615         ($(objpfx)bug-iconv6.out, $(objpfx)tst-iconv7.out): Depend on
26616         $(gen-locales).
26617         * intl/Makefile (LOCALES): Define.  Include gen-locales.mk.
26618         ($(objpfx)tst-codeset.out, $(objpfx)tst-gettext.out)
26619         ($(objpfx)tst-gettext2.out, $(objpfx)tst-gettext3.out)
26620         ($(objpfx)tst-gettext4.out, $(objpfx)tst-gettext5.out)
26621         ($(objpfx)tst-gettext6.out, $(objpfx)tst-translit.out): Depend on
26622         $(gen-locales).
26623         * libio/Makefile (LOCALES): Define.  Include gen-locales.mk.
26624         ($(objpfx)bug-ftell.out, $(objpfx)bug-ungetwc1.out)
26625         ($(objpfx)bug-ungetwc2.out, $(objpfx)tst-fgetwc.out)
26626         ($(objpfx)tst-fgetws.out, $(objpfx)tst-fopenloc.out)
26627         ($(objpfx)tst-fputws.out, $(objpfx)tst-fseek.out)
26628         ($(objpfx)tst-ftell-active-handler.out)
26629         ($(objpfx)tst-ftell-append.out)
26630         ($(objpfx)tst-ftell-partial-wide.out, $(objpfx)tst-setvbuf1.out)
26631         ($(objpfx)tst-swscanf.out, $(objpfx)tst-ungetwc1.out)
26632         ($(objpfx)tst-ungetwc2.out, $(objpfx)tst-widetext.out)
26633         ($(objpfx)tst_wprintf2.out): Depend on $(gen-locales).
26634         * posix/Makefile (LOCALES): Define.  Include gen-locales.mk.
26635         ($(objpfx)bug-regex1.out, $(objpfx)bug-regex4.out)
26636         ($(objpfx)bug-regex5.out, $(objpfx)bug-regex6.out)
26637         ($(objpfx)bug-regex17.out, $(objpfx)bug-regex18.out)
26638         ($(objpfx)bug-regex19.out, $(objpfx)bug-regex20.out)
26639         ($(objpfx)bug-regex22.out, $(objpfx)bug-regex23.out)
26640         ($(objpfx)bug-regex25.out, $(objpfx)bug-regex26.out)
26641         ($(objpfx)bug-regex30.out, $(objpfx)bug-regex32.out)
26642         ($(objpfx)bug-regex33.out, $(objpfx)bug-regex34.out)
26643         ($(objpfx)bug-regex35.out, $(objpfx)tst-fnmatch.out)
26644         ($(objpfx)tst-fnmatch4.out, $(objpfx)tst-fnmatch5.out)
26645         ($(objpfx)tst-regex.out, $(objpfx)tst-regex2.out)
26646         ($(objpfx)tst-regexloc.out, $(objpfx)tst-rxspencer.out)
26647         ($(objpfx)tst-rxspencer-no-utf8.out): Depend on $(gen-locales).
26648         * stdio-common/Makefile (LOCALES): Define.  Include gen-locales.mk.
26649         ($(objpfx)bug14.out, $(objpfx)scanf13.out)
26650         ($(objpfx)test-vfprintf.out, $(objpfx)tst-grouping.out)
26651         ($(objpfx)tst-sprintf.out, $(objpfx)tst-sscanf.out)
26652         ($(objpfx)tst-swprintf.out): Depend on $(gen-locales).
26653         * stdlib/Makefile (LOCALES): Define.  Include gen-locales.mk.
26654         ($(objpfx)bug-strtod2.out, $(objpfx)testmb2.out)
26655         ($(objpfx)tst-strtod.out, $(objpfx)tst-strtod3.out)
26656         ($(objpfx)tst-strtod4.out, $(objpfx)tst-strtod5.out): Depend on
26657         $(gen-locales).
26658         * time/Makefile (LOCALES): Define.  Include gen-locales.mk.
26659         ($(objpfx)tst-ftime_l.out, $(objpfx)tst-strptime.out): Depend on
26660         $(gen-locales).
26661         * wcsmbs/Makefile (LOCALES): Define.  Include gen-locales.mk.
26662         ($(objpfx)tst-btowc.out, $(objpfx)tst-c16c32-1.out)
26663         ($(objpfx)tst-mbrtowc.out, $(objpfx)tst-mbrtowc2.out)
26664         ($(objpfx)tst-wcrtomb.out, $(objpfx)wcsmbs-tst1.out): Depend on
26665         $(gen-locales).
26666         * libio/tst_wprintf2.c (main): Use explicit locale.
26667         * wcsmbs/wcsmbs-tst1.c (main): Likewise.
26669 2015-10-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26671         * hurd/hurd-raise.c (_hurd_raise_signal): Return error returned by
26672         __msg_sig_post.
26673         * hurd/hurd/signal.h (_hurd_raise_signal): Add int return type.
26675 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
26677         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
26678         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
26680         * sysdeps/arm/libm-test-ulps: Regenerated.
26682         [BZ #15470]
26683         * sysdeps/arm/fix-fp-int-convert-overflow.h: New file.
26685         [BZ #16399]
26686         * sysdeps/generic/fix-fp-int-convert-overflow.h: New file.
26687         * sysdeps/ieee754/dbl-64/s_llrint.c: Include <fenv.h>, <limits.h>
26688         and <fix-fp-int-convert-overflow.h>.
26689         (__llrint) [FE_INVALID]: Force FE_INVALID exception as needed if
26690         FIX_DBL_LLONG_CONVERT_OVERFLOW.
26691         * sysdeps/ieee754/dbl-64/s_llround.c: Include <fenv.h>, <limits.h>
26692         and <fix-fp-int-convert-overflow.h>.
26693         (__llround) [FE_INVALID]: Force FE_INVALID exception as needed if
26694         FIX_DBL_LLONG_CONVERT_OVERFLOW.
26695         * sysdeps/ieee754/dbl-64/s_lrint.c: Include
26696         <fix-fp-int-convert-overflow.h>.
26697         (__lrint) [FE_INVALID]: Force FE_INVALID exception as needed if
26698         FIX_DBL_LLONG_CONVERT_OVERFLOW.
26699         * sysdeps/ieee754/dbl-64/s_lround.c: Include
26700         <fix-fp-int-convert-overflow.h>.
26701         (__lround) [FE_INVALID]: Force FE_INVALID exception as needed if
26702         FIX_DBL_LLONG_CONVERT_OVERFLOW.
26703         * sysdeps/ieee754/flt-32/s_llrintf.c: Include <fenv.h>, <limits.h>
26704         and <fix-fp-int-convert-overflow.h>.
26705         (__llrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
26706         FIX_DBL_LLONG_CONVERT_OVERFLOW.
26707         * sysdeps/ieee754/flt-32/s_llroundf.c: Include <fenv.h>,
26708         <limits.h> and <fix-fp-int-convert-overflow.h>.
26709         (__llroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
26710         FIX_DBL_LLONG_CONVERT_OVERFLOW.
26711         * sysdeps/ieee754/flt-32/s_lrintf.c: Include <fenv.h>, <limits.h>
26712         and <fix-fp-int-convert-overflow.h>.
26713         (__lrintf) [FE_INVALID]: Force FE_INVALID exception as needed if
26714         FIX_DBL_LLONG_CONVERT_OVERFLOW.
26715         * sysdeps/ieee754/flt-32/s_lroundf.c: Include <fenv.h>, <limits.h>
26716         and <fix-fp-int-convert-overflow.h>.
26717         (__lroundf) [FE_INVALID]: Force FE_INVALID exception as needed if
26718         FIX_DBL_LLONG_CONVERT_OVERFLOW.
26719         * sysdeps/mips/mips32/fpu/fix-fp-int-convert-overflow.h: New file.
26721 2015-10-09  Carlos O'Donell  <carlos@redhat.com>
26723         [BZ #18589]
26724         * string/bug-strcoll2.c: Adjust copyright, and remove contributed by.
26725         * string/Makefile ($(objpfx)bug-strcoll2.out): Depend on
26726         $(gen-locales).
26728 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26729             Phil Blundell <pb@pbcl.net>
26731         * nptl/Makefile (tests): Add tst-cancel26.c and tst-cancel27.c.
26732         * nptl/tst-cancel26.c: New file.
26733         * nptl/tst-cancel27.c: Likewise.
26735 2015-10-09  H.J. Lu  <hongjiu.lu@intel.com>
26737         * sysdeps/x86_64/fpu/s_llrint.S (__lrint): Add alias only if
26738         __ILP32__ isn't defined.
26739         (lrint): Likewise.
26740         * sysdeps/x86_64/fpu/s_llrintf.S (__lrintf): Likewise.
26741         (lrintf): Likewise.
26742         * sysdeps/x86_64/fpu/s_llrintl.S (__lrintl): Likewise.
26743         (lrintl): Likewise.
26744         * sysdeps/x86_64/x32/fpu/s_lrint.S: New file.
26745         * sysdeps/x86_64/x32/fpu/s_lrintf.S: Likewise.
26746         * sysdeps/x86_64/x32/fpu/s_lrintl.S: Likewise.
26748 2015-10-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
26750         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S
26751         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S
26753         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: Remove
26754         file.
26755         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Likewise.
26756         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Likewise.
26758 2015-10-09  Joseph Myers  <joseph@codesourcery.com>
26760         * sysdeps/i386/configure.ac (libc_cv_cc_novzeroupper): Remove
26761         configure test.
26762         * sysdeps/i386/configure: Regenerated.
26763         * sysdeps/x86_64/configure.ac (libc_cv_cc_novzeroupper): Remove
26764         configure test.
26765         * sysdeps/x86_64/configure: Regenerated.
26766         * sysdeps/x86_64/Makefile [$(config-cflags-novzeroupper) = yes]:
26767         Make code unconditional.
26769         * sysdeps/i386/configure.ac (libc_cv_cc_fma4): Remove configure
26770         test.
26771         * sysdeps/i386/configure: Regenerated.
26772         * sysdeps/x86_64/configure.ac (libc_cv_cc_fma4): Remove configure
26773         test.
26774         * sysdeps/x86_64/configure: Regenerated.
26775         * sysdeps/x86_64/fpu/multiarch/Makefile [$(have-mfma4) = yes]:
26776         Make code unconditional.
26777         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
26778         Likewise.
26779         * sysdeps/x86_64/fpu/multiarch/e_atan2.c [HAVE_FMA4_SUPPORT]:
26780         Likewise.
26781         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
26782         * sysdeps/x86_64/fpu/multiarch/e_exp.c [HAVE_FMA4_SUPPORT]: Make
26783         code unconditional.
26784         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
26785         * sysdeps/x86_64/fpu/multiarch/e_log.c [HAVE_FMA4_SUPPORT]: Make
26786         code unconditional.
26787         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
26788         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]: Make
26789         code unconditional.
26790         * sysdeps/x86_64/fpu/multiarch/s_atan.c [HAVE_FMA4_SUPPORT]: Make
26791         code unconditional.
26792         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
26793         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_FMA4_SUPPORT]: Make
26794         code unconditional.
26795         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
26796         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_FMA4_SUPPORT]: Make
26797         code unconditional.
26798         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
26799         * sysdeps/x86_64/fpu/multiarch/s_sin.c [HAVE_FMA4_SUPPORT]: Make
26800         code unconditional.
26801         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
26802         * sysdeps/x86_64/fpu/multiarch/s_tan.c [HAVE_FMA4_SUPPORT]: Make
26803         code unconditional.
26804         [!HAVE_FMA4_SUPPORT]: Remove conditional code.
26805         * config.h.in (HAVE_FMA4_SUPPORT): Remove #undef.
26807         [BZ #19095]
26808         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Cast low part of
26809         mantissa to long int before shifting left.
26811 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
26813         [BZ #19094]
26814         * sysdeps/ieee754/dbl-64/s_lrint.c: Include <fenv.h> and
26815         <limits.h>.
26816         (__lrint) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
26817         when result overflows but exception would not result from cast.
26818         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Include <fenv.h> and
26819         <limits.h>.
26820         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
26821         when result overflows but exception would not result from cast.
26822         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Include <fenv.h> and
26823         <limits.h>.
26824         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
26825         when result overflows but exception would not result from cast.
26826         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Include <fenv.h> and
26827         <limits.h>.
26828         (__llrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
26829         when result overflows but exception would not result from cast.
26830         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Include <fenv.h> and
26831         <limits.h>.
26832         (__lrintl) [FE_INVALID || FE_INEXACT]: Force FE_INVALID exception
26833         when result overflows but exception would not result from cast.
26834         * math/libm-test.inc (lrint_test_data): Add more tests.
26835         (llrint_test_data): Likewise.
26837 2015-10-08  Roland McGrath  <roland@hack.frob.com>
26839         [BZ #18872]
26840         * stdio-common/Makefile ($(objpfx)tst-unbputc.out):
26841         Move out from under [$(run-built-tests) = yes] conditional.
26842         ($(objpfx)tst-printf.out, $(objpfx)tst-printf-bz18872.c): Likewise.
26843         ($(objpfx)tst-printf-bz18872-mem.out): Likewise.
26845 2015-10-08  Carlos O'Donell  <carlos@redhat.com>
26847         [BZ #18589]
26848         * string/Makefile (tests): Add bug-strcoll2.
26849         (LOCALES): Add cs_CZ.UTF-8.
26850         * string/bug-strcoll2.c (test_cs_CZ): Fix typo in FAIL string.
26852         [BZ #18589]
26853         * string/bug-strcoll2.c: New file.
26854         * locale/categories.def: Revert commit
26855         f13c2a8dff2329c6692a80176262ceaaf8a6f74e.
26856         * locale/langinfo.h: Likewise.
26857         * locale/localeinfo.h: Likewise.
26858         * locale/C-collate.c: Likewise.
26859         * locale/programs/ld-collate.c (collate_output): Likewise.
26860         * string/strcoll_l.c (STRDIFF): Likewise.
26861         (STRCOLL): Likewise.
26862         * wcsmbs/wcscoll_l.c: Likewise.
26864 2015-10-08  Joseph Myers  <joseph@codesourcery.com>
26866         * math/libm-test.inc (lround_test_data): Do not expect the absence
26867         of "inexact" for some tests with non-integer arguments.
26868         (llround_test_data): Likewise.
26870         * sysdeps/i386/configure.ac (libc_cv_cc_avx): Remove configure
26871         test.
26872         (libc_cv_cc_sse2avx): Likewise.
26873         * sysdeps/i386/configure: Regenerated.
26874         * sysdeps/i386/i686/multiarch/Makefile
26875         [$(subdir)$(config-cflags-avx) = mathyes]: Change conditional to
26876         [$(subdir) = math].
26877         * sysdeps/i386/i686/multiarch/s_fma-fma.c [HAVE_AVX_SUPPORT]: Make
26878         code unconditional.
26879         * sysdeps/i386/i686/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
26880         Likewise.
26881         * sysdeps/i386/i686/multiarch/s_fmaf-fma.c [HAVE_AVX_SUPPORT]:
26882         Likewise.
26883         * sysdeps/i386/i686/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
26884         Likewise.
26885         * sysdeps/x86_64/configure.ac (libc_cv_cc_avx): Remove configure
26886         test.
26887         (libc_cv_cc_sse2avx): Likewise.
26888         * sysdeps/x86_64/configure: Regenerated.
26889         * sysdeps/x86_64/Makefile [$(config-cflags-avx) = yes]: Make code
26890         unconditional.
26891         * sysdeps/x86_64/dl-trampoline.h (_dl_runtime_profile)
26892         [HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT]: Make code
26893         unconditional.
26894         (_dl_runtime_profile)
26895         [!(HAVE_AVX_SUPPORT || HAVE_AVX512_ASM_SUPPORT)]: Remove
26896         conditional code.
26897         * sysdeps/x86_64/fpu/multiarch/Makefile
26898         [$(config-cflags-sse2avx) = yes]: Make code unconditional.
26899         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
26900         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
26901         * sysdeps/x86_64/fpu/multiarch/e_exp.c
26902         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
26903         * sysdeps/x86_64/fpu/multiarch/e_log.c
26904         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
26905         * sysdeps/x86_64/fpu/multiarch/s_atan.c
26906         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
26907         * sysdeps/x86_64/fpu/multiarch/s_fma.c [HAVE_AVX_SUPPORT]:
26908         Likewise.
26909         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c [HAVE_AVX_SUPPORT]:
26910         Likewise.
26911         * sysdeps/x86_64/fpu/multiarch/s_sin.c
26912         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
26913         * sysdeps/x86_64/fpu/multiarch/s_tan.c
26914         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
26915         * sysdeps/x86_64/multiarch/strcmp.S [HAVE_AVX_SUPPORT]: Likewise.
26916         * config.h.in (HAVE_AVX_SUPPORT): Remove #undef.
26917         (HAVE_SSE2AVX_SUPPORT): Likewise.
26919 2015-10-07  Paul Pluzhnikov  <ppluzhnikov@google.com>
26921         * stdio-common/tst-printf-bz18872.sh: Use attribute optimize
26922         instead of #pragma optimize.
26924 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
26926         [BZ #17195]
26927         * malloc/arena.c (heap_trim): Apply trim_treshold to top_chunck size,
26928         as is similarly done in systrim and _int_free already.
26930 2015-10-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
26932         * sysdeps/mach/configure.ac (mach_interface_list): Add task_notify.
26934 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
26936         [BZ #19088]
26937         * sysdeps/ieee754/dbl-64/s_lround.c: Include <fenv.h> and
26938         <limits.h>.
26939         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
26940         overflows but exception would not result from cast.
26941         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Include <fenv.h>
26942         and <limits.h>.
26943         (__lround) [FE_INVALID]: Force FE_INVALID exception when result
26944         overflows but exception would not result from cast.
26945         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Include <fenv.h> and
26946         <limits.h>.
26947         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
26948         overflows but exception would not result from cast.
26949         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Include <fenv.h> and
26950         <limits.h>.
26951         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
26952         overflows but exception would not result from cast.
26953         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Include <fenv.h> and
26954         <limits.h>.
26955         (__llroundl) [FE_INVALID]: Force FE_INVALID exception when result
26956         overflows but exception would not result from cast.
26957         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Include <fenv.h> and
26958         <limits.h>.
26959         (__lroundl) [FE_INVALID]: Force FE_INVALID exception when result
26960         overflows but exception would not result from cast.
26961         * math/libm-test.inc (lround_test_data): Add more tests.
26962         (llround_test_data): Likewise.
26964 2015-10-07  Steve Ellcey  <sellcey@imgtec.com>
26966         * timezone/Makefile (CFLAGS-zic.c): Add -Wno-unused-variable.
26967         (CFLAGS-ialloc.c): Ditto.
26968         (CFLAGS-scheck.c): Ditto.
26970 2015-10-07  Carlos O'Donell  <carlos@redhat.com>
26972         [BZ #19086]
26973         * manual/filesys.texi (Storage Allocation): Fix argument order for
26974         posix_fallocate64.
26976 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
26978         [BZ #19085]
26979         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Move test for
26980         exponent below 48 inside case for non-overflowing exponent.
26981         * sysdeps/ieee754/ldbl-128/s_lroundl.c (__lroundl): Likewise.
26983 2015-10-07  Florian Weimer  <fweimer@redhat.com>
26985         * iconvdata/cp737.h (from_idx): Add const.
26986         * iconvdata/cp775.h (from_idx): Likewise.
26988 2015-10-07  Joseph Myers  <joseph@codesourcery.com>
26990         * sysdeps/mips/mips64/Implies: Use ieee754/dbl-64/wordsize-64.
26991         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c
26992         (__issignaling) [HIGH_ORDER_BIT_IS_SET_FOR_SNAN]: Remove #error.
26994         [BZ #19079]
26995         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Restore previous
26996         file, conditioned on [!_LP64].
26997         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c
26998         [!_LP64] (__lround): Do not define as function or alias.
26999         [!_LP64] (lround): Likewise.
27000         [!_LP64] (__lroundl): Likewise.
27001         [!_LP64] (lroundl): Likewise.
27002         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Remove
27003         macro.
27004         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
27005         Likewise.
27007 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
27009         * math/libm-test.inc (lrint_test_data): Add more tests.
27010         (llrint_test_data): Likewise.
27011         (lround_test_data): Likewise.
27012         (llround_test_data): Likewise.
27014         * math/libm-test.inc (lrint_test_data): Add tests used for llrint.
27015         (llrint_test_data): Add tests used for lrint.
27017         * sysdeps/i386/configure.ac (libc_cv_cc_sse4): Remove configure
27018         test.
27019         * sysdeps/i386/configure: Regenerated.
27020         * sysdeps/i386/i686/multiarch/Makefile
27021         [$(config-cflags-sse4) = yes]: Make code unconditional.
27022         * sysdeps/i386/i686/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
27023         Likewise.
27024         * sysdeps/i386/i686/multiarch/strspn.S [HAVE_SSE4_SUPPORT]:
27025         Likewise.
27026         * sysdeps/x86_64/configure.ac (libc_cv_cc_sse4): Remove configure
27027         test.
27028         * sysdeps/x86_64/configure: Regenerated.
27029         * sysdeps/x86_64/multiarch/Makefile [$(config-cflags-sse4) = yes]:
27030         Make code unconditional.
27031         * sysdeps/x86_64/multiarch/strcspn.S [HAVE_SSE4_SUPPORT]:
27032         Likewise.
27033         * sysdeps/x86_64/multiarch/strspn.S [HAVE_SSE4_SUPPORT]: Likewise.
27034         * config.h.in (HAVE_SSE4_SUPPORT): Remove #undef.
27036         * scripts/rpm2dynsym.sh: Remove file.
27038 2015-10-06  Florian Weimer  <fweimer@redhat.com>
27040         * configure.ac (libc_cv_cxx_thread_local): Define.
27041         * configure: Regenerate.
27042         * config.make.in (have-cxx-thread_local): Define.
27043         * nptl/Makefile (CFLAGS-tst-thread_local1.o):
27044         (LDLIBS-tst-thread_local1): Define.
27045         (tests): Add tst-thread_local1.
27046         [have-cxx-thread_local != yes] (tests-unsupported): Add
27047         tst-thread_local1.
27048         * nptl/tst-thread_local1.cc: New file.
27050 2015-10-06  Joseph Myers  <joseph@codesourcery.com>
27052         [BZ #19078]
27053         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (o_thres): Remove variable.
27054         (u_thres): Likewise.
27055         (__expl): Determine whether to call __kernel_standard_l based on
27056         value of result, not argument.
27058         * math/libm-test.inc (scalb_test_data): Add more expectations for
27059         the "inexact" exception.
27061         [BZ #19077]
27062         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Return
27063         0.0L for argument 1.0L.
27065         [BZ #19076]
27066         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Divide by
27067         constant 0.0L when computing infinite result.
27069 2015-10-06  Florian Weimer  <fweimer@redhat.com>
27071         [BZ #10432]
27072         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Remove call to
27073         malloc_usable_size.
27075 2015-10-06  Florian Weimer  <fweimer@redhat.com>
27077         [BZ #19018]
27078         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
27079         Mangle function pointer before storing it.
27080         (__call_tls_dtors): Demangle function pointer before calling it.
27082 2015-10-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
27084         [BZ #19012]
27085         * iconv/gconv_db.c (gen_steps): Check for additional errors.
27086         Clean up on failure.
27088 2015-10-05  Joseph Myers  <joseph@codesourcery.com>
27090         [BZ #19071]
27091         * sysdeps/ieee754/ldbl-96/s_lroundl.c (__lroundl): Use unsigned
27092         long int variable to store possibly incremented high part of
27093         mantissa.
27094         * math/libm-test.inc (lround_test_data): Add tests used for
27095         llround.  Use [LONG_MAX > 0x7fffffff] consistently as condition
27096         for tests requiring 64-bit long.  Do not condition tests on
27097         [TEST_FLOAT] unnecessarily.
27098         (llround_test_data): Add tests used for lround.  Add another
27099         expectation for the "inexact" exception.  Do not condition tests
27100         on [TEST_FLOAT] unnecessarily.
27102         [BZ #887]
27103         [BZ #19049]
27104         [BZ #19050]
27105         * sysdeps/generic/fix-int-fp-convert-zero.h: New file.
27106         * sysdeps/ieee754/dbl-64/e_log10.c: Include
27107         <fix-int-fp-convert-zero.h>.
27108         (__ieee754_log10): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
27109         * sysdeps/ieee754/dbl-64/e_log2.c: Include
27110         <fix-int-fp-convert-zero.h>.
27111         (__ieee754_log2): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
27112         * sysdeps/ieee754/dbl-64/s_erf.c: Include
27113         <fix-int-fp-convert-zero.h>.
27114         (__erfc): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
27115         * sysdeps/ieee754/dbl-64/s_logb.c: Include
27116         <fix-int-fp-convert-zero.h>.
27117         (__logb): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
27118         * sysdeps/ieee754/flt-32/e_log10f.c: Include
27119         <fix-int-fp-convert-zero.h>.
27120         (__ieee754_log10f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
27121         * sysdeps/ieee754/flt-32/e_log2f.c: Include
27122         <fix-int-fp-convert-zero.h>.
27123         (__ieee754_log2f): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
27124         * sysdeps/ieee754/flt-32/s_erff.c: Include
27125         <fix-int-fp-convert-zero.h>.
27126         (__erfcf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
27127         * sysdeps/ieee754/flt-32/s_logbf.c: Include
27128         <fix-int-fp-convert-zero.h>.
27129         (__logbf): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
27130         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include
27131         <fix-int-fp-convert-zero.h>.
27132         (__erfcl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
27133         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Include
27134         <fix-int-fp-convert-zero.h>.
27135         (__logbl): Adjust signs as needed if FIX_INT_FP_CONVERT_ZERO.
27136         * sysdeps/powerpc/powerpc32/fpu/configure.ac: New file.
27137         * sysdeps/powerpc/powerpc32/fpu/configure: New generated file.
27138         * sysdeps/powerpc/powerpc32/fpu/fix-int-fp-convert-zero.h: New
27139         file.
27140         * config.h.in [_LIBC] (HAVE_PPC_FCFID): New macro.
27142 2015-10-03  Paul Pluzhnikov  <ppluzhnikov@google.com>
27144         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
27146 2015-10-02  Joseph Myers  <joseph@codesourcery.com>
27148         [BZ #19059]
27149         * math/s_nexttowardf.c (__nexttowardf): Do not return value from
27150         overflowing computation.
27151         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
27152         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
27153         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
27154         Likewise.
27155         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
27156         Likewise.
27157         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
27158         Likewise.
27159         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
27160         Likewise.
27161         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
27162         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
27163         Likewise.
27164         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
27165         Likewise.
27166         * math/libm-test.inc (nexttoward_test_data): Add more tests.
27168         * nss/rewrite_field.c (__nss_rewrite_field): Use
27169         internal_function.
27170         * nss/valid_field.c (__nss_valid_field): Likewise.
27171         * nss/valid_list_field.c (__nss_valid_list_field): Likewise.
27173 2015-10-02  Florian Weimer  <fweimer@redhat.com>
27175         [BZ #18724]
27176         * include/nss.h (NSS_INVALID_FIELD_CHARACTERS): Define.
27177         (__nss_invalid_field_characters, __nss_valid_field)
27178         (__nss_valid_list_field, __nss_rewrite_field): Declare.
27179         * nss/valid_field.c, nss/valid_list_field, nss/rewrite_field.c,
27180         tst-field.c: New file.
27181         * nss/Makefile (routines): Add valid_field, rewrite_field.
27182         (tests-static): Define unconditionally.
27183         (tests): Include tests-static.
27184         [build-static-nss] (tests-static): Use append.
27185         [build-static-nss] (tests): Remove modification.
27186         * nss/getent.c (print_group): Call putgrent.  Report error.
27187         (print_gshadow): Call putsgent.  Report error.
27188         (print_passwd): Call putpwent.  Report error.
27189         (print_shadow): Call putspent.  Report error.
27190         * include/pwd.h: Include <nss.h> instead of <nss/nss.h>.
27191         * pwd/pwd.h (putpwent): Remove incorrect nonnull attribute.
27192         * pwd/putpwent.c (putpwent): Use ISO function definition.  Check
27193         name, password, directory, shell fields for valid syntax.  Rewrite
27194         GECOS field to match syntax.
27195         * pwd/Makefile (tests): Add tst-putpwent.
27196         * pwd/tst-putpwent.c: New file.
27197         * grp/putgrent.c (putgrent): Convert to ISO function definition.
27198         Check grName, grpasswd, gr_mem fields for valid syntax.
27199         Change loop variable i to size_t.
27200         * grp/Makefile (tests): Add tst-putgrent.
27201         * grp/tst-putgrent.c: New file.
27202         * shadow/putspent.c (putspent): Check sp_namp, sp_pwdp fields for
27203         valid syntax.
27204         * shadow/Makefile (tests): Add tst-putspent.
27205         * shadow/tst-putspent.c: New file.
27206         * gshadow/putsgent.c (putsgent): Check sg_namp, sg_passwd, sg_adm,
27207         sg_mem fields for valid syntax.
27208         * gshadow/Makefile (tests): Add tst-putsgent.
27209         * gshadow/tst-putsgent.c: New file.
27211 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
27213         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Added comments to some
27214         assembly instructions.
27216 2015-10-01  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
27218         * sysdeps/powerpc/powerpc64/power8/strncpy.S: Remove or add register
27219         prefix from operands.
27221 2015-10-01  Joseph Myers  <joseph@codesourcery.com>
27223         [BZ #16347]
27224         [BZ #19046]
27225         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Do not include
27226         <libc-internal.h>.
27227         (MAXLGM): Do not use diagnostic control macros.
27228         [LDBL_MANT_DIG == 106] (MAXLGM): Change value to overflow
27229         threshold for ldbl-128ibm.
27230         (__ieee754_lgammal_r): For large arguments, multiply by log - 1
27231         instead of multiplying by log then subtracting.
27232         * math/auto-libm-test-in: Add more tests of lgamma.
27233         * math/auto-libm-test-out: Regenerated.
27235         * math/libm-test.inc (TYPE_DECIMAL_DIG): New macro.
27236         (TYPE_HEX_DIG): Likewise.
27237         (print_float): Use TYPE_DECIMAL_DIG - 1 and TYPE_HEX_DIG - 1 as
27238         precisions when printing floating-point numbers.
27239         (check_float_internal): Likewise.
27241 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
27243         [BZ #16620]
27244         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (log10_high): Use value
27245         of log (10) rounded downward to 48 bits.
27246         (log10_low): Use corresponding low part of log (10).
27248         [BZ #19032]
27249         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): For arguments < 1,
27250         compute result as (x - x) / (x - x) not as 0 / 0.
27251         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
27252         * math/libm-test.inc (acosh_test_data): Add another test of acosh.
27254         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
27255         atan, atan2, atanh, cbrt, cos, cosh, erf, erfc, exp, exp10, exp2
27256         and expm1.
27257         * math/auto-libm-test-out: Regenerated.
27258         * math/libm-test.inc (acos_test_data): Add more tests.
27259         (asin_test_data): Likewise.
27260         (asinh_test_data): Likewise.
27261         (atan_test_data): Likewise.
27262         (atanh_test_data): Likewise.
27263         (atan2_test_data): Likewise.
27264         (cbrt_test_data): Likewise.
27265         (ceil_test_data): Likewise.
27266         (copysign_test_data): Likewise.
27267         (cos_test_data): Likewise.
27268         (cosh_test_data): Likewise.
27269         (erf_test_data): Likewise.
27270         (erfc_test_data): Likewise.
27271         (exp_test_data): Likewise.
27272         (exp10_test_data): Likewise.
27273         (exp2_test_data): Likewise.
27274         (expm1_test_data): Likewise.
27275         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27277 2015-09-30  H.J. Lu  <hongjiu.lu@intel.com>
27279         [BZ #19006]
27280         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved
27281         to ...
27282         * sysdeps/unix/sysv/linux/i386/libc-lowlevellock.S: Here.
27283         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: Moved
27284         to ...
27285         * sysdeps/unix/sysv/linux/i386/lll_timedlock_wait.c: Here.
27286         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: Moved
27287         to ...
27288         * sysdeps/unix/sysv/linux/i386/lll_timedwait_tid.c: Here.
27289         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved to ...
27290         * sysdeps/unix/sysv/linux/i386/lowlevellock.S: Here.
27291         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved
27292         to ...
27293         * sysdeps/unix/sysv/linux/i386/lowlevelrobustlock.S: Here.
27294         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
27295         Moved to ...
27296         * sysdeps/unix/sysv/linux/i386/pthread_barrier_wait.S: Here.
27297         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
27298         Moved to ...
27299         * sysdeps/unix/sysv/linux/i386/pthread_cond_broadcast.S: Here.
27300         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: Moved
27301         to ...
27302         * sysdeps/unix/sysv/linux/i386/pthread_cond_signal.S: Here.
27303         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
27304         Moved to ...
27305         * sysdeps/unix/sysv/linux/i386/pthread_cond_timedwait.S: Here.
27306         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved
27307         to ...
27308         * sysdeps/unix/sysv/linux/i386/pthread_cond_wait.S: Here.
27309         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S:
27310         Removed.
27311         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c:
27312         Likewise.
27313         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c:
27314         Likewise.
27315         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Likewise.
27316         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S:
27317         Likewise.
27318         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
27319         Likewise.
27320         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
27321         Likewise.
27322         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
27323         Likewise.
27324         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
27325         Likewise.
27326         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S:
27327         Likewise.
27328         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S:
27329         Likewise.
27330         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c:
27331         Likewise.
27332         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c:
27333         Likewise.
27334         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Likewise.
27335         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S:
27336         Likewise.
27337         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
27338         Likewise.
27339         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
27340         Likewise.
27341         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
27342         Likewise.
27343         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S:
27344         Likewise.
27345         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
27346         Replace ../i486/pthread_cond_timedwait.S with
27347         ../pthread_cond_timedwait.S.
27349 2015-09-30  Joseph Myers  <joseph@codesourcery.com>
27351         * math/libm-test.inc (acos_test_data): Refine expectations for
27352         errno and "inexact" exceptions.
27353         (acosh_test_data): Likewise.
27354         (asin_test_data): Likewise.
27355         (asinh_test_data): Likewise.
27356         (atan_test_data): Likewise.
27357         (atanh_test_data): Likewise.
27358         (atan2_test_data): Likewise.
27359         (cbrt_test_data): Likewise.
27360         (ceil_test_data): Likewise.
27361         (copysign_test_data): Likewise.
27362         (cosh_test_data): Likewise.
27363         (erf_test_data): Likewise.
27364         (erfc_test_data): Likewise.
27365         (exp_test_data): Likewise.
27366         (exp10_test_data): Likewise.
27367         (exp2_test_data): Likewise.
27368         (expm1_test_data): Likewise.
27369         (fabs_test_data): Likewise.
27370         (floor_test_data): Likewise.
27371         (fma_test_data): Likewise.
27372         (fmax_test_data): Likewise.
27373         (fmin_test_data): Likewise.
27374         (fmod_test_data): Likewise.
27375         (fpclassify_test_data): Likewise.
27376         (frexp_test_data): Likewise.
27377         (hypot_test_data): Likewise.
27378         (ilogb_test_data): Likewise.
27379         (isgreater_test_data): Likewise.
27380         (isgreaterequal_test_data): Likewise.
27381         (isinf_test_data): Likewise.
27382         (isless_test_data): Likewise.
27383         (islessequal_test_data): Likewise.
27384         (islessgreater_test_data): Likewise.
27385         (isnan_test_data): Likewise.
27386         (isnormal_test_data): Likewise.
27387         (issignaling_test_data): Likewise.
27388         (isunordered_test_data): Likewise.
27389         (j0_test_data): Likewise.
27390         (j1_test_data): Likewise.
27391         (jn_test_data): Likewise.
27392         (lgamma_test_data): Likewise.
27393         (lrint_test_data): Likewise.
27394         (llrint_test_data): Likewise.
27395         (log_test_data): Likewise.
27396         (log10_test_data): Likewise.
27397         (log1p_test_data): Likewise.
27398         (log2_test_data): Likewise.
27399         (logb_test_data): Likewise.
27400         (lround_test_data): Likewise.
27401         (llround_test_data): Likewise.
27402         (modf_test_data): Likewise.
27403         (nearbyint_test_data): Likewise.
27404         (nextafter_test_data): Likewise.
27405         (nexttoward_test_data): Likewise.
27406         (pow_test_data): Likewise.
27407         (remainder_test_data): Likewise.
27408         (remquo_test_data): Likewise.
27409         (rint_test_data): Likewise.
27410         (round_test_data): Likewise.
27411         (signbit_test_data): Likewise.
27412         (sinh_test_data): Likewise.
27413         (sqrt_test_data): Likewise.
27414         (tanh_test_data): Likewise.
27415         (tgamma_test_data): Likewise.
27416         (trunc_test_data): Likewise.
27417         (y0_test_data): Likewise.
27418         (y1_test_data): Likewise.
27419         (yn_test_data): Likewise.
27420         (significand_test_data): Likewise.
27422 2015-09-29  Carlos O'Donell  <carlos@redhat.com>
27424         * manual/filesys.texi (Storage Allocation): Document that
27425         posix_fallocate emulation fails when fd is open with O_WRONLY.
27427 2015-09-28  Joseph Myers  <joseph@codesourcery.com>
27429         [BZ #19016]
27430         * sysdeps/generic/math_private.h (__x2y2m1f): Update comment to
27431         allow more cases with X^2 + Y^2 >= 0.5.
27432         * sysdeps/ieee754/dbl-64/x2y2m1.c (__x2y2m1): Likewise.  Add -1 as
27433         normal element in sum instead of special-casing based on values of
27434         arguments.
27435         * sysdeps/ieee754/dbl-64/x2y2m1f.c (__x2y2m1f): Update comment.
27436         * sysdeps/ieee754/ldbl-128/x2y2m1l.c (__x2y2m1l): Likewise.  Add
27437         -1 as normal element in sum instead of special-casing based on
27438         values of arguments.
27439         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c (__x2y2m1l): Likewise.
27440         * sysdeps/ieee754/ldbl-96/x2y2m1.c [FLT_EVAL_METHOD != 0]
27441         (__x2y2m1): Update comment.
27442         * sysdeps/ieee754/ldbl-96/x2y2m1l.c (__x2y2m1l): Likewise.  Add -1
27443         as normal element in sum instead of special-casing based on values
27444         of arguments.
27445         * math/s_clog.c (__clog): Handle more cases using log1p without
27446         hypot.
27447         * math/s_clog10.c (__clog10): Likewise.
27448         * math/s_clog10f.c (__clog10f): Likewise.
27449         * math/s_clog10l.c (__clog10l): Likewise.
27450         * math/s_clogf.c (__clogf): Likewise.
27451         * math/s_clogl.c (__clogl): Likewise.
27452         * math/auto-libm-test-in: Add more tests of clog and clog10.
27453         * math/auto-libm-test-out: Regenerated.
27454         * sysdeps/i386/fpu/libm-test-ulps: Update.
27455         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
27457 2015-09-28  Martin Sebor  <msebor@redhat.com>
27459         [BZ #18969]
27460         * string/Makefile (LOCALES): Define.
27461         (gen-locales.mk): Include.
27462         (test-strcasecmp.out, test-strncasecmp.out, tst-strxfrm.out)
27463         (tst-strxfrm2.out): Add deppendency on $(gen-locales).
27464         * string/tst-strxfrm2.c (do_test): Print the name of the locale
27465         on setlocale failure.
27467 2015-09-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
27469         [BZ #18985]
27470         * time/strftime_l.c (a_wkday, f_wkday, a_month, f_month): Range check.
27471         (__strftime_internal): Likewise.
27472         * time/tst-strftime.c (do_bz18985): New test.
27473         (do_test): Call it.
27475 2015-09-26  Joseph Myers  <joseph@codesourcery.com>
27477         [BZ #18956]
27478         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Add 0x00400000
27479         not 0x0040000 for high bit of mantissa.  Mask with 0xfffff000 when
27480         extracting high part.
27481         * math/auto-libm-test-in: Add another test of pow.
27482         * math/auto-libm-test-out: Regenerated.
27483         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
27485 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
27487         [BZ #18825]
27488         * sysdeps/i386/fpu/i386-math-asm.h (FLT_NARROW_EVAL_UFLOW_NONNAN):
27489         New macro.
27490         (DBL_NARROW_EVAL_UFLOW_NONNAN): Likewise.
27491         (LDBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
27492         * sysdeps/i386/fpu/e_pow.S: Use DEFINE_DBL_MIN.
27493         (__ieee754_pow): Use DBL_NARROW_EVAL_UFLOW_NONNAN instead of
27494         DBL_NARROW_EVAL, reloading the PIC register as needed.
27495         * sysdeps/i386/fpu/e_powf.S: Use DEFINE_FLT_MIN.
27496         (__ieee754_powf): Use FLT_NARROW_EVAL_UFLOW_NONNAN instead of
27497         FLT_NARROW_EVAL.  Use separate return path for case when first
27498         argument is NaN.
27499         * sysdeps/i386/fpu/e_powl.S: Include <i386-math-asm.h>.  Use
27500         DEFINE_LDBL_MIN.
27501         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN, reloading the
27502         PIC register.
27503         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use
27504         math_check_force_underflow_nonneg.
27505         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Force
27506         underflow for subnormal result.
27507         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Likewise.
27508         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Use
27509         math_check_force_underflow_nonneg.
27510         * sysdeps/x86/fpu/powl_helper.c (__powl_helper): Use
27511         math_check_force_underflow.
27512         * sysdeps/x86_64/fpu/x86_64-math-asm.h
27513         (LDBL_CHECK_FORCE_UFLOW_NONNAN): New macro.
27514         * sysdeps/x86_64/fpu/e_powl.S: Include <x86_64-math-asm.h>.  Use
27515         DEFINE_LDBL_MIN.
27516         (__ieee754_powl): Use LDBL_CHECK_FORCE_UFLOW_NONNAN.
27517         * math/auto-libm-test-in: Add more tests of pow.
27518         * math/auto-libm-test-out: Regenerated.
27520 2015-09-25  Florian Weimer  <fweimer@redhat.com>
27522         * nss/bug17079.c (init_test_items): Add diagnostic for
27523         inconsistent entries.
27524         (test_buffer_size): Skip inconsistent entries.
27526 2015-09-25  Joseph Myers  <joseph@codesourcery.com>
27528         [BZ #13304]
27529         * sysdeps/m68k/coldfire/nofpu/s_fma.c: New file.
27530         * sysdeps/m68k/coldfire/nofpu/s_fmaf.c: Likewise.
27531         * sysdeps/m68k/coldfire/nofpu/sfp-machine.h: Likewise.
27533         [BZ #13304]
27534         * sysdeps/microblaze/s_fma.c: New file.
27535         * sysdeps/microblaze/s_fmaf.c: Likewise.
27536         * sysdeps/microblaze/sfp-machine.h: Likewise.
27538 2015-09-25  Maciej W. Rozycki  <macro@imgtec.com>
27540         [BZ #17250]
27541         * elf/dl-support.c (_dl_main_map): Don't initialize l_flags_1
27542         member.
27544 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
27546         [BZ #18803]
27547         * sysdeps/i386/fpu/e_hypot.S: Use DEFINE_DBL_MIN.
27548         (MO): New macro.
27549         (__ieee754_hypot) [PIC]: Load PIC register.
27550         (__ieee754_hypot): Use DBL_NARROW_EVAL_UFLOW_NONNEG instead of
27551         DBL_NARROW_EVAL.
27552         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Use
27553         math_check_force_underflow_nonneg in case where result might be
27554         tiny.
27555         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
27556         Likewise.
27557         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
27558         Likewise.
27559         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Likewise.
27560         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Likewise.
27561         * math/auto-libm-test-in: Add more tests of hypot.
27562         * math/auto-libm-test-out: Regenerated.
27564 2015-09-24  Steve Ellcey  <sellcey@imgtec.com>
27566         * sysdeps/mips/math_private.h (libc_fesetenv_mips): Mark cw as unused.
27568 2015-09-24  Joseph Myers  <joseph@codesourcery.com>
27570         * sysdeps/x86_64/fpu/x86_64-math-asm.h: New file.
27571         * sysdeps/x86_64/fpu/e_exp2l.S: Include <x86_64-math-asm.h>.
27572         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
27573         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
27574         * sysdeps/x86_64/fpu/e_expl.S: Include <x86_64-math-asm.h>.
27575         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
27576         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
27578         * sysdeps/i386/fpu/e_atanh.S (__ieee754_atanh) [PIC]: Use
27579         LOAD_PIC_REG.
27581         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_LDBL_MIN): New macro.
27582         (FLT_CHECK_FORCE_UFLOW): Likewise.
27583         (DBL_CHECK_FORCE_UFLOW): Likewise.
27584         (FLT_CHECK_FORCE_UFLOW_NARROW): Likewise.
27585         (DBL_CHECK_FORCE_UFLOW_NARROW): Likewise.
27586         (LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN): Likewise.
27587         (FLT_CHECK_FORCE_UFLOW_NONNAN): Likewise.
27588         (DBL_CHECK_FORCE_UFLOW_NONNAN): Likewise.
27589         (FLT_CHECK_FORCE_UFLOW_NONNEG): Likewise.
27590         (DBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
27591         (LDBL_CHECK_FORCE_UFLOW_NONNEG): Likewise.
27592         * sysdeps/i386/fpu/e_asin.S: Include <i386-math-asm.h>.
27593         (dbl_min): Replace with use of DEFINE_DBL_MIN.
27594         (__ieee754_asin): Use DBL_CHECK_FORCE_UFLOW.
27595         * sysdeps/i386/fpu/e_asinf.S: Include <i386-math-asm.h>.
27596         (flt_min): Replace with use of DEFINE_FLT_MIN.
27597         (__ieee754_asinf): Use FLT_CHECK_FORCE_UFLOW.
27598         * sysdeps/i386/fpu/e_atan2.S: Include <i386-math-asm.h>.
27599         (dbl_min): Replace with use of DEFINE_DBL_MIN.
27600         (__ieee754_atan2): Use DBL_CHECK_FORCE_UFLOW_NARROW.
27601         * sysdeps/i386/fpu/e_atan2f.S: Include <i386-math-asm.h>.
27602         (flt_min): Replace with use of DEFINE_FLT_MIN.
27603         (__ieee754_atan2f): Use FLT_CHECK_FORCE_UFLOW_NARROW.
27604         * sysdeps/i386/fpu/e_atanh.S: Include <i386-math-asm.h>.
27605         (dbl_min): Replace with use of DEFINE_DBL_MIN.
27606         (__ieee754_atanh): Use DBL_CHECK_FORCE_UFLOW_NONNEG.
27607         * sysdeps/i386/fpu/e_atanhf.S: Include <i386-math-asm.h>.
27608         (flt_min): Replace with use of DEFINE_FLT_MIN.
27609         (__ieee754_atanhf): Use FLT_CHECK_FORCE_UFLOW_NONNEG.
27610         * sysdeps/i386/fpu/e_exp2l.S: Include <i386-math-asm.h>.
27611         (ldbl_min): Replace with use of DEFINE_LDBL_MIN.
27612         (__ieee754_exp2l): Use LDBL_CHECK_FORCE_UFLOW_NONNEG_NAN.
27613         * sysdeps/i386/fpu/e_expl.S: Include <i386-math-asm.h>.
27614         [!USE_AS_EXPM1L] (cmin): Replace with use of DEFINE_LDBL_MIN.
27615         (IEEE754_EXPL): Use LDBL_CHECK_FORCE_UFLOW_NONNEG.
27616         * sysdeps/i386/fpu/s_atan.S: Include <i386-math-asm.h>.
27617         (dbl_min): Replace with use of DEFINE_DBL_MIN.
27618         (__atan): Use DBL_CHECK_FORCE_UFLOW.
27619         * sysdeps/i386/fpu/s_atanf.S: Include <i386-math-asm.h>.
27620         (flt_min): Replace with use of DEFINE_FLT_MIN.
27621         (__atanf): Use FLT_CHECK_FORCE_UFLOW.
27622         * sysdeps/i386/fpu/s_expm1.S: Include <i386-math-asm.h>.
27623         (dbl_min): Replace with use of DEFINE_DBL_MIN.
27624         (__expm1): Use DBL_CHECK_FORCE_UFLOW.  Move underflow check after
27625         main computation.
27626         * sysdeps/i386/fpu/s_expm1f.S: Include <i386-math-asm.h>.
27627         (flt_min): Replace with use of DEFINE_FLT_MIN.
27628         (__expm1f): Use FLT_CHECK_FORCE_UFLOW.  Move underflow check after
27629         main computation.
27630         * sysdeps/i386/fpu/s_log1p.S: Include <i386-math-asm.h>.
27631         (dbl_min): Replace with use of DEFINE_DBL_MIN.
27632         (MO): New macro.
27633         (__log1p): Use MO.  Use DBL_CHECK_FORCE_UFLOW_NONNAN.
27634         * sysdeps/i386/fpu/s_log1pf.S: Include <i386-math-asm.h>.
27635         (flt_min): Replace with use of DEFINE_FLT_MIN.
27636         (MO): New macro.
27637         (__log1pf): Use MO.  Use FLT_CHECK_FORCE_UFLOW_NONNAN.
27638         * sysdeps/i386/fpu/s_log1pl.S (MO): New macro.
27639         (__log1pl): Use MO.
27641         [BZ #19003]
27642         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-e_pow-fma4.c): Add
27643         $(config-cflags-nofma).
27645 2015-09-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
27647         * sysdeps/aarch64/libm-test-ulps: Regenerated.
27649 2015-09-23  Joseph Myers  <joseph@codesourcery.com>
27651         * sysdeps/ieee754/flt-32/e_exp2f.c (TWOM100): Remove volatile.
27652         (TWO127): Likewise.
27654         * sysdeps/generic/math_private.h (fabs_tg): New macro.
27655         (min_of_type): Likewise.
27656         (math_check_force_underflow): Likewise.
27657         (math_check_force_underflow_nonneg): Likewise.
27658         (math_check_force_underflow_complex): Likewise.
27659         * math/e_exp2l.c (__ieee754_exp2l): Use
27660         math_check_force_underflow_nonneg.
27661         * math/k_casinh.c (__kernel_casinh): Likewise.
27662         * math/k_casinhf.c (__kernel_casinhf): Likewise.
27663         * math/k_casinhl.c (__kernel_casinhl): Likewise.
27664         * math/s_catan.c (__catan): Use
27665         math_check_force_underflow_complex.
27666         * math/s_catanf.c (__catanf): Likewise.
27667         * math/s_catanh.c (__catanh): Likewise.
27668         * math/s_catanhf.c (__catanhf): Likewise.
27669         * math/s_catanhl.c (__catanhl): Likewise.
27670         * math/s_catanl.c (__catanl): Likewise.
27671         * math/s_ccosh.c (__ccosh): Likewise.
27672         * math/s_ccoshf.c (__ccoshf): Likewise.
27673         * math/s_ccoshl.c (__ccoshl): Likewise.
27674         * math/s_cexp.c (__cexp): Likewise.
27675         * math/s_cexpf.c (__cexpf): Likewise.
27676         * math/s_cexpl.c (__cexpl): Likewise.
27677         * math/s_clog.c (__clog): Use math_check_force_underflow_nonneg.
27678         * math/s_clog10.c (__clog10): Likewise.
27679         * math/s_clog10f.c (__clog10f): Likewise.
27680         * math/s_clog10l.c (__clog10l): Likewise.
27681         * math/s_clogf.c (__clogf): Likewise.
27682         * math/s_clogl.c (__clogl): Likewise.
27683         * math/s_csin.c (__csin): Use math_check_force_underflow_complex.
27684         * math/s_csinf.c (__csinf): Likewise.
27685         * math/s_csinh.c (__csinh): Likewise.
27686         * math/s_csinhf.c (__csinhf): Likewise.
27687         * math/s_csinhl.c (__csinhl): Likewise.
27688         * math/s_csinl.c (__csinl): Likewise.
27689         * math/s_csqrt.c (__csqrt): Use math_check_force_underflow.
27690         * math/s_csqrtf.c (__csqrtf): Likewise.
27691         * math/s_csqrtl.c (__csqrtl): Likewise.
27692         * math/s_ctan.c (__ctan): Use math_check_force_underflow_complex.
27693         * math/s_ctanf.c (__ctanf): Likewise.
27694         * math/s_ctanh.c (__ctanh): Likewise.
27695         * math/s_ctanhf.c (__ctanhf): Likewise.
27696         * math/s_ctanhl.c (__ctanhl): Likewise.
27697         * math/s_ctanl.c (__ctanl): Likewise.
27698         * stdlib/strtod_l.c (round_and_return): Use math_force_eval
27699         instead of volatile.
27700         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use
27701         math_check_force_underflow.
27702         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
27703         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Do not use
27704         volatile when forcing underflow.
27705         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
27706         math_check_force_underflow_nonneg.
27707         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r):
27708         Likewise.
27709         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1): Use
27710         math_check_force_underflow.
27711         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
27712         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
27713         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
27714         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Use
27715         math_check_force_underflow_nonneg.
27716         * sysdeps/ieee754/dbl-64/s_erf.c (__erf): Use
27717         math_check_force_underflow.
27718         * sysdeps/ieee754/dbl-64/s_expm1.c (__expm1): Likewise.
27719         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval
27720         instead of volatile.
27721         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Use
27722         math_check_force_underflow.
27723         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
27724         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
27725         math_check_force_underflow_nonneg.
27726         * sysdeps/ieee754/dbl-64/s_tanh.c (__tanh): Use
27727         math_check_force_underflow.
27728         * sysdeps/ieee754/flt-32/e_asinf.c (__ieee754_asinf): Likewise.
27729         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
27730         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Use
27731         math_check_force_underflow_nonneg.
27732         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
27733         Likewise.
27734         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_j1f): Use
27735         math_check_force_underflow.
27736         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
27737         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
27738         * sysdeps/ieee754/flt-32/k_sinf.c (__kernel_sinf): Likewise.
27739         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Likewise.
27740         * sysdeps/ieee754/flt-32/s_asinhf.c (__asinhf): Likewise.
27741         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Likewise.
27742         * sysdeps/ieee754/flt-32/s_erff.c (__erff): Likewise.
27743         * sysdeps/ieee754/flt-32/s_expm1f.c (__expm1f): Likewise.
27744         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
27745         * sysdeps/ieee754/flt-32/s_tanhf.c (__tanhf): Likewise.
27746         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Likewise.
27747         * sysdeps/ieee754/ldbl-128/e_atanhl.c (__ieee754_atanhl):
27748         Likewise.
27749         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Use
27750         math_check_force_underflow_nonneg.
27751         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
27752         Likewise.
27753         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Use
27754         math_check_force_underflow.
27755         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
27756         * sysdeps/ieee754/ldbl-128/e_sinhl.c (__ieee754_sinhl): Likewise.
27757         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
27758         Likewise.
27759         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Likewise.
27760         * sysdeps/ieee754/ldbl-128/k_tanl.c (__kernel_tanl): Likewise.
27761         * sysdeps/ieee754/ldbl-128/s_asinhl.c (__asinhl): Likewise.
27762         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Likewise.
27763         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Likewise.
27764         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Likewise.
27765         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use math_force_eval
27766         instead of volatile.
27767         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Use
27768         math_check_force_underflow.
27769         * sysdeps/ieee754/ldbl-128/s_tanhl.c (__tanhl): Likewise.
27770         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Use
27771         math_check_force_underflow.
27772         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl):
27773         Likewise.
27774         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
27775         Use math_check_force_underflow_nonneg.
27776         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Use
27777         math_check_force_underflow.
27778         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl):
27779         Likewise.
27780         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
27781         Likewise.
27782         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
27783         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
27784         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
27785         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
27786         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Likewise.
27787         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
27788         * sysdeps/ieee754/ldbl-96/e_asinl.c (__ieee754_asinl): Likewise.
27789         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Likewise.
27790         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r): Use
27791         math_check_force_underflow_nonneg.
27792         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Use
27793         math_check_force_underflow.
27794         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
27795         * sysdeps/ieee754/ldbl-96/e_sinhl.c (__ieee754_sinhl): Likewise.
27796         * sysdeps/ieee754/ldbl-96/k_sinl.c (__kernel_sinl): Likewise.
27797         * sysdeps/ieee754/ldbl-96/k_tanl.c (__kernel_tanl): Use
27798         math_check_force_underflow_nonneg.
27799         * sysdeps/ieee754/ldbl-96/s_asinhl.c (__asinhl): Use
27800         math_check_force_underflow.
27801         * sysdeps/ieee754/ldbl-96/s_erfl.c (__erfl): Likewise.
27802         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Use math_force_eval
27803         instead of volatile.
27804         * sysdeps/ieee754/ldbl-96/s_tanhl.c (__tanhl): Use
27805         math_check_force_underflow.
27807         * math/s_nexttowardf.c (__nexttowardf): Use math_narrow_eval.
27808         * stdlib/strtod_l.c: Include <math_private.h>.
27809         (overflow_value): Use math_narrow_eval.
27810         (underflow_value): Likewise.
27811         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
27812         * sysdeps/i386/fpu/s_nexttowardf.c (__nexttowardf): Likewise.
27813         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Likewise.
27814         (__ieee754_gamma_r): Likewise.
27815         * sysdeps/ieee754/dbl-64/gamma_productf.c (__gamma_productf):
27816         Likewise.
27817         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2):
27818         Likewise.
27819         * sysdeps/ieee754/dbl-64/lgamma_neg.c (__lgamma_neg): Likewise.
27820         * sysdeps/ieee754/dbl-64/s_erf.c (__erfc): Likewise.
27821         * sysdeps/ieee754/dbl-64/s_llrint.c (__llrint): Likewise.
27822         * sysdeps/ieee754/dbl-64/s_lrint.c (__lrint): Likewise.
27823         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Likewise.
27824         (__ieee754_gammaf_r): Likewise.
27825         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f):
27826         Likewise.
27827         * sysdeps/ieee754/flt-32/lgamma_negf.c (__lgamma_negf): Likewise.
27828         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Likewise.
27829         * sysdeps/ieee754/flt-32/s_llrintf.c (__llrintf): Likewise.
27830         * sysdeps/ieee754/flt-32/s_lrintf.c (__lrintf): Likewise.
27831         * sysdeps/ieee754/ldbl-128/s_llrintl.c (__llrintl): Do not use
27832         volatile.
27833         * sysdeps/ieee754/ldbl-128/s_lrintl.c (__lrintl): Likewise.
27834         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward): Use
27835         math_narrow_eval.
27836         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward):
27837         Likewise.
27838         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
27839         Likewise.
27840         * sysdeps/ieee754/ldbl-96/gamma_product.c (__gamma_product):
27841         Likewise.
27842         * sysdeps/ieee754/ldbl-96/s_llrintl.c (__llrintl): Do not use
27843         volatile.
27844         * sysdeps/ieee754/ldbl-96/s_lrintl.c (__lrintl): Likewise.
27845         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Use
27846         math_narrow_eval.
27847         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
27848         Likewise.
27849         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
27850         Likewise.
27852 2015-09-22  H.J. Lu  <hongjiu.lu@intel.com>
27854         * nptl/Versions: Remove ignored symbols.
27856 2015-09-22  Florian Weimer  <fweimer@redhat.com>
27858         * nss/bug17079.c: Renamed from nss/bug18287.c.  Add description.
27859         * nss/Makefile (tests): Update.
27861 2015-09-22  Florian Weimer  <fweimer@redhat.com>
27863         * nss/bug18287.c: New file.
27864         * nss/Makefile (tests): Add bug18287.
27866 2015-09-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27868         * mach/Versions (__mach_host_self_): Add symbol.
27870 2015-09-21  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27872         * sysdeps/mach/hurd/mmap.c (__mmap): Use __vm_page_size instead of
27873         vm_page_size.
27875 2015-09-19  Samuel Thibault  <samuel.thibault@ens-lyon.org>
27877         Really fix sysdeps/i386/fpu/s_scalbn.S build
27879         * math/Versions (libc: GLIBC_2_20): New (empty) version set.
27880         (libc: GLIBC_2_22): Remove unused version set.
27882 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
27884         * config.make.in (enable-timezone-tools): New variable.
27885         * configure.ac (AC_ARG_ENABLE(timezone-tools)): New configure flag.
27886         (enable_timezone_tools): Export to generated files.
27887         * configure: Regenerate.
27888         * INSTALL: Regenerate.
27889         * manual/install.texi (--disable-timezone-tools): Document new flag.
27890         * timezone/Makefile (install-sbin, install-bin-script): Wrap in a
27891         ifeq ($(enable-timezone-tools),yes) check.
27893 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
27895         * timezone/Makefile: Revert previous change.
27897         [BZ #18980]
27898         * sysdeps/i386/fpu/i386-math-asm.h (DEFINE_FLT_MIN): New macro.
27899         (DEFINE_DBL_MIN): Likewise.
27900         (FLT_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
27901         (DBL_NARROW_EVAL_UFLOW_NONNEG_NAN): Likewise.
27902         (FLT_NARROW_EVAL_UFLOW_NONNEG): Likewise.
27903         (DBL_NARROW_EVAL_UFLOW_NONNEG): Likewise.
27904         * sysdeps/i386/fpu/e_exp.S: Include <i386-math-asm.h>.
27905         (dbl_min): Replace with use of DEFINE_DBL_MIN.
27906         (__ieee754_exp): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
27907         (__exp_finite): Use DBL_NARROW_EVAL_UFLOW_NONNEG.
27908         * sysdeps/i386/fpu/e_exp10.S: Include <i386-math-asm.h>.
27909         (dbl_min): Replace with use of DEFINE_DBL_MIN.
27910         (__ieee754_exp10): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
27911         * sysdeps/i386/fpu/e_exp10f.S: Include <i386-math-asm.h>.
27912         (flt_min): Replace with use of DEFINE_FLT_MIN.
27913         (__ieee754_exp10f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
27914         * sysdeps/i386/fpu/e_exp2.S: Include <i386-math-asm.h>.
27915         (dbl_min): Replace with use of DEFINE_DBL_MIN.
27916         (__ieee754_exp2): Use DBL_NARROW_EVAL_UFLOW_NONNEG_NAN.
27917         * sysdeps/i386/fpu/e_exp2f.S: Include <i386-math-asm.h>.
27918         (flt_min): Replace with use of DEFINE_FLT_MIN.
27919         (__ieee754_exp2f): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
27920         * sysdeps/i386/fpu/e_expf.S: Include <i386-math-asm.h>.
27921         (flt_min): Replace with use of DEFINE_FLT_MIN.
27922         (__ieee754_expf): Use FLT_NARROW_EVAL_UFLOW_NONNEG_NAN.
27923         (__expf_finite): Use FLT_NARROW_EVAL_UFLOW_NONNEG.
27924         * sysdeps/i386/fpu/e_hypot.S: Include <i386-math-asm.h>.
27925         (__ieee754_hypot): Use DBL_NARROW_EVAL.
27926         * sysdeps/i386/fpu/e_hypotf.S: Include <i386-math-asm.h>.
27927         (__ieee754_hypotf): Use FLT_NARROW_EVAL.
27928         * sysdeps/i386/fpu/e_pow.S: Include <i386-math-asm.h>.
27929         (__ieee754_pow): Use DBL_NARROW_EVAL.
27930         * sysdeps/i386/fpu/e_powf.S: Include <i386-math-asm.h>.
27931         (__ieee754_powf): Use FLT_NARROW_EVAL.
27932         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S
27933         (__ieee754_expf_sse2): Convert double-precision result to single
27934         precision.
27935         * sysdeps/i386/fpu/libm-test-ulps: Update.
27937 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
27939         * timezone/Makefile: Ignore unused variable errors due to private.h
27940         (time_t_min) and (time_t_max).
27941         * timezone/private.h (time_t_min): Revert removal.  (time_t_max):
27942         Likewise.
27944 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
27946         [BZ #18981]
27947         * sysdeps/i386/fpu/i386-math-asm.h: New file.
27948         * sysdeps/i386/fpu/e_scalb.S: Include <i386-math-asm.h>.
27949         (__ieee754_scalb): Use DBL_NARROW_EVAL.
27950         * sysdeps/i386/fpu/e_scalbf.S: Include <i386-math-asm.h>.
27951         (__ieee754_scalbf): Use FLT_NARROW_EVAL.
27952         * sysdeps/i386/fpu/s_scalbn.S: Include <i386-math-asm.h>.
27953         (__scalbn): Use DBL_NARROW_EVAL.
27954         * sysdeps/i386/fpu/s_scalbnf.S: Include <i386-math-asm.h>.
27955         (__scalbnf): Use FLT_NARROW_EVAL.
27957 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
27959         * math/w_tgamma.c (__ieee754_gamma_r): Use explicit sign check.
27960         * math/w_tgammaf.c (__ieee754_gammaf_r): Likewise.
27961         * math/w_tgammal.c (__ieee754_gammal_r): Likewise.
27962         * stdio-common/printf_fp.c (___printf_fp):
27963         Use signbit to get the sign. Use isinf macro to allow inlining.
27964         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.
27965         * stdio-common/printf_size.c (__printf_size): Likewise.
27967 2015-09-18  Mike Frysinger  <vapier@gentoo.org>
27969         * timezone/Makefile ($(testdata)/XT%): Call $(make-target-directory).
27971 2015-09-18  Joseph Myers  <joseph@codesourcery.com>
27973         [BZ #18980]
27974         * sysdeps/generic/math_private.h: Include <float.h>.
27975         (math_narrow_eval): New macro.
27976         [FLT_EVAL_METHOD != 0] (excess_precision): Likewise.
27977         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Use
27978         math_narrow_eval on overflowing return value.
27979         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r):
27980         Likewise.
27981         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
27982         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Likewise.
27983         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r):
27984         Likewise.
27985         * sysdeps/ieee754/flt-32/e_sinhf.c (__ieee754_sinhf): Likewise.
27987 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
27989         * include/math.h: Remove __isinf_ns, __isinf_nsf, __isinf_nsl.
27990         * math/Makefile: Remove isinf_ns.c.
27991         * math/divtc3.c (__divtc3): Replace __isinf_nsl with isinf.
27992         * math/multc3.c (__multc3): Likewise.
27993         * math/s_casin.c (__casin): Likewise.
27994         * math/s_casinf.c (__casinf): Likewise.
27995         * math/s_casinl.c (__casinl): Likewise.
27996         * math/s_cproj.c (__cproj): Likewise.
27997         * math/s_cprojf.c (__cprojf): Likewise.
27998         * math/s_cprojl.c (__cprofl): Likewise.
27999         * math/s_ctan.c (__ctan): Likewise.
28000         * math/s_ctanf.c (__ctanf): Likewise.
28001         * math/s_ctanh.c (__ctanh): Likewise.
28002         * math/s_ctanhf.c (__ctanhf): Likewise.
28003         * math/s_ctanhl.c (__ctanhl): Likewise.
28004         * math/s_ctanl.c (__ctanl): Likewise.
28005         * math/w_fmod.c (__fmod): Likewise.
28006         * math/w_fmodf.c (__fmodf): Likewise.
28007         * math/w_fmodl.c (_fmodl): Likewise.
28008         * math/w_remainder.c (__remainder): Likewise.
28009         * math/w_remainderf.c (__remainderf): Likewise.
28010         * math/w_remainderl.c (__remainderl): Likewise.
28011         * math/w_scalb.c (__scalb): Likewise.
28012         * math/w_scalbf.c (__scalbf): Likewise.
28013         * math/w_scalbl.c (__scalbl): Likewise.
28014         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Deleted file.
28015         * sysdeps/ieee754/dbl-64/s_sincos.c (__sincos): Replace __isinf_ns
28016         with isinf.
28017         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Deleted file.
28018         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Deleted file.
28019         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Replace
28020         __isinf_nsf with isinf.
28021         * sysdeps/ieee754/flt-32/math_private.h: Deleted file.
28022         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Deleted file.
28023         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Deleted file.
28024         * sysdeps/ieee754/ldbl-128/s_sincosl.c (__sincosl): Replace __isinf_nsl
28025         with isinf.
28026         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c(__cprojll): Replace
28027         __isinf_nsl with isinf.
28028         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c(__ctanl): Replace __isinf_nsl
28029         with isinf.
28030         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Deleted file.
28031         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Replace
28032         __isinf_nsl with isinf.
28033         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Deleted file.
28034         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Replace __isinf_nsl
28035         with isinf.
28037 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
28039         * resolv/base64.c (rcsid): Remove unused static.
28040         * sysdeps/ieee754/dbl-64/atnat2.h (qpi1): Remove unused
28041         static.  (tqpi1): Likewise.
28042         * sysdeps/ieee754/dbl-64/uexp.h (one): Likewise.
28043         * sysdeps/ieee754/dbl-64/upow.h (sqrt_2): Likewise.
28044         * sysdeps/ieee754/flt-32/e_log10f.c (one): Likewise.
28045         * sysdeps/ieee754/flt-32/s_cosf.c (one): Likewise.
28046         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (zero): Likewise.
28047         * sysdeps/ieee754/ldbl-128/s_erfl.c (half): Likewise.
28048         * sysdeps/ieee754/ldbl-128/s_log1pl.c (maxlog): Likewise.
28049         * timezone/private.h (time_t_min): Likewise.  (time_t_max):
28050         Likewise.
28052 2015-09-18  H.J. Lu  <hongjiu.lu@intel.com>
28054         * sysdeps/nptl/jmp-unwind.c: Include <libc-lock.h> instead of
28055         <nptl/pthreadP.h>.
28056         (_longjmp_unwind): Use __libc_ptf_call.
28057         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Likewise.
28059 2015-09-18  David Lamparter  <equinox-gentoo@diac24.net>
28061         * sysdeps/arm/setjmp.S: Change PIC to SHARED.
28062         * sysdeps/arm/__longjmp.S: Likewise.
28064 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
28066         * sysdeps/ieee754/dbl-64/s_signbit.c (__signbit):
28067         Use __builtin_signbit.
28068         * sysdeps/ieee754/flt-32/s_signbitf.c (__signbitf):
28069         Use __builtin_signbitf.
28070         * sysdeps/ieee754/ldbl-128/s_signbitl.c (__signbitl):
28071         Use __builtin_signbitl.
28072         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
28073         * sysdeps/ieee754/ldbl-96/s_signbitl.c (__signbitl): Likewise.
28075 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
28077         [BZ #15367]
28078         [BZ #17441]
28080         * math/Makefile: Build test-snan.c with -fsignaling-nans.
28081         * math/math.h (fpclassify): Use __builtin_fpclassify when
28082         available.  (signbit): Use __builtin_signbit(f/l).
28083         (isfinite): Use__builtin_isfinite.  (isnormal): Use
28084         __builtin_isnormal.  (isnan): Use __builtin_isnan.
28085         (isinf): Use __builtin_isinf_sign.
28087 2015-09-18  Wilco Dijkstra  <wdijkstr@arm.com>
28089         * benchtests/Makefile: Add bench-math-inlines, link with libm.
28090         * benchtests/bench-math-inlines.c: New benchmark.
28091         * benchtests/bench-util.h: New file.
28092         * benchtests/bench-util.c: New file.
28093         * benchtests/bench-skeleton.c: Add include of bench-util.c/h.
28095 2015-09-18  Carlos O'Donell  <carlos@redhat.com>
28097         * elf/tst-dlmopen1.c: Define TEST_SO.
28098         (do_test): Use TEST_SO.
28100         * elf/dl-load.c: Include libc-internal.h.
28101         (_dl_map_object_from_fd): Use ALIGN_UP and ALIGN_DOWN.
28103 2015-09-18  Vincent Bernat  <vincent@bernat.im>
28105         [BZ #17887]
28106         * time/strptime_l.c (__strptime_internal): Make %z accept
28107         [+-]HH:MM time zones.
28109 2015-09-18  Vincent Bernat  <vincent@bernat.im>
28111         [BZ #17886]
28112         * time/strptime_l.c (__strptime_internal): Make %z accept Z as a
28113         valid time zone.
28115 2015-09-17  Mike Frysinger  <vapier@gentoo.org>
28117         * sysdeps/unix/sysv/linux/alpha/Makefile (CFLAGS-fdatasync.c): Delete.
28118         * sysdeps/unix/sysv/linux/alpha/fdatasync.c: Delete.
28119         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
28120         (__ASSUME_FDATASYNC): Delete.
28122 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
28124         * conform/linknamespace.pl: Require weak undefined symbols to be
28125         in the standard namespace.
28126         (%strong_syms): Rename to %seen_syms.
28127         (%strong_seen): Rename to %seen_where.
28129 2015-09-17  H.J. Lu  <hongjiu.lu@intel.com>
28131         [BZ #18970]
28132         * misc/error.c (error): Replace pthread_setcancelstate with
28133         __pthread_setcancelstate.
28134         (error_at_line): Likewise.
28135         * posix/wordexp.c (parse_comm): Likewise.
28136         * stdlib/fmtmsg.c (fmtmsg): Likewise.
28137         * nptl/forward.c (pthread_setcancelstate): Renamed to ...
28138         (__pthread_setcancelstate): This.
28139         (pthread_setcancelstate): Add an alias.
28140         * nptl/nptl-init.c (pthread_functions): Replace
28141         ptr_pthread_setcancelstate with ptr___pthread_setcancelstate.
28142         * sysdeps/nptl/pthread-functions.h (pthread_functions): Likewise.
28143         * nptl/pthreadP.h (__pthread_setcancelstate): Mark it with
28144         hidden_proto.
28145         * nptl/pthread_setcancelstate.c (__pthread_setcancelstate): Mark
28146         it with hidden_def.
28147         * sysdeps/nptl/libc-lockP.h (__pthread_setcancelstate): New.
28148         (pthread_setcancelstate): Renamed to ...
28149         (__pthread_setcancelstate): This.
28150         * sysdeps/unix/sysv/linux/fatal-prepare.h (FATAL_PREPARE): Use
28151         __libc_ptf_call with __pthread_setcancelstate.
28153 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
28154             Andreas Schwab  <schwab@suse.de>
28156         [BZ #17118]
28157         * math/s_ctan.c (__ctan): Determine sign of zero real part of
28158         result when imaginary part of argument is infinite using sine and
28159         cosine.
28160         * math/s_ctanf.c (__ctanf): Likewise.
28161         * math/s_ctanl.c (__ctanl): Likewise.
28162         * math/s_ctanh.c (__ctanh): Determine sign of zero imaginary part
28163         of result when real part of argument is infinite using sine and
28164         cosine.
28165         * math/s_ctanhf.c (__ctanhf): Likewise.
28166         * math/s_ctanhl.c (__ctanhl): Likewise.
28167         * math/libm-test.inc (ctan_test_data): Add more tests of ctan.
28168         (ctanh_test_data): Add more tests of ctanh.
28170 2015-09-17  Joseph Myers  <joseph@codesourcery.com>
28172         [BZ #15384]
28173         * sysdeps/ieee754/dbl-64/s_finite.c (FINITE): Use same constant as
28174         bit-mask as in subtraction.
28175         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c (__finite):
28176         Likewise.
28177         * sysdeps/ieee754/flt-32/s_finitef.c (FINITEF): Likewise.
28178         * sysdeps/ieee754/ldbl-128/s_finitel.c (__finitel): Likewise.
28179         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (__finitel): Likewise.
28181         [BZ #18951]
28182         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Force
28183         underflow exception for small results.
28184         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r):
28185         Likewise.
28186         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (__ieee754_gammal_r):
28187         Likewise.
28188         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
28189         Likewise.
28190         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
28191         Likewise.
28192         * math/auto-libm-test-in: Add more tests of tgamma.
28193         * math/auto-libm-test-out: Regenerated.
28195 2015-09-17  Andreas Schwab  <schwab@suse.de>
28197         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Readd.
28199 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
28201         [BZ #18977]
28202         * math/bits/mathcalls.h
28203         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j0): Do
28204         not declare.
28205         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (j1):
28206         Likewise.
28207         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (jn):
28208         Likewise.
28209         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y0):
28210         Likewise.
28211         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (y1):
28212         Likewise.
28213         [!__USE_MISC && __USE_XOPEN && !__MATH_DECLARING_DOUBLE] (yn):
28214         Likewise.
28215         * conform/data/math.h-data
28216         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0f): Do not expect
28217         function.
28218         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1f): Likewise.
28219         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnf): Likewise.
28220         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0f): Likewise.
28221         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1f): Likewise.
28222         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynf): Likewise.
28223         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j0l): Likewise.
28224         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (j1l): Likewise.
28225         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (jnl): Likewise.
28226         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y0l): Likewise.
28227         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (y1l): Likewise.
28228         [!ISO99 && !ISO11 && !POSIX && !POSIX2008] (ynl): Likewise.
28230         [BZ #6803]
28231         * math/s_ldexp.c (scalbn): Define as weak alias of __ldexp.
28232         [NO_LONG_DOUBLE] (scalbnl): Define as weak alias of __ldexp.
28233         * math/s_ldexpf.c (scalbnf): Define as weak alias of __ldexpf.
28234         * math/s_ldexpl.c (scalbnl): Define as weak alias of __ldexpl.
28235         * sysdeps/i386/fpu/s_scalbn.S (scalbn): Remove alias.
28236         * sysdeps/i386/fpu/s_scalbnf.S (scalbnf): Likewise.
28237         * sysdeps/i386/fpu/s_scalbnl.S (scalbnl): Likewise.
28238         * sysdeps/ieee754/dbl-64/s_scalbn.c (scalbn): Likewise.
28239         [NO_LONG_DOUBLE] (scalbnl): Likewise.
28240         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (scalbn):
28241         Likewise.
28242         [NO_LONG_DOUBLE] (scalbnl): Likewise.
28243         * sysdeps/ieee754/flt-32/s_scalbnf.c (scalbnf): Likewise.
28244         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (scalbnl): Likewise.
28245         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (scalbnl): Remove
28246         long_double_symbol calls.
28247         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c (scalbnl): Likewise.
28248         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c (__ldexpl_2): Define as
28249         strong alias of __ldexpl.
28250         (scalbnl): Define using long_double_symbol.
28251         * sysdeps/m68k/m680x0/fpu/s_scalbn.c (__CONCATX(scalbn,suffix)):
28252         Remove alias.
28253         * sysdeps/sparc/sparc64/soft-fp/s_scalbnl.c (scalbnl): Likewise.
28254         * sysdeps/x86_64/fpu/s_scalbnl.S (scalbnl): Likewise.
28255         * math/libm-test.inc (scalbn_test_data): Add errno expectations.
28256         (scalbln_test_data): Add more errno expectations.
28258 2015-09-16  Justus Winter  <4winter@informatik.uni-hamburg.de>
28260         Cache the host port like we cache the task port.  This way we do not
28261         need to call the kernel just to get the port.  Furthermore, we no
28262         longer increase the reference count on every invocation of
28263         `mach_host_self'.
28265         * mach/mach/mach_traps.h (__mach_host_self, mach_host_self):
28266         Protect declarations against the macro expansion.
28267         * mach/mach_init.c (__mach_host_self_): New variable.
28268         (mach_init): Initialize `__mach_host_self_'.
28269         * mach/mach_init.h (__mach_host_self_): New declaration.
28270         (__mach_host_self, mach_host_self): New macros.
28271         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start_cleanup):
28272         Release reference.
28274 2015-09-16  Joseph Myers  <joseph@codesourcery.com>
28276         [BZ #4404]
28277         * po/de.po: Update from Translation Project.
28279         [BZ #16415]
28280         * sysdeps/ieee754/ldbl-128/s_expm1l.c (maxlog): Remove variable.
28281         (__expm1l): Remove code to handle positive infinity and overflow.
28282         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (maxlog): Remove
28283         variable.
28284         (__expm1l): Remove code to handle positive infinity and overflow.
28286 2015-09-16  Paul Eggert  <eggert@cs.ucla.edu>
28287             Paul Pluzhnikov  <ppluzhnikov@google.com>
28289         [BZ #18872]
28290         * stdio-common/Makefile (tst-printf-bz18872): New test.
28291         (tst-printf-bz18872-mem.out): Likewise.
28292         * stdio-common/tst-printf-bz18872.sh: Generate new test.
28293         * stdio-common/vfprintf.c: Fix memory leaks.
28295 2015-09-16  Andreas Schwab  <schwab@suse.de>
28297         [BZ #17244]
28298         * sysdeps/unix/sysv/linux/semctl.c (__old_semctl, __new_semctl):
28299         Remove extra va_start/va_end calls.
28301         [BZ #17243]
28302         * posix/execl.c (execl): Add missing va_end.
28303         * posix/execle.c (execle): Likewise.
28304         * posix/execlp.c (execlp): Likewise.
28306 2015-09-15  Roland McGrath  <roland@hack.frob.com>
28308         * misc/sys/param.h [!MAXHOSTNAMELEN && HOST_NAME_MAX]
28309         (MAXHOSTNAMELEN): Define it to HOST_NAME_MAX.
28311 2015-09-15  Joseph Myers  <joseph@codesourcery.com>
28313         [BZ #18967]
28314         * math/math.h (__MATH_DECLARING_DOUBLE): New macro.  Define and
28315         undefine around includes of <bits/mathcalls.h>.
28316         * math/bits/mathcalls.h [!__USE_MISC && __USE_XOPEN2K] (isnan): Do
28317         not declare function.
28318         [!__USE_MISC && __USE_XOPEN2K] (gamma): Likewise.
28319         [!__USE_MISC && (!__MATH_DECLARING_DOUBLE || __USE_XOPEN2K8)]
28320         (scalb): Likewise.
28321         * math/tgmath.h [!__USE_MISC && __USE_XOPEN_EXTENDED] (scalb): Do
28322         not define macro.
28323         * conform/Makefile (test-xfail-XOPEN2K/math.h/conform): Remove
28324         variable.
28325         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
28326         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
28327         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
28329         [BZ #18857]
28330         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c (__nearbyintl): Just
28331         return non-finite argument without doing ordered comparisons on
28332         it.
28334         [BZ #16296]
28335         * math/fenv.h (fegetround): Use __attribute_pure__.
28336         * include/fenv.h (__fegetround): Likewise.
28338         [BZ #18595]
28339         * math/s_ctan.c (__ctan): Force underflow exception for results
28340         whose real or imaginary part has small absolute value.
28341         * math/s_ctanf.c (__ctanf): Likewise.
28342         * math/s_ctanh.c (__ctanh): Likewise.
28343         * math/s_ctanhf.c (__ctanhf): Likewise.
28344         * math/s_ctanhl.c (__ctanhl): Likewise.
28345         * math/s_ctanl.c (__ctanl): Likewise.
28346         * math/auto-libm-test-in: Do not allow missing underflow for ctan
28347         and ctanh.  Add more tests of ctan and ctanh.
28349         [BZ #15918]
28350         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Simplify
28351         handling of cases where one argument is an infinity.
28353         [BZ #18875]
28354         [BZ #18966]
28355         * sysdeps/i386/fpu/e_exp10.S (dbl_min): New object.
28356         (MO): New macro.
28357         (__ieee754_exp10): For small results, force underflow exception
28358         and remove excess range and precision from return value.
28359         * sysdeps/i386/fpu/e_exp10f.S (flt_min): New object.
28360         (MO): New macro.
28361         (__ieee754_exp10f): For small results, force underflow exception
28362         and remove excess range and precision from return value.
28363         * math/auto-libm-test-in: Add more tests of exp10.
28364         * math/auto-libm-test-out: Regenerated.
28366 2015-09-14  Joseph Myers  <joseph@codesourcery.com>
28368         [BZ #18875]
28369         [BZ #18961]
28370         * sysdeps/i386/fpu/e_exp.S (dbl_min): New object.
28371         (MO): New macro.
28372         (__ieee754_exp): For small results, force underflow exception and
28373         remove excess range and precision from return value.
28374         (__exp_finite): Likewise.
28375         * sysdeps/i386/fpu/e_expf.S (flt_min): New object.
28376         (MO): New macro.
28377         (__ieee754_expf): For small results, force underflow exception and
28378         remove excess range and precision from return value.
28379         (__expf_finite): Likewise.
28380         * math/auto-libm-test-in: Add more tests of exp.
28381         * math/auto-libm-test-out: Regenerated.
28383         [BZ #16521]
28384         [BZ #18875]
28385         * math/e_exp2l.c (__ieee754_exp2l): Force underflow exception for
28386         small results.
28387         * sysdeps/i386/fpu/e_exp2.S (dbl_min): New object.
28388         (MO): New macro.
28389         (__ieee754_exp2): For small results, force underflow exception and
28390         remove excess range and precision from return value.
28391         * sysdeps/i386/fpu/e_exp2f.S (flt_min): New object.
28392         (MO): New macro.
28393         (__ieee754_exp2f): For small results, force underflow exception
28394         and remove excess range and precision from return value.
28395         * sysdeps/i386/fpu/e_exp2l.S (ldbl_min): New object.
28396         (MO): New macro.
28397         (__ieee754_exp2l): Force underflow exception for small results.
28398         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
28399         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
28400         * sysdeps/x86_64/fpu/e_exp2l.S (ldbl_min): New object.
28401         (MO): New macro.
28402         (__ieee754_exp2l): Force underflow exception for small results.
28403         * math/auto-libm-test-in: Add more tests or exp2.
28404         * math/auto-libm-test-out: Regenerated.
28406 2015-09-14  Carlos O'Donell  <carlos@redhat.com>
28408         * malloc/malloc.c (systrim): Use ALIGN_DOWN.
28410         * Makefile ($(objpfx)check-local-headers.out): Redirect stdin from
28411         /dev/null.
28413 2015-09-13  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28415         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
28416         io fs process)): Drop spurious backslash.
28418 2015-09-12  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
28420         * sysdeps/unix/sysv/linux/getsysstats.c (__get_phys_pages):
28421         Use sysinfo system call instead of parsing /proc/meminfo.
28422         * sysdeps/unix/sysv/linux/getsysstats.c (__get_avphys_pages):
28423         Likewise.
28425 2015-09-11  Mike Frysinger  <vapier@gentoo.org>
28427         [BZ #16985]
28428         * programs/localedef.c (main): Display argv[remaining] when
28429         output_path is NULL.
28431 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
28433         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
28434         asinh, atan, atan2, atanh, cabs, carg, cos, csqrt, erfc, exp,
28435         exp10, exp2, log, log1p, log2, pow, sin, sincos, sinh, tan and
28436         tanh.
28437         * math/auto-libm-test-out: Regenerated.
28438         * sysdeps/i386/fpu/libm-test-ulps: Update.
28439         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
28440         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
28441         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28443 2015-09-11  Roland McGrath  <roland@hack.frob.com>
28445         * sysdeps/nacl/Makefile [$(subdir) = misc] (sysdep_headers):
28446         Use 'override' keyword to freeze the value here, preventing
28447         the addition of sys/mtio.h by sysdeps/gnu/Makefile.
28449 2015-09-11  Joseph Myers  <joseph@codesourcery.com>
28451         [BZ #14912]
28452         * sysdeps/aarch64/bits/atomic.h: Move to ...
28453         * sysdeps/aarch64/atomic-machine.h: ...here.
28454         (_AARCH64_BITS_ATOMIC_H): Rename macro to
28455         _AARCH64_ATOMIC_MACHINE_H.
28456         * sysdeps/alpha/bits/atomic.h: Move to ...
28457         * sysdeps/alpha/atomic-machine.h: ...here.
28458         * sysdeps/arm/bits/atomic.h: Move to ...
28459         * sysdeps/arm/atomic-machine.h: ...here.  Update comments.
28460         * bits/atomic.h: Move to ...
28461         * sysdeps/generic/atomic-machine.h: ...here.
28462         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
28463         * sysdeps/i386/bits/atomic.h: Move to ...
28464         * sysdeps/i386/atomic-machine.h: ...here.
28465         * sysdeps/ia64/bits/atomic.h: Move to ...
28466         * sysdeps/ia64/atomic-machine.h: ...here.
28467         * sysdeps/m68k/coldfire/bits/atomic.h: Move to ...
28468         * sysdeps/m68k/coldfire/atomic-machine.h: ...here.
28469         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
28470         * sysdeps/m68k/m680x0/m68020/bits/atomic.h: Move to ...
28471         * sysdeps/m68k/m680x0/m68020/atomic-machine.h: ...here.
28472         * sysdeps/microblaze/bits/atomic.h: Move to ...
28473         * sysdeps/microblaze/atomic-machine.h: ...here.
28474         * sysdeps/mips/bits/atomic.h: Move to ...
28475         * sysdeps/mips/atomic-machine.h: ...here.
28476         (_MIPS_BITS_ATOMIC_H): Rename macro to _MIPS_ATOMIC_MACHINE_H.
28477         * sysdeps/powerpc/bits/atomic.h: Move to ...
28478         * sysdeps/powerpc/atomic-machine.h: ...here.  Update comments.
28479         * sysdeps/powerpc/powerpc32/bits/atomic.h: Move to ...
28480         * sysdeps/powerpc/powerpc32/atomic-machine.h: ...here.  Update
28481         comments.  Include <atomic-machine.h> instead of <bits/atomic.h>.
28482         * sysdeps/powerpc/powerpc64/bits/atomic.h: Move to ...
28483         * sysdeps/powerpc/powerpc64/atomic-machine.h: ...here.  Include
28484         <atomic-machine.h> instead of <bits/atomic.h>.
28485         * sysdeps/s390/bits/atomic.h: Move to ...
28486         * sysdeps/s390/atomic-machine.h: ...here.
28487         * sysdeps/sparc/sparc32/bits/atomic.h: Move to ...
28488         * sysdeps/sparc/sparc32/atomic-machine.h: ...here.
28489         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
28490         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h: Move to ...
28491         * sysdeps/sparc/sparc32/sparcv9/atomic-machine.h: ...here.
28492         * sysdeps/sparc/sparc64/bits/atomic.h: Move to ...
28493         * sysdeps/sparc/sparc64/atomic-machine.h: ...here.
28494         * sysdeps/tile/bits/atomic.h: Move to ...
28495         * sysdeps/tile/atomic-machine.h: ...here.
28496         * sysdeps/tile/tilegx/bits/atomic.h: Move to ...
28497         * sysdeps/tile/tilegx/atomic-machine.h: ...here.  Include
28498         <sysdeps/tile/atomic-machine.h> instead of
28499         <sysdeps/tile/bits/atomic.h>.
28500         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
28501         * sysdeps/tile/tilepro/bits/atomic.h: Move to ...
28502         * sysdeps/tile/tilepro/atomic-machine.h: ...here.  Include
28503         <sysdeps/tile/atomic-machine.h> instead of
28504         <sysdeps/tile/bits/atomic.h>.
28505         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
28506         * sysdeps/unix/sysv/linux/arm/bits/atomic.h: Move to ...
28507         * sysdeps/unix/sysv/linux/arm/atomic-machine.h: ...here.  Include
28508         <sysdeps/arm/atomic-machine.h> instead of
28509         <sysdeps/arm/bits/atomic.h>.
28510         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Move to ...
28511         * sysdeps/unix/sysv/linux/hppa/atomic-machine.h: ...here.
28512         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
28513         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Move to ...
28514         * sysdeps/unix/sysv/linux/m68k/coldfire/atomic-machine.h: ...here.
28515         (_BITS_ATOMIC_H): Rename macro to _ATOMIC_MACHINE_H.
28516         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: Move to ...
28517         * sysdeps/unix/sysv/linux/nios2/atomic-machine.h: ...here.
28518         (_NIOS2_BITS_ATOMIC_H): Rename macro to _NIOS2_ATOMIC_MACHINE_H.
28519         * sysdeps/unix/sysv/linux/sh/bits/atomic.h: Move to ...
28520         * sysdeps/unix/sysv/linux/sh/atomic-machine.h: ...here.
28521         * sysdeps/x86_64/bits/atomic.h: Move to ...
28522         * sysdeps/x86_64/atomic-machine.h: ...here.
28523         * include/atomic.h: Include <atomic-machine.h> instead of
28524         <bits/atomic.h>.
28526         * sysdeps/mips/mips32/libm-test-ulps: Update.
28527         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
28529         [BZ #18952]
28530         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r): Do
28531         not convert non-integer negative arguments to int to determine the
28532         value of signgam.
28533         * math/auto-libm-test-in: Add more tests of lgamma.
28534         * math/auto-libm-test-out: Regenerated.
28536         * math/auto-libm-test-in: Add more tests of acosh, atanh, cbrt,
28537         cosh, csqrt, erfc, expm1 and lgamma.
28538         * math/auto-libm-test-out: Regenerated.
28539         * sysdeps/i386/fpu/libm-test-ulps: Update.
28540         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28542 2015-09-10  Joseph Myers  <joseph@codesourcery.com>
28544         [BZ #2542]
28545         [BZ #2543]
28546         [BZ #2558]
28547         * sysdeps/ieee754/dbl-64/e_lgamma_r.c (__ieee754_lgamma_r): Call
28548         __lgamma_neg for arguments from -28.0 to -2.0.
28549         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Call
28550         __lgamma_negf for arguments from -15.0 to -2.0.
28551         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
28552         Call __lgamma_negl for arguments from -48.0 or -50.0 to -2.0.
28553         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c (__ieee754_lgammal_r):
28554         Call __lgamma_negl for arguments from -33.0 to -2.0.
28555         * sysdeps/ieee754/dbl-64/lgamma_neg.c: New file.
28556         * sysdeps/ieee754/dbl-64/lgamma_product.c: Likewise.
28557         * sysdeps/ieee754/flt-32/lgamma_negf.c: Likewise.
28558         * sysdeps/ieee754/flt-32/lgamma_productf.c: Likewise.
28559         * sysdeps/ieee754/ldbl-128/lgamma_negl.c: Likewise.
28560         * sysdeps/ieee754/ldbl-128/lgamma_productl.c: Likewise.
28561         * sysdeps/ieee754/ldbl-128ibm/lgamma_negl.c: Likewise.
28562         * sysdeps/ieee754/ldbl-128ibm/lgamma_productl.c: Likewise.
28563         * sysdeps/ieee754/ldbl-96/lgamma_negl.c: Likewise.
28564         * sysdeps/ieee754/ldbl-96/lgamma_product.c: Likewise.
28565         * sysdeps/ieee754/ldbl-96/lgamma_productl.c: Likewise.
28566         * sysdeps/generic/math_private.h (__lgamma_negf): New prototype.
28567         (__lgamma_neg): Likewise.
28568         (__lgamma_negl): Likewise.
28569         (__lgamma_product): Likewise.
28570         (__lgamma_productl): Likewise.
28571         * math/Makefile (libm-calls): Add lgamma_neg and lgamma_product.
28572         * math/auto-libm-test-in: Add more tests of lgamma.
28573         * math/auto-libm-test-out: Regenerated.
28574         * sysdeps/i386/fpu/libm-test-ulps: Update.
28575         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
28577 2015-09-09  Justin Maggard  <jmaggard@netgear.com>
28579         [BZ #18675]
28580         * sysdeps/posix/fpathconf.c (__fpathconf): Use __fstatvfs64.
28582 2015-09-08  Joseph Myers  <joseph@codesourcery.com>
28584         [BZ #14912]
28585         * bits/libc-lock.h: Move to ...
28586         * sysdeps/generic/libc-lock.h: ...here.
28587         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
28588         * sysdeps/mach/hurd/bits/libc-lock.h: Move to ...
28589         * sysdeps/mach/hurd/libc-lock.h: ...here.
28590         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
28591         [_LIBC]: Include <libc-lockP.h> instead of <bits/libc-lockP.h>.
28592         * sysdeps/mach/bits/libc-lock.h: Move to ...
28593         * sysdeps/mach/libc-lock.h: ...here.
28594         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
28595         * sysdeps/nptl/bits/libc-lock.h: Move to ...
28596         * sysdeps/nptl/libc-lock.h: ...here.
28597         (_BITS_LIBC_LOCK_H): Rename macro to _LIBC_LOCK_H.
28598         * sysdeps/nptl/bits/libc-lockP.h: Move to ...
28599         * sysdeps/nptl/libc-lockP.h: ...here.
28600         (_BITS_LIBC_LOCKP_H): Rename macro to _LIBC_LOCKP_H.
28601         * crypt/crypt_util.c: Include <libc-lock.h> instead of
28602         <bits/libc-lock.h>.
28603         * dirent/scandir-tail.c: Likewise.
28604         * dlfcn/dlerror.c: Likewise.
28605         * elf/dl-close.c: Likewise.
28606         * elf/dl-iteratephdr.c: Likewise.
28607         * elf/dl-lookup.c: Likewise.
28608         * elf/dl-open.c: Likewise.
28609         * elf/dl-support.c: Likewise.
28610         * elf/dl-writev.h: Likewise.
28611         * elf/rtld.c: Likewise.
28612         * grp/fgetgrent.c: Likewise.
28613         * gshadow/fgetsgent.c: Likewise.
28614         * gshadow/sgetsgent.c: Likewise.
28615         * iconv/gconv_conf.c: Likewise.
28616         * iconv/gconv_db.c: Likewise.
28617         * iconv/gconv_dl.c: Likewise.
28618         * iconv/gconv_int.h: Likewise.
28619         * iconv/gconv_trans.c: Likewise.
28620         * include/link.h: Likewise.
28621         * inet/getnameinfo.c: Likewise.
28622         * inet/getnetgrent.c: Likewise.
28623         * inet/getnetgrent_r.c: Likewise.
28624         * intl/bindtextdom.c: Likewise.
28625         * intl/dcigettext.c: Likewise.
28626         * intl/finddomain.c: Likewise.
28627         * intl/gettextP.h: Likewise.
28628         * intl/loadmsgcat.c: Likewise.
28629         * intl/localealias.c: Likewise.
28630         * intl/textdomain.c: Likewise.
28631         * libidn/idn-stub.c: Likewise.
28632         * libio/libioP.h: Likewise.
28633         * locale/duplocale.c: Likewise.
28634         * locale/freelocale.c: Likewise.
28635         * locale/newlocale.c: Likewise.
28636         * locale/setlocale.c: Likewise.
28637         * login/getutent_r.c: Likewise.
28638         * login/getutid_r.c: Likewise.
28639         * login/getutline_r.c: Likewise.
28640         * login/utmp-private.h: Likewise.
28641         * login/utmpname.c: Likewise.
28642         * malloc/mtrace.c: Likewise.
28643         * misc/efgcvt.c: Likewise.
28644         * misc/error.c: Likewise.
28645         * misc/fstab.c: Likewise.
28646         * misc/getpass.c: Likewise.
28647         * misc/mntent.c: Likewise.
28648         * misc/syslog.c: Likewise.
28649         * nis/nis_call.c: Likewise.
28650         * nis/nis_callback.c: Likewise.
28651         * nis/nss-default.c: Likewise.
28652         * nis/nss_compat/compat-grp.c: Likewise.
28653         * nis/nss_compat/compat-initgroups.c: Likewise.
28654         * nis/nss_compat/compat-pwd.c: Likewise.
28655         * nis/nss_compat/compat-spwd.c: Likewise.
28656         * nis/nss_nis/nis-alias.c: Likewise.
28657         * nis/nss_nis/nis-ethers.c: Likewise.
28658         * nis/nss_nis/nis-grp.c: Likewise.
28659         * nis/nss_nis/nis-hosts.c: Likewise.
28660         * nis/nss_nis/nis-network.c: Likewise.
28661         * nis/nss_nis/nis-proto.c: Likewise.
28662         * nis/nss_nis/nis-pwd.c: Likewise.
28663         * nis/nss_nis/nis-rpc.c: Likewise.
28664         * nis/nss_nis/nis-service.c: Likewise.
28665         * nis/nss_nis/nis-spwd.c: Likewise.
28666         * nis/nss_nisplus/nisplus-alias.c: Likewise.
28667         * nis/nss_nisplus/nisplus-ethers.c: Likewise.
28668         * nis/nss_nisplus/nisplus-grp.c: Likewise.
28669         * nis/nss_nisplus/nisplus-hosts.c: Likewise.
28670         * nis/nss_nisplus/nisplus-initgroups.c: Likewise.
28671         * nis/nss_nisplus/nisplus-network.c: Likewise.
28672         * nis/nss_nisplus/nisplus-proto.c: Likewise.
28673         * nis/nss_nisplus/nisplus-pwd.c: Likewise.
28674         * nis/nss_nisplus/nisplus-rpc.c: Likewise.
28675         * nis/nss_nisplus/nisplus-service.c: Likewise.
28676         * nis/nss_nisplus/nisplus-spwd.c: Likewise.
28677         * nis/ypclnt.c: Likewise.
28678         * nptl/libc_pthread_init.c: Likewise.
28679         * nss/getXXbyYY.c: Likewise.
28680         * nss/getXXent.c: Likewise.
28681         * nss/getXXent_r.c: Likewise.
28682         * nss/nss_db/db-XXX.c: Likewise.
28683         * nss/nss_db/db-netgrp.c: Likewise.
28684         * nss/nss_db/nss_db.h: Likewise.
28685         * nss/nss_files/files-XXX.c: Likewise.
28686         * nss/nss_files/files-alias.c: Likewise.
28687         * nss/nsswitch.c: Likewise.
28688         * posix/regex_internal.h: Likewise.
28689         * posix/wordexp.c: Likewise.
28690         * pwd/fgetpwent.c: Likewise.
28691         * resolv/res_hconf.c: Likewise.
28692         * resolv/res_libc.c: Likewise.
28693         * shadow/fgetspent.c: Likewise.
28694         * shadow/lckpwdf.c: Likewise.
28695         * shadow/sgetspent.c: Likewise.
28696         * socket/opensock.c: Likewise.
28697         * stdio-common/reg-modifier.c: Likewise.
28698         * stdio-common/reg-printf.c: Likewise.
28699         * stdio-common/reg-type.c: Likewise.
28700         * stdio-common/vfprintf.c: Likewise.
28701         * stdio-common/vfscanf.c: Likewise.
28702         * stdlib/abort.c: Likewise.
28703         * stdlib/cxa_atexit.c: Likewise.
28704         * stdlib/fmtmsg.c: Likewise.
28705         * stdlib/random.c: Likewise.
28706         * stdlib/setenv.c: Likewise.
28707         * string/strsignal.c: Likewise.
28708         * sunrpc/auth_none.c: Likewise.
28709         * sunrpc/bindrsvprt.c: Likewise.
28710         * sunrpc/create_xid.c: Likewise.
28711         * sunrpc/key_call.c: Likewise.
28712         * sunrpc/rpc_thread.c: Likewise.
28713         * sysdeps/arm/backtrace.c: Likewise.
28714         * sysdeps/generic/ldsodefs.h: Likewise.
28715         * sysdeps/generic/stdio-lock.h: Likewise.
28716         * sysdeps/generic/unwind-dw2-fde.c: Likewise.
28717         * sysdeps/i386/backtrace.c: Likewise.
28718         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
28719         * sysdeps/m68k/backtrace.c: Likewise.
28720         * sysdeps/mach/hurd/cthreads.c: Likewise.
28721         * sysdeps/mach/hurd/dirstream.h: Likewise.
28722         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
28723         * sysdeps/nptl/malloc-machine.h: Likewise.
28724         * sysdeps/nptl/stdio-lock.h: Likewise.
28725         * sysdeps/posix/dirstream.h: Likewise.
28726         * sysdeps/posix/getaddrinfo.c: Likewise.
28727         * sysdeps/posix/system.c: Likewise.
28728         * sysdeps/pthread/aio_suspend.c: Likewise.
28729         * sysdeps/s390/s390-32/backtrace.c: Likewise.
28730         * sysdeps/s390/s390-64/backtrace.c: Likewise.
28731         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
28732         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
28733         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c: Likewise.
28734         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c: Likewise.
28735         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c: Likewise.
28736         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
28737         * sysdeps/unix/sysv/linux/system.c: Likewise.
28738         * sysdeps/x86_64/backtrace.c: Likewise.
28739         * time/alt_digit.c: Likewise.
28740         * time/era.c: Likewise.
28741         * time/tzset.c: Likewise.
28742         * wcsmbs/wcsmbsload.c: Likewise.
28743         * nptl/tst-initializers1.c (do_test): Refer to <libc-lock.h>
28744         instead of <bits/libc-lock.h> in comment.
28746 2015-09-08  Andrew Bennett  <andrew.bennett@imgtec.com>
28748         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIO32] (MIPS_PUSH_MIPS2):
28749         Only use .set mips2 if the current ISA is below mips2.
28750         * sysdeps/mips/sys/tas.h [_MIPS_SIM == _ABIO32] (_test_and_set):
28751         Likewise.
28752         * sysdeps/mips/nptl/tls.h (READ_THREAD_POINTER): Only use .set
28753         mips32r2 if the current ISA is below mips32r2.
28754         * sysdeps/mips/tls-macros.h (TLS_RDHWR): New define.
28755         (TLS_IE): Updated to use the TLD_RDHWR macro.
28756         (TLS_LE): Likewise.
28757         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Moved out of #ifdef
28758         __ASSEMBLER__ condition.
28760 2015-09-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28762         Fix parallel build of before-compile targets.
28764         * sysdeps/mach/Makefile ($(patsubst
28765         mach%,m\%h%,$(mach-before-compile))): Move rule to dedicated
28766         mach-before-compile target.
28767         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
28768         io fs process)): Move rule to dedicated hurd-before-compile target.
28770 2015-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
28772         Fix rules generating headers in hurd/ and mach/ when initial make call
28773         has subdir= explicitly set.
28775         * sysdeps/mach/Makefile ($(patsubst
28776         mach%,m\%h%,$(mach-before-compile))): Force subdir to mach when
28777         calling $(MAKE).
28778         * sysdeps/mach/hurd/Makefile ($(patsubst %,$(hurd-objpfx)hurd/%.%,auth
28779         io fs process)): Force subdir to hurd when calling $(MAKE).
28780         ($(common-objpfx)hurd/../mach/RPC_task_get_sampled_pcs.c): Force
28781         subdir to mach when calling $(MAKE).
28783 2015-09-06  Manolis Ragkousis  <manolis837@gmail.com>
28785         Check sysheaders when looking for Mach and Hurd headers
28787         * sysdeps/mach/configure.ac: Add sysheaders check.
28788         * sysdeps/mach/configure: Regenerate.
28789         * sysdeps/mach/hurd/configure.ac: Add sysheaders check.
28790         * sysdeps/mach/hurd/configure: Regenerate.
28792 2015-09-04  Roland McGrath  <roland@hack.frob.com>
28794         [BZ #18921]
28795         * sysdeps/posix/opendir.c (need_isdir_precheck) [O_DIRECTORY]:
28796         Fix inverted sense of test of 'o_directory_works' value.
28797         Reported by Pádraig Brady <P@draigBrady.com>, diagnosed by
28798         Bernhard Voelker <mail@bernhard-voelker.de>.
28800 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
28802         [BZ #14912]
28803         * bits/linkmap.h: Move to ...
28804         * sysdeps/generic/linkmap.h: ...here.
28805         * sysdeps/aarch64/bits/linkmap.h: Move to ...
28806         * sysdeps/aarch64/linkmap.h: ...here.
28807         * sysdeps/arm/bits/linkmap.h: Move to ...
28808         * sysdeps/arm/linkmap.h: ...here.
28809         * sysdeps/hppa/bits/linkmap.h: Move to ...
28810         * sysdeps/hppa/linkmap.h: ...here.
28811         * sysdeps/ia64/bits/linkmap.h: Move to ...
28812         * sysdeps/ia64/linkmap.h: ...here.
28813         * sysdeps/mips/bits/linkmap.h: Move to ...
28814         * sysdeps/mips/linkmap.h: ...here.
28815         * sysdeps/s390/bits/linkmap.h: Move to ...
28816         * sysdeps/s390/linkmap.h: ...here.
28817         * sysdeps/sh/bits/linkmap.h: Move to ...
28818         * sysdeps/sh/linkmap.h: ...here.
28819         * sysdeps/x86/bits/linkmap.h: Move to ...
28820         * sysdeps/x86/linkmap.h: ...here.
28821         * include/link.h: Include <linkmap.h> instead of <bits/linkmap.h>.
28823 2015-09-04  Andreas Schwab  <schwab@suse.de>
28825         [BZ #18635]
28826         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S
28827         (__makecontext): Terminate FDE before return label.
28828         (__novec_makecontext): Likewise.
28830 2015-09-04  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
28832         * sysdeps/unix/sysv/linux/socketpair.c: Use the address of the
28833         first member of struct sv in syscall macro.
28835 2015-09-04  Joseph Myers  <joseph@codesourcery.com>
28837         [BZ #14912]
28838         * bits/stdio-lock.h: Move to ...
28839         * sysdeps/generic/stdio-lock.h: ...here.
28840         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
28841         * sysdeps/nptl/bits/stdio-lock.h: Move to ...
28842         * sysdeps/nptl/stdio-lock.h: ...here.
28843         (_BITS_STDIO_LOCK_H): Rename macro to _STDIO_LOCK_H.
28844         * include/libio.h: Include <stdio-lock.h> instead of
28845         <bits/stdio-lock.h>.
28846         * sysdeps/nptl/fork.c: Likewise.
28847         * sysdeps/pthread/flockfile.c: Likewise.
28848         * sysdeps/pthread/ftrylockfile.c: Likewise.
28849         * sysdeps/pthread/funlockfile.c: Likewise.
28851         [BZ #14912]
28852         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Move to ...
28853         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.h: ...here.
28854         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: Include
28855         <m68k-vdso.h> instead of <bits/m68k-vdso.h>.
28856         * sysdeps/unix/sysv/linux/m68k/init-first.c: Likewise.
28857         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
28858         * sysdeps/unix/sysv/linux/m68k/m68k-vdso.c: Likewise.
28860 2015-09-03  Roland McGrath  <roland@hack.frob.com>
28862         * elf/Makefile (test-xfail-tst-protected1a): New variable.
28863         (test-xfail-tst-protected1b): New variable.
28865 2015-09-03  Joseph Myers  <joseph@codesourcery.com>
28867         [BZ #14912]
28868         * bits/libc-tsd.h: Move to ...
28869         * sysdeps/generic/libc-tsd.h: ...here.
28870         (_GENERIC_BITS_LIBC_TSD_H): Rename macro to _GENERIC_LIBC_TSD_H.
28871         * sysdeps/mach/hurd/bits/libc-tsd.h: Move to ...
28872         * sysdeps/mach/hurd/libc-tsd.h: ...here.
28873         (_BITS_LIBC_TSD_H): Rename macro to _LIBC_TSD_H.
28874         * include/ctype.h: Include <libc-tsd.h> instead of
28875         <bits/libc-tsd.h>.
28876         * include/rpc/rpc.h: Likewise.
28877         * locale/localeinfo.h: Likewise.
28878         * sunrpc/rpc_thread.c: Likewise.
28879         * sysdeps/mach/hurd/malloc-machine.h: Likewise.
28880         * sysdeps/nptl/malloc-machine.h: Likewise.
28882         * Makefile (headers): Remove bits/libc-lock.h.
28883         * libio/Makefile (headers): Remove bits/stdio-lock.h.
28885         * libio/libio.h [_IO_MTSAFE_IO]: Remove include of
28886         <bits/stdio-lock.h> and commented-out include of <comthread.h>.
28887         * include/libio.h [!_ISOMAC && _IO_MTSAFE_IO]: Include
28888         <bits/stdio-lock.h>.
28889         * stdio-common/scanf15.c (_IO_MTSAFE_IO): Undefine.
28890         * stdio-common/scanf17.c (_IO_MTSAFE_IO): Likewise.
28892 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
28894         [BZ #18757]
28895         * libio/iofopncook.c (_IO_fopencookie): Set errno on failure.
28896         * libio/test-fmemopen.c (do_bz18820): Extend the test to cover
28897         BZ #18757.
28899 2015-09-01  Paul Pluzhnikov  <ppluzhnikov@google.com>
28901         * malloc/mtrace.pl: Filter out NULL entries.
28903 2015-09-01  Joseph Myers  <joseph@codesourcery.com>
28905         * inet/netinet/in.h (IPPROTO_MPLS): New enum value and macro.
28906         * sysdeps/unix/sysv/linux/bits/in.h (IP_BIND_ADDRESS_NO_PORT): New
28907         macro.
28909         * sysdeps/gnu/netinet/tcp.h (TCP_NOTSENT_LOWAT): New macro.
28910         (TCP_CC_INFO): Likewise.
28911         (TCP_SAVE_SYN): Likewise.
28912         (TCP_SAVED_SYN): Likewise.
28914 2015-08-31  Brett Neumeier <brett@neumeier.us>
28916         [BZ #18870]
28917         * sysdeps/sparc/sparc32/sem_open.c: Add missing #include
28919 2015-08-31  Paul Eggert  <eggert@cs.ucla.edu>
28921         [BZ #18873]
28922         Fix broken overflow check in posix_fallocate
28923         * sysdeps/posix/posix_fallocate.c (posix_fallocate):
28924         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
28925         Fix parenthesization typo.
28927 2015-08-28  Mike Frysinger  <vapier@gentoo.org>
28929         [BZ #18887]
28930         * misc/Makefile (tests): Add tst-mntent-blank-corrupt and
28931         tst-mntent-blank-passno.
28932         * misc/mntent_r.c (__getmntent_r): Do not read past buffer[0].
28933         * misc/tst-mntent-blank-corrupt.c: New test.
28934         * misc/tst-mntent-blank-passno.c: New test ripped from ...
28935         * misc/tst-mntent.c (do_test): ... here.
28937 2015-08-29  Mike Frysinger  <vapier@gentoo.org>
28939         [BZ #4404]
28940         * po/de.po: Fix SIGALRM typo.
28942 2015-08-28  James Perkins  <james@loowit.net>
28944         * time/tst-strptime2.c (tests): Replace short list of test
28945         strings for strptime %z specifier with code which exhaustively
28946         tests every combination of sign and 0 to 5 digits. Tests for
28947         rejection of invalid strings.
28949 2015-08-28  James Perkins  <james@loowit.net>
28951         [BZ #16141]
28952         * time/strptime_l.c (__strptime_internal): Fix %z minutes
28953         calculation, removing incorrect decimal time rounding, so that
28954         all minute values result in a valid seconds value.
28955         * time/strptime_l.c (__strptime_internal): Extend %z time zone
28956         offset range limits to UTC-99:59 through UTC+99:59 to parse
28957         current and historical use cases.
28958         * time/tst-strptime2.c (tests): Modify and add tests for the
28959         strptime %z input field descriptor, specifically conversion of
28960         minutes to seconds and validating an offset range of -9959 to
28961         +9959.
28963 2015-08-27  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
28964             Dmitry V. Levin  <ldv@altlinux.org>
28966         [BZ #18877]
28967         * posix/Makefile (tests): Add tst-mmap-offset.
28968         * posix/tst-mmap.c: New file.
28969         * sysdeps/unix/sysv/linux/generic/wordsize-32/mmap.c (__mmap): Fix
28970         offset calculation for negative values.
28972 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
28974         * sysdeps/i386/init-arch.h: New file.
28975         * sysdeps/i386/i586/init-arch.h: Likewise.
28976         * sysdeps/i386/i686/init-arch.h: Likewise.
28977         * sysdeps/x86/cpu-features.c (init_cpu_features): Set bit_I586
28978         bit if CX8 is available.  Set bit_I686 bit if CMOV is available.
28979         * sysdeps/x86/cpu-features.h (bit_I586): New.
28980         (bit_I686): Likewise.
28981         (bit_CX8): Likewise.
28982         (bit_CMOV): Likewise.
28983         (index_CX8): Likewise.
28984         (index_CMOV): Likewise.
28985         (index_I586): Likewise.
28986         (index_I686): Likewise.
28987         (reg_CX8): Likewise.
28988         (reg_CMOV): Likewise.
28989         (HAS_I586): Defined as HAS_ARCH_FEATURE (I586) if i586 isn't
28990         available at compile-time.
28991         (HAS_I686): Defined as HAS_ARCH_FEATURE (I686) if i686 isn't
28992         available at compile-time.
28993         * sysdeps/x86/init-arch.h (USE_I586): New macro.
28994         (USE_I686): Likewise.
28996 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
28998         * sysdeps/i386/bcopy.S: New file.
28999         * sysdeps/i386/bzero.S: Likewise.
29000         * sysdeps/i386/memcpy.S: Likewise.
29001         * sysdeps/i386/memmove.S: Likewise.
29002         * sysdeps/i386/mempcpy.S: Likewise.
29003         * sysdeps/i386/memset.S: Likewise.
29004         * sysdeps/i386/bzero.c: Removed.
29005         * sysdeps/i386/memset.c: Likewise.
29006         * sysdeps/i386/i586/memcpy_chk.S: Likewise.
29007         * sysdeps/i386/i586/mempcpy_chk.S: Likewise.
29008         * sysdeps/i386/i586/memset_chk.S: Likewise.
29009         * sysdeps/i386/i686/memcpy_chk.S: Moved to ...
29010         * sysdeps/i386/memcpy_chk.S: Here.
29011         * sysdeps/i386/i686/memmove_chk.S: Moved to ...
29012         * sysdeps/i386/memmove_chk.S: Here.
29013         * sysdeps/i386/i686/mempcpy_chk.S: Moved to ...
29014         * sysdeps/i386/mempcpy_chk.S: Likewise.
29015         * sysdeps/i386/i686/memset_chk.S: Moved to ...
29016         * sysdeps/i386/memset_chk.S: Likewise.
29018 2015-08-27  Steve Ellcey  <sellcey@imgtec.com>
29020         * soft-fp/fmasf4.c: Add include of sys/cdefs.h.
29021         Move DIAG_PUSH_NEEDS_COMMENT, DIAG_IGNORE_NEEDS_COMMENT to front of
29022         file, move DIAG_POP_NEEDS_COMMENT to end of file.
29023         * soft-fp/fmadf4.c: Ditto.
29024         * soft-fp/fmatf4.c: Ditto.
29026 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
29028         * sysdeps/i386/i586/Implies: Removed.
29029         * sysdeps/i386/i686/Implies: Likewise.
29031 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
29033         * sysdeps/i386/i486/strlen.S: Moved to ...
29034         * sysdeps/i386/strlen.S: Here.
29036 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
29038         * sysdeps/i386/i486/strcat.S: Moved to ...
29039         * sysdeps/i386/strcat.S: Here.
29041 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
29043         * sysdeps/i386/i486/pthread_spin_trylock.S: Moved to ...
29044         * sysdeps/i386/pthread_spin_trylock.S: Here.
29045         * sysdeps/i386/i586/pthread_spin_trylock.S: Removed.
29046         * sysdeps/i386/i686/pthread_spin_trylock.S: Updated.
29048 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
29050         * sysdeps/i386/i486/string-inlines.c: Moved to ...
29051         * sysdeps/i386/string-inlines.c: Here.
29053 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
29055         * sysdeps/i386/i486/htonl.S: Moved ...
29056         * sysdeps/i386/htonl.S: here.
29058 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
29060         * sysdeps/i386/i486/bits/atomic.h: Moved to ...
29061         * sysdeps/i386/bits/atomic.h: Here.
29063 2015-08-27  H.J. Lu  <hongjiu.lu@intel.com>
29065         * sysdeps/i386/i486/Versions: Removed.
29067 2015-08-27  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
29069         [BZ #2898]
29070         * misc/mktemp.c: Add mkdtemp to the link_warning message.
29071         Based on patch by Aurelien Jarno.
29073 2015-08-26  Stan Shebs  <stanshebs@google.com>
29075         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <libc-internal.h>.
29076         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
29078 2015-08-26  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
29080         * sysdeps/powerpc/bits/hwcap.h: Add PPC_FEATURE2_HTM_NOSC.
29081         * sysdeps/powerpc/dl-procinfo.c:
29082         (_dl_powerpc_cap_flags): Added descriptor for this hwcap
29083         feature so it shows when LD_SHOW_AUXV=1.
29085 2015-08-26  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
29087         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c
29088         (__arch_compare_and_exchange_val_32_acq): Remove and use common
29089         definition.  ISA 2.07B no longer requires full sync.
29091 2015-08-26  Mike Frysinger  <vapier@gentoo.org>
29093         [BZ #18863]
29094         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (siginfo_t): Add _sigsys.
29095         (si_call_addr): Define.
29096         (si_syscall): Define.
29097         (si_arch): Define.
29099 2015-08-26  H.J. Lu  <hongjiu.lu@intel.com>
29101         * sysdeps/i386/i586/bzero.S (USE_AS_BZERO): New.
29102         * sysdeps/i386/i686/bzero.S (USE_AS_BZERO): Likewise.
29103         * sysdeps/i386/i586/memset.S (BZERO_P): Removed.
29104         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
29105         (__memset_zero_constant_len_parameter): New.
29106         * sysdeps/i386/i686/memset.S (BZERO_P): Removed.
29107         Check USE_AS_BZERO/SHARED instead of BZERO_P/PIC.
29108         (__memset_zero_constant_len_parameter): Don't define if
29109         __memset_chk or USE_AS_BZERO are defined.
29111         * sysdeps/i386/i586/memcpy.S (MEMPCPY_P): Removed.
29112         Check USE_AS_MEMPCPY/SHARED instead of MEMPCPY_P/PIC.
29113         * sysdeps/i386/i586/mempcpy.S (USE_AS_MEMPCPY): New.
29115         * sysdeps/x86/Makefile [$(subdir) == elf] (CFLAGS-.os,
29116         tests-special, $(objpfx)tst-ld-sse-use.out): Moved to ...
29117         * sysdeps/i386/Makefile [$(subdir) == elf] (CFLAGS-.os,
29118         tests-special, $(objpfx)tst-ld-sse-use.out): Here.  Update
29119         comments.
29120         * sysdeps/x86_64/Makefile [$(subdir) == elf] (CFLAGS-.os): Add
29121         -mno-mmx for $(all-rtld-routines).
29122         * sysdeps/x86/tst-ld-sse-use.sh: Moved to ...
29123         * sysdeps/i386/tst-ld-sse-use.sh: Here.  Replace x86-64 with
29124         i386.
29126 2015-08-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
29128         * sysdeps/generic/unwind.h
29129         (_Unwind_Word): Use __mode__(__unwind_word__)
29130         instead of __mode__(__word__).
29131         (_Unwind_Sword): Likewise.
29133         * sysdeps/s390/s390-64/utf8-utf16-z9.c
29134         (MAX_NEEDED_INPUT): New define.
29135         (MAX_NEEDED_OUTPUT): New define.
29137         * NEWS: New item for IBM z13 string optimizations.
29139         * sysdeps/s390/multiarch/memrchr-c.c: New File.
29140         * sysdeps/s390/multiarch/memrchr-vx.S: Likewise.
29141         * sysdeps/s390/multiarch/memrchr.c: Likewise.
29142         * sysdeps/s390/multiarch/Makefile
29143         (sysdep_routines): Add memrchr functions.
29144         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
29145         (__libc_ifunc_impl_list_common): Add ifunc test for memrchr.
29147         * sysdeps/s390/multiarch/wmemcmp-c.c: New File.
29148         * sysdeps/s390/multiarch/wmemcmp-vx.S: Likewise.
29149         * sysdeps/s390/multiarch/wmemcmp.c: Likewise.
29150         * sysdeps/s390/multiarch/Makefile
29151         (sysdep_routines): Add wmemcmp functions.
29152         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
29153         (__libc_ifunc_impl_list_common): Add ifunc test for wmemcmp.
29154         * benchtests/bench-wmemcmp.c: New File.
29155         * benchtests/Makefile (wcsmbs-bench): Add wmemcmp.
29157         * sysdeps/s390/multiarch/wmemset-c.c: New File.
29158         * sysdeps/s390/multiarch/wmemset-vx.S: Likewise.
29159         * sysdeps/s390/multiarch/wmemset.c: Likewise.
29160         * sysdeps/s390/multiarch/Makefile
29161         (sysdep_routines): Add wmemset functions.
29162         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
29163         (__libc_ifunc_impl_list_common): Add ifunc test for wmemset.
29164         * wcsmbs/wmemset.c: Use WMEMSET if defined.
29165         * string/test-memset.c: Add wmemset support.
29166         * wcsmbs/test-wmemset.c: New File.
29167         * wcsmbs/Makefile (strop-tests): Add wmemset.
29168         * benchtests/bench-memset.c: Add wmemset support.
29169         * benchtests/bench-wmemset.c: New File.
29170         * benchtests/Makefile (wcsmbs-bench): Add wmemset.
29172         * sysdeps/s390/multiarch/memccpy-c.c: New File.
29173         * sysdeps/s390/multiarch/memccpy-vx.S: Likewise.
29174         * sysdeps/s390/multiarch/memccpy.c: Likewise.
29175         * sysdeps/s390/multiarch/Makefile
29176         (sysdep_routines): Add memccpy functions.
29177         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
29178         (__libc_ifunc_impl_list_common): Add ifunc test for memccpy.
29179         * string/memccpy.c: Use MEMCCPY if defined.
29181         * sysdeps/s390/multiarch/memchr-vx.S: New File.
29182         * sysdeps/s390/multiarch/memchr.c: Likewise.
29183         * sysdeps/s390/multiarch/rawmemchr-c.c: Likewise.
29184         * sysdeps/s390/multiarch/rawmemchr-vx.S: Likewise.
29185         * sysdeps/s390/multiarch/rawmemchr.c: Likewise.
29186         * sysdeps/s390/multiarch/wmemchr-c.c: Likewise.
29187         * sysdeps/s390/multiarch/wmemchr-vx.S: Likewise.
29188         * sysdeps/s390/multiarch/wmemchr.c: Likewise.
29189         * sysdeps/s390/s390-32/multiarch/memchr.c: Likewise.
29190         * sysdeps/s390/s390-64/multiarch/memchr.c: Likewise.
29191         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add memchr, wmemchr
29192         and rawmemchr functions.
29193         * sysdeps/s390/multiarch/ifunc-impl-list-common.c
29194         (__libc_ifunc_impl_list_common): Add ifunc test for memchr, rawmemchr
29195         and wmemchr.
29196         * wcsmbs/wmemchr.c: Use WMEMCHR if defined.
29197         * string/test-memchr.c: Add wmemchr support.
29198         * wcsmbs/test-wmemchr.c: New File.
29199         * wcsmbs/Makefile (strop-tests): Add wmemchr.
29200         * benchtests/bench-memchr.c: Add wmemchr support.
29201         * benchtests/bench-wmemchr.c: New File.
29202         * benchtests/Makefile (wcsmbs-bench): wmemchr.
29204         * sysdeps/s390/multiarch/strcspn-c.c: New File.
29205         * sysdeps/s390/multiarch/strcspn-vx.S: Likewise.
29206         * sysdeps/s390/multiarch/strcspn.c: Likewise.
29207         * sysdeps/s390/multiarch/wcscspn-c.c: Likewise.
29208         * sysdeps/s390/multiarch/wcscspn-vx.S: Likewise.
29209         * sysdeps/s390/multiarch/wcscspn.c: Likewise.
29210         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcspn and
29211         wcscspn functions.
29212         * sysdeps/s390/multiarch/ifunc-impl-list.c
29213         (__libc_ifunc_impl_list): Add ifunc test for strcspn, wcscspn.
29214         * wcsmbs/wcscspn.c: Use WCSCSPN if defined.
29215         * string/test-strcspn.c: Add wcscspn support.
29216         * wcsmbs/test-wcscspn.c: New File.
29217         * wcsmbs/Makefile (strop-tests): Add wcscspn.
29218         * benchtests/bench-strcspn.c: Add wcscspn support.
29219         * benchtests/bench-wcscspn.c: New File.
29220         * benchtests/Makefile (wcsmbs-bench): Add wcscspn.
29222         * sysdeps/s390/multiarch/strpbrk-c.c: New File.
29223         * sysdeps/s390/multiarch/strpbrk-vx.S: Likewise.
29224         * sysdeps/s390/multiarch/strpbrk.c: Likewise.
29225         * sysdeps/s390/multiarch/wcspbrk-c.c: Likewise.
29226         * sysdeps/s390/multiarch/wcspbrk-vx.S: Likewise.
29227         * sysdeps/s390/multiarch/wcspbrk.c: Likewise.
29228         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strpbrk and
29229         wcspbrk functions.
29230         * sysdeps/s390/multiarch/ifunc-impl-list.c
29231         (__libc_ifunc_impl_list): Add ifunc test for strpbrk, wcspbrk.
29232         * wcsmbs/wcspbrk.c: Use WCSPBRK if defined.
29233         * string/test-strpbrk.c: Add wcspbrk support.
29234         * wcsmbs/test-wcspbrk.c: New File.
29235         * wcsmbs/Makefile (strop-tests): Add wcspbrk.
29236         * benchtests/bench-strpbrk.c: Add wcspbrk support.
29237         * benchtests/bench-wcspbrk.c: New File.
29238         * benchtests/Makefile (wcsmbs-bench): Add wcspbrk.
29240         * sysdeps/s390/multiarch/strspn-c.c: New File.
29241         * sysdeps/s390/multiarch/strspn-vx.S: Likewise.
29242         * sysdeps/s390/multiarch/strspn.c: Likewise.
29243         * sysdeps/s390/multiarch/wcsspn-c.c: Likewise.
29244         * sysdeps/s390/multiarch/wcsspn-vx.S: Likewise.
29245         * sysdeps/s390/multiarch/wcsspn.c: Likewise.
29246         * wcsmbs/wcsspn.c: Use WCSSPN if defined.
29247         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strspn and
29248         wcsspn functions.
29249         * sysdeps/s390/multiarch/ifunc-impl-list.c
29250         (__libc_ifunc_impl_list): Add ifunc test for strspn, wcsspn.
29251         * string/test-strspn.c: Add wcsspn support.
29252         * wcsmbs/test-wcsspn.c: New File.
29253         * wcsmbs/Makefile (strop-tests): Add wcsspn.
29254         * benchtests/bench-strspn.c: Add wcsspn support.
29255         * benchtests/bench-wcsspn.c: New File.
29256         * benchtests/Makefile (wcsmbs-bench): Add wcsspn.
29258         * sysdeps/s390/multiarch/strrchr-c.c: New File.
29259         * sysdeps/s390/multiarch/strrchr-vx.S: Likewise.
29260         * sysdeps/s390/multiarch/strrchr.c: Likewise.
29261         * sysdeps/s390/multiarch/wcsrchr-c.c: Likewise.
29262         * sysdeps/s390/multiarch/wcsrchr-vx.S: Likewise.
29263         * sysdeps/s390/multiarch/wcsrchr.c: Likewise.
29264         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strrchr and
29265         wcsrchr functions.
29266         * sysdeps/s390/multiarch/ifunc-impl-list.c
29267         (__libc_ifunc_impl_list): Add ifunc test for strrchr, wcsrchr.
29268         * benchtests/bench-wcsrchr.c: New File.
29269         * benchtests/Makefile (wcsmbs-bench): Add wcsrchr.
29271         * sysdeps/s390/multiarch/strchrnul-c.c: New File.
29272         * sysdeps/s390/multiarch/strchrnul-vx.S: Likewise.
29273         * sysdeps/s390/multiarch/strchrnul.c: Likewise.
29274         * sysdeps/s390/multiarch/wcschrnul-c.c: Likewise.
29275         * sysdeps/s390/multiarch/wcschrnul-vx.S: Likewise.
29276         * sysdeps/s390/multiarch/wcschrnul.c: Likewise.
29277         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchrnul and
29278         wcschrnul functions.
29279         * sysdeps/s390/multiarch/ifunc-impl-list.c
29280         (__libc_ifunc_impl_list): Add ifunc test for strchrnul, wcschrnul.
29281         * wcsmbs/wcschrnul.c: Use WCSCHRNUL if defined.
29282         * string/test-strchr.c: Add wcschrnul support.
29283         * wcsmbs/test-wcschrnul.c: New File.
29284         * wcsmbs/Makefile (strop-tests): Add wcschrnul.
29285         * benchtests/bench-strchr.c: Add wcschrnul support.
29286         * benchtests/bench-wcschrnul.c: New File.
29287         * benchtests/Makefile (wcsmbs-bench): Add wcschrnul.
29289         * sysdeps/s390/multiarch/strchr-c.c: New File.
29290         * sysdeps/s390/multiarch/strchr-vx.S: Likewise.
29291         * sysdeps/s390/multiarch/strchr.c: Likewise.
29292         * sysdeps/s390/multiarch/wcschr-c.c: Likewise.
29293         * sysdeps/s390/multiarch/wcschr-vx.S: Likewise.
29294         * sysdeps/s390/multiarch/wcschr.c: Likewise.
29295         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strchr and
29296         wcschr functions.
29297         * sysdeps/s390/multiarch/ifunc-impl-list.c
29298         (__libc_ifunc_impl_list): Add ifunc test for strchr, wcschr.
29299         * string/strchr.c (STRCHR): Define and use macro.
29300         * benchtests/bench-wcschr.c: New File.
29301         * benchtests/Makefile (wcsmbs-bench): Add wcschr.
29303         * sysdeps/s390/multiarch/strncmp-c.c: New File.
29304         * sysdeps/s390/multiarch/strncmp-vx.S: Likewise.
29305         * sysdeps/s390/multiarch/strncmp.c: Likewise.
29306         * sysdeps/s390/multiarch/wcsncmp-c.c: Likewise.
29307         * sysdeps/s390/multiarch/wcsncmp-vx.S: Likewise.
29308         * sysdeps/s390/multiarch/wcsncmp.c: Likewise.
29309         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncmp and
29310         wcsncmp functions.
29311         * sysdeps/s390/multiarch/ifunc-impl-list.c
29312         (__libc_ifunc_impl_list): Add ifunc test for strncmp, wcsncmp.
29313         * wcsmbs/wcsncmp.c (WCSNCMP): Define and use macro.
29314         * benchtests/bench-strncmp.c: Add wcsncmp support.
29315         * benchtests/bench-wcsncmp.c: New File.
29316         * benchtests/Makefile (wcsmbs-bench): Add wcsncmp.
29318         * sysdeps/s390/multiarch/strcmp-vx.S: New File.
29319         * sysdeps/s390/multiarch/strcmp.c: Likewise.
29320         * sysdeps/s390/multiarch/wcscmp-c.c: Likewise.
29321         * sysdeps/s390/multiarch/wcscmp-vx.S: Likewise.
29322         * sysdeps/s390/multiarch/wcscmp.c: Likewise.
29323         * sysdeps/s390/s390-32/multiarch/strcmp.c: Likewise.
29324         * sysdeps/s390/s390-64/multiarch/strcmp.c: Likewise.
29325         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcmp and
29326         wcscmp functions.
29327         * sysdeps/s390/multiarch/ifunc-impl-list.c
29328         (__libc_ifunc_impl_list): Add ifunc test for strcmp, wcscmp.
29329         * string/strcmp.c (STRCMP): Define and use macro.
29330         * benchtests/bench-wcscmp.c: New File.
29331         * benchtests/Makefile (wcsmbs-bench): Add wcscmp.
29332         * sysdeps/s390/bits/string.h: Fix typo: _HAVE_STRING_ARCH_strcmp
29333         instead of _HAVE_STRING_ARCH_memchr.
29335         * sysdeps/s390/multiarch/strncat-c.c: New File.
29336         * sysdeps/s390/multiarch/strncat-vx.S: Likewise.
29337         * sysdeps/s390/multiarch/strncat.c: Likewise.
29338         * sysdeps/s390/multiarch/wcsncat-c.c: Likewise.
29339         * sysdeps/s390/multiarch/wcsncat-vx.S: Likewise.
29340         * sysdeps/s390/multiarch/wcsncat.c: Likewise.
29341         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncat and
29342         wcsncat functions.
29343         * sysdeps/s390/multiarch/ifunc-impl-list.c
29344         (__libc_ifunc_impl_list): Add ifunc test for strncat, wcsncat.
29345         * wcsmbs/wcsncat.c (WCSNCAT): Define and use macro.
29346         * string/test-strncat.c: Add wcsncat support.
29347         * wcsmbs/test-wcsncat.c: New File.
29348         * wcsmbs/Makefile (strop-tests): Add wcsncat.
29349         * benchtests/bench-strncat.c: Add wcsncat support.
29350         * benchtests/bench-wcsncat.c: New File.
29351         * benchtests/Makefile (wcsmbs-bench): Add wcsncat.
29353         * sysdeps/s390/multiarch/strcat-c.c: New File.
29354         * sysdeps/s390/multiarch/strcat-vx.S: Likewise.
29355         * sysdeps/s390/multiarch/strcat.c: Likewise.
29356         * sysdeps/s390/multiarch/wcscat-c.c: Likewise.
29357         * sysdeps/s390/multiarch/wcscat-vx.S: Likewise.
29358         * sysdeps/s390/multiarch/wcscat.c: Likewise.
29359         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcat and
29360         wcscat functions.
29361         * sysdeps/s390/multiarch/ifunc-impl-list.c
29362         (__libc_ifunc_impl_list): Add ifunc test for strcat, wcscat.
29363         * string/strcat.c (STRCAT): Define and use macro.
29364         * wcsmbs/wcscat.c: Use WCSCAT if defined.
29365         * string/test-strcat.c: Add wcscat support.
29366         * wcsmbs/test-wcscat.c: New File.
29367         * wcsmbs/Makefile (strop-tests): Add wcscat.
29368         * benchtests/bench-strcat.c: Add wcscat support.
29369         * benchtests/bench-wcscat.c: New File.
29370         * benchtests/Makefile (wcsmbs-bench): Add wcscat.
29372         * sysdeps/s390/multiarch/stpncpy-c.c: New File.
29373         * sysdeps/s390/multiarch/stpncpy-vx.S: Likewise.
29374         * sysdeps/s390/multiarch/stpncpy.c: Likewise.
29375         * sysdeps/s390/multiarch/wcpncpy-c.c: Likewise.
29376         * sysdeps/s390/multiarch/wcpncpy-vx.S: Likewise.
29377         * sysdeps/s390/multiarch/wcpncpy.c: Likewise.
29378         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpncpy and
29379         wcpncpy functions.
29380         * sysdeps/s390/multiarch/ifunc-impl-list.c
29381         (__libc_ifunc_impl_list): Add ifunc test for stpncpy, wcpncpy.
29382         * wcsmbs/wcpncpy.c: Use WCPNCPY if defined.
29383         * string/test-stpncpy.c: Add wcpncpy support.
29384         * wcsmbs/test-wcpncpy.c: New File.
29385         * wcsmbs/Makefile (strop-tests): Add wcpncpy.
29386         * benchtests/bench-stpncpy.c: Add wcpncpy support.
29387         * benchtests/bench-wcpncpy.c: New File.
29388         * benchtests/Makefile (wcsmbs-bench): Add wcpncpy.
29390         * sysdeps/s390/multiarch/strncpy-vx.S: New File.
29391         * sysdeps/s390/multiarch/strncpy.c: Likewise.
29392         * sysdeps/s390/multiarch/wcsncpy-c.c: Likewise.
29393         * sysdeps/s390/multiarch/wcsncpy-vx.S: Likewise.
29394         * sysdeps/s390/multiarch/wcsncpy.c: Likewise.
29395         * sysdeps/s390/s390-32/multiarch/strncpy.c: Likewise.
29396         * sysdeps/s390/s390-64/multiarch/strncpy.c: Likewise.
29397         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strncpy and
29398         wcsncpy functions.
29399         * wcsmbs/wcsncpy.c: Use WCSNCPY if defined.
29400         * sysdeps/s390/multiarch/ifunc-impl-list.c
29401         (__libc_ifunc_impl_list): Add ifunc test for strncpy, wcsncpy.
29402         * string/test-strncpy.c: Add wcsncpy support.
29403         * wcsmbs/test-wcsncpy.c: New File.
29404         * wcsmbs/Makefile (strop-tests): Add wcsncpy.
29405         * benchtests/bench-strncpy.c: Add wcsncpy support.
29406         * benchtests/bench-wcsncpy.c: New File.
29407         * benchtests/Makefile (wcsmbs-bench): Add wcsncpy
29409         * sysdeps/s390/multiarch/stpcpy-c.c: New File.
29410         * sysdeps/s390/multiarch/stpcpy-vx.S: Likewise.
29411         * sysdeps/s390/multiarch/stpcpy.c: Likewise.
29412         * sysdeps/s390/multiarch/wcpcpy-c.c: Likewise.
29413         * sysdeps/s390/multiarch/wcpcpy-vx.S: Likewise.
29414         * sysdeps/s390/multiarch/wcpcpy.c: Likewise.
29415         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add stpcpy and
29416         wcpcpy functions.
29417         * string/stpcpy.c: Use STPCPY if defined.
29418         * wcsmbs/wcpcpy.c: Use WCPCPY if defined.
29419         * sysdeps/s390/multiarch/ifunc-impl-list.c
29420         (__libc_ifunc_impl_list): Add ifunc test for stpcpy, wcpcpy.
29421         * string/test-stpcpy.c: Add wcpcpy support.
29422         * wcsmbs/test-wcpcpy.c: New File.
29423         * wcsmbs/Makefile (strop-tests): Add wcpcpy.
29424         * benchtests/bench-stpcpy.c: Add wcpcpy support.
29425         * benchtests/bench-wcpcpy.c: New File.
29426         * benchtests/Makefile (wcsmbs-bench): Add wcpcpy.
29428         * sysdeps/s390/multiarch/strcpy-vx.S: New File.
29429         * sysdeps/s390/multiarch/strcpy.c: Likewise.
29430         * sysdeps/s390/multiarch/wcscpy-c.c: Likewise.
29431         * sysdeps/s390/multiarch/wcscpy-vx.S: Likewise.
29432         * sysdeps/s390/multiarch/wcscpy.c: Likewise.
29433         * sysdeps/s390/s390-32/multiarch/strcpy.c: Likewise.
29434         * sysdeps/s390/s390-64/multiarch/strcpy.c: Likewise.
29435         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strcpy and
29436         wcscpy functions.
29437         * sysdeps/s390/multiarch/ifunc-impl-list.c
29438         (__libc_ifunc_impl_list): Add ifunc test for strcpy, wcscpy.
29439         * benchtests/bench-wcscpy.c: New File.
29440         * benchtests/Makefile (wcsmbs-bench): Add wcscpy.
29442         * sysdeps/s390/multiarch/strnlen-c.c: New File.
29443         * sysdeps/s390/multiarch/strnlen-vx.S: Likewise.
29444         * sysdeps/s390/multiarch/strnlen.c: Likewise.
29445         * sysdeps/s390/multiarch/wcsnlen-c.c: Likewise.
29446         * sysdeps/s390/multiarch/wcsnlen-vx.S: Likewise.
29447         * sysdeps/s390/multiarch/wcsnlen.c: Likewise.
29448         * sysdeps/s390/multiarch/Makefile (sysdep_routines): Add strnlen and
29449         wcsnlen functions.
29450         * sysdeps/s390/multiarch/ifunc-impl-list.c
29451         (__libc_ifunc_impl_list): Add ifunc test for strnlen, wcsnlen.
29452         * wcsmbs/wcsnlen.c: Use WCSNLEN if defined.
29453         * string/test-strnlen.c: Add wcsnlen support.
29454         * wcsmbs/test-wcsnlen.c: New File.
29455         * wcsmbs/Makefile (strop-tests): Add wcsnlen.
29456         * benchtests/bench-strnlen.c: Add wcsnlen support.
29457         * benchtests/bench-wcsnlen.c: New File.
29458         * benchtests/Makefile (wcsmbs-bench): Add wcsnlen.
29460         * sysdeps/s390/multiarch/Makefile: New File.
29461         * sysdeps/s390/multiarch/strlen-c.c: Likewise.
29462         * sysdeps/s390/multiarch/strlen-vx.S: Likewise.
29463         * sysdeps/s390/multiarch/strlen.c: Likewise.
29464         * sysdeps/s390/multiarch/wcslen-c.c: Likewise.
29465         * sysdeps/s390/multiarch/wcslen-vx.S: Likewise.
29466         * sysdeps/s390/multiarch/wcslen.c: Likewise.
29467         * string/strlen.c (STRLEN): Define and use macro.
29468         * sysdeps/s390/multiarch/ifunc-impl-list.c
29469         (IFUNC_VX_IMPL): New macro function.
29470         (__libc_ifunc_impl_list): Add ifunc test for strlen, wcslen.
29471         * benchtests/Makefile (wcsmbs-bench): New variable.
29472         (string-bench-all): Added wcsmbs-bench.
29473         * benchtests/bench-wcslen.c: New File.
29475         * sysdeps/s390/multiarch/ifunc-resolve.h (s390_vx_libc_ifunc,
29476         s390_vx_libc_ifunc2): New macro function.
29478         * config.h.in (HAVE_S390_VX_ASM_SUPPORT): New macro undefine.
29479         * sysdeps/s390/configure.ac: Add test for S390 vector instruction
29480         assembler support.
29481         * sysdeps/s390/configure: Regenerated.
29483         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add z13.
29484         * sysdeps/s390/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increased.
29486         * sysdeps/s390/dl-procinfo.c (_dl_s390_platforms): Add vector flag.
29487         * sysdeps/s390/dl-procinfo.h: Add vector capability.
29488         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h (HWCAP_S390_VX): Define.
29490         * sysdeps/s390/s390-32/multiarch/Makefile (sysdep_routines):
29491         Remove ifunc-resolve, add memset-s390, memcpy-s390, memcmp-s390.
29492         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Delete File.
29493         * sysdeps/s390/s390-32/multiarch/memcmp.S: Move to ...
29494         * sysdeps/s390/s390-32/multiarch/memcmp-s390.S: ... here.
29495         (memcmp, bcmp): Use __memcmp_default as alias source.
29496         * sysdeps/s390/s390-32/multiarch/memcmp.c: New File.
29497         * sysdeps/s390/s390-32/memcmp.S (__memcmp_g5):
29498         Rename to __memcmp_default.
29499         * sysdeps/s390/s390-32/multiarch/memcpy.S: Move to ...
29500         * sysdeps/s390/s390-32/multiarch/memcpy-s390.S: ... here.
29501         (memcpy): Use __memcpy_default as alias source.
29502         * sysdeps/s390/s390-32/multiarch/memcpy.c: New File.
29503         * sysdeps/s390/s390-32/memcpy.S (__memcpy_g5):
29504         Rename to __memcpy_default.
29505         * sysdeps/s390/s390-32/multiarch/memset.S: Move to ...
29506         * sysdeps/s390/s390-32/multiarch/memset-s390.S: ... here.
29507         (memset): Use __memset_default as alias source.
29508         * sysdeps/s390/s390-32/multiarch/memset.c: New File.
29509         * sysdeps/s390/s390-32/memset.S (__memset_g5):
29510         Rename to __memset_default.
29511         * sysdeps/s390/s390-64/multiarch/Makefile (sysdep_routines):
29512         Remove ifunc-resolve, add memset-s390x, memcpy-s390x, memcmp-s390x.
29513         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Delete File.
29514         * sysdeps/s390/s390-64/multiarch/memcmp.S: Move to ...
29515         * sysdeps/s390/s390-64/multiarch/memcmp-s390x.S: ... here.
29516         (memcmp, bcmp): Use __memcmp_default as alias source.
29517         * sysdeps/s390/s390-64/multiarch/memcmp.c: New File.
29518         * sysdeps/s390/s390-64/memcmp.S (__memcmp_z900):
29519         Rename to __memcmp_default.
29520         * sysdeps/s390/s390-64/multiarch/memcpy.S: Move to ...
29521         * sysdeps/s390/s390-64/multiarch/memcpy-s390x.S: ... here.
29522         (memcpy): Use __memcpy_default as alias source.
29523         * sysdeps/s390/s390-64/multiarch/memcpy.c: New File.
29524         * sysdeps/s390/s390-64/memcpy.S (__memcpy_z900):
29525         Rename to __memcpy_default.
29526         * sysdeps/s390/s390-64/multiarch/memset.S: Move to ...
29527         * sysdeps/s390/s390-64/multiarch/memset-s390x.S: ... here.
29528         (memset): Use __memset_default as alias source.
29529         * sysdeps/s390/s390-64/multiarch/memset.c: New File.
29530         * sysdeps/s390/s390-64/memset.S (__memset_z900):
29531         Rename to __memset_default.
29532         * sysdeps/s390/multiarch/ifunc-resolve.h: New File.
29533         * sysdeps/s390/multiarch/ifunc-impl-list.c: New File.
29535         [BZ #18610]
29536         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Rename
29537         __ieee_instruction_pointer to __unused.
29538         * sysdeps/s390/fpu/fesetenv.c (__fesetenv): Remove usage of
29539         __ieee_instruction_pointer.
29540         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Fix dxc-field handling.
29541         * sysdeps/s390/fpu/fgetexcptflg.c (fegetexceptflag): Likewise.
29542         * sysdeps/s390/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
29543         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
29544         * sysdeps/s390/fpu/fpu_control.h (_FPU_RESERVED):
29545         Mark dxc-field as reserved.
29547 2015-08-25  Roland McGrath  <roland@hack.frob.com>
29549         * sysdeps/nacl/start.c (_start): Call __nacl_main instead of main
29550         if the weak reference is not null.
29552 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
29554         * sysdeps/x86_64/strcmp.S: Remove "#if !IS_IN (libc)".
29556         [BZ #11214]
29557         * sysdeps/unix/sysv/linux/Makefile (tst-getpid2-ENV): Removed.
29559 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
29561         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: Define new macros.
29562         * sysdeps/unix/sysv/linux/accept.c: Call direct system call.
29563         * sysdeps/unix/sysv/linux/bind.c: Call direct system call.
29564         * sysdeps/unix/sysv/linux/connect.c: Call direct system call.
29565         * sysdeps/unix/sysv/linux/getpeername.c: Call direct system call.
29566         * sysdeps/unix/sysv/linux/getsockname.c: Call direct system call.
29567         * sysdeps/unix/sysv/linux/getsockopt.c: Call direct system call.
29568         * sysdeps/unix/sysv/linux/listen.c: Call direct system call.
29569         * sysdeps/unix/sysv/linux/recv.c: Call direct system call.
29570         * sysdeps/unix/sysv/linux/recvfrom.c: Call direct system call.
29571         * sysdeps/unix/sysv/linux/recvmsg.c: Call direct system call.
29572         * sysdeps/unix/sysv/linux/send.c: Call direct system call.
29573         * sysdeps/unix/sysv/linux/sendmsg.c: Call direct system call.
29574         * sysdeps/unix/sysv/linux/sendto.c: Call direct system call.
29575         * sysdeps/unix/sysv/linux/setsockopt.c: Call direct system call.
29576         * sysdeps/unix/sysv/linux/shutdown.c: Call direct system call.
29577         * sysdeps/unix/sysv/linux/socket.c: Call direct system call.
29578         * sysdeps/unix/sysv/linux/socketpair.c: Call direct system call.
29580 2015-08-25  Paul E. Murphy  <murphyp@linux.vnet.ibm.com>
29582         * sysdeps/powerpc/powerpc32/sysdep.h (ABORT_TRANSACTION): Use
29583         register other than r0 for tabort, it has special meaning.
29584         * sysdeps/powerpc/powerpc64/sysdep.h (ABORT_TRANSACTION): Likewise.
29585         * sysdeps/unix.sysv/linux/powerpc/syscall.S (syscall): Abort
29586         transaction before starting syscall.
29588 2015-08-25  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
29590         * sysdeps/powerpc/powerpc64/power7/strstr.S: Handle worst case.
29592 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
29594         * sysdeps/x86_64/strlen.S: Replace %xmm[8-12] with %xmm[0-4].
29596         * sysdeps/x86_64/rtld-memcmp.c: Removed.
29597         * sysdeps/x86_64/rtld-memset.S: Likewise.
29598         * sysdeps/x86_64/rtld-strchr.S: Likewise.
29599         * sysdeps/x86_64/rtld-strlen.S: Likewise.
29600         * sysdeps/x86_64/multiarch/rtld-memcmp.c: Likewise.
29601         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
29603         * sysdeps/x86_64/memset.S: Replace %xmm8 with %xmm0.
29605 2015-08-25  Ondřej Bílka  <neleai@seznam.cz>
29607         * debug/strcpy_chk.c: Improve performance.
29608         * debug/stpcpy_chk.c: Likewise.
29609         * sysdeps/x86_64/strcpy_chk.S: Remove.
29610         * sysdeps/x86_64/stpcpy_chk.S: Remove.
29612         [BZ #18240]
29613         * misc/hsearch_r.c (__hcreate_r): Handle overflow.
29615 2015-08-25  H.J. Lu  <hongjiu.lu@intel.com>
29617         [BZ #15128]
29618         * sysdeps/x86_64/Makefile [$(subdir) == elf] (tests): Add
29619         ifuncmain8.
29620         (modules-names): Add ifuncmod8.
29621         ($(objpfx)ifuncmain8): New rule.
29622         * sysdeps/x86_64/dl-machine.h: Include <dl-procinfo.h> and
29623         <cpuid.h>.
29624         (elf_machine_runtime_setup): Use _dl_runtime_resolve_sse,
29625         _dl_runtime_resolve_avx, or _dl_runtime_resolve_avx512,
29626         _dl_runtime_profile_sse, _dl_runtime_profile_avx, or
29627         _dl_runtime_profile_avx512, based on HAS_ARCH_FEATURE.
29628         * sysdeps/x86_64/dl-trampoline.S: Rewrite.
29629         * sysdeps/x86_64/dl-trampoline.h: Likewise.
29630         * sysdeps/x86_64/ifuncmain8.c: New file.
29631         * sysdeps/x86_64/ifuncmod8.c: Likewise.
29632         * sysdeps/x86_64/nptl/tcb-offsets.sym (RTLD_SAVESPACE_SSE):
29633         Removed.
29634         * sysdeps/x86_64/nptl/tls.h (__128bits): Removed.
29635         (tcbhead_t): Change rtld_must_xmm_save to __glibc_unused1.
29636         Change rtld_savespace_sse to __glibc_unused2.
29637         (RTLD_CHECK_FOREIGN_CALL): Removed.
29638         (RTLD_ENABLE_FOREIGN_CALL): Likewise.
29639         (RTLD_PREPARE_FOREIGN_CALL): Likewise.
29640         (RTLD_FINALIZE_FOREIGN_CALL): Likewise.
29642 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
29644         * sysdeps/aarch64/bzero.S (__bzero): Remove.
29646 2015-08-24  Wilco Dijkstra  <wdijkstr@arm.com>
29648         * sysdeps/aarch64/fpu/math_private.h (libc_feholdsetround_aarch64_ctx):
29649         Unconditionally set __fpcr to avoid uninialized warning.
29650         (libc_feholdsetround_noex_aarch64_ctx): Likewise.
29652 2015-08-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
29654         * malloc/arena.c (arena_get_retry): Don't use main_arena if it
29655         is corrupt.
29657         * malloc/arena.c (arena_get2): Drop unused argument.
29658         (arena_lock): Adjust.
29659         (arena_get_retry): Likewise.
29661 2015-08-24  Andreas Schwab  <schwab@suse.de>
29663         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_IPC64):
29664         Don't define.
29665         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h
29666         (__ASSUME_IPC64): Don't undef.
29667         * sysdeps/unix/sysv/linux/msgctl.c: Don't check for __ASSUME_IPC64.
29668         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
29669         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
29670         * sysdeps/unix/sysv/linux/i386/msgctl.c: Remove.
29671         * sysdeps/unix/sysv/linux/i386/semctl.c: Remove.
29672         * sysdeps/unix/sysv/linux/i386/shmctl.c: Remove.
29673         * sysdeps/unix/sysv/linux/m68k/msgctl.c: Remove.
29674         * sysdeps/unix/sysv/linux/m68k/semctl.c: Remove.
29675         * sysdeps/unix/sysv/linux/m68k/shmctl.c: Remove.
29676         * sysdeps/unix/sysv/linux/s390/s390-32/msgctl.c: Remove.
29677         * sysdeps/unix/sysv/linux/s390/s390-32/semctl.c: Remove.
29678         * sysdeps/unix/sysv/linux/s390/s390-32/shmctl.c: Remove.
29679         * sysdeps/unix/sysv/linux/sh/msgctl.c: Remove.
29680         * sysdeps/unix/sysv/linux/sh/semctl.c: Remove.
29681         * sysdeps/unix/sysv/linux/sh/shmctl.c: Remove.
29682         * sysdeps/unix/sysv/linux/sparc/sparc32/msgctl.c: Remove.
29683         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Remove.
29684         * sysdeps/unix/sysv/linux/sparc/sparc32/shmctl.c: Remove.
29685         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Remove.
29686         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Remove.
29687         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Remove.
29689 2015-08-21  Mike Frysinger  <vapier@gentoo.org>
29691         * manual/Makefile (install): Only build manual when perl is available.
29693 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
29695         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Replace
29696         '#undef memcpy' by '#undef memchr'.
29698 2015-08-21  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
29700         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: Make
29701         memchr not point to the internal __GI_memchr implementation.
29703 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
29705         * timezone/Makefile (CFLAGS-zdump.c): Remove
29706         -Wno-strict-prototypes.
29707         (CFLAGS-zic.c): Likewise.
29708         (CFLAGS-ialloc.c): Likewise.
29709         (CFLAGS-scheck.c): Likewise.
29711         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Do not add
29712         -Wno-error=undef.
29714 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
29716         * i386/i686/multiarch/strcasestr-c.c: Removed.
29717         * x86_64/multiarch/strcasestr.c: Likewise.
29718         * x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
29719         Remove strcasestr.
29721 2015-08-20  Joseph Myers  <joseph@codesourcery.com>
29723         * math/Makefile (CFLAGS): Don't add -Wno-uninitialized.
29725         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Always initialize
29726         variables for high and low parts before possibly modifying them.
29728 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
29730         * sysdeps/i386/i686/multiarch/init-arch.h: Removed.
29731         * sysdeps/unix/sysv/linux/x86/init-arch.h: Likewise.
29732         * sysdeps/x86_64/cacheinfo.c: Include <init-arch.h> instead
29733         of "multiarch/init-arch.h".
29734         * sysdeps/x86_64/multiarch/init-arch.h: Renamed to ...
29735         * sysdeps/x86/init-arch.h: This.
29737 2015-08-20  H.J. Lu  <hongjiu.lu@intel.com>
29739         * sysdeps/i386/i686/multiarch/init-arch.c: Removed.
29740         * sysdeps/unix/sysv/linux/x86/init-arch.c: Likewise.
29742 2015-08-20  Ondřej Bílka  <neleai@seznam.cz>
29744         [BZ #17787]
29745         * manual/macros.texi: Add twoexp macro.
29746         * manual/filesys.texi: Fix exponents.
29747         * manual/llio.texi: Likewise.
29748         * manual/stdio.texi: Likewise.
29750 2015-08-20  Florian Weimer  <fweimer@redhat.com>
29752         * sysdeps/x86/elide.h (ELIDE_UNLOCK): Document crash due to
29753         incorrect use.
29755 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
29757         [BZ #18370]
29758         * math/s_csqrt.c (__csqrt): Force underflow exception for results
29759         whose real or imaginary part has small absolute value.
29760         * math/s_csqrtf.c (__csqrtf): Likewise.
29761         * math/s_csqrtl.c (__csqrtl): Likewise.
29762         * math/auto-libm-test-in: Add more tests of csqrt.
29763         * math/auto-libm-test-out: Regenerated.
29764         * sysdeps/i386/fpu/libm-test-ulps: Update.
29766 2015-08-19  Gabriel F. T. Gomes  <gftg@linux.vnet.ibm.com>
29768         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_set_ppr_med_high,
29769         __ppc_set_ppr_very_low): New functions.
29770         * manual/platform.texi: Add documentation about
29771         __ppc_set_ppr_med_high and __ppc_set_ppr_very_low.
29773 2015-08-19  Wilco Dijkstra  <wdijkstr@arm.com>
29775         * string/stpncpy.c (stpncpy): Improve performance using
29776         __strnlen/memcpy/memset.
29778 2015-08-19  Andrew Senkevich  <andrew.senkevich@intel.com>
29780         [BZ #18796]
29781         * scripts/test-installation.pl: Don't add -lmvec to build options if
29782         libmvec wasn't built.
29784 2015-08-19   Petar Jovanovic  <petar.jovanovic@rt-rk.com>
29786         [BZ #14341]
29787         * elf/dynamic-link.h (elf_machine_lazy_rel): Properly handle the
29788         case when there is a gap between DT_REL and DT_JMPREL sections.
29789         * sysdeps/x86_64/Makefile (tests): Add tst-split-dynreloc.
29790         (LDFLAGS-tst-split-dynreloc): New.
29791         (tst-split-dynreloc-ENV): Likewise.
29792         * sysdeps/x86_64/tst-split-dynreloc.c: New file.
29793         * sysdeps/x86_64/tst-split-dynreloc.lds: Likewise.
29795 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
29797         [BZ #18822]
29798         * sysdeps/unix/sysv/linux/xstatconv.h (__xstat_conv): Add
29799         attribute_hidden.
29800         (__xstat64_conv): Likewise.
29801         (__xstat32_conv): Likewise.
29803 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
29805         [BZ #18822]
29806         * sysdeps/unix/sysv/linux/i386/makecontext.S (__makecontext):
29807         Don't load %ebx when calling __setcontext.  Call __setcontext
29808         with HIDDEN_JUMPTARGET.
29809         * sysdeps/unix/sysv/linux/i386/setcontext.S (__setcontext): Add
29810         libc_hidden_def.
29812 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
29814         * sysdeps/i386/i686/Makefile
29815         [$(subdir) == string] (sysdep_routines): Moved to ...
29816         * sysdeps/i386/Makefile: Here.
29817         * sysdeps/i386/i686/cacheinfo.c: Moved to ...
29818         * sysdeps/i386/cacheinfo.c: Here.
29819         * sysdeps/unix/sysv/linux/i386/sysconf.c: Removed.
29820         * sysdeps/unix/sysv/linux/i386/i686/sysconf.c: Likewise.
29821         * sysdeps/unix/sysv/linux/x86_64/sysconf.c: Moved to ...
29822         * sysdeps/unix/sysv/linux/x86/sysconf.c: Here.
29824 2015-08-19  H.J. Lu  <hongjiu.lu@intel.com>
29826         * sysdeps/x86/cpu-features.h (HAS_I586): Defined to 1 if
29827         __i586__ is defined.
29828         (HAS_I686): Defined to 1 if __i686__ is defined.
29830 2015-08-19  Joseph Myers  <joseph@codesourcery.com>
29832         * elf/Makefile [$(have-z-execstack) = yes]
29833         (CPPFLAGS-tst-execstack.c): New variable.
29835         * login/tst-utmp.c [_HAVE_UT_TYPE || defined UTMPX]: Change
29836         conditional to [defined UTMPX || _HAVE_UT_TYPE].
29837         [_HAVE_UT_TV || defined UTMPX]: Change conditional to [defined
29838         UTMPX || _HAVE_UT_TV].
29839         [_HAVE_UT_TV - 0 || defined UTMPX]: Change conditional to [defined
29840         UTMPX || _HAVE_UT_TV - 0].
29842 2015-08-18  Joseph Myers  <joseph@codesourcery.com>
29844         * sysdeps/mips/dl-machine.h [__mips_isa_rev < 6]: Change
29845         conditionals to [!defined __mips_isa_rev || __mips_isa_rev < 6].
29846         * sysdeps/mips/machine-gmon.h [__mips_isa_rev < 6]: Likewise.
29848 2015-08-18  Carlos Eduardo Seo  <cseo@linux.vnet.ibm.com>
29850         * sysdeps/powerpc/dl-procinfo.c:
29851         (_dl_powerpc_cap_flags): Added missing strings for some
29852         hwcap features.
29853         * sysdeps/powerpc/dl-procinfo.h: Updated hwcap bit count.
29855 2015-08-18  Paul Eggert  <eggert@cs.ucla.edu>
29857         Port the 0x7efe...feff pattern to GCC 6.
29858         See Steve Ellcey's bug report in:
29859         https://sourceware.org/ml/libc-alpha/2015-07/msg00673.html
29860         * string/memrchr.c (MEMRCHR):
29861         * string/rawmemchr.c (RAWMEMCHR):
29862         * string/strchr.c (strchr):
29863         * string/strchrnul.c (STRCHRNUL):
29864         Rewrite code to avoid issues with signed shift overflow.
29866 2015-08-18  H.J. Lu  <hongjiu.lu@intel.com>
29868         * sysdeps/x86/cpu-features.c (init_cpu_features): Check
29869         whether cpuid is available only if HAS_CPUID is 0.
29870         * sysdeps/x86/cpu-features.h (HAS_CPUID): New.
29871         (HAS_I586): Likewise.
29872         (HAS_I686): Likewise.
29874 2015-08-18  Zack Weinberg  <zackw@panix.com>
29876         * misc/Versions (libc): Add GLIBC_2.23.
29878 2015-08-18  Alan Modra  <amodra@gmail.com>
29880         [BZ #18421]
29881         * sysdeps/hppa/start.S [SHARED]: Use .section .data.rel.ro and define
29882         .Lp__global.
29883         (_start): Load %dp via .Lp__global.
29884         [!SHARED]: Use .section .rodata.
29886 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
29888         * sysdeps/unix/sysv/linux/hppa/bits/timerfd.h: New file.
29889         * sysdeps/unix/sysv/linux/hppa/sys/timerfd.h: Delete.
29891 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
29893         * sysdeps/unix/sysv/linux/hppa/bits/signalfd.h: New file.
29894         * sysdeps/unix/sysv/linux/hppa/sys/signalfd.h: Delete.
29896 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
29898         * sysdeps/unix/sysv/linux/hppa/bits/inotify.h: New file.
29899         * sysdeps/unix/sysv/linux/hppa/sys/inotify.h: Delete.
29901 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
29903         * sysdeps/unix/sysv/linux/hppa/bits/eventfd.h: New file.
29904         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Delete.
29906 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
29908         * sysdeps/unix/sysv/linux/hppa/bits/epoll.h: New file.
29909         * sysdeps/unix/sysv/linux/hppa/sys/epoll.h: Delete.
29911 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
29913         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h (SA_RESETHAND,
29914         SA_NODEFER, SA_RESTART): Define when __USE_XOPEN2K8 is defined.
29916 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
29918         * sysdeps/unix/sysv/linux/hppa/bits/shm.h (SHM_EXEC): Define.
29920 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
29922         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h: Delete
29923         kernel-features.h include.  Delete __ASSUME_LWS_CAS checks.
29924         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
29925         (__ASSUME_LWS_CAS): Delete.
29927 2015-08-18  Mike Frysinger  <vapier@gentoo.org>
29929         * sysdeps/hppa/configure.ac: Delete binutils tls checks.
29930         * sysdeps/hppa/configure: Regenerated.
29931         * sysdeps/hppa/dl-machine.h: Delete USE_TLS and USE___THREAD checks.
29932         * sysdeps/hppa/libc-tls.c: Delete USE_TLS checks.
29933         * sysdeps/hppa/nptl/tls.h: Likewise.
29935 2015-08-17  Joseph Myers  <joseph@codesourcery.com>
29937         [BZ #18823]
29938         * math/s_csqrt.c (__csqrt): Increase threshold and scale factor
29939         for scaling up small arguments.
29940         * math/s_csqrtf.c (__csqrtf): Likewise.
29941         * math/s_csqrtl.c (__csqrtl): Likewise.
29942         * math/auto-libm-test-in: Add more tests of csqrt.
29943         * math/auto-libm-test-out: Regenerated.
29945 2015-08-17  Andreas Schwab  <schwab@suse.de>
29947         * sysdeps/unix/sysv/linux/powerpc/Versions (libm): Add empty
29948         version set GLIBC_2.19.
29950 2015-08-16  Zack Weinberg  <zackw@panix.com>
29952         [BZ #18681]
29953         * misc/regexp.h: This interface is no longer supported.
29954         Remove all contents, leaving only an #error directive.
29955         * misc/regexp.c (loc1, loc2, locs, step, advance):
29956         Demote to compatibility symbols.
29958 2015-08-15  Paul Pluzhnikov  <ppluzhnikov@google.com>
29960         [BZ #18084]
29961         * debug/tst-backtrace2.c (do_test): Add test for BZ #18084.
29962         * sysdeps/arm/backtrace.c (__backtrace): Handle size <= 0.
29963         * sysdeps/i386/backtrace.c (__backtrace): Likewise.
29964         * sysdeps/m68k/backtrace.c (__backtrace): Likewise.
29965         * sysdeps/microblaze/backtrace.c (__backtrace): Likewise.
29966         * sysdeps/s390/s390-32/backtrace.c (__backtrace): Likewise.
29967         * sysdeps/s390/s390-64/backtrace.c (__backtrace): Likewise.
29968         * sysdeps/sparc/backtrace.c (__backtrace): Likewise.
29969         * sysdeps/x86_64/backtrace.c (__backtrace): Likewise.
29971 2015-08-15  Zack Weinberg  <zackw@panix.com>
29973         [BZ #18795]
29974         * string/bits/string3.h (stpncpy): Call __stpncpy_chk if the
29975         buffer length is known to be too large, not if it's known to be
29976         small enough.
29977         * debug/tst-chk1.c (do_test): Do all tests for catching a buffer
29978         overflow at runtime, involving a length parameter, twice: once
29979         with a compile-time constant length parameter, once without.
29981 2015-08-14  Joseph Myers  <joseph@codesourcery.com>
29983         [BZ #18824]
29984         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Increase threshold for
29985         scaling x * y up instead of down.
29986         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
29987         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
29988         * math/auto-libm-test-in: Add more tests of fma.
29989         * math/auto-libm-test-out: Regenerated.
29991 2015-08-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
29993         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
29995 2015-08-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
29997         * sysdeps/x86_64/fpu/multiarch/s_floorf.S (__floorf): Remove
29998         unnecessary movq.
29999         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S (__nearbyint):
30000         Likewise.
30002 2015-08-13  Joseph Myers  <joseph@codesourcery.com>
30004         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
30005         asinh, atan, atan2, atanh, cabs, cbrt, cosh, csqrt, erf, erfc,
30006         exp, exp2, lgamma, log, log1p, log2, pow, sin, sincos, tan, tanh
30007         and tgamma.
30008         * math/auto-libm-test-out: Regenerated.
30009         * sysdeps/i386/fpu/libm-test-ulps: Update.
30010         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30012         [BZ #16520]
30013         * sysdeps/ieee754/dbl-64/s_tanh.c: Include <float.h>.
30014         (__tanh): Force underflow exception for arguments with small
30015         absolute value.
30016         * sysdeps/ieee754/flt-32/s_tanhf.c: Include <float.h>.
30017         (__tanhf): Force underflow exception for arguments with small
30018         absolute value.
30019         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Include <float.h>.
30020         (__tanhl): Force underflow exception for arguments with small
30021         absolute value.
30022         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Include <float.h>.
30023         (__tanhl): Force underflow exception for arguments with small
30024         absolute value.
30025         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Include <float.h>.
30026         (__tanhl): Force underflow exception for arguments with small
30027         absolute value.
30028         * math/auto-libm-test-in: Add more tests of tanh.
30029         * math/auto-libm-test-out: Regenerated.
30030         * sysdeps/i386/fpu/libm-test-ulps: Update.
30032 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
30034         * sysdeps/x86/cpu-features.c (init_cpu_features): Call
30035         __get_cpuid_max if not compiling for i586, i686 nor x86-64.
30037 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
30039         * sysdeps/unix/sysv/linux/x86/elision-conf.h: Don't include
30040         <cpuid.h>.
30042 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
30044         * sysdeps/unix/sysv/linux/x86/elision-conf.c (elision_init):
30045         Replace HAS_RTM with HAS_CPU_FEATURE (RTM).
30047 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
30049         * math/Makefile ($(addprefix $(objpfx), $(libm-vec-tests))):
30050         Remove $(objpfx)init-arch.o.
30051         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Remove
30052         init-arch.
30053         * sysdeps/x86_64/fpu/math-tests-arch.h (avx_usable): Removed.
30054         (INIT_ARCH_EXT): Defined as empty.
30055         (CHECK_ARCH_EXT): Replace HAS_XXX with HAS_ARCH_FEATURE (XXX).
30056         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: Remove
30057         __init_cpu_features call.  Replace HAS_XXX with
30058         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
30059         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: Likewise.
30060         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Likewise.
30061         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: Likewise.
30062         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: Likewise.
30063         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
30064         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: Likewise.
30065         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: Likewise.
30066         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
30067         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: Likewise.
30068         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: Likewise.
30069         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
30070         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: Likewise.
30071         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: Likewise.
30072         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
30073         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: Likewise.
30074         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: Likewise.
30075         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
30076         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
30077         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: Likewise.
30078         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: Likewise.
30079         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
30080         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: Likewise.
30081         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: Likewise.
30082         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
30083         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: Likewise.
30084         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: Likewise.
30085         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
30086         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: Likewise.
30087         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: Likewise.
30088         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
30089         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S: Likewise.
30090         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S: Likewise.
30091         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
30092         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: Likewise.
30093         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: Likewise.
30095 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
30097         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Replace HAS_XXX
30098         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
30099         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
30100         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: Likewise.
30101         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: Likewise.
30102         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: Likewise.
30103         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Likewise.
30104         * sysdeps/i386/i686/multiarch/s_fma.c: Likewise.
30105         * sysdeps/i386/i686/multiarch/s_fmaf.c: Likewise.
30106         * sysdeps/i386/i686/multiarch/bcopy.S: Remove __init_cpu_features
30107         call.  Merge SHARED and !SHARED.  Add LOAD_GOT_AND_RTLD_GLOBAL_RO.
30108         Use LOAD_FUNC_GOT_EAX to load function address.  Replace HAS_XXX
30109         with HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
30110         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
30111         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
30112         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
30113         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
30114         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
30115         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
30116         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
30117         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
30118         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
30119         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
30120         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
30121         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
30122         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
30123         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
30124         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
30125         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
30126         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
30127         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
30128         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
30129         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
30130         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
30131         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
30132         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
30133         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
30134         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
30135         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
30136         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
30137         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
30138         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
30139         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
30141 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
30143         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Replace HAS_XXX with
30144         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
30145         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
30146         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
30147         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
30148         * sysdeps/x86_64/fpu/multiarch/e_pow.c: Likewise.
30149         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
30150         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Likewise.
30151         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
30152         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
30153         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
30154         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: Use
30155         LOAD_RTLD_GLOBAL_RO_RDX and HAS_CPU_FEATURE (SSE4_1).
30156         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: Likewise.
30157         * sysdeps/x86_64/fpu/multiarch/s_floor.S: Likewise.
30158         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: Likewise.
30159         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S : Likewise.
30160         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: Likewise.
30161         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: Likewise.
30162         * sysdeps/x86_64/fpu/multiarch/s_rintf.S : Likewise.
30163         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Likewise.
30164         * sysdeps/x86_64/multiarch/sched_cpucount.c: Likewise.
30165         * sysdeps/x86_64/multiarch/strstr.c: Likewise.
30166         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
30167         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
30168         * sysdeps/x86_64/multiarch/test-multiarch.c: Likewise.
30169         * sysdeps/x86_64/multiarch/memcmp.S: Remove __init_cpu_features
30170         call.  Add LOAD_RTLD_GLOBAL_RO_RDX.  Replace HAS_XXX with
30171         HAS_CPU_FEATURE/HAS_ARCH_FEATURE (XXX).
30172         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
30173         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
30174         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
30175         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
30176         * sysdeps/x86_64/multiarch/memset.S: Likewise.
30177         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
30178         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
30179         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
30180         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
30181         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
30182         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
30183         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
30184         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
30185         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
30187 2015-08-13  H.J. Lu  <hongjiu.lu@intel.com>
30189         * sysdeps/i386/dl-machine.h: Include <cpu-features.c>.
30190         (dl_platform_init): Call init_cpu_features.
30191         * sysdeps/i386/dl-procinfo.c (_dl_x86_cpu_features): New.
30192         * sysdeps/i386/i686/cacheinfo.c
30193         (DISABLE_PREFERRED_MEMORY_INSTRUCTION): Removed.
30194         * sysdeps/i386/i686/multiarch/Makefile (aux): Remove init-arch.
30195         * sysdeps/i386/i686/multiarch/Versions: Removed.
30196         * sysdeps/i386/i686/multiarch/ifunc-defines.sym (KIND_OFFSET):
30197         Removed.
30198         * sysdeps/i386/ldsodefs.h: Include <cpu-features.h>.
30199         * sysdeps/unix/sysv/linux/x86/Makefile
30200         (libpthread-sysdep_routines): Remove init-arch.
30201         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Include
30202         <sysdeps/x86_64/dl-procinfo.c> instead of
30203         sysdeps/generic/dl-procinfo.c>.
30204         * sysdeps/x86/Makefile [$(subdir) == csu] (gen-as-const-headers):
30205         Add cpu-features-offsets.sym and rtld-global-offsets.sym.
30206         [$(subdir) == elf] (sysdep-dl-routines): Add dl-get-cpu-features.
30207         [$(subdir) == elf] (tests): Add tst-get-cpu-features.
30208         [$(subdir) == elf] (tests-static): Add
30209         tst-get-cpu-features-static.
30210         * sysdeps/x86/Versions: New file.
30211         * sysdeps/x86/cpu-features-offsets.sym: Likewise.
30212         * sysdeps/x86/cpu-features.c: Likewise.
30213         * sysdeps/x86/cpu-features.h: Likewise.
30214         * sysdeps/x86/dl-get-cpu-features.c: Likewise.
30215         * sysdeps/x86/libc-start.c: Likewise.
30216         * sysdeps/x86/rtld-global-offsets.sym: Likewise.
30217         * sysdeps/x86/tst-get-cpu-features-static.c: Likewise.
30218         * sysdeps/x86/tst-get-cpu-features.c: Likewise.
30219         * sysdeps/x86_64/dl-procinfo.c: Likewise.
30220         * sysdeps/x86_64/cacheinfo.c (__cpuid_count): Removed.
30221         Assume USE_MULTIARCH is defined and don't check it.
30222         (is_intel): Replace __cpu_features with GLRO(dl_x86_cpu_features).
30223         (is_amd): Likewise.
30224         (max_cpuid): Likewise.
30225         (intel_check_word): Likewise.
30226         (__cache_sysconf): Don't call __init_cpu_features.
30227         (__x86_preferred_memory_instruction): Removed.
30228         (init_cacheinfo): Don't call __init_cpu_features. Replace
30229         __cpu_features with GLRO(dl_x86_cpu_features).
30230         * sysdeps/x86_64/dl-machine.h: <cpu-features.c>.
30231         (dl_platform_init): Call init_cpu_features.
30232         * sysdeps/x86_64/ldsodefs.h: Include <cpu-features.h>.
30233         * sysdeps/x86_64/multiarch/Makefile (aux): Remove init-arch.
30234         * sysdeps/x86_64/multiarch/Versions: Removed.
30235         * sysdeps/x86_64/multiarch/cacheinfo.c: Likewise.
30236         * sysdeps/x86_64/multiarch/init-arch.c: Likewise.
30237         * sysdeps/x86_64/multiarch/ifunc-defines.sym (KIND_OFFSET):
30238         Removed.
30239         * sysdeps/x86_64/multiarch/init-arch.h: Rewrite.
30241 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
30243         [BZ #18820]
30244         * libio/Makefile (test-fmemopen-mem): New test.
30245         * libio/test-fmemopen.c (do_bz18820): New test.
30246         * libio/fmemopen.c (__fmemopen): Fix memory leak.
30247         * libio/oldfmemopen.c (__old_fmemopen): Likewise.
30249 2015-08-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
30251         [BZ #16734]
30252         * libio/libioP.h (ROUND_TO_PAGE, ALLOC_BUF, ALLOC_WBUF): Delete.
30253         (FREE_BUF): Delete.
30254         * libio/libio.h (_IO_FILE_complete): Delete unused _freeres_size.
30255         * libio/genops.c (_IO_setb): Use malloc and free directly.
30256         (_IO_default_doallocate, _IO_default_finish): Likewise.
30257         ( _IO_unbuffer_all): Likewise.
30258         ( libc_freeres_fn): Likewise.
30259         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
30260         * libio/wfiledoalloc.c (_IO_wfile_doallocate): Likewise.
30261         * libio/wgenops.c (_IO_wsetb, _IO_wdefault_finish): Likewise.
30262         (_IO_wdefault_doallocate): Likewise.
30264 2015-08-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
30266         [BZ #18086]
30267         * sysdeps/posix/nice.c (nice): Restore old errno.
30268         * posix/tst-nice.c (do_test): Add test for BZ #18086.
30270 2015-08-10  Ondrej Bilka  <neleai@seznam.cz>
30272         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Fix ifunc.
30274 2015-08-10  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30276         * sysdeps/powerpc/powerpc64/power7/memmove.S (bcopy): Changing to
30277         __bcopy and add a weak_alias to bcopy.
30278         * sysdeps/powerpc/powerpc64/power7/strstr.S (strstr): Use __strnlen
30279         for static build.
30281         * string/stpcpy.c (__stpcpy): Use STPCPY to redefine symbol name and
30282         cleanup macro usage.
30283         * string/strcpy.c (strcpt): Use STRCPY to redefine symbol name.
30284         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.S: Remove file.
30285         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
30286         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.S: Likewise.
30287         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
30288         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: Likewise.
30289         * sysdeps/powerpc/powerpc64/power7/strcpy.S: Likewise.
30290         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
30291         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
30292         * sysdeps/powerpc/powerpc64/strcpy.S: Likewise.
30293         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
30294         [SHARED && IS_IN (libc)]: Include <string/strcpy.c>.
30295         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
30296         [SHARED && IS_IN (libc)]: Include <string/stpcpy.c>.
30297         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
30298         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: Likewise.
30299         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: Likewise.
30300         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: Likewise.
30301         * sysdeps/powerpc/powerpc64/power7/strcpy.c: Likewise.
30303         * sysdeps/powerpc/powerpc64/power7/strnlen.S (__strnlen): Add
30304         libc_hidden_def.
30305         (strnlen): Remove libc_hidden_builtin_def and add libc_hidden_def.
30307         * sysdeps/powerpc/powerpc64/power7/Makefile [$(subdir) = string]
30308         (sysdep_routines): Add strstr-ppc64.
30309         * sysdeps/powerpc/powerpc64/power7/strstr-ppc64.c: New file.
30311 2015-08-10  Maxim Ostapenko  <m.ostapenko@partner.samsung.com>
30313         [BZ #18778]
30314         * elf/Makefile (tests): Add Add tst-nodelete2.
30315         (modules-names): Add tst-nodelete2mod.
30316         (tst-nodelete2mod.so-no-z-defs): New.
30317         ($(objpfx)tst-nodelete2): Likewise.
30318         ($(objpfx)tst-nodelete2.out): Likewise.
30319         (LDFLAGS-tst-nodelete2): Likewise.
30320         * elf/dl-close.c (_dl_close_worker): Move DF_1_NODELETE clearing
30321         out of loop through all loaded libraries.
30322         * elf/tst-nodelete2.c: New file.
30323         * elf/tst-nodelete2mod.c: Likewise.
30324         * elf/tst-znodelete-zlib.cc: Delete.
30326 2015-08-11  Andreas Schwab  <schwab@suse.de>
30328         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Don't define.
30329         * sysdeps/unix/sysv/linux/wordsize-64/openat.c
30330         (__openat64_nocancel): Likewise.
30332 2015-08-11  Joseph Myers  <joseph@codesourcery.com>
30334         * math/auto-libm-test-in: Add more tests of acosh, asin, asinh,
30335         atanh, cabs, carg, cbrt, cosh, csqrt, erf, erfc, exp, exp10,
30336         expm1, hypot, log, log10, log1p, log2, pow, sinh, tan and tgamma.
30337         * math/auto-libm-test-out: Regenerated.
30338         * sysdeps/i386/fpu/libm-test-ulps: Update.
30339         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
30341 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
30343         [BZ #18790]
30344         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Increase
30345         threshold for returning +/- 1.
30346         * math/auto-libm-test-in: Add more tests of tanh.
30347         * math/auto-libm-test-out: Regenerated.
30348         * sysdeps/i386/fpu/libm-test-ulps: Update.
30350 2015-08-10  Andreas Schwab  <schwab@suse.de>
30352         [BZ #18781]
30353         * sysdeps/unix/sysv/linux/openat.c (__OPENAT) [MORE_OFLAGS]: Add
30354         MORE_OFLAGS to oflag.
30355         * io/test-lfs.c (do_test): Test openat64.
30357 2015-08-10  Joseph Myers  <joseph@codesourcery.com>
30359         [BZ #18789]
30360         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Use
30361         smaller threshold for returning the argument.
30362         * math/auto-libm-test-in: Add more tests of sinh.
30363         * math/auto-libm-test-out: Regenerated.
30364         * sysdeps/i386/fpu/libm-test-ulps: Update.
30366 2015-08-09  H.J. Lu  <hongjiu.lu@intel.com>
30368         [BZ #18674]
30369         * sysdeps/i386/tst-auditmod3b.c (la_objsearch): Add a missing
30370         break.
30372 2015-08-09  Andreas Schwab  <schwab@linux-m68k.org>
30374         * timezone/Makefile (tzbases, tzlinks, tzfiles): Don't define.
30375         (generated): Don't add $(addprefix z.,$(tzfiles)).
30377 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
30379         * nptl/tst-cancel-wrappers.sh: Change 3rd arg to gensub to 1.
30380         * scripts/sysd-rules.awk: Likewise.
30382 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
30384         * iconvdata/tst-tables.sh: Change echo -n to printf.
30385         * nss/db-Makefile: Likewise.
30386         * posix/tst-getconf.sh: Likewise.
30387         * stdio-common/tst-unbputc.sh: Likewise.
30389 2015-08-09  Mike Frysinger  <vapier@gentoo.org>
30391         * sysdeps/unix/sysv/linux/hppa/bits/mman.h [__USE_MISC]: Move all
30392         MADV_*_PAGES defines behind this feature check.
30394 2015-08-09  John David Anglin  <danglin@gcc.gnu.org>
30396         [BZ #18480]
30397         * sysdeps/unix/sysv/linux/hppa/sysdep.h (LOAD_ARGS_0, LOAD_ARGS_1,
30398         LOAD_ARGS_2, LOAD_ARGS_3, LOAD_ARGS_4, LOAD_ARGS_5, LOAD_ARGS_6):
30399         Define.
30400         (LOAD_REGS_0, LOAD_REGS_1, LOAD_REGS_2, LOAD_REGS_3, LOAD_REGS_4,
30401         LOAD_REGS_5, LOAD_REGS_6): Update.
30402         (INTERNAL_SYSCALL): Update using new LOAD defines.
30403         (INTERNAL_SYSCALL_NCS): Likewise.
30404         * sysdeps/unix/sysv/linux/hppa/syscall.c (syscall): Likewise.
30406 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
30408         [BZ #16734]
30409         * libio/genops.c (_IO_unbuffer_all): Free wide buffer as well.
30411 2015-08-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
30413         [BZ #17905]
30414         * catgets/Makefile (tst-catgets-mem): New test.
30415         * catgets/catgets.c (catopen): Don't use unbounded alloca.
30416         * catgets/open_catalog.c (__open_catalog): Likewise.
30417         * catgets/tst-catgets.c (do_bz17905): Test unbounded alloca.
30419 2015-08-08  John David Anglin  <danglin@gcc.gnu.org>
30421         [BZ #18787]
30422         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (_LWS_CLOBBER): Revise
30423         clobber registers.
30424         (atomic_compare_and_exchange_val_acq): Use register asms to assign
30425         operand registers.  Use register %r20 for EAGAIN and EDEADLOCK checks.
30426         Cast return to __typeof (oldval).
30428 2015-08-08  Mike Frysinger  <vapier@gentoo.org>
30430         * sysdeps/unix/sysv/linux/microblaze/sysdep.h: Wrap the whole file
30431         in _LINUX_MICROBLAZE_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h
30432         and delete sys/syscall.h include.
30434 2015-08-07  Joseph Myers  <joseph@codesourcery.com>
30436         [BZ #16517]
30437         * sysdeps/ieee754/dbl-64/s_tan.c: Include <float.h>.
30438         (tan): Force underflow exception for arguments with small absolute
30439         value.
30440         * sysdeps/ieee754/flt-32/k_tanf.c: Include <float.h>.
30441         (__kernel_tanf): Force underflow exception for arguments with
30442         small absolute value.
30443         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <float.h>.
30444         (__kernel_tanl): Force underflow exception for arguments with
30445         small absolute value.
30446         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <float.h>.
30447         (__kernel_tanl): Force underflow exception for arguments with
30448         small absolute value.
30449         * sysdeps/ieee754/ldbl-96/k_tanl.c: Include <float.h>.
30450         (__kernel_tanl): Force underflow exception for arguments with
30451         small absolute value.
30452         * math/auto-libm-test-in: Add more tests of tan.
30453         * math/auto-libm-test-out: Regenerated.
30455 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30457         Fix sysdeps/i386/fpu/s_scalbn.S build
30459         * math/Versions (libc: GLIBC_2_22): New (empty) version set.
30461 2015-08-07  Mike Frysinger  <vapier@gentoo.org>
30463         * sysdeps/hppa/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
30465 2015-08-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
30467         Fix gcrt0.o compilation
30469         When static-start-installed-name is different from
30470         start-installed-name, we must not use the shared objects.
30472         * csu/Makefile
30473         (extra-objs): Add gmon-start.o when building shared library and
30474         $(static-start-installed-name) is different from
30475         $(start-installed-name).
30476         $(objpfx)g$(static-start-installed-name): When building shared
30477         library and $(static-start-installed-name) is different from
30478         $(static-start-installed-name), revert to non-shared rule,
30479         i.e. using $(objpfx)% and gmon-start.o.
30481 2015-08-06  Joseph Myers  <joseph@codesourcery.com>
30483         [BZ #16519]
30484         * sysdeps/ieee754/dbl-64/e_sinh.c: Include <float.h>.
30485         (__ieee754_sinh): Force underflow exception for arguments with
30486         small absolute value.
30487         * sysdeps/ieee754/flt-32/e_sinhf.c: Include <float.h>.
30488         (__ieee754_sinhf): Force underflow exception for arguments with
30489         small absolute value.
30490         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Include <float.h>.
30491         (__ieee754_sinhl): Force underflow exception for arguments with
30492         small absolute value.
30493         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Include <float.h>.
30494         (__ieee754_sinhl): Force underflow exception for arguments with
30495         small absolute value.
30496         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Include <float.h>.
30497         (__ieee754_sinhl): Force underflow exception for arguments with
30498         small absolute value.
30499         * math/auto-libm-test-in: Add more tests of sinh.
30500         * math/auto-libm-test-out: Regenerated.
30501         * sysdeps/i386/fpu/libm-test-ulps: Update.
30503 2015-08-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
30505         * libio/oldfileops.c: Include unistd.h.
30507 2015-08-06  Mike Frysinger  <vapier@gentoo.org>
30509         * stdlib/isomac.c: Include ctype.h.
30511 2015-08-06  Arjun Shankar  <arjun.is@lostca.se>
30513         * dirent/tst-seekdir.c (main): Converted to ...
30514         (do_test): ... this.
30515         (TEST_FUNCTION): New macro.
30516         Include test-skeleton.c.
30517         * elf/tst-dlmodcount.c (main): Converted to ...
30518         (do_test): ... this.
30519         (TEST_FUNCTION): New macro.
30520         Include test-skeleton.c.
30521         * elf/tst-order-main.c (main): Converted to ...
30522         (do_test): ... this.
30523         (TEST_FUNCTION): New macro.
30524         Include test-skeleton.c.
30525         * elf/tst-pie2.c (main): Converted to ...
30526         (do_test): ... this.
30527         (TEST_FUNCTION): New macro.
30528         Include test-skeleton.c.
30529         * inet/tst-ether_aton.c (main): Converted to ...
30530         (do_test): ... this.
30531         (TEST_FUNCTION): New macro.
30532         Include test-skeleton.c.
30533         * misc/tst-mntent.c (main): Converted to ...
30534         (do_test): ... this.
30535         (TEST_FUNCTION): New macro.
30536         Include test-skeleton.c.
30537         * misc/tst-tsearch.c (main): Converted to ...
30538         (do_test): ... this.
30539         (TEST_FUNCTION): New macro.
30540         Include test-skeleton.c.
30541         * posix/tst-regexloc.c (main): Converted to ...
30542         (do_test): ... this.
30543         (TEST_FUNCTION): New macro.
30544         Include test-skeleton.c.
30545         * resolv/tst-aton.c (main): Converted to ...
30546         (do_test): ... this.
30547         (TEST_FUNCTION): New macro.
30548         Include test-skeleton.c.
30549         * stdio-common/test-fwrite.c (main): Converted to ...
30550         (do_test): ... this.
30551         (TEST_FUNCTION): New macro.
30552         Include test-skeleton.c.
30553         * stdio-common/tst-ferror.c (main): Converted to ...
30554         (do_test): ... this.
30555         (TEST_FUNCTION): New macro.
30556         Include test-skeleton.c.
30557         * stdio-common/tst-printf.c (main): Converted to ...
30558         (do_test): ... this.
30559         (TEST_FUNCTION): New macro.
30560         Include test-skeleton.c.
30561         * stdio-common/tst-printfsz.c (main): Converted to ...
30562         (do_test): ... this.
30563         (TEST_FUNCTION): New macro.
30564         Include test-skeleton.c.
30565         * stdlib/tst-strtod.c (main): Converted to ...
30566         (do_test): ... this.
30567         (TEST_FUNCTION): New macro.
30568         Include test-skeleton.c.
30569         * string/tst-strlen.c (main): Converted to ...
30570         (do_test): ... this.
30571         (TEST_FUNCTION): New macro.
30572         Include test-skeleton.c.
30573         * string/tst-svc.c (main): Converted to ...
30574         (do_test): ... this.
30575         (TEST_FUNCTION): New macro.
30576         Include test-skeleton.c.
30577         * time/tst-strptime.c (main): Converted to ...
30578         (do_test): ... this.
30579         (TEST_FUNCTION): New macro.
30580         Include test-skeleton.c.
30581         * timezone/tst-timezone.c (main): Converted to ...
30582         (do_test): ... this.
30583         (TEST_FUNCTION): New macro.
30584         Include test-skeleton.c.
30586 2015-08-05  Zack Weinberg  <zackw@panix.com>
30588         * misc/regexp.h: Update comments.
30590 2015-08-05  Andreas Schwab  <schwab@linux-m68k.org>
30592         [BZ #18635]
30593         * sysdeps/unix/sysv/linux/m68k/m680x0/makecontext.S: Add nop
30594         before return label.
30596 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
30598         [BZ #18661]
30599         * sysdeps/x86_64/fpu/s_cosf.S (__cosf): Align stack to 16 bytes
30600         when calling __errno_location.
30601         * sysdeps/x86_64/fpu/s_sincosf.S (__sincosf): Likewise.
30602         * sysdeps/x86_64/fpu/s_sinf.S (__sinf): Likewise.
30604 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
30606         [BZ #18661]
30607         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S
30608         (__lll_timedwait_tid): Align stack to 16 bytes when calling
30609         __gettimeofday.
30611 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
30613         [BZ #18661]
30614         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
30615         (__start_context): Don't use pop to restore %rdi so that stack
30616         is aligned to 16 bytes when calling __setcontext.
30618 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
30620         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Compile
30621         only for libc.
30622         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
30624 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
30626         * string/string.h: (mempcpy): Redirect to __mempcpy_inline.
30627         (__mempcpy): Likewise.  (__mempcpy_inline): New inline function.
30628         * sysdeps/sparc/bits/string.h: (_HAVE_STRING_ARCH_mempcpy): Define.
30630 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
30632         * string/memccpy.c (memccpy):
30633         Improve performance by using memchr/memcpy/__mempcpy.
30635 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
30637         * string/strncpy.c (strncpy):
30638         Improve performance by using __strnlen/memcpy.
30640 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
30642         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
30643         Optimize to avoid an unnecessary FPCR read.
30645 2015-08-05  Wilco Dijkstra  <wdijkstr@arm.com>
30647         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
30648         Optimize to reduce FPCR/FPSR accesses.
30650 2015-08-05  H.J. Lu  <hongjiu.lu@intel.com>
30652         * locale/loadarchive.c (_nl_archive_subfreeres): Also check
30653         dead->data[category] != NULL.
30655 2015-08-05  Joseph Myers  <joseph@codesourcery.com>
30657         [BZ #18647]
30658         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): For large y
30659         and |x| close to 1, use absolute value of x when computing log.
30660         * math/auto-libm-test-in: Add more tests of pow.
30661         * math/auto-libm-test-out: Regenerated.
30663 2015-08-05  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30665         * sysdeps/unix/sysv/linux/arm/mmap.c: Add file.
30666         * sysdeps/unix/sysv/linux/arm/mmap.S: Remove file.
30667         * sysdeps/unix/sysv/linux/arm/mmap64.S: Likewise.
30669 2015-08-05  Marko Myllynen  <myllynen@redhat.com>
30671         [BZ #18525]
30672         * locales/km_KH: Remove timezone definition.
30673         * locales/lo_LA: Likewise.
30674         * locales/my_MM: Likewise.
30675         * locales/nan_TW@latin: Likewise.
30676         * locales/th_TH: Likewise.
30677         * locales/uk_UA: Likewise.
30679 2015-08-05  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
30681         [BZ #18265]
30682         * wcsmbs/wchar.h (wcscat): Add __nonnull attribute.
30683         (wcsncat): Likewise.
30684         (wcscmp): Likewise.
30685         (wcsncmp): Likewise.
30687 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
30689         * test-skeleton.c (usage): New function.
30690         (main): Call usage when opt is '?'.
30692 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
30694         * sysdeps/unix/sysv/linux/mmap64.c: Move MMAP2_PAGE_SHIFT define
30695         before first use.
30697 2015-08-05  Mike Frysinger  <vapier@gentoo.org>
30699         * nptl/allocatestack.c (allocate_stack): Move stacktop decl down to
30700         bottom and under _STACK_GROWS_DOWN.  Move the stacktop assignment
30701         in there too.
30703 2015-08-05  Carlos O'Donell  <carlos@systemhalted.org>
30705         * version.h (RELEASE): Set to "development".
30706         (VERSION): Set to "2.22.90"
30708         * version.h (RELEASE): Set to "stable".
30709         (VERSION): Set to "2.22"
30710         * include/features.h (__GLIBC_MINOR__): Set to 22.
30712 2015-08-04  Chris Metcalf  <cmetcalf@ezchip.com>
30714         * sysdeps/tile/tilepro/bits/atomic.h (__atomic_update):
30715         Restructure macro to avoid "value computed is not used" warning.
30716         (atomic_compare_and_exchange_val_acq): Likewise.
30718 2015-08-04  Andreas Schwab  <schwab@suse.de>
30720         [BZ #18635]
30721         * sysdeps/unix/sysv/linux/i386/makecontext.S: Terminate FDE before
30722         ret.
30723         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext): Remove.
30725 2015-08-01  Carlos O'Donell  <carlos@redhat.com>
30727         * po/pl.po: Updated translation.
30728         * po/uk.po: Likewise.
30729         * po/fi.po: Likewise.
30730         * po/ko.po: Likewise.
30731         * po/ru.po: Likewise.
30732         * po/vi.po: Likewise.
30734 2015-07-31  Zack Weinberg  <zackw@panix.com>
30736         [BZ #18681]
30737         * regexp.h: Add unconditional #warning stating that this header
30738         will be removed soon.  Revise banner comment to match.
30739         (compile): Consistently use ERROR instead of RETURN to report
30740         errors (partial fix for BZ #18681).
30741         * regexp.c: Don't include regexp.h. Remove some unnecessary
30742         declarations.
30744 2015-07-31  Carlos O'Donell  <carlos@redhat.com>
30746         * po/libc.pot: Regenerated.
30748 2015-07-30  Andrew Senkevich  <andrew.senkevich@intel.com>
30750         [BZ #18740]
30751         * sysdeps/x86_64/fpu/Makefile (double-vlen2-arch-ext-cflags,
30752         float-vlen4-arch-ext-cflags): Removed.
30753         * math/Makefile (CFLAGS-test-double-vlen2-wrappers.c,
30754         CFLAGS-test-float-vlen4-wrappers.c): Likewise.
30756 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
30758         [BZ #14113]
30759         * sysdeps/hppa/nptl/bits/pthreadtypes.h (pthread_mutex_t): Change
30760         aligned to __aligned__.
30761         (pthread_cond_t, pthread_rwlock_t): Likewise.
30763 2015-07-30  Torvald Riegel  <triegel@redhat.com>
30765         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: Remove file.
30767 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
30769         * sysdeps/unix/sysv/linux/hppa/bits/sigaction.h: Include bits/wordsize.h.
30770         (struct sigaction): Change sa_flags from a long to an int, and add
30771         __glibc_reserved0 before it for padding when __WORDSIZE is 64.
30773 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
30775         * hppa/sysdep.h: Delete sys/syscall.h and config.h includes.
30776         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: Delete
30777         sysdeps/generic/sysdep.h include.
30778         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Wrap the whole file in
30779         _LINUX_HPPA_SYSDEP_H defines.  Include sysdeps/unix/sysdep.h and
30780         sysdeps/hppa/sysdep.h.
30781         (ENTRY, PSEUDO): Undefine before defining.
30783 2015-07-30  Mike Frysinger  <vapier@gentoo.org>
30785         * sysdeps/unix/sysv/linux/hppa/sysdep.h (INLINE_SYSCALL): Rewrite
30786         from scratch to use INTERNAL_SYSCALL.
30788 2015-07-29  H.J. Lu  <hongjiu.lu@intel.com>
30790         [BZ #18078]
30791         * scripts/check-localplt.awk: Support alternate relocations.
30792         * scripts/localplt.awk: Also check relocations in DT_RELA/DT_REL
30793         sections.
30794         * sysdeps/unix/sysv/linux/i386/localplt.data: Mark free and
30795         malloc entries with + REL R_386_GLOB_DAT.
30796         * sysdeps/x86_64/localplt.data: New file.
30798 2015-07-29  Andrew Senkevich  <andrew.senkevich@intel.com>
30800         [BZ #18731]
30801         * sysdeps/x86_64/fpu/math-tests-arch.h: Added AVX runtime check.
30802         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
30803         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
30805 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
30807         * sysdeps/unix/sysv/linux/ia64/localplt.data: Delete __tls_get_addr.
30809 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
30811         * sysdeps/ia64/bits/atomic.h (atomic_exchange_and_add): Define
30812         directly in terms of __sync_fetch_and_add and delete (int) cast.
30814 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
30816         * sysdeps/unix/sysv/linux/ia64/Makefile (CPPFLAGS): Delete
30817         the -D_ASM_IA64_CURRENT_H flag.
30819 2015-07-27  Mike Frysinger  <vapier@gentoo.org>
30821         [BZ #18641]
30822         * pwd/pwd.h (putpwent): Delete __nonnull markings.
30824 2015-07-27  Andreas Schwab  <schwab@suse.de>
30826         * conform/conformtest.pl (checknamespace): Filter out string
30827         literals while tokenizing.
30829 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
30831         * sysdeps/nios2/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
30832         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Handle
30833         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
30835 2015-07-26  Chung-Lin Tang  <cltang@codesourcery.com>
30837         * nptl/tst-join7mod.c: Add #include <string.h>.
30839 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
30841         * sysdeps/nios2/libm-test-ulps: Update.
30843 2015-07-25  Chung-Lin Tang  <cltang@codesourcery.com>
30845         * sysdeps/unix/sysv/linux/nios2/setcontext.S (__setcontext):
30846         Fix order of arguments to the rt_sigprocmask syscall.
30847         * sysdeps/unix/sysv/linux/nios2/swapcontext.S (__swapcontext):
30848         Likewise.
30850 2015-07-24  Roland McGrath  <roland@hack.frob.com>
30852         * sysdeps/nacl/bits/fcntl.h (O_SHLOCK, O_EXLOCK): Macros removed.
30854 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
30856         [BZ #18457]
30857         * nptl/Makefile (tests): New test case tst-join7.
30858         (modules-names): New test case module tst-join7mod.
30859         * nptl/tst-join7.c: New file.
30860         * nptl/tst-join7mod.c: New file.
30861         * Makeconfig (tls-model): Pass -ftls-model=initial-exec for
30862         all translation units in libc.so, libpthread.so and rtld.
30864 2015-07-24  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
30866         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
30868 2015-07-24  Andrew Senkevich  <andrew.senkevich@intel.com>
30870         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: Fixed AVX512 IFUNC.
30871         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: Likewise.
30872         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: Likewise.
30873         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: Likewise.
30874         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: Likewise.
30875         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: Likewise.
30876         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: Likewise.
30877         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: Likewise.
30878         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: Likewise.
30879         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: Likewise.
30880         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S: Likewise.
30881         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: Likewise.
30882         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Fixed wrappers to AVX2.
30883         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Likewise.
30884         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: Fixed KNL
30885         implementation.
30887 2015-07-24  Szabolcs Nagy  <szabolcs.nagy@arm.com>
30889         [BZ #17711]
30890         * sysdeps/aarch64/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
30891         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Handle
30892         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
30893         * sysdeps/arm/dl-sysdep.h (DL_EXTERN_PROTECTED_DATA): Define.
30894         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Handle
30895         ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA.
30897 2015-07-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
30899         * stdlib/cxa_thread_atexit_impl.c: Use the lock name dl_load_lock
30900         instead of just saying load lock in the comments.
30902 2015-07-23  Roland McGrath  <roland@hack.frob.com>
30904         * sysdeps/unix/Subdirs: Moved ...
30905         * sysdeps/posix/Subdirs: ... here.
30906         * login/pty.h (struct termios, struct winsize): Add forward decls.
30907         * login/openpty.c (openpty): Put ioctl call under [TIOCSWINSZ].
30908         * sysdeps/nacl/glob.c: Just #include <sysdeps/wordsize-64/glob.c>.
30909         * sysdeps/arm/nacl/libc.abilist: Updated.
30910         * sysdeps/nacl/libutil.abilist: New file.
30912         * bits/signum.h: Update comments to mention 1003.1-2013 too.
30913         (SIGWINCH): New macro.
30915         * sysdeps/nacl/getdtsz.c (getdtablesize): Add missing weak_alias.
30916         * sysdeps/arm/nacl/libc.abilist: Add it.
30918 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
30920         * conform/linknamespace.pl (@whitelist): Add matherrf and matherrl.
30922 2015-07-23  Mike Frysinger  <vapier@gentoo.org>
30924         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
30925         Swap __glibc_reserved0 and sa_flags order.
30927 2015-07-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
30929         [BZ #18657]
30930         * elf/dl-close.c (_dl_close_worker): Don't unload DSO if there
30931         are pending TLS destructor calls.
30932         * include/link.h (struct link_map): Add concurrency note for
30933         L_TLS_DTOR_COUNT.
30934         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
30935         Don't touch the link map flag.  Atomically increment
30936         l_tls_dtor_count.
30937         (__call_tls_dtors): Atomically decrement l_tls_dtor_count.
30938         Avoid taking the load lock and don't touch the link map flag.
30939         * stdlib/tst-tls-atexit-nodelete.c: New test case.
30940         * stdlib/Makefile (tests): Use it.
30941         * stdlib/tst-tls-atexit.c (do_test): dlopen
30942         tst-tls-atexit-lib.so again before dlclose.  Add conditionals
30943         to allow tst-tls-atexit-nodelete test case to use it.
30945 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
30947         * sysdeps/unix/sysv/linux/ia64/bits/msq.h: Change sys/types.h include
30948         to bits/types.h.
30949         (msgqnum_t): New typedef.
30950         (msglen_t): Likewise.
30951         (struct msqid_ds): Update comment.  Change msg_qnum type to msgqnum_t
30952         and msg_qbytes type to msglen_t.
30954 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
30956         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat): Rename
30957         pad0 to __glibc_reserved0.
30958         (struct stat64): Likewise.
30960 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
30962         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h (struct sigaction):
30963         Change sa_flags from a long to an int and add __glibc_reserved0 before
30964         it for padding.
30966 2015-07-22  Mike Frysinger  <vapier@gentoo.org>
30968         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (siginfo_t): Make struct
30969         anonymous by deleting "siginfo" name.
30971 2015-07-21  Roland McGrath  <roland@hack.frob.com>
30973         * sysdeps/nacl/nacl-interface-list.h: Remove nacl_irt_filename.
30974         * sysdeps/nacl/open.c (__libc_open): Use __nacl_irt_dev_filename
30975         rather than __nacl_irt_filename.
30976         * sysdeps/nacl/xstat.c (__xstat): Likewise.
30978         * NEWS: New item for arm-nacl port.
30979         * sysdeps/arm/nacl/libc.abilist: New file.
30980         * sysdeps/nacl/ld.abilist: New file.
30981         * sysdeps/nacl/libBrokenLocale.abilist: New file.
30982         * sysdeps/nacl/libanl.abilist: New file.
30983         * sysdeps/nacl/libcrypt.abilist: New file.
30984         * sysdeps/nacl/libdl.abilist: New file.
30985         * sysdeps/nacl/libm.abilist: New file.
30986         * sysdeps/nacl/libpthread.abilist: New file.
30987         * sysdeps/nacl/libresolv.abilist: New file.
30988         * sysdeps/nacl/librt.abilist: New file.
30990 2015-07-21  Chris Metcalf  <cmetcalf@ezchip.com>
30992         * sysdeps/unix/sysv/linux/tile/makecontext.c (__makecontext): Call
30993         __startcontext to initialize the new context.
30994         * sysdeps/unix/sysv/linux/tile/setcontext.S (__startcontext): Set
30995         up CFI directive to forbid further backtracing.
30997 2015-07-21  Marko Myllynen  <myllynen@redhat.com>
30999         * charmaps/ANSI_X3.110-1983: Remove obsolete repertoire map
31000         reference.
31001         * charmaps/ANSI_X3.4-1968: Likewise.
31002         * charmaps/BS_4730: Likewise.
31003         * charmaps/BS_VIEWDATA: Likewise.
31004         * charmaps/CP1250: Likewise.
31005         * charmaps/CP1251: Likewise.
31006         * charmaps/CP1252: Likewise.
31007         * charmaps/CP1253: Likewise.
31008         * charmaps/CP1254: Likewise.
31009         * charmaps/CP1255: Likewise.
31010         * charmaps/CP1256: Likewise.
31011         * charmaps/CSN_369103: Likewise.
31012         * charmaps/EBCDIC-DK-NO: Likewise.
31013         * charmaps/GB_1988-80: Likewise.
31014         * charmaps/GREEK-CCITT: Likewise.
31015         * charmaps/GREEK7: Likewise.
31016         * charmaps/INIS-8: Likewise.
31017         * charmaps/ISIRI-3342: Likewise.
31018         * charmaps/ISO_2033-1983: Likewise.
31019         * charmaps/ISO_5427-EXT: Likewise.
31020         * locales/POSIX: Likewise.
31021         * locales/ar_SA: Likewise.
31022         * locales/be_BY: Likewise.
31023         * locales/be_BY@latin: Likewise.
31024         * locales/ca_ES: Likewise.
31025         * locales/cs_CZ: Likewise.
31026         * locales/da_DK: Likewise.
31027         * locales/de_BE: Likewise.
31028         * locales/de_CH: Likewise.
31029         * locales/de_LU: Likewise.
31030         * locales/en_AU: Likewise.
31031         * locales/en_BW: Likewise.
31032         * locales/en_CA: Likewise.
31033         * locales/en_DK: Likewise.
31034         * locales/en_GB: Likewise.
31035         * locales/en_IE: Likewise.
31036         * locales/en_NZ: Likewise.
31037         * locales/en_ZA: Likewise.
31038         * locales/en_ZW: Likewise.
31039         * locales/es_AR: Likewise.
31040         * locales/es_BO: Likewise.
31041         * locales/es_CL: Likewise.
31042         * locales/es_CO: Likewise.
31043         * locales/es_DO: Likewise.
31044         * locales/es_EC: Likewise.
31045         * locales/es_ES: Likewise.
31046         * locales/es_HN: Likewise.
31047         * locales/es_MX: Likewise.
31048         * locales/es_PA: Likewise.
31049         * locales/es_PE: Likewise.
31050         * locales/es_PY: Likewise.
31051         * locales/es_SV: Likewise.
31052         * locales/es_US: Likewise.
31053         * locales/es_UY: Likewise.
31054         * locales/es_VE: Likewise.
31055         * locales/et_EE: Likewise.
31056         * locales/fa_IR: Likewise.
31057         * locales/fo_FO: Likewise.
31058         * locales/fr_CA: Likewise.
31059         * locales/fr_CH: Likewise.
31060         * locales/gv_GB: Likewise.
31061         * locales/he_IL: Likewise.
31062         * locales/hr_HR: Likewise.
31063         * locales/id_ID: Likewise.
31064         * locales/is_IS: Likewise.
31065         * locales/it_CH: Likewise.
31066         * locales/iw_IL: Likewise.
31067         * locales/kl_GL: Likewise.
31068         * locales/ko_KR: Likewise.
31069         * locales/kw_GB: Likewise.
31070         * locales/lg_UG: Likewise.
31071         * locales/lt_LT: Likewise.
31072         * locales/lv_LV: Likewise.
31073         * locales/mi_NZ: Likewise.
31074         * locales/nhn_MX: Likewise.
31075         * locales/nl_BE: Likewise.
31076         * locales/pl_PL: Likewise.
31077         * locales/sk_SK: Likewise.
31078         * locales/sl_SI: Likewise.
31079         * locales/sv_FI: Likewise.
31080         * locales/tl_PH: Likewise.
31081         * locales/tr_TR: Likewise.
31082         * locales/vi_VN: Likewise.
31084 2015-07-21  Khem Raj  <raj.khem@gmail.com>
31086         [BZ #17475]
31087         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Adjust for rename
31088         of tu_IN and bh_IN.
31090 2015-07-21  Mike Frysinger  <vapier@gentoo.org>
31092         [BZ #18694]
31093         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h: Include
31094         bits/wordsize.h.
31095         (sigaction): Declare __glibc_reserved0 only when __WORDSIZE is 64.
31097 2015-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
31099         * stdlib/tst-tls-atexit-lib.c (do_foo): Rename to reg_dtor.
31100         * stdlib/tst-tls-atexit.c: (is_loaded): New function.
31101         (spawn_thread): New function.
31102         (load): Rename to reg_dtor_and_close.  Move dlopen to...
31103         (do_test): ... here.  Use IS_LOADED to test for its
31104         availability.
31106 2015-07-21  Andreas Schwab  <schwab@linux-m68k.org>
31108         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
31110 2015-07-20  H.J. Lu  <hongjiu.lu@intel.com>
31112         [BZ #18696]
31113         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (_sigfault): Add
31114         si_addr_bnd.
31115         (si_lower): New.
31116         (si_upper): Likewise.
31118 2015-07-16  David S. Miller  <davem@davemloft.net>
31120         * sysdeps/sparc/fpu/libm-test-ulps: Regenerated.
31122 2015-07-16  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31124         * libio/fmemopen.c (__fmemopen): Fix 'w' openmode with provided
31125         buffer.
31126         * stdio-common/tst-fmemopen2.c (do_test_with_buffer): Fix typo and
31127         fail output information.
31129 2015-07-16  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
31131         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strstr-power7
31132         and strstr-ppc64..
31133         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
31134         * sysdeps/powerpc/powerpc64/power7/strstr.S: New File.
31135         * sysdeps/powerpc/powerpc64/multiarch/strstr-power7.S: New File.
31136         * sysdeps/powerpc/powerpc64/multiarch/strstr-ppc64.c: New File.
31137         * sysdeps/powerpc/powerpc64/multiarch/strstr.c: New File.
31139 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
31141         * sysdeps/hppa/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
31142         * sysdeps/hppa/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
31143         * sysdeps/ia64/Versions (GLIBC_PRIVATE): Delete _dl_unmap.
31144         * sysdeps/ia64/dl-lookupcfg.h (_dl_unmap): Add attribute_hidden.
31146 2015-07-16  Mike Frysinger  <vapier@gentoo.org>
31148         * elf/dl-symaddr.c (_dl_symbol_address): Add rtld_hidden_def.
31149         * sysdeps/hppa/dl-lookupcfg.h (_dl_symbol_address): Add
31150         rtld_hidden_proto.
31151         * sysdeps/ia64/dl-lookupcfg.h (_dl_symbol_address): Likewise.
31153 2015-07-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
31155         * tst-nodelete-opened.c (do_test): Add comment to clarify how
31156         the test can fail.
31158         * stdlib/cxa_thread_atexit_impl.c: Whitespace fixup.
31160         [BZ #18676]
31161         * elf/tst-nodelete-opened.c: New test case.
31162         * elf/tst-nodelete-opened-lib.c: New test case module.
31163         * elf/Makefile (tests, modules-names): Use them.
31164         * elf/dl-open.c (dl_open_worker): Set DF_1_NODELETE flag
31165         early.
31167 2015-07-15  David S. Miller  <davem@davemloft.net>
31169         * sysdeps/sparc/nptl/pthread_barrier_init.c: Include
31170         futex-intenal.h
31171         * sysdeps/sparc/sparc32/sparcv9/Makefile (nscd): Add cpu_relax.
31172         * sysdeps/sparc/sparc64/Makefile: Likewise.
31173         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
31174         Remove space from macro define.
31175         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_spin_nop): Likewise.
31177 2015-07-15  Pravin Satpute  <psatpute@redhat.com>
31179         [BZ #17475]
31180         * locale/iso-639.def: Update Bhili and Tulu language codes as
31181         per iso639-3.
31183 2015-07-15  Arjun Shankar  <arjun.is@lostca.se>
31185         * elf/tst-leaks1.c (main): Converted to ...
31186         (do_test): ... this.
31187         (TEST_FUNCTION): New macro.
31188         Include test-skeleton.c.
31189         * localedata/tst-langinfo.c (main): Converted to ...
31190         (do_test): ... this.
31191         (TEST_FUNCTION): New macro.
31192         Include test-skeleton.c.
31193         * math/test-fpucw.c (main): Converted to ...
31194         (do_test): ... this.
31195         (TEST_FUNCTION): New macro.
31196         Include test-skeleton.c.
31197         * math/test-tgmath.c (main): Converted to ...
31198         (do_test): ... this.
31199         (TEST_FUNCTION): New macro.
31200         Include test-skeleton.c.
31201         * math/test-tgmath2.c (main): Converted to ...
31202         (do_test): ... this.
31203         (TEST_FUNCTION): New macro.
31204         Include test-skeleton.c.
31205         * setjmp/tst-setjmp.c (main): Converted to ...
31206         (do_test): ... this.
31207         (TEST_FUNCTION): New macro.
31208         Include test-skeleton.c.
31209         * stdio-common/tst-sscanf.c (main): Converted to ...
31210         (do_test): ... this.
31211         (TEST_FUNCTION): New macro.
31212         Include test-skeleton.c.
31213         * sysdeps/x86_64/tst-audit6.c (main): Converted to ...
31214         (do_test): ... this.
31215         (TEST_FUNCTION): New macro.
31216         Include test-skeleton.c.
31218         * elf/tst-audit9.c (main): Converted to ...
31219         (do_test): ... this.
31220         (TEST_FUNCTION): New macro.
31221         Include test-skeleton.c.
31223 2015-07-15  Mike Frysinger  <vapier@gentoo.org>
31225         * timezone/tst-tzset.c (TIMEOUT): Define to 5.
31227 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
31229         * sysdeps/i386/i686/Makefile (test-xfail-tst-makecontext):
31230         New variable.
31232 2015-07-15  Stefan Liebler  <stli@linux.vnet.ibm.com>
31234         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
31236 2015-07-14  Roland McGrath  <roland@hack.frob.com>
31238         * sysdeps/generic/dl-fileid.h: New file.
31239         * sysdeps/posix/dl-fileid.h: New file.
31240         * sysdeps/nacl/dl-fileid.h: New file.
31241         * include/link.h: Include <dl-fileid.h>.
31242         (struct link_map): Replace l_dev and l_ino with l_file_id.
31243         * elf/dl-load.c (_dl_map_object_from_fd): Use _dl_get_file_id rather
31244         than __fxstat64.  Use _dl_file_id_match_p rather than comparing l_dev
31245         and l_ino directly.  Initialize l_file_id rather than l_dev and l_ino.
31247 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
31249         * stdlib/tst-tls-atexit.c (do_test): Fix typo.
31251 2015-07-14  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31253         * elf/Makefile [ifeq (yes,$(build-shared)) (tests)] (tst-nodelete):
31254         Add iff $CXX is set.
31255         [ifeq (yes,$(build-shared)) (modules-names)] (tst-nodelete-rtldmod):
31256         Likewise.
31257         (tst-nodelete-zmodiff): Likewise.
31258         * nptl/Makefile [[ifeq (,$(CXX))] (tests-unsupported)]: Add tst-once5.
31260 2015-07-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
31262         * stdlib/tst-tls-atexit.c (load): Fix up whitespace.
31264 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
31266         * sysdeps/aarch64/fpu/math_private.h
31267         (define math_opt_barrier): Add AArch64 version.
31268         (math_force_eval): Likewise.
31270 2015-07-13  Wilco Dijkstra  <wdijkstr@arm.com>
31272         * sysdeps/aarch64/strlen.S (strlen): Optimize strlen.
31274 2015-07-11  H.J. Lu  <hongjiu.lu@intel.com>
31276         * stdio-common/tst-fmemopen2.c (do_test_without_buffer): Replace
31277         %ld with %jd and cast to intmax_t.
31278         (do_test_length_zero): Likewise.
31280 2015-07-10  Roland McGrath  <roland@hack.frob.com>
31282         * sysdeps/nacl/pthread_condattr_setclock.c: New file.
31284 2015-07-10  Chris Metcalf  <cmetcalf@ezchip.com>
31286         * sysdeps/tile/libm-test-ulps: Regenerated.
31288         * math/test-fenvinline.c (feenable_test) [FE_ALL_EXCEPT == 0]:
31289         Comment out the whole function, not just its body.
31291 2015-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
31293         * stdlib/tst-tls-atexit.c (load): Remove unnecessary mutex
31294         locks.
31296         * stdlib/tst-tls-atexit.c (load): Avoid boolean coercion.
31298 2015-07-10  Torvald Riegel  <triegel@redhat.com>
31300         * nptl/sem_waitcommon.c (__new_sem_wait_slow): Update comments.
31301         (sem_assume_only_signals_cause_futex_EINTR): Remove.
31303 2015-07-10  Torvald Riegel  <triegel@redhat.com>
31305         * sysdeps/nptl/futex-internal.h: New file.
31306         * sysdeps/nacl/futex-internal.h: New file.
31307         * sysdeps/unix/sysv/linux/futex-internal.h: New file.
31308         * nptl/allocatestack.c (setxid_mark_thread): Use futex wrappers with
31309         error checking.
31310         (setxid_unmark_thread): Likewise.
31311         (__nptl_setxid): Likewise.
31312         (__wait_lookup_done): Likewise.
31313         * nptl/cancellation.c (__pthread_disable_asynccancel): Likewise.
31314         * nptl/nptl-init.c (sighandler_setxid): Likewise.
31315         * nptl/pthread_create.c (START_THREAD_DEFN): Likewise.
31316         * nptl/pthread_once.c (clear_once_control): Likewise.
31317         (__pthread_once_slow): Likewise.
31318         * nptl/unregister-atfork.c (__unregister_atfork): Likewise.
31319         * sysdeps/nacl/exit-thread.h (__exit_thread): Likewise.
31320         * sysdeps/nptl/aio_misc.h (AIO_MISC_NOTIFY, AIO_MISC_WAIT): Likewise.
31321         * sysdeps/nptl/fork.c (__libc_fork): Likewise.
31322         * sysdeps/nptl/gai_misc.h (GAI_MISC_NOTIFY, GAI_MISC_WAIT): Likewise.
31323         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock_slow):
31324         Likewise.
31325         (__pthread_rwlock_rdlock): Likewise.
31326         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
31327         Likewise.
31328         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
31329         Likewise.
31330         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
31331         Likewise.
31332         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Likewise.
31333         * nptl/pthread_rwlock_wrlock.c (__pthread_rwlock_wrlock_slow:
31334         Likewise.
31335         * nptl/pthread_rwlock_init (__pthread_rwlock_init): Remove
31336         __ASSUME_PRIVATE_FUTEX check.
31337         * nptl/pthread_rwlockattr_setpshared (pthread_rwlockattr_setpshared):
31338         Check that shared futexes are supported.
31339         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Use futex
31340         wrappers with error checking.
31341         * nptl/pthread_barrier_init.c (pthread_barrier_init): Add comments,
31342         remove attribute sanity check and __ASSUME_PRIVATE_FUTEX check.
31343         * nptl/pthread_barrierattr_setpshared.c
31344         (pthread_barrierattr_setpshared): Check that shared futexes are
31345         supported.
31346         * nptl/pthread_condattr_setpshared.c (pthread_condattr_setpshared):
31347         Likewise.
31348         * nptl/pthread_mutexattr_setpshared.c (pthread_mutexattr_setpshared):
31349         Likewise.
31350         * nptl/sem_init.c (futex_private_if_supported): Remove.
31351         (__new_sem_init): Adapt and check that shared futexes are supported.
31352         * nptl/sem_open.c (sem_open): Likewise.
31353         * nptl/sem_post.c (futex_wake): Remove.
31354         * nptl/sem_waitcommon.c (futex_abstimed_wait, futex_wake): Remove.
31355         (do_futex_wait): Use futex wrappers with error checking.
31356         * nptl/sem_wait.c: Include lowlevellock.h.
31357         * sysdeps/sparc/nptl/pthread_barrier_init.c (__pthread_barrier_init):
31358         Use futex_supports_pshared.
31359         * sysdeps/sparc/nptl/pthread_barrier_wait.c (pthread_barrier_wait):
31360         Use futex wrappers with error checking.
31361         * sysdeps/sparc/sparc32/pthread_barrier_wait.c (pthread_barrier_wait):
31362         Likewise.
31363         * sysdeps/sparc/sparc32/sem_init.c (futex_private_if_supported): Remove.
31364         * sysdeps/sparc/sparc32/sem_post.c (futex_wake): Likewise.
31365         * sysdeps/sparc/sparc32/sem_open.c (sem_open): Use FUTEX_SHARED.
31366         * sysdeps/sparc/sparc32/sem_waitcommon.c (futex_abstimed_wait): Remove.
31367         (futex_wake): Likewise.
31368         (sem_assume_only_signals_cause_futex_EINTR): Likewise.
31369         (do_futex_wait): Use futex wrappers with error checking.
31370         (__new_sem_wait_slow): Update EINTR handling.
31371         * sysdeps/sparc/sparc32/sem_wait.c: Include lowlevellock.h.
31373 2015-07-09  Martin Sebor  <msebor@redhat.com>
31375         [BZ #18435]
31376         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
31377         Revert commit ed225df3ad9cbac3c22ec3f0fbbed1f9c61d1c54.
31378         * nptl/Makefile (test-xfail-tst-once5): Define.
31380 2015-07-09  Roland McGrath  <roland@hack.frob.com>
31382         * include/stdio.h: Add rtld_hidden_proto (__libc_fatal).
31383         * elf/dl-minimal.c: For readability, reorder some definitions and
31384         introduce more page breaks.  Include <stdio.h>.
31385         (__libc_fatal): New function.
31387         * include/unistd.h: Add rtld_hidden_proto for _exit.
31388         * posix/_exit.c: Add rtld_hidden_def.
31389         * sysdeps/mach/hurd/_exit.c: Likewise.
31390         * sysdeps/nacl/_exit.c: Likewise.
31391         * sysdeps/unix/sysv/linux/_exit.c: Likewise.
31392         * sysdeps/unix/sysv/linux/i386/_exit.S: Likewise.
31394 2015-07-09  H.J. Lu  <hongjiu.lu@intel.com>
31396         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Improve
31397         bndmov encoding with zero displacement.
31399 2015-07-09  Igor Zamyatin  <igor.zamyatin@intel.com>
31400             H.J. Lu  <hongjiu.lu@intel.com>
31402         [BZ #18134]
31403         * sysdeps/i386/configure.ac: Set HAVE_MPX_SUPPORT.
31404         * sysdeps/i386/configure: Regenerated.
31405         * sysdeps/i386/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
31406         (_dl_runtime_profile): Save and restore Intel MPX return bound
31407         registers when calling _dl_call_pltexit.  Add
31408         PRESERVE_BND_REGS_PREFIX before return.
31409         * sysdeps/i386/link-defines.sym (LRV_BND0_OFFSET): New.
31410         (LRV_BND1_OFFSET): Likewise.
31411         * sysdeps/x86/bits/link.h (La_i86_retval): Add lrv_bnd0 and
31412         lrv_bnd1.
31413         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix
31414         typo in bndmov encoding.
31415         * sysdeps/x86_64/dl-trampoline.h: Properly save and restore
31416         Intel MPX bound registers.  Add PRESERVE_BND_REGS_PREFIX before
31417         branch instructions to preserve bounds.
31419 2015-07-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31421         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist
31422         [GLIBC_2.22]: Add fmemopen.
31424 2015-07-09  Samuel Thibault  <samuel.thibault@ens-lyon.org>
31426         * sysdeps/mach/hurd/mlock.c (mlock): When __get_privileged_ports
31427         returns an error, also try to use host port from __mach_host_self for
31428         the __vm_wire call.
31429         * sysdeps/mach/hurd/munlock.c (munlock): Likewise.
31431 2015-07-09  Szabolcs Nagy  <szabolcs.nagy@arm.com>
31433         [BZ #18400]
31434         [BZ #18648]
31435         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h (struct elf_prpsinfo):
31436         Fix pr_uid and pr_gid members.
31437         * sysdeps/unix/sysv/linux/aarch64/sys/ucontext.h (greg_t): Change the
31438         definition to elf_greg_t.
31440 2015-07-08  Roland McGrath  <roland@hack.frob.com>
31442         [BZ #18383]
31443         * sysdeps/arm/configure.ac (libc_cv_arm_tpoff_addend): New check.
31444         Emit test-xfail-tst-tlsalign{,-static}=yes if it fails.
31445         * sysdeps/arm/configure: Regenerated.
31446         * elf/Makefile (test-xfail-tst-tlsalign): Variable removed.
31447         (test-xfail-tst-tlsalign-static): Variable removed.
31449         * Makerules (do-install-so): Use $(LN_S) rather than explicit 'ln -s'.
31450         * elf/Makefile ($(objpfx)$(rtld-installed-name)): Use $(make-link)
31451         rather than explicit 'ln -s'.
31453         * resolv/rpc/netdb.h: New file.
31454         * resolv/Makefile [sunrpc not in $(subdirs)] (headers): Add it.
31456 2015-07-08  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
31458         * stdio-common/tst-fmemopen2.c (do_test): Add test for NULL and zero
31459         length buffers.
31460         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
31461         test-skeleton.c.
31463         [BZ #6544]
31464         [BZ #11216]
31465         [BZ #12836]
31466         [BZ #13151]
31467         [BZ #13152]
31468         [BZ #14292]
31469         * include/stdio.h (fmemopen): Remove hidden prototype.
31470         (__fmemopen): Add new hidden prototype.
31471         * libio/Makefile: Add oldfmemopen object.
31472         * libio/Versions [GLIBC_2.22]: Add new fmemopen symbol.
31473         * libio/fmemopen.c (__fmemopen): Function rewrite to be POSIX
31474         compliance.
31475         * libio/oldfmemopen.c: New file: old fmemopen implementation for
31476         symbol compatibility.
31477         * stdio-common/Makefile [tests]: Add new tst-fmemopen3.
31478         * stdio-common/psiginfo.c [psiginfo]: Call __fmemopen instead of
31479         fmemopen.
31480         * stdio-common/tst-fmemopen3.c: New file: more fmemopen tests, focus
31481         on append and read mode.
31482         * sysdeps/unix/sysv/linux/aarch64/libc.abilist [GLIBC_2.22]: Add
31483         fmemopen.
31484         * sysdeps/unix/sysv/linux/alpha/libc.abilist [GLIBC_2.22]: Likewise.
31485         * sysdeps/unix/sysv/linux/arm/libc.abilist [GLIBC_2.22]: Likewise.
31486         * sysdeps/unix/sysv/linux/i386/libc.abilist [GLIBC_2.22]: Likewise.
31487         * sysdeps/unix/sysv/linux/ia64/libc.abilist [GLIBC_2.22]:
31488         Likewise.
31489         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist
31490         [GLIBC_2.22]: Likewise.
31491         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist [GLIBC_2.22]:
31492         Likewise.
31493         * sysdeps/unix/sysv/linux/microblaze/libc.abilist [GLIBC_2.22]:
31494         Likewise.
31495         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist
31496         [GLIBC_2.22]: Likewise.
31497         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist
31498         [GLIBC_2.22]: Likewise.
31499         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist
31500         [GLIBC_2.22]: Likewise.
31501         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist
31502         [GLIBC_2.22]: Likewise.
31503         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist
31504         [GLIBC_2.22]: Likewise.
31505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist
31506         [GLIBC_2.22]: Likewise.
31507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist
31508         [GLIBC_2.22]: Likewise.
31509         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist [GLIBC_2.22]:
31510         Likewise.
31511         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist [GLIBC_2.22]:
31512         Likewise.
31513         * sysdeps/unix/sysv/linux/sh/libc.abilist [GLIBC_2.22]: Likewise.
31514         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist
31515         [GLIBC_2.22]: Likewise.
31516         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist
31517         [GLIBC_2.22]: Likewise.
31518         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist
31519         [GLIBC_2.22]: Likewise.
31520         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist
31521         [GLIBC_2.22]: Likewise.
31522         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist [GLIBC_2.22]:
31523         Likewise.
31524         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist [GLIBC_2.22]:
31525         Likewise.
31526         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist [GLIBC_2.22]:
31527         Likewise.
31528         * sysdeps/unix/sysv/linux/hppa/libc.abilist [GLIBC_2.22]: Likewise.
31529         * sysdeps/unix/sysv/linux/nios2/libc.abilist [GLIBC_2.22]: Likewise.
31531 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
31533         [BZ #18643]
31534         * sysdeps/unix/sysv/linux/bits/in.h: Define IPV6_RECVPATHMTU,
31535         IPV6_PATHMTU, and IPV6_DONTFRAG.
31537 2015-07-08  Feng Gao  <gfree.wind@gmail.com>
31539         * libio/fileops.c: Use "|" instead of "+" when combine _IO_LINE_BUF
31540         and _IO_UNBUFFERED.
31541         * libio/oldfileops.c: Likewise.
31542         * libio/wfileops.c: Likewise.
31544 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
31546         * nscd/selinux.c: Delete selinux/flask.h include.
31548 2015-07-08  Mike Frysinger  <vapier@gentoo.org>
31550         [BZ #18641]
31551         * pwd/pwd.h (fgetpwent): Add __nonnull markings.
31552         (putpwent): Likewise.
31553         (getpwnam): Likewise.
31554         (getpwent_r): Likewise.
31555         (getpwuid_r): Likewise.
31556         (getpwnam_r): Likewise.
31557         (fgetpwent_r): Likewise.
31559 2015-07-08  Carlos O'Donell  <carlos@redhat.com>
31561         [BZ #18557]
31562         * inet/rcmd.c (__validuser2_sa): Check user first to
31563         short-circuit host check.
31565 2015-07-07  Pavel Kopyl  <p.kopyl@samsung.com>
31566             Mikhail Ilin  <m.ilin@samsung.com>
31568         [BZ #17833]
31569         * elf/Makefile (tests): Add tst-nodelete.
31570         (modules-names): Add tst-nodelete-uniquemod.
31571         (tst-nodelete-uniquemod.so-no-z-defs): New.
31572         (tst-nodelete-rtldmod.so-no-z-defs): Likewise.
31573         (tst-nodelete-zmod.so-no-z-defs): Likewise.
31574         ($(objpfx)tst-nodelete): Likewise.
31575         ($(objpfx)tst-nodelete.out): Likewise.
31576         (LDFLAGS-tst-nodelete): Likewise.
31577         (LDFLAGS-tst-nodelete-zmod.so): Likewise.
31578         * elf/dl-close.c (_dl_close_worker): Add a parameter to
31579         implement forced object deletion.
31580         (_dl_close): Pass false to _dl_close_worker.
31581         * elf/dl-open.c (_dl_open): Pass true to _dl_close_worker.
31582         * elf/tst-nodelete.cc: New file.
31583         * elf/tst-nodeletelib.cc: Likewise.
31584         * elf/tst-znodeletelib.cc: Likewise.
31585         * include/dlfcn.h (_dl_close_worker): Add a new parameter.
31587 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
31589         [BZ #18508]
31590         * stdlib/Makefile ($(objpfx)tst-makecontext3):
31591         Depend on $(libdl).
31592         * stdlib/tst-makecontext.c (cf): Test if _Unwind_Backtrace
31593         is not called infinitely times.
31594         (backtrace_helper): New function.
31595         (trace_arg): New struct.
31596         (st1): Enlarge stack size.
31597         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
31598         (__makecontext_ret): Omit cfi_startproc and cfi_endproc.
31599         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
31600         Likewise.
31602 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
31604         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
31606 2015-07-07  Stefan Liebler  <stli@linux.vnet.ibm.com>
31608         * sysdeps/unix/sysv/linux/s390/bits/sem.h:
31609         Include sys/types.h instead of bits/types.h.
31610         Remove inclusion of bits/wordsize.h.
31612 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
31614         * sysdeps/x86_64/tst-auditmod10b.c (la_symbind32): New.
31615         * sysdeps/x86_64/tst-auditmod4b.c (la_symbind32): Likewise.
31616         * sysdeps/x86_64/tst-auditmod5b.c (la_symbind32): Likewise.
31617         * sysdeps/x86_64/tst-auditmod6b.c (la_symbind32): Likewise.
31618         * sysdeps/x86_64/tst-auditmod6c.c (la_symbind32): Likewise.
31619         * sysdeps/x86_64/tst-auditmod7b.c (la_symbind32): Likewise.
31621 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
31623         * sysdeps/i386/Makefile (gen-as-const-headers)[elf]: Add
31624         link-defines.sym.
31625         * sysdeps/i386/dl-trampoline.S: Include <link-defines.h>.
31626         (_dl_runtime_profile): Use LONG_DOUBLE_SIZE, LRV_SIZE,
31627         LRV_EAX_OFFSET, LRV_EDX_OFFSET, LRV_ST0_OFFSET, LRV_ST1_OFFSET
31628         and LR_SIZE.
31629         * sysdeps/i386/link-defines.sym: New file.
31631 2015-07-07  H.J. Lu  <hongjiu.lu@intel.com>
31633         * sysdeps/i386/Makefile (tests)[elf]: Add tst-audit3.
31634         (modules-names): Add tst-auditmod3a tst-auditmod3b.
31635         ($(objpfx)tst-audit3): New rule.
31636         ($(objpfx)tst-audit3.out): Likewise.
31637         * sysdeps/i386/tst-audit3.c: New file.
31638         * sysdeps/i386/tst-audit3.h: Likewise.
31639         * sysdeps/i386/tst-auditmod3a.c: Likewise.
31640         * sysdeps/i386/tst-auditmod3b.c: Likewise.
31642 2015-07-07  Torvald Riegel  <triegel@redhat.com>
31644         [BZ #18633]
31645         * sysdeps/x86/bits/string.h (__memmove_g): Do not create invalid
31646         pointer in C code.
31647         (__strcat_c): Likewise.
31648         (__strcat_g): Likewise.
31650 2015-07-07  Cyril Hrubis <chrubis@suse.cz>
31652         [BZ #18592]
31653         * misc/sbrk.c: Set errno to ENOMEM on overflow.
31655 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
31657         * sysdeps/aarch64/fpu/math_private.h (__ieee754_sqrt):
31658         New function.  (__ieee754_sqrtf): New function.
31659         * sysdeps/aarch64/fpu/e_sqrt.c (__ieee754_sqrt):
31660         New function.
31661         * sysdeps/aarch64/fpu/e_sqrtf.c (__ieee754_sqrtf):
31662         New function.
31664 2015-07-06  Wilco Dijkstra  <wdijkstr@arm.com>
31666         * sysdeps/ieee754/support.c: Remove unused file.
31668 2015-07-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
31670         * sysdeps/unix/sysv/linux/aarch64/getcontext.S (__getcontext): Use q
31671         registers instead of d ones so the layout is kernel abi compatible.
31672         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext): Likewise.
31673         * sysdeps/unix/sysv/linux/aarch64/swapcontext.S (__swapcontext):
31674         Likewise.
31676 2015-07-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
31678         * sysdeps/aarch64/libm-test-ulps: Regenerated.
31680 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
31682         [BZ #18619]
31683         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Force underflow
31684         and return argument in case of subnormal argument.
31686 2015-07-01  Martin Sebor  <msebor@redhat.com>
31688         [BZ #18435]
31689         * nptl/Makefile: Add tst-once5.cc.
31690         * nptl/pthreadP.h (pthread_cleanup_push, pthread_cleanup_pop):
31691         Remove macro redefinitions.
31692         * nptl/tst-once5.cc: New test.
31694 2015-07-01  Joseph Myers  <joseph@codesourcery.com>
31696         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
31698         * sysdeps/arm/libm-test-ulps: Regenerated.
31700         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
31701         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
31703 2015-06-30  Torvald Riegel  <triegel@redhat.com>
31705         * nptl/DESIGN-systemtap-probes.txt: Remove lll_lock_wait,
31706         lll_lock_wait_private and lll_futex_wake probes.
31708         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (BUSY_WAIT_NOP): Remove.
31709         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (BUSY_WAIT_NOP):
31710         Likewise.
31711         * sysdeps/i386/i486/bits/atomic.h (atomic_delay): Rename to
31712         atomic_spin_nop.
31713         * sysdeps/x86_64/bits/atomic.h: Likewise.
31714         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h (BUSY_WAIT_NOP): Rename
31715         to atomic_spin_nop and move ...
31716         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_spin_nop):
31717         ... here and ...
31718         * sysdeps/sparc/sparc64/bits/atomic.h: ... here.
31719         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock): Use
31720         atomic_spin_nop instead of BUSY_WAIT_NOP.
31721         * nptl/pthread_mutex_timedlock.c (__pthread_mutex_timedlock):
31722         Likewise.
31723         * sysdeps/nacl/lll_timedwait_tid.c (__lll_timedwait_tid): Likewise.
31724         * sysdeps/nacl/lowlevellock.h (BUSY_WAIT_NOP): Remove.
31725         (lll_wait_tid): Use atomic_spin_nop instead of BUSY_WAIT_NOP.
31726         * nscd/nscd-client.h (__nscd_acquire_maplock): Use atomic_spin_nop
31727         instead of atomic_delay.
31729 2015-06-29  Joseph Myers  <joseph@codesourcery.com>
31731         [BZ #18613]
31732         * sysdeps/ieee754/dbl-64/e_gamma_r.c (gamma_positive): Take log of
31733         X_ADJ not X when adjusting exponent.
31734         (__ieee754_gamma_r): Do intermediate computations in
31735         round-to-nearest then adjust overflowing and underflowing results
31736         as needed.
31737         * sysdeps/ieee754/flt-32/e_gammaf_r.c (gammaf_positive): Take log
31738         of X_ADJ not X when adjusting exponent.
31739         (__ieee754_gammaf_r): Do intermediate computations in
31740         round-to-nearest then adjust overflowing and underflowing results
31741         as needed.
31742         * sysdeps/ieee754/ldbl-128/e_gammal_r.c (gammal_positive): Take
31743         log of X_ADJ not X when adjusting exponent.
31744         (__ieee754_gammal_r): Do intermediate computations in
31745         round-to-nearest then adjust overflowing and underflowing results
31746         as needed.  Use 1.0L not 1.0f as numerator of division.
31747         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (gammal_positive): Take
31748         log of X_ADJ not X when adjusting exponent.
31749         (__ieee754_gammal_r): Do intermediate computations in
31750         round-to-nearest then adjust overflowing and underflowing results
31751         as needed.  Use 1.0L not 1.0f as numerator of division.
31752         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (gammal_positive): Take log
31753         of X_ADJ not X when adjusting exponent.
31754         (__ieee754_gammal_r): Do intermediate computations in
31755         round-to-nearest then adjust overflowing and underflowing results
31756         as needed.  Use 1.0L not 1.0f as numerator of division.
31757         * math/libm-test.inc (tgamma_test_data): Remove one test.  Moved
31758         to auto-libm-test-in.
31759         (tgamma_test): Use ALL_RM_TEST.
31760         * math/auto-libm-test-in: Add one test of tgamma.  Mark some other
31761         tests of tgamma with spurious-overflow.
31762         * math/auto-libm-test-out: Regenerated.
31763         * math/gen-libm-have-vector-test.sh: Do not check for START.
31764         * sysdeps/i386/fpu/libm-test-ulps: Update.
31765         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31767         [BZ #18612]
31768         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): For small
31769         arguments, just return 0.5 times the argument, with underflow
31770         forced as needed.
31771         * math/auto-libm-test-in: Add more tests of j1.
31772         * math/auto-libm-test-out: Regenerated.
31774         [BZ #16559]
31775         * sysdeps/ieee754/dbl-64/e_j1.c: Include <float.h>.
31776         (__ieee754_j1): Force underflow exception for small results.
31777         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Likewise.
31778         * sysdeps/ieee754/flt-32/e_j1f.c: Include <float.h>.
31779         (__ieee754_j1f): Force underflow exception for small results.
31780         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
31781         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
31782         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
31783         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <float.h>.
31784         (__ieee754_j1l): Force underflow exception for small results.
31785         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
31786         * math/auto-libm-test-in: Add more tests of j1 and jn.
31787         * math/auto-libm-test-out: Regenerated.
31789         * sysdeps/unix/sysv/linux/bits/in.h (IP_CHECKSUM): New macro.
31790         * sysdeps/unix/sysv/linux/bits/socket.h (PF_IB): Likewise.
31791         (PF_MPLS): Likewise.
31792         (AF_IB): Likewise.
31793         (AF_MPLS): Likewise.
31794         * sysdeps/unix/sysv/linux/sys/mount.h (MS_LAZYTIME): New enum
31795         value and macro.
31796         (MS_RMT_MASK): Include MS_LAZYTIME.
31798 2015-06-26  Mel Gorman  <mgorman@suse.de>
31800         [BZ #18502]
31801         * malloc/arena.c (heap_trim): Don't try to shrink a heap that is
31802         already minimal.
31804 2015-06-26  Matthew Fortune  <matthew.fortune@imgtec.com>
31806         * elf/elf.h (DT_MIPS_RLD_MAP_REL): New macro.
31807         (DT_MIPS_NUM): Update.
31808         * sysdeps/mips/dl-machine.h (ELF_MACHINE_DEBUG_SETUP): Handle
31809         DT_MIPS_RLD_MAP_REL.
31811 2015-06-25  Joseph Myers  <joseph@codesourcery.com>
31813         [BZ #16559]
31814         [BZ #18602]
31815         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn): Set
31816         round-to-nearest internally then recompute results that
31817         underflowed to zero in the original rounding mode.
31818         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Likewise.
31819         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_jnl): Likewise.
31820         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
31821         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl): Likewise.
31822         * math/libm-test.inc (jn_test): Use ALL_RM_TEST.
31823         * sysdeps/i386/fpu/libm-test-ulps: Update.
31824         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
31826 2015-06-25  Andrew Senkevich  <andrew.senkevich@intel.com>
31828         * NEWS: Fixed description of link with vector math library.
31830 2015-06-25  Andreas Schwab  <schwab@suse.de>
31832         [BZ #18549]
31833         * libio/fmemopen.c (fmemopen_write): Fix bounds check for ENOSPC.
31834         * libio/test-fmemopen.c (do_test): Add test for it.
31836 2015-06-25  H.J. Lu  <hongjiu.lu@intel.com>
31838         [BZ #17841]
31839         * Makeconfig (no-pie-ldflag): New.
31840         (+link): Set to $(+link-pie) if default to PIE.
31841         (+link-tests): Set to $(+link-pie-tests) if default to PIE.
31842         * config.make.in (build-pie-default): New.
31843         * configure.ac (libc_cv_pie_default): New.  Set to yes if -fPIE
31844         is default.  AC_SUBST.
31845         * configure: Regenerated.
31846         * elf/Makefile (LDFLAGS-tst-dlopen-aout): New.
31848 2015-06-24  Roland McGrath  <roland@hack.frob.com>
31850         * nptl/descr.h (struct pthread): Change type of field setxid_futex
31851         to 'unsigned int'.
31853         * resolv/gai_misc.h (struct waitlist): Change type of field
31854         counterp to 'volatile unsigned int *'.
31855         * sysdeps/nptl/gai_misc.h (GAI_MISC_WAIT): Use unsigned types for
31856         FUTEXADDR and OLDVAL.
31857         * resolv/getaddrinfo_a.c (getaddrinfo_a):
31858         Give local variable TOTAL type 'volatile unsigned int'.
31859         (struct async_waitlist): Change type of field counter to 'unsigned int'.
31860         * resolv/gai_suspend.c (gai_suspend):
31861         Give local variable CNTR type 'unsigned int'.
31863         * sysdeps/pthread/aio_misc.h (struct waitlist): Change type of field
31864         counterp to 'volatile unsigned int *'.
31865         * sysdeps/pthread/aio_suspend.c [DONT_NEED_AIO_MISC_COND]
31866         (do_aio_misc_wait): Give argument CNTR type 'unsigned int *'.
31867         (aio_suspend): Give local variable CNTR type 'unsigned int'.
31868         * sysdeps/pthread/lio_listio.c (lio_listio_internal):
31869         Give local variable TOTAL type 'volatile unsigned int'.
31870         (struct async_waitlist): Change type of field counter to 'unsigned int'.
31872 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
31874         [BZ #18383]
31875         * csu/libc-tls.c (__libc_setup_tls) [TLS_TCB_AT_TP]: Align
31876         TCB_OFFSET to MAX_ALIGN, not just TCBALIGN.  Add comment.
31877         * elf/Makefile (test-xfail-tst-tlsalign{,-static}): Remove
31878         comment for i386/x86-64.
31879         (test-xfail-tst-tlsalign-extern-static): Removed.
31881 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
31883         * math/test-double.h: New file.
31884         * math/test-float.h: Likewise.
31885         * math/test-ldouble.h: Likewise.
31886         * math/test-math-inline.h: Likewise.
31887         * math/test-math-no-inline.h: Likewise.
31888         * math/test-math-scalar.h: Likewise.
31889         * math/test-math-vector.h: Likewise.
31890         * math/test-vec-loop.h: Remove file.  Contents moved into
31891         test-math-vector.h.
31892         * math/libm-test.inc (MATHCONST): Do not document macro.
31893         * math/test-double.c: Include test-double.h, test-math-no-inline.h
31894         and test-math-scalar.h.
31895         (FUNC): Remove macro.
31896         (FUNC_TEST): Likewise.
31897         (FLOAT): Likewise.
31898         (MATHCONST): Likewise.
31899         (PRINTF_EXPR): Likewise.
31900         (PRINTF_XEXPR): Likewise.
31901         (PRINTF_NEXPR): Likewise.
31902         (TEST_DOUBLE): Likewise.
31903         (TEST_MATHVEC): Likewise.
31904         (__NO_MATH_INLINES): Likewise.
31905         * math/test-float.c: Include test-float.h, test-math-no-inline.h
31906         and test-math-scalar.h.
31907         (FUNC): Remove macro.
31908         (FUNC_TEST): Likewise.
31909         (FLOAT): Likewise.
31910         (MATHCONST): Likewise.
31911         (PRINTF_EXPR): Likewise.
31912         (PRINTF_XEXPR): Likewise.
31913         (PRINTF_NEXPR): Likewise.
31914         (TEST_FLOAT): Likewise.
31915         (TEST_MATHVEC): Likewise.
31916         (__NO_MATH_INLINES): Likewise.
31917         * math/test-idouble.c: Include test-double.h, test-math-inline.h
31918         and test-math-scalar.h.
31919         (FUNC): Remove macro.
31920         (FUNC_TEST): Likewise.
31921         (FLOAT): Likewise.
31922         (MATHCONST): Likewise.
31923         (PRINTF_EXPR): Likewise.
31924         (PRINTF_XEXPR): Likewise.
31925         (PRINTF_NEXPR): Likewise.
31926         (TEST_DOUBLE): Likewise.
31927         (TEST_MATHVEC): Likewise.
31928         (TEST_INLINE): Likewise.
31929         (__NO_MATH_INLINES): Likewise.
31930         * math/test-ifloat.c: Include test-float.h, test-math-inline.h and
31931         test-math-scalar.h.
31932         (FUNC): Remove macro.
31933         (FUNC_TEST): Likewise.
31934         (FLOAT): Likewise.
31935         (MATHCONST): Likewise.
31936         (PRINTF_EXPR): Likewise.
31937         (PRINTF_XEXPR): Likewise.
31938         (PRINTF_NEXPR): Likewise.
31939         (TEST_FLOAT): Likewise.
31940         (TEST_MATHVEC): Likewise.
31941         (TEST_INLINE): Likewise.
31942         (__NO_MATH_INLINES): Likewise.
31943         * math/test-ildoubl.c: Include test-ldouble.h, test-math-inline.h
31944         and test-math-scalar.h.
31945         (FUNC): Remove macro.
31946         (FUNC_TEST): Likewise.
31947         (FLOAT): Likewise.
31948         (MATHCONST): Likewise.
31949         (PRINTF_EXPR): Likewise.
31950         (PRINTF_XEXPR): Likewise.
31951         (PRINTF_NEXPR): Likewise.
31952         (TEST_LDOUBLE): Likewise.
31953         (TEST_MATHVEC): Likewise.
31954         (TEST_INLINE): Likewise.
31955         (__NO_MATH_INLINES): Likewise.
31956         * math/test-ldouble.c: Include test-ldouble.h,
31957         test-math-no-inline.h and test-math-scalar.h.
31958         (FUNC): Remove macro.
31959         (FUNC_TEST): Likewise.
31960         (FLOAT): Likewise.
31961         (MATHCONST): Likewise.
31962         (PRINTF_EXPR): Likewise.
31963         (PRINTF_XEXPR): Likewise.
31964         (PRINTF_NEXPR): Likewise.
31965         (TEST_LDOUBLE): Likewise.
31966         (TEST_MATHVEC): Likewise.
31967         (__NO_MATH_INLINES): Likewise.
31968         * math/test-double-vlen2.h: Include test-double.h,
31969         test-math-no-inline.h and test-math-vector.h.
31970         (FLOAT): Remove macro.
31971         (FUNC): Likewise.
31972         (MATHCONST): Likewise.
31973         (PRINTF_EXPR): Likewise.
31974         (PRINTF_XEXPR): Likewise.
31975         (PRINTF_NEXPR): Likewise.
31976         (TEST_DOUBLE): Likewise.
31977         (TEST_MATHVEC): Likewise.
31978         (__NO_MATH_INLINES): Likewise.
31979         (CNCT): Likewise.
31980         (CONCAT): Likewise.
31981         (WRAPPER_NAME): Likewise.
31982         (WRAPPER_DECL): Likewise.
31983         (WRAPPER_DECL_ff): Likewise.
31984         (WRAPPER_DECL_fFF): Likewise.
31985         (VECTOR_WRAPPER): Likewise.
31986         (VECTOR_WRAPPER_ff): Likewise.
31987         (VECTOR_WRAPPER_fFF): Likewise.
31988         (VEC_LEN): New macro.
31989         * math/test-double-vlen4.h: Include test-double.h,
31990         test-math-no-inline.h and test-math-vector.h.
31991         (FLOAT): Remove macro.
31992         (FUNC): Likewise.
31993         (MATHCONST): Likewise.
31994         (PRINTF_EXPR): Likewise.
31995         (PRINTF_XEXPR): Likewise.
31996         (PRINTF_NEXPR): Likewise.
31997         (TEST_DOUBLE): Likewise.
31998         (TEST_MATHVEC): Likewise.
31999         (__NO_MATH_INLINES): Likewise.
32000         (CNCT): Likewise.
32001         (CONCAT): Likewise.
32002         (WRAPPER_NAME): Likewise.
32003         (WRAPPER_DECL): Likewise.
32004         (WRAPPER_DECL_ff): Likewise.
32005         (WRAPPER_DECL_fFF): Likewise.
32006         (VECTOR_WRAPPER): Likewise.
32007         (VECTOR_WRAPPER_ff): Likewise.
32008         (VECTOR_WRAPPER_fFF): Likewise.
32009         (VEC_LEN): New macro.
32010         * math/test-double-vlen8.h: Include test-double.h,
32011         test-math-no-inline.h and test-math-vector.h.
32012         (FLOAT): Remove macro.
32013         (FUNC): Likewise.
32014         (MATHCONST): Likewise.
32015         (PRINTF_EXPR): Likewise.
32016         (PRINTF_XEXPR): Likewise.
32017         (PRINTF_NEXPR): Likewise.
32018         (TEST_DOUBLE): Likewise.
32019         (TEST_MATHVEC): Likewise.
32020         (__NO_MATH_INLINES): Likewise.
32021         (CNCT): Likewise.
32022         (CONCAT): Likewise.
32023         (WRAPPER_NAME): Likewise.
32024         (WRAPPER_DECL): Likewise.
32025         (WRAPPER_DECL_ff): Likewise.
32026         (WRAPPER_DECL_fFF): Likewise.
32027         (VECTOR_WRAPPER): Likewise.
32028         (VECTOR_WRAPPER_ff): Likewise.
32029         (VECTOR_WRAPPER_fFF): Likewise.
32030         (VEC_LEN): New macro.
32031         * math/test-float-vlen4.h: Include test-float.h,
32032         test-math-no-inline.h and test-math-vector.h.
32033         (FLOAT): Remove macro.
32034         (FUNC): Likewise.
32035         (MATHCONST): Likewise.
32036         (PRINTF_EXPR): Likewise.
32037         (PRINTF_XEXPR): Likewise.
32038         (PRINTF_NEXPR): Likewise.
32039         (TEST_FLOAT): Likewise.
32040         (TEST_MATHVEC): Likewise.
32041         (__NO_MATH_INLINES): Likewise.
32042         (CNCT): Likewise.
32043         (CONCAT): Likewise.
32044         (WRAPPER_NAME): Likewise.
32045         (WRAPPER_DECL): Likewise.
32046         (WRAPPER_DECL_ff): Likewise.
32047         (WRAPPER_DECL_fFF): Likewise.
32048         (VECTOR_WRAPPER): Likewise.
32049         (VECTOR_WRAPPER_ff): Likewise.
32050         (VECTOR_WRAPPER_fFF): Likewise.
32051         (VEC_LEN): New macro.
32052         * math/test-float-vlen8.h: Include test-float.h,
32053         test-math-no-inline.h and test-math-vector.h.
32054         (FLOAT): Remove macro.
32055         (FUNC): Likewise.
32056         (MATHCONST): Likewise.
32057         (PRINTF_EXPR): Likewise.
32058         (PRINTF_XEXPR): Likewise.
32059         (PRINTF_NEXPR): Likewise.
32060         (TEST_FLOAT): Likewise.
32061         (TEST_MATHVEC): Likewise.
32062         (__NO_MATH_INLINES): Likewise.
32063         (CNCT): Likewise.
32064         (CONCAT): Likewise.
32065         (WRAPPER_NAME): Likewise.
32066         (WRAPPER_DECL): Likewise.
32067         (WRAPPER_DECL_ff): Likewise.
32068         (WRAPPER_DECL_fFF): Likewise.
32069         (VECTOR_WRAPPER): Likewise.
32070         (VECTOR_WRAPPER_ff): Likewise.
32071         (VECTOR_WRAPPER_fFF): Likewise.
32072         (VEC_LEN): New macro.
32073         * math/test-float-vlen16.h: Include test-float.h,
32074         test-math-no-inline.h and test-math-vector.h.
32075         (FLOAT): Remove macro.
32076         (FUNC): Likewise.
32077         (MATHCONST): Likewise.
32078         (PRINTF_EXPR): Likewise.
32079         (PRINTF_XEXPR): Likewise.
32080         (PRINTF_NEXPR): Likewise.
32081         (TEST_FLOAT): Likewise.
32082         (TEST_MATHVEC): Likewise.
32083         (__NO_MATH_INLINES): Likewise.
32084         (CNCT): Likewise.
32085         (CONCAT): Likewise.
32086         (WRAPPER_NAME): Likewise.
32087         (WRAPPER_DECL): Likewise.
32088         (WRAPPER_DECL_ff): Likewise.
32089         (WRAPPER_DECL_fFF): Likewise.
32090         (VECTOR_WRAPPER): Likewise.
32091         (VECTOR_WRAPPER_ff): Likewise.
32092         (VECTOR_WRAPPER_fFF): Likewise.
32093         (VEC_LEN): New macro.
32094         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Do not include
32095         test-vec-loop.h.
32096         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
32097         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
32098         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
32099         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
32100         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
32101         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
32102         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
32104 2015-06-24  Roland McGrath  <roland@hack.frob.com>
32106         * sysdeps/nacl/glob.c (getlogin_r): Macro renamed to ...
32107         (__getlogin_r): ... this.
32109 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
32111         [BZ #18594]
32112         * math/s_ccosh.c (__ccosh): Compare with least normal value
32113         instead of comparing class with FP_SUBNORMAL.
32114         * math/s_ccoshf.c (__ccoshf): Likewise.
32115         * math/s_ccoshl.c (__ccoshl): Likewise.
32116         * math/s_cexp.c (__cexp): Likewise.
32117         * math/s_cexpf.c (__cexpf): Likewise.
32118         * math/s_cexpl.c (__cexpl): Likewise.
32119         * math/s_csin.c (__csin): Likewise.
32120         * math/s_csinf.c (__csinf): Likewise.
32121         * math/s_csinh.c (__csinh): Likewise.
32122         * math/s_csinhf.c (__csinhf): Likewise.
32123         * math/s_csinhl.c (__csinhl): Likewise.
32124         * math/s_csinl.c (__csinl): Likewise.
32125         * math/s_ctan.c (__ctan): Likewise.
32126         * math/s_ctanf.c (__ctanf): Likewise.
32127         * math/s_ctanh.c (__ctanh): Likewise.
32128         * math/s_ctanhf.c (__ctanhf): Likewise.
32129         * math/s_ctanhl.c (__ctanhl): Likewise.
32130         * math/s_ctanl.c (__ctanl): Likewise.
32131         * math/auto-libm-test-in: Add more tests of ccos, ccosh, cexp,
32132         csin, csinh, ctan and ctanh.
32133         * math/auto-libm-test-out: Regenerated.
32134         * math/libm-test.inc (cexp_test): Use ALL_RM_TEST.
32135         * sysdeps/i386/fpu/libm-test-ulps: Update.
32136         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
32138 2015-06-24  Roland McGrath  <roland@hack.frob.com>
32140         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): When sched_getcpu
32141         return value is wrong, print the expected value too.
32143 2015-06-24  H.J. Lu  <hongjiu.lu@intel.com>
32145         [BZ #18585]
32146         * elf/readlib.c (is_gdb_python_file): New.
32147         (process_file): Don't issue errors on filenames with -gdb.py
32148         suffix.
32150 2015-06-24  Joseph Myers  <joseph@codesourcery.com>
32152         * math/auto-libm-test-in: Add more tests of csin and csinh.
32153         * math/auto-libm-test-out: Regenerated.
32154         * math/libm-test.inc (csin_test_data): Remove tests moved to
32155         auto-libm-test-in.
32156         (csinh_test_data): Likewise.
32158         [BZ #18593]
32159         * math/s_csin.c (__csin): Negate before rather than after possibly
32160         overflowing multiplication.
32161         * math/s_csinf.c (__csinf): Likewise.
32162         * math/s_csinh.c (__csinh): Likewise.
32163         * math/s_csinhf.c (__csinhf): Likewise.
32164         * math/s_csinhl.c (__csinhl): Likewise.
32165         * math/s_csinl.c (__csinl): Likewise.
32166         * math/auto-libm-test-in: Add some tests of csin and csinh.
32167         * math/auto-libm-test-out: Regenerated.
32168         * math/libm-test.inc (csin_test_data): Use AUTO_TESTS_c_c.
32169         (csinh_test_data): Likewise.
32170         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
32172         [BZ #18586]
32173         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Force
32174         underflow exception for small results.
32176 2015-06-24  Andrew Senkevich  <andrew.senkevich@intel.com>
32178         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
32179         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: Renamed
32180         variable and included header.
32181         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: Likewise.
32182         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: Likewise.
32183         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: Likewise.
32184         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: Likewise.
32185         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: Likewise.
32186         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S: Likewise.
32187         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S: Likewise.
32188         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S: Likewise.
32189         * sysdeps/x86_64/fpu/svml_s_trig_data.S: New file.
32190         * sysdeps/x86_64/fpu/svml_s_trig_data.h: Likewise.
32191         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: Removed file.
32192         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: Likewise.
32193         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: Likewise.
32194         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: Likewise.
32195         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: Likewise.
32196         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: Likewise.
32198 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
32200         [BZ #16526]
32201         [BZ #16538]
32202         * sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
32203         (__sin): Force underflow exception for arguments with small
32204         absolute value.
32205         * sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
32206         (__kernel_sinf): Force underflow exception for arguments with
32207         small absolute value.
32208         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
32209         (__kernel_sincosl): Force underflow exception for arguments with
32210         small absolute value.
32211         * sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
32212         (__kernel_sinl): Force underflow exception for arguments with
32213         small absolute value.
32214         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
32215         (__kernel_sincosl): Force underflow exception for arguments with
32216         small absolute value.
32217         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
32218         (__kernel_sinl): Force underflow exception for arguments with
32219         small absolute value.
32220         * sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
32221         (__kernel_sinl): Force underflow exception for arguments with
32222         small absolute value.
32223         * sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
32224         (__kernel_sinf): Force underflow exception for arguments with
32225         small absolute value.
32226         * math/auto-libm-test-in: Add more tests of sin and sincos.
32227         * math/auto-libm-test-out: Regenerated.
32229         [BZ #18245]
32230         [BZ #18583]
32231         * sysdeps/ieee754/k_standardl.c: Include <fenv.h>.
32232         (__kernel_standard_l): Use feholdexcept and fesetenv around
32233         conversion to double instead of special-casing overflow and
32234         underflow.
32235         * math/libm-test.inc (fmod_test_data): Add more tests.
32236         (remainder_test_data): Likewise.
32237         (sqrt_test_data): Likewise.
32239 2015-06-23  Torvald Riegel  <triegel@redhat.com>
32241         [BZ #17403]
32242         * sysdeps/x86_64/bits/atomic.h: (atomic_full_barrier,
32243         atomic_read_barrier, atomic_write_barrier): Define.
32244         * sysdeps/i386/i486/bits/atomic.h (atomic_full_barrier,
32245         atomic_read_barrier, atomic_write_barrier): Define.
32247 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
32249         * math/Makefile [$(PERL) != no]
32250         ($(addprefix $(objpfx), $(addsuffix .o, $(libm-vec-tests)))): Move
32251         dependency on libm-test.stmp below the inclusion of Rules.
32253 2015-06-23  Andrew Senkevich  <andrew.senkevich@intel.com>
32255         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Fixed files list.
32256         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: Renamed variable
32257         and included header.
32258         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: Likewise.
32259         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: Likewise.
32260         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: Likewise.
32261         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: Likewise.
32262         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: Likewise.
32263         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: Likewise.
32264         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: Likewise.
32265         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: Likewise.
32266         * sysdeps/x86_64/fpu/svml_d_trig_data.S: New file.
32267         * sysdeps/x86_64/fpu/svml_d_trig_data.h: Likewise.
32268         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: Removed unneeded include.
32269         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: Likewise.
32270         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: Likewise.
32271         * sysdeps/x86_64/fpu/svml_d_cos_data.S: Removed file.
32272         * sysdeps/x86_64/fpu/svml_d_cos_data.h: Likewise.
32273         * sysdeps/x86_64/fpu/svml_d_sin_data.S: Likewise.
32274         * sysdeps/x86_64/fpu/svml_d_sin_data.h: Likewise.
32275         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: Likewise.
32276         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: Likewise.
32278 2015-06-23  Joseph Myers  <joseph@codesourcery.com>
32280         [BZ #18371]
32281         * math/s_csqrt.c (__csqrt): Avoid multiplication by 0.5 where
32282         intermediate but not final result might underflow.
32283         * math/s_csqrtf.c (__csqrtf): Likewise.
32284         * math/s_csqrtl.c (__csqrtl): Likewise.
32285         * math/auto-libm-test-in: Add more tests of csqrt.
32286         * math/auto-libm-test-out: Regenerated.
32287         * sysdeps/i386/fpu/libm-test-ulps: Update.
32289         [BZ #18219]
32290         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Reduce
32291         threshold on absolute value of exponent for which scaling is used.
32292         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
32293         * math/auto-libm-test-in: Add more tests of exp2.
32294         * math/auto-libm-test-out: Regenerated.
32296 2015-06-23  Dmitry V. Levin  <ldv@altlinux.org>
32298         [BZ #17977]
32299         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix unlocking
32300         when initializing interface list, based on the bug analysis
32301         and the patch proposed by Eric Newton.
32302         * resolv/tst-res_hconf_reorder.c: New test.
32303         * resolv/Makefile [$(have-thread-library) = yes] (tests): Add
32304         tst-res_hconf_reorder.
32305         ($(objpfx)tst-res_hconf_reorder): Depend on $(libdl)
32306         and $(shared-thread-library).
32307         (tst-res_hconf_reorder-ENV): New variable.
32309         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix typo
32310         in comment.
32312 2015-06-22  Joseph Myers  <joseph@codesourcery.com>
32314         [BZ #16353]
32315         * sysdeps/i386/fpu/s_expm1.S (dbl_min): New object.
32316         (__expm1): Force underflow exception for arguments with small
32317         absolute value.
32318         * sysdeps/i386/fpu/s_expm1f.S (flt_min): New object.
32319         (__expm1f): Force underflow exception for arguments with small
32320         absolute value.
32321         * sysdeps/ieee754/dbl-64/s_expm1.c: Include <float.h>.
32322         (__expm1): Force underflow exception for arguments with small
32323         absolute value.
32324         * sysdeps/ieee754/flt-32/s_expm1f.c: Include <float.h>.
32325         (__expm1f): Force underflow exception for arguments with small
32326         absolute value.
32327         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
32328         Check for small arguments before calling __expm1.
32329         * math/auto-libm-test-in: Do not mark underflow exceptions as
32330         possibly missing for bug 16353.
32331         * math/auto-libm-test-out: Regenerated.
32333 2015-06-22  Andreas Schwab  <schwab@suse.de>
32335         [BZ #18513]
32336         * resolv/nss_dns/dns-host.c (getanswer_r): Record TTL also for
32337         PTR queries.
32339 2015-06-22  Leonhard Holz  <leonhard.holz@web.de>
32341         * string/strcoll_l.c (STRCOLL): Remove unnecessary memset.
32343         * string/strcoll_l.c: Remove unused struct element idxnow.
32345 2015-06-21  Joseph Myers  <joseph@codesourcery.com>
32347         [BZ #18569]
32348         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Force
32349         underflow and return argument in case of subnormal argument.
32350         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
32351         Likewise.
32352         * math/auto-libm-test-in: Add more tests of expm1.
32353         * math/auto-libm-test-out: Regenerated.
32355         [BZ #16361]
32356         * sysdeps/i386/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
32357         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
32358         tiny results.
32359         * sysdeps/x86_64/fpu/e_expl.S [!USE_AS_EXPM1L] (cmin): New object.
32360         (IEEE754_EXPL) [!USE_AS_EXPM1L]: Force underflow exception for
32361         tiny results.
32362         * math/auto-libm-test-in: Add more tests of exp and exp10.  Do not
32363         mark underflow exceptions as possibly missing for bug 16361.
32364         * math/auto-libm-test-out: Regenerated.
32366 2015-06-19  Joseph Myers  <joseph@codesourcery.com>
32368         * conform/data/sys/select.h-data [XOPEN2K8] (pselect): Expect.
32369         * conform/Makefile (test-xfail-XOPEN2K8/sys/select.h/conform):
32370         Remove variable.
32371         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
32372         (test-xfail-XOPEN2K8/utmpx.h/conform).
32374         * conform/conformtest.pl ($xerrors): New variable.
32375         (note_error): New function.
32376         (compiletest): New argument $xfail.  Use not_error.
32377         (runtest): Likewise.
32378         (top level): Handle xfail- lines.  Update calls to compiletest and
32379         runtest.  Handle xfail- and optional- in headers listed with
32380         allow-header.
32381         * conform/data/fcntl.h-data (O_TTY_INIT): Use xfail-.
32382         (O_EXEC): Likewise.
32383         (O_SEARCH): Likewise.
32384         * conform/data/stropts.h-data (ioctl): Likewise.
32385         * conform/data/sys/ipc.h-data (ipc_perm.mode): Likewise.
32386         * conform/data/sys/sem.h-data (semid_ds.sem_nsems): Likewise.
32387         * conform/data/sys/socket.h-data (msghdr.msg_iovlen): Likewise.
32388         (msghdr.msg_controllen): Likewise.
32389         (cmsghdr.cmsg_len): Likewise.
32390         * conform/data/utmpx.h-data (utmpx.ut_tv): Likewise.
32391         * conform/Makefile (test-xfail-XPG3/sys/ipc.h/conform): Remove
32392         variable.
32393         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
32394         (test-xfail-XPG4/stropts.h/conform): Likewise.
32395         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
32396         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
32397         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
32398         (test-xfail-UNIX98/stropts.h/conform): Likewise.
32399         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
32400         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
32401         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
32402         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
32403         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
32404         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
32405         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
32406         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
32407         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
32408         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
32409         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
32410         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
32411         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
32412         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
32413         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
32415 2015-06-19  Andrew Senkevich  <andrew.senkevich@intel.com>
32417         * sysdeps/ieee754/ldbl-opt/s_sin.c (__DECL_SIMD_sincos_disable,
32418         __DECL_SIMD_sincos_disablef, __DECL_SIMD_sincos_disablel): Added empty
32419         definitions for proper unfolding of __MATHDECL_VEC.
32421 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
32423         * benchtests/bench-strcoll.c:
32424         Include string.h.
32425         (main): Remove unused variable res.
32427 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
32429         * timezone/Makefile (%/UTC %/Universal):
32430         Generate test-result files for UTC and Universal.
32432 2015-06-19  Stefan Liebler  <stli@linux.vnet.ibm.com>
32434         * sysdeps/s390/fpu/libm-test-ulps: Regenerated.
32436 2015-06-18  Joseph Myers  <joseph@codesourcery.com>
32438         [BZ #16350]
32439         * sysdeps/i386/fpu/s_asinh.S (__asinh): Force underflow exception
32440         for arguments with small absolute value.
32441         * sysdeps/i386/fpu/s_asinhf.S (__asinhf): Likewise.
32442         * sysdeps/i386/fpu/s_asinhl.S (__asinhl): Likewise.
32443         * sysdeps/ieee754/dbl-64/s_asinh.c: Include <float.h>.
32444         (__asinh): Force underflow exception for arguments with small
32445         absolute value.
32446         * sysdeps/ieee754/flt-32/s_asinhf.c: Include <float.h>.
32447         (__asinhf): Force underflow exception for arguments with small
32448         absolute value.
32449         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Include <float.h>.
32450         (__asinhl): Force underflow exception for arguments with small
32451         absolute value.
32452         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Include <float.h>.
32453         (__asinhl): Force underflow exception for arguments with small
32454         absolute value.
32455         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Include <float.h>.
32456         (__asinhl): Force underflow exception for arguments with small
32457         absolute value.
32458         * math/auto-libm-test-in: Do not mark underflow exceptions as
32459         possibly missing for bug 16350.
32460         * math/auto-libm-test-out: Regenerated.
32462         * include/bits/ipc.h: Remove file.
32463         * conform/Makefile (test-xfail-XPG3/sys/msg.h/conform): Remove
32464         variable.
32465         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
32466         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
32467         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
32468         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
32469         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
32470         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
32471         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
32472         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
32473         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
32475         * math/auto-libm-test-in: Remove spurious underflow allowance for
32476         tests of cexp.
32477         * math/auto-libm-test-out: Regenerated.
32479         [BZ #18558]
32480         * sysdeps/unix/sysv/linux/bits/in.h (MCAST_JOIN_GROUP): Remove
32481         unconditional definition.
32482         (MCAST_BLOCK_SOURCE): Likewise.
32483         (MCAST_UNBLOCK_SOURCE): Likewise.
32484         (MCAST_LEAVE_GROUP): Likewise.
32485         (MCAST_JOIN_SOURCE_GROUP): Likewise.
32486         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
32487         (MCAST_MSFILTER): Likewise.
32488         * conform/Makefile (test-xfail-XOPEN2K/arpa/inet.h/conform):
32489         Remove variable.
32490         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
32491         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
32492         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
32493         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
32494         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
32496 2015-06-18  Andrew Senkevich  <andrew.senkevich@intel.com>
32498         * NEWS: Mention addition of x86_64 vector sincosf.
32499         * math/test-float-vlen16.h: Added wrapper for sincosf tests.
32500         * math/test-float-vlen4.h: Likewise.
32501         * math/test-float-vlen8.h: Likewise.
32502         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
32503         * sysdeps/x86/fpu/bits/math-vector.h: Added sincosf SIMD declaration.
32504         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
32505         * sysdeps/x86_64/fpu/Versions: New versions added.
32506         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32507         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
32508         Added build of SSE, AVX2 and AVX512 IFUNC versions.
32509         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core.S
32510         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf16_core_avx512.S
32511         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core.S
32512         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf4_core_sse4.S
32513         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core.S
32514         * sysdeps/x86_64/fpu/multiarch/svml_s_sincosf8_core_avx2.S
32515         * sysdeps/x86_64/fpu/svml_s_sincosf16_core.S
32516         * sysdeps/x86_64/fpu/svml_s_sincosf4_core.S
32517         * sysdeps/x86_64/fpu/svml_s_sincosf8_core.S
32518         * sysdeps/x86_64/fpu/svml_s_sincosf8_core_avx.S
32519         * sysdeps/x86_64/fpu/svml_s_sincosf_data.S: New file.
32520         * sysdeps/x86_64/fpu/svml_s_sincosf_data.h: New file.
32521         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 3 argument wrappers.
32522         * sysdeps/x86_64/fpu/test-float-vlen16.c: : Vector sincosf tests.
32523         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Likewise.
32524         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
32525         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
32526         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
32527         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
32528         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
32529         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
32531         * NEWS: Mention addition of x86_64 vector sincos.
32532         * bits/libm-simd-decl-stubs.h: Added stubs for sincos.
32533         * math/math.h (__MATHDECL_VEC): New macro.
32534         * math/bits/mathcalls.h: Added sincos declaration with __MATHDECL_VEC.
32535         * math/gen-libm-have-vector-test.sh: Added generation of sincos wrapper
32536         declaration under condition.
32537         * math/test-vec-loop.h (TEST_VEC_LOOP): Refactored.
32538         * math/test-double-vlen2.h: Added wrapper for sincos tests, reflected
32539         TEST_VEC_LOOP change.
32540         * math/test-double-vlen4.h: Likewise.
32541         * math/test-double-vlen8.h: Likewise.
32542         * math/test-float-vlen16.h: Reflected TEST_VEC_LOOP change.
32543         * math/test-float-vlen4.h: Likewise.
32544         * math/test-float-vlen8.h: Likewise.
32545         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
32546         * sysdeps/x86/fpu/bits/math-vector.h: Added sincos SIMD declaration.
32547         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
32548         * sysdeps/x86_64/fpu/Versions: New versions added.
32549         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32550         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
32551         Added build of SSE, AVX2 and AVX512 IFUNC versions.
32552         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core.S: New file.
32553         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos2_core_sse4.S: New file.
32554         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core.S: New file.
32555         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos4_core_avx2.S: New file.
32556         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core.S: New file.
32557         * sysdeps/x86_64/fpu/multiarch/svml_d_sincos8_core_avx512.S: New file.
32558         * sysdeps/x86_64/fpu/svml_d_sincos2_core.S: New file.
32559         * sysdeps/x86_64/fpu/svml_d_sincos4_core.S: New file.
32560         * sysdeps/x86_64/fpu/svml_d_sincos4_core_avx.S: New file.
32561         * sysdeps/x86_64/fpu/svml_d_sincos8_core.S: New file.
32562         * sysdeps/x86_64/fpu/svml_d_sincos_data.S: New file.
32563         * sysdeps/x86_64/fpu/svml_d_sincos_data.h: New file.
32564         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added wrappers for sincos.
32565         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Vector sincos tests.
32566         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
32567         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
32568         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
32569         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
32570         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
32571         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
32572         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
32574         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
32575         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
32576         redirections for powf.
32577         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
32578         * sysdeps/x86_64/fpu/Versions: New versions added.
32579         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32580         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
32581         Added build of SSE, AVX2 and AVX512 IFUNC versions.
32582         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: Added 2 argument wrappers.
32583         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core.S: New file.
32584         * sysdeps/x86_64/fpu/multiarch/svml_s_powf16_core_avx512.S: New file.
32585         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core.S: New file.
32586         * sysdeps/x86_64/fpu/multiarch/svml_s_powf4_core_sse4.S: New file.
32587         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core.S: New file.
32588         * sysdeps/x86_64/fpu/multiarch/svml_s_powf8_core_avx2.S: New file.
32589         * sysdeps/x86_64/fpu/svml_s_powf16_core.S: New file.
32590         * sysdeps/x86_64/fpu/svml_s_powf4_core.S: New file.
32591         * sysdeps/x86_64/fpu/svml_s_powf8_core.S: New file.
32592         * sysdeps/x86_64/fpu/svml_s_powf8_core_avx.S: New file.
32593         * sysdeps/x86_64/fpu/svml_s_powf_data.S: New file.
32594         * sysdeps/x86_64/fpu/svml_s_powf_data.h: New file.
32595         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector powf tests.
32596         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
32597         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
32598         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
32599         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
32600         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
32601         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
32602         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
32603         * math/test-float-vlen16.h: Fixed 2 argument macro.
32604         * math/test-float-vlen4.h: Likewise.
32605         * math/test-float-vlen8.h: Likewise.
32606         * NEWS: Mention addition of x86_64 vector powf.
32608 2015-06-17  Joseph Myers  <joseph@codesourcery.com>
32610         * math/s_ctanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
32611         and redefine.
32612         * math/s_ctanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
32613         and redefine.
32614         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c: Remove file.
32615         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
32616         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
32618         [BZ #18553]
32619         * resource/getpriority.c (getpriority): Rename to __getpriority
32620         and define as weak alias of __getpriority.
32621         * resource/setpriority.c (setpriority): Rename to __setpriority
32622         and define as weak alias of __setpriority.
32623         * sysdeps/mach/hurd/getpriority.c (getpriority): Rename to
32624         __getpriority and define as weak alias of __getpriority.
32625         * sysdeps/mach/hurd/setpriority.c (setpriority): Rename to
32626         __setpriority and define as weak alias of __setpriority.
32627         * sysdeps/unix/syscalls.list (getpriority): Use __getpriority as
32628         strong name.
32629         (setpriority): Use __setpriority as strong name.
32630         * sysdeps/unix/sysv/linux/getpriority.c (getpriority): Rename to
32631         __getpriority and define as weak alias of __getpriority.
32632         * include/sys/resource.h (__getpriority): Declare.  Use
32633         libc_hidden_proto.
32634         (__setpriority): Likewise.
32635         (getpriority): Don't use libc_hidden_proto.
32636         (setpriority): Likewise.
32637         * sysdeps/posix/nice.c (nice): Call __getpriority instead of
32638         getpriority.  Call __setpriority instead of setpriority.
32639         * conform/Makefile (test-xfail-XPG3/unistd.h/linknamespace):
32640         Remove variable.
32642         [BZ #18547]
32643         * misc/getttyent.c (getttynam): Rename to __getttynam and define
32644         as weak alias of __getttynam.  Use prototype function definition.
32645         Call __setttyent, __getttyent and __endttyent instead of
32646         setttyent, getttyent and endttyent.
32647         (getttyent): Rename to __getttyent and define as weak alias of
32648         __getttyent.  Call __setttyent instead of setttyent.  Call
32649         __fgets_unlocked instead of fgets_unlocked.
32650         (setttyent): Rename to __setttyent and define as weak alias of
32651         __setttyent.
32652         (endttyent): Rename to __endttyent and define as weak alias of
32653         __endttyent.
32654         * include/ttyent.h (__getttyent): Declare.  Use libc_hidden_proto.
32655         (__setttyent): Likewise.
32656         (__endttyent): Likewise.
32657         (getttyent): Don't use libc_hidden_proto.
32658         (setttyent): Likewise.
32659         (endttyent): Likewise.
32660         * misc/ttyslot.c (ttyslot): Call __setttyent, __getttyent and
32661         __endttyent instead of setttyent, getttyent and endttyent.
32662         * conform/Makefile (test-xfail-XPG4/unistd.h/linknamespace):
32663         Remove variable.
32665         [BZ #18546]
32666         * socket/recv.c (__recv): Use libc_hidden_def.
32667         * socket/socket.c (__socket): Likewise.
32668         * sysdeps/mach/hurd/recv.c (__recv): Likewise.
32669         * sysdeps/mach/hurd/socket.c (__socket): Likewise.
32670         * sysdeps/unix/sysv/linux/generic/recv.c (__recv): Likewise.
32671         * sysdeps/unix/sysv/linux/recv.c (__recv): Use libc_hidden_weak.
32672         * sysdeps/unix/sysv/linux/socket.c (__socket): Use
32673         libc_hidden_def.
32674         * sysdeps/unix/sysv/linux/x86_64/recv.c (__recv): Use
32675         libc_hidden_weak.
32676         * include/sys/socket.h (__socket): Do not use attribute_hidden.
32677         Use libc_hidden_proto.
32678         (__recv): Likewise.
32679         * socket/Versions (libc): Export __recv and __socket at version
32680         GLIBC_PRIVATE.
32681         * sysdeps/unix/sysv/linux/mq_notify.c (helper_thread): Call __recv
32682         instead of recv.
32683         (init_mq_netlink): Call __socket instead of socket.
32684         * conform/Makefile (test-xfail-POSIX/mqueue.h/linknamespace):
32685         Remove variable.
32687         [BZ #18545]
32688         * rt/mq_timedreceive.c (mq_timedreceive): Rename to
32689         __mq_timedreceive and define as alias of __mq_timedreceive.  Use
32690         hidden_weak.
32691         * rt/mq_timedsend.c (mq_timedsend): Rename to __mq_timedsend and
32692         define as alias of __mq_timedsend.  Use hidden_weak.
32693         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Use
32694         __mq_timedsend as strong name.
32695         (mq_timedreceive): Use __mq_timedreceive as strong name.
32696         * include/mqueue.h (__mq_timedsend): Declare.  Use hidden_proto.
32697         (__mq_timedreceive): Likewise.
32698         * sysdeps/unix/sysv/linux/mq_receive.c (mq_receive): Call
32699         __mq_timedreceive instead of mq_timedreceive.
32700         * sysdeps/unix/sysv/linux/mq_send.c (mq_send): Call __mq_timedsend
32701         instead of mq_timedsend.
32702         * conform/Makefile (test-xfail-UNIX98/mqueue.h/linknamespace):
32703         Remove variable.
32705         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Use
32706         hidden_def and hidden_weak instead of libc_hidden_def and
32707         libc_hidden_weak.
32708         (top level): Refer to hidden_def in comment.
32709         * sysdeps/unix/syscall-template.S (syscall_hidden_def): New
32710         macro.  Use it instead of libc_hidden_def.
32711         * sysdeps/unix/sysv/linux/syscalls.list (mq_timedsend): Do not
32712         specify __GI_* name explicitly.
32713         (mq_timedreceive): Likewise.
32714         (mq_setattr): Likewise.
32716         [BZ #18544]
32717         * nptl/pthread_barrier_init.c (pthread_barrier_init): Rename to
32718         __pthread_barrier_init and define as weak alias of
32719         __pthread_barrier_init.
32720         * sysdeps/sparc/nptl/pthread_barrier_init.c
32721         (pthread_barrier_init): Likewise.
32722         * nptl/pthread_barrier_wait.c (pthread_barrier_wait): Rename to
32723         __pthread_barrier_wait and define as weak alias of
32724         __pthread_barrier_wait.
32725         * sysdeps/sparc/nptl/pthread_barrier_wait.c
32726         (pthread_barrier_wait): Likewise.
32727         * sysdeps/sparc/sparc32/pthread_barrier_wait.c
32728         (pthread_barrier_wait): Likewise.
32729         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S
32730         (pthread_barrier_wait): Likewise.
32731         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S
32732         (pthread_barrier_wait): Likewise.
32733         * nptl/Versions (libpthread): Export __pthread_barrier_init and
32734         __pthread_barrier_wait at version GLIBC_PRIVATE.
32735         * include/pthread.h (__pthread_barrier_init): Declare.
32736         (__pthread_barrier_wait): Likewise.
32737         * sysdeps/unix/sysv/linux/mq_notify.c (notification_function):
32738         Call __pthread_barrier_wait instead of pthread_barrier_wait.
32739         (helper_thread): Likewise.
32740         (init_mq_netlink): Call __pthread_barrier_init instead of
32741         pthread_barrier_init.
32743         [BZ #18542]
32744         * libio/iovswscanf.c (__vswscanf): Use libc_hidden_def.
32745         (vswscanf): Use ldbl_weak_alias instead of ldbl_strong_alias
32746         * include/wchar.h (__vswscanf): Declare.  Use libc_hidden_proto.
32747         * libio/swscanf.c (__swscanf): Call __vswscanf instead of
32748         vswscanf.
32749         * conform/Makefile (test-xfail-UNIX98/wchar.h/linknamespace):
32750         Remove variable.
32752         [BZ #18540]
32753         * libio/iofflush.c [!_IO_MTSAFE_IO] (__fflush_unlocked): Define as
32754         strong alias of _IO_fflush.  Use libc_hidden_def.
32755         * libio/iofflush_u.c (fflush_unlocked): Rename to
32756         __fflush_unlocked and define as weak alias of __fflush_unlocked.
32757         Use libc_hidden_weak.
32758         * include/stdio.h (__fflush_unlocked): Declare.  Use
32759         libc_hidden_proto.
32760         * misc/getpass.c (getpass): Call __fflush_unlocked instead of
32761         fflush_unlocked.
32762         * conform/Makefile (test-xfail-UNIX98/unistd.h/linknamespace):
32763         Remove variable.
32765         [BZ #18539]
32766         * stdlib/fmtmsg.c (addseverity): Rename to __addseverity and
32767         define as weak alias of __addseverity.
32768         * conform/Makefile (test-xfail-XPG4/fmtmsg.h/linknamespace):
32769         Remove variable.
32770         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
32771         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
32772         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
32774         [BZ #18536]
32775         * misc/tsearch.c (__tsearch): Use libc_hidden_def.
32776         (__tfind): Likewise.
32777         (__tdelete): Likewise.
32778         (__twalk): Likewise.
32779         * misc/Versions (libc): Add __tdelete, __tfind, __tsearch and
32780         __twalk to GLIBC_PRIVATE.
32781         * include/search.h (__tsearch): Use libc_hidden_proto.
32782         (__tfind): Likewise.
32783         (__tdelete): Likewise.
32784         (__twalk): Likewise.
32785         * nptl/sem_close.c (sem_close): Call __twalk instead of twalk.
32786         Call __tdelete instead of tdelete.
32787         * nptl/sem_open.c (check_add_mapping): Call __tfind instead of
32788         tfind.  Call __tsearch instead of tsearch.
32789         * sysdeps/sparc/sparc32/sem_open.c (check_add_mapping): Likewise.
32790         * conform/Makefile (test-xfail-POSIX/semaphore.h/linknamespace):
32791         Remove variable.
32792         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
32794         [BZ #18534]
32795         * stdio-common/dprintf.c (__dprintf): Use libc_hidden_def.
32796         (dprintf): Define as a weak alias of __dprintf, not a strong
32797         alias.
32798         * include/stdio.h (__dprintf): Declare.  Use libc_hidden_proto.
32799         * misc/syslog.c (__vsyslog_chk): Call __dprintf instead of
32800         dprintf.
32801         * conform/Makefile (test-xfail-XPG4/syslog.h/linknamespace):
32802         Remove variable.
32803         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
32804         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
32806         [BZ #18533]
32807         * misc/syslog.c (vsyslog): Define as a weak alias of __vsyslog,
32808         not a strong alias.
32809         * conform/Makefile (test-xfail-XOPEN2K8/syslog.h/linknamespace):
32810         Remove variable.
32812         [BZ #18532]
32813         * inet/in6_addr.c (in6addr_any): Rename to __in6addr_any and
32814         define as weak alias of __in6addr_any.  Use libc_hidden_data_weak.
32815         (in6addr_loopback): Rename to __in6addr_loopback and define as
32816         weak alias of __in6addr_loopback.  Use libc_hidden_data_weak.
32817         * include/netinet/in.h (__in6addr_loopback): Declare.  Use
32818         libc_hidden_proto.
32819         (__in6addr_any): Likewise.
32820         * inet/gethstbyad_r.c (PREPROCESS): Use __in6addr_any instead of
32821         in6addr_any.
32822         * conform/Makefile (test-xfail-XPG4/netdb.h/linknamespace): Remove
32823         variable.
32824         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
32826 2015-06-17  Andrew Senkevich  <andrew.senkevich@intel.com>
32828         * bits/libm-simd-decl-stubs.h: Added stubs for pow.
32829         * math/bits/mathcalls.h: Added pow declaration with __MATHCALL_VEC.
32830         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
32831         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
32832         redirections for pow.
32833         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
32834         * sysdeps/x86_64/fpu/Versions: New versions added.
32835         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32836         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
32837         build of SSE, AVX2 and AVX512 IFUNC versions.
32838         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: Added 2 argument wrappers.
32839         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core.S: New file.
32840         * sysdeps/x86_64/fpu/multiarch/svml_d_pow2_core_sse4.S: New file.
32841         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core.S: New file.
32842         * sysdeps/x86_64/fpu/multiarch/svml_d_pow4_core_avx2.S: New file.
32843         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core.S: New file.
32844         * sysdeps/x86_64/fpu/multiarch/svml_d_pow8_core_avx512.S: New file.
32845         * sysdeps/x86_64/fpu/svml_d_pow2_core.S: New file.
32846         * sysdeps/x86_64/fpu/svml_d_pow4_core.S: New file.
32847         * sysdeps/x86_64/fpu/svml_d_pow4_core_avx.S: New file.
32848         * sysdeps/x86_64/fpu/svml_d_pow8_core.S: New file.
32849         * sysdeps/x86_64/fpu/svml_d_pow_data.S: New file.
32850         * sysdeps/x86_64/fpu/svml_d_pow_data.h: New file.
32851         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector pow test.
32852         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
32853         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
32854         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
32855         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
32856         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
32857         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
32858         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
32859         * NEWS: Mention addition of x86_64 vector pow.
32861         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
32862         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
32863         redirections for expf.
32864         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
32865         * sysdeps/x86_64/fpu/Versions: New versions added.
32866         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32867         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
32868         build of SSE, AVX2 and AVX512 IFUNC versions.
32869         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core.S: New file.
32870         * sysdeps/x86_64/fpu/multiarch/svml_s_expf16_core_avx512.S: New file.
32871         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core.S: New file.
32872         * sysdeps/x86_64/fpu/multiarch/svml_s_expf4_core_sse4.S: New file.
32873         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core.S: New file.
32874         * sysdeps/x86_64/fpu/multiarch/svml_s_expf8_core_avx2.S: New file.
32875         * sysdeps/x86_64/fpu/svml_s_expf16_core.S: New file.
32876         * sysdeps/x86_64/fpu/svml_s_expf4_core.S: New file.
32877         * sysdeps/x86_64/fpu/svml_s_expf8_core.S: New file.
32878         * sysdeps/x86_64/fpu/svml_s_expf8_core_avx.S: New file.
32879         * sysdeps/x86_64/fpu/svml_s_expf_data.S: New file.
32880         * sysdeps/x86_64/fpu/svml_s_expf_data.h: New file.
32881         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector expf tests.
32882         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
32883         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
32884         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
32885         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
32886         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
32887         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
32888         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
32889         * NEWS: Mention addition of x86_64 vector expf.
32891         * bits/libm-simd-decl-stubs.h: Added stubs for exp.
32892         * math/bits/mathcalls.h: Added exp declaration with __MATHCALL_VEC.
32893         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
32894         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
32895         redirections for exp.
32896         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
32897         * sysdeps/x86_64/fpu/Versions: New versions added.
32898         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32899         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
32900         build of SSE, AVX2 and AVX512 IFUNC versions.
32901         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core.S: New file.
32902         * sysdeps/x86_64/fpu/multiarch/svml_d_exp2_core_sse4.S: New file.
32903         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core.S: New file.
32904         * sysdeps/x86_64/fpu/multiarch/svml_d_exp4_core_avx2.S: New file.
32905         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core.S: New file.
32906         * sysdeps/x86_64/fpu/multiarch/svml_d_exp8_core_avx512.S: New file.
32907         * sysdeps/x86_64/fpu/svml_d_exp2_core.S: New file.
32908         * sysdeps/x86_64/fpu/svml_d_exp4_core.S: New file.
32909         * sysdeps/x86_64/fpu/svml_d_exp4_core_avx.S: New file.
32910         * sysdeps/x86_64/fpu/svml_d_exp8_core.S: New file.
32911         * sysdeps/x86_64/fpu/svml_d_exp_data.S: New file.
32912         * sysdeps/x86_64/fpu/svml_d_exp_data.h: New file.
32913         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector exp test.
32914         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
32915         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
32916         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
32917         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
32918         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
32919         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
32920         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
32921         * NEWS: Mention addition of x86_64 vector exp.
32923         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
32924         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
32925         redirections for logf.
32926         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
32927         * sysdeps/x86_64/fpu/Versions: New versions added.
32928         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32929         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
32930         build of SSE, AVX2 and AVX512 IFUNC versions.
32931         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core.S: New file.
32932         * sysdeps/x86_64/fpu/multiarch/svml_s_logf16_core_avx512.S: New file.
32933         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core.S: New file.
32934         * sysdeps/x86_64/fpu/multiarch/svml_s_logf4_core_sse4.S: New file.
32935         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core.S: New file.
32936         * sysdeps/x86_64/fpu/multiarch/svml_s_logf8_core_avx2.S: New file.
32937         * sysdeps/x86_64/fpu/svml_s_logf16_core.S: New file.
32938         * sysdeps/x86_64/fpu/svml_s_logf4_core.S: New file.
32939         * sysdeps/x86_64/fpu/svml_s_logf8_core.S: New file.
32940         * sysdeps/x86_64/fpu/svml_s_logf8_core_avx.S: New file.
32941         * sysdeps/x86_64/fpu/svml_s_logf_data.S: New file.
32942         * sysdeps/x86_64/fpu/svml_s_logf_data.h: New file.
32943         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector logf tests.
32944         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
32945         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
32946         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
32947         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
32948         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
32949         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
32950         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
32951         * NEWS: Mention addition of x86_64 vector logf.
32953         * bits/libm-simd-decl-stubs.h: Added stubs for log.
32954         * math/bits/mathcalls.h: Added log declaration with __MATHCALL_VEC.
32955         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
32956         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration and asm
32957         redirections for log.
32958         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
32959         * sysdeps/x86_64/fpu/Versions: New versions added.
32960         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
32961         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
32962         build of SSE, AVX2 and AVX512 IFUNC versions.
32963         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core.S: New file.
32964         * sysdeps/x86_64/fpu/multiarch/svml_d_log2_core_sse4.S: New file.
32965         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core.S: New file.
32966         * sysdeps/x86_64/fpu/multiarch/svml_d_log4_core_avx2.S: New file.
32967         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core.S: New file.
32968         * sysdeps/x86_64/fpu/multiarch/svml_d_log8_core_avx512.S: New file.
32969         * sysdeps/x86_64/fpu/svml_d_log2_core.S: New file.
32970         * sysdeps/x86_64/fpu/svml_d_log4_core.S: New file.
32971         * sysdeps/x86_64/fpu/svml_d_log4_core_avx.S: New file.
32972         * sysdeps/x86_64/fpu/svml_d_log8_core.S: New file.
32973         * sysdeps/x86_64/fpu/svml_d_log_data.S: New file.
32974         * sysdeps/x86_64/fpu/svml_d_log_data.h: New file.
32975         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector log
32976         test.
32977         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
32978         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
32979         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
32980         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
32981         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
32982         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
32983         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
32984         * NEWS: Mention addition of x86_64 vector log.
32986 2015-06-17  Szabolcs Nagy  <szabolcs.nagy@arm.com>
32988         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Fix
32989         cfi_adjust_cfa_offset argument.
32990         (_dl_tlsdesc_undefweak, _dl_tlsdesc_dynamic): Likewise.
32991         (_dl_tlsdesc_resolve_rela, _dl_tlsdesc_resolve_hold): Likewise.
32993         [BZ #18034]
32994         * sysdeps/aarch64/dl-tlsdesc.h (_dl_tlsdesc_return_lazy): Declare.
32995         * sysdeps/aarch64/dl-tlsdesc.S (_dl_tlsdesc_return_lazy): Define.
32996         (_dl_tlsdesc_undefweak): Guarantee TLSDESC entry and argument load-load
32997         ordering using ldar.
32998         (_dl_tlsdesc_dynamic): Likewise.
32999         (_dl_tlsdesc_return_lazy): Likewise.
33000         * sysdeps/aarch64/tlsdesc.c (_dl_tlsdesc_resolve_rela_fixup): Use
33001         relaxed atomics instead of volatile and synchronize with release store.
33002         (_dl_tlsdesc_resolve_hold_fixup): Use relaxed atomics instead of
33003         volatile.
33004         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
33006 2015-06-15  Andrew Senkevich  <andrew.senkevich@intel.com>
33008         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New symbols added.
33009         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for sinf.
33010         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
33011         * sysdeps/x86_64/fpu/Versions: New versions added.
33012         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
33013         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines): Added
33014         build of SSE, AVX2 and AVX512 IFUNC versions.
33015         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core.S: New file.
33016         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf16_core_avx512.S: New file.
33017         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core.S: New file.
33018         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf4_core_sse4.S: New file.
33019         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core.S: New file.
33020         * sysdeps/x86_64/fpu/multiarch/svml_s_sinf8_core_avx2.S: New file.
33021         * sysdeps/x86_64/fpu/svml_s_sinf16_core.S: New file.
33022         * sysdeps/x86_64/fpu/svml_s_sinf4_core.S: New file.
33023         * sysdeps/x86_64/fpu/svml_s_sinf8_core.S: New file.
33024         * sysdeps/x86_64/fpu/svml_s_sinf8_core_avx.S: New file.
33025         * sysdeps/x86_64/fpu/svml_s_sinf_data.S: New file.
33026         * sysdeps/x86_64/fpu/svml_s_sinf_data.h: New file.
33027         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: Vector sinf tests.
33028         * sysdeps/x86_64/fpu/test-float-vlen16.c: Likewise.
33029         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: Likewise.
33030         * sysdeps/x86_64/fpu/test-float-vlen4.c: Likewise.
33031         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: Likewise.
33032         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: Likewise.
33033         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: Likewise.
33034         * sysdeps/x86_64/fpu/test-float-vlen8.c: Likewise.
33035         * NEWS: Mention addition of x86_64 vector sinf.
33037 2015-06-14  Joseph Myers  <joseph@codesourcery.com>
33039         * conform/list-header-symbols.pl (%extra_syms): Add in6addr_any
33040         and in6addr_loopback for XOPEN2K, XOPEN2K8 and POSIX2008.
33041         * conform/Makefile (test-xfail-XOPEN2K/netdb.h/linknamespace):
33042         Remove variable.
33043         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
33044         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
33046 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
33048         [BZ #18530]
33049         * libio/iofputs.c [!_IO_MTSAFE_IO] (__fputs_unlocked): Define as
33050         strong alias of _IO_fputs.  Use libc_hidden_def.
33051         * libio/iofputs_u.c (fputs_unlocked): Rename to __fputs_unlocked
33052         and define as weak alias of __fputs_unlocked.  Use
33053         libc_hidden_weak.
33054         * include/stdio.h (__fputs_unlocked): Declare.  Use
33055         libc_hidden_proto.
33056         * misc/syslog.c (__vsyslog_chk): Call __fputs_unlocked instead of
33057         fputs_unlocked.
33059         [BZ #18529]
33060         * resolv/netdb.h [__USE_POSIX]: Change condition to
33061         [__USE_XOPEN2K].
33062         * conform/data/netdb.h-data [XPG4 || UNIX98] (struct addrinfo): Do
33063         not expect.
33064         [XPG4 || UNIX98] (AI_PASSIVE): Likewise.
33065         [XPG4 || UNIX98] (AI_CANONNAME): Likewise.
33066         [XPG4 || UNIX98] (AI_NUMERICHOST): Likewise.
33067         [XPG4 || UNIX98] (AI_V4MAPPED): Likewise.
33068         [XPG4 || UNIX98] (AI_ALL): Likewise.
33069         [XPG4 || UNIX98] (AI_ADDRCONFIG): Likewise.
33070         [XPG4 || UNIX98] (AI_NUMERICSERV): Likewise.
33071         [XPG4 || UNIX98] (NI_NOFQDN): Likewise.
33072         [XPG4 || UNIX98] (NI_NUMERICHOST): Likewise.
33073         [XPG4 || UNIX98] (NI_NAMEREQD): Likewise.
33074         [XPG4 || UNIX98] (NI_NUMERICSERV): Likewise.
33075         [XPG4 || UNIX98] (NI_DGRAM): Likewise.
33076         [XPG4 || UNIX98] (EAI_AGAIN): Likewise.
33077         [XPG4 || UNIX98] (EAI_BADFLAGS): Likewise.
33078         [XPG4 || UNIX98] (EAI_FAIL): Likewise.
33079         [XPG4 || UNIX98] (EAI_FAMILY): Likewise.
33080         [XPG4 || UNIX98] (EAI_MEMORY): Likewise.
33081         [XPG4 || UNIX98] (EAI_NONAME): Likewise.
33082         [XPG4 || UNIX98] (EAI_SERVICE): Likewise.
33083         [XPG4 || UNIX98] (EAI_SOCKTYPE): Likewise.
33084         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
33085         [XPG4 || UNIX98] (EAI_SYSTEM): Likewise.
33086         [XPG4 || UNIX98] (freeaddrinfo): Likewise.
33087         [XPG4 || UNIX98] (gai_strerror): Likewise.
33088         [XPG4 || UNIX98] (getaddrinfo): Likewise.
33089         [XPG4 || UNIX98] (getnameinfo): Likewise.
33091         [BZ #18528]
33092         * grp/grp.h (endgrent): Condition on [__USE_MISC ||
33093         __USE_XOPEN_EXTENDED], not [__USE_XOPEN_EXTENDED ||
33094         __USE_XOPEN2K8].
33095         (getgrent): Likewise.
33096         * conform/data/grp.h-data [XPG3 || POSIX2008] (getgrent): Do not
33097         expect.
33098         [XPG3 || POSIX2008] (endgrent): Likewise.
33099         [XPG3] (setgrent): Likewise.
33100         * conform/Makefile (test-xfail-XPG3/grp.h/conform): Remove
33101         variable.
33102         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
33104         [BZ #18527]
33105         * login/getlogin_r.c (getlogin_r): Rename to __getlogin_r and
33106         define as weak alias of __getlogin_r.  Use libc_hidden_weak.
33107         * sysdeps/mach/hurd/getlogin_r.c (getlogin_r): Likewise.
33108         * sysdeps/unix/getlogin_r.c (getlogin_r): Likewise.
33109         * sysdeps/unix/sysv/linux/getlogin_r.c (getlogin_r): Likewise.
33110         * include/unistd.h (__getlogin_r): Declare.  Use
33111         libc_hidden_proto.
33112         * posix/glob.c (glob): Call __getlogin_r instead of getlogin_r.
33113         * conform/Makefile (test-xfail-XPG3/glob.h/linknamespace): Remove
33114         variable.
33115         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
33116         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
33117         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
33119 2015-06-12  Martin Sebor  <msebor@redhat.com>
33121         [BZ #18512]
33122         * Makerules (check-install-supported): New target.
33123         (install): Add check-install-supported as a dependency.
33124         * manual/install.texi (Installing the C Library): Document
33125         that overriding prefix and exec_prefix is not supported.
33126         Mention DESTDIR.
33127         * INSTALL: Regenerate from the above.
33129 2015-06-12  Joseph Myers  <joseph@codesourcery.com>
33131         [BZ #18519]
33132         * posix/Versions (libc): Export __libc_pread at version
33133         GLIBC_PRIVATE.
33134         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Call __libc_pread
33135         instead of pread.
33136         * conform/Makefile (test-xfail-POSIX/aio.h/linknamespace): Remove
33137         variable.
33139         [BZ #18522]
33140         * misc/efgcvt_r.c
33141         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0) && !LONG_DOUBLE_CVT]
33142         (cvt_symbol): Use weak_alias instead of strong_alias.
33143         [LONG_DOUBLE_COMPAT (libc, GLIBC_2_0)] (cvt_symbol): Likewise.
33144         * conform/Makefile (test-xfail-XPG4/stdlib.h/linknamespace):
33145         Remove variable.
33146         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
33147         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
33149         [BZ #18520]
33150         * inet/herrno.c (h_errno): Rename to __h_errno.
33151         (__libc_h_errno): Define as alias of __h_errno not h_errno.
33152         * include/netdb.h [IS_IN_LIB && !IS_IN (libc)] (h_errno): Define
33153         to __h_errno instead of h_errno.
33154         * nptl/herrno.c (h_errno): Rename to __h_errno.
33155         (__h_errno_location): Refer to __h_errno not h_errno.
33156         * resolv/Versions (h_errno): Rename to __h_errno.
33157         * conform/Makefile (test-xfail-XOPEN2K8/grp.h/linknamespace):
33158         Remove variable.
33159         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
33161 2015-06-11  Andrew Senkevich  <andrew.senkevich@intel.com>
33163         * configure.ac: More strict check for AVX512 assembler support.
33164         * configure: Regenerated.
33166         * bits/libm-simd-decl-stubs.h: Added stubs for sin.
33167         * math/bits/mathcalls.h: Added sin declaration with __MATHCALL_VEC.
33168         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
33169         * sysdeps/x86/fpu/bits/math-vector.h: SIMD declaration for sin.
33170         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
33171         * sysdeps/x86_64/fpu/Versions: New versions added.
33172         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
33173         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
33174         Added build of SSE, AVX2 and AVX512 IFUNC versions.
33175         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core.S: New file.
33176         * sysdeps/x86_64/fpu/multiarch/svml_d_sin2_core_sse4.S: New file.
33177         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core.S: New file.
33178         * sysdeps/x86_64/fpu/multiarch/svml_d_sin4_core_avx2.S: New file.
33179         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core.S: New file.
33180         * sysdeps/x86_64/fpu/multiarch/svml_d_sin8_core_avx512.S: New file.
33181         * sysdeps/x86_64/fpu/svml_d_sin2_core.S: New file.
33182         * sysdeps/x86_64/fpu/svml_d_sin4_core.S: New file.
33183         * sysdeps/x86_64/fpu/svml_d_sin4_core_avx.S: New file.
33184         * sysdeps/x86_64/fpu/svml_d_sin8_core.S: New file.
33185         * sysdeps/x86_64/fpu/svml_d_sin_data.S: New file.
33186         * sysdeps/x86_64/fpu/svml_d_sin_data.h: New file.
33187         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: Added vector sin
33188         test.
33189         * sysdeps/x86_64/fpu/test-double-vlen2.c: Likewise.
33190         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: Likewise.
33191         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: Likewise.
33192         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: Likewise.
33193         * sysdeps/x86_64/fpu/test-double-vlen4.c: Likewise.
33194         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: Likewise.
33195         * sysdeps/x86_64/fpu/test-double-vlen8.c: Likewise.
33196         * NEWS: Mention addition of x86_64 vector sin.
33198 2015-06-11  Florian Weimer  <fweimer@redhat.com>
33200         * nptl/pthread_key_create.c (__pthread_key_create): Fix typo in
33201         comment.
33203 2015-06-10  Gleb Fotengauer-Malinovskiy  <glebfm@altlinux.org>
33205         [BZ #18479]
33206         * nptl/pt-interp.c: New file.
33207         * nptl/Makefile (libpthread-routines, libpthread-shared-only-routines):
33208         Add pt-interp.
33209         [[$(build-shared) = yes] ($(objpfx)pt-interp.os): Depend on
33210         $(common-objpfx)runtime-linker.h.
33212 2015-06-10  Dmitry V. Levin  <ldv@altlinux.org>
33214         * Makeconfig (+interp): Remove unused variable.
33215         * elf/Makefile ($(objpfx)interp.os): Define for [$(build-shared) = yes]
33216         only.  Depend on $(common-objpfx)runtime-linker.h instead of
33217         $(elf-objpfx)runtime-linker.h.
33218         ($(elf-objpfx)runtime-linker.h): Rename to
33219         $(common-objpfx)runtime-linker.h and move ...
33220         * Makerules [$(build-shared) = yes]: ... here.
33221         * elf/interp.c: Include <runtime-linker.h> instead of
33222         <elf/runtime-linker.h>.
33224 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33226         * sysdeps/unix/sysv/linux/i386/gettimeofday.c
33227         (__gettimeofday_syscall): Remove vsyscall fallback.
33228         * sysdeps/unix/sysv/linux/i386/time.c (__time_syscall): Likewise.
33229         * sysdeps/unix/sysv/linux/x86/gettimeofday.c (__gettimeofday_syscall):
33230         Add syscall fallback function.
33231         (gettimeofday_ifunc): Use __gettimeofday_syscall as fallback mechanism
33232         if vDSO is not present.
33233         * sysdeps/unix/sysv/linux/x86/time.c (__time_syscall): Add syscall
33234         fallback function.
33235         (time_ifunc): Use __time_syscall as fallback mechanism if vDSO is not
33236         present.
33237         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Remove file.
33238         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
33240 2015-06-09  Joseph Myers  <joseph@codesourcery.com>
33242         [BZ #18497]
33243         * wcsmbs/wcscmp.c [!WCSCMP] (WCSCMP): Define as __wcscmp instead
33244         of wcscmp.
33245         (wcscmp): Define as weak alias of WCSCMP.
33246         * wcsmbs/wcscoll.c (STRCOLL): Define as __wcscoll instead of
33247         wcscoll.
33248         (USE_HIDDEN_DEF): Define.
33249         [!USE_IN_EXTENDED_LOCALE_MODEL] (wcscoll): Define as weak alias of
33250         __wcscoll.  Don't use libc_hidden_weak.
33251         * wcsmbs/wcscoll_l.c (STRCMP): Define as __wcscmp instead of
33252         wcscmp.
33253         * sysdeps/i386/i686/multiarch/wcscmp-c.c
33254         [SHARED] (libc_hidden_def): Define __GI___wcscmp instead of
33255         __GI_wcscmp.
33256         (weak_alias): Undefine and redefine.
33257         * sysdeps/i386/i686/multiarch/wcscmp.S (wcscmp): Rename to
33258         __wcscmp and define as weak alias of __wcscmp.
33259         * sysdeps/x86_64/wcscmp.S (wcscmp): Likewise.
33260         * include/wchar.h (__wcscmp): Declare.  Use libc_hidden_proto.
33261         (__wcscoll): Likewise.
33262         (wcscmp): Don't use libc_hidden_proto.
33263         (wcscoll): Likewise.
33264         * posix/regcomp.c (build_range_exp): Call __wcscoll instead of
33265         wcscoll.
33266         * posix/regexec.c (check_node_accept_bytes): Likewise.
33267         * conform/Makefile (test-xfail-XPG3/regex.h/linknamespace): Remove
33268         variable.
33269         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
33270         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
33272         [BZ #18507]
33273         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs): Rename to
33274         __fstatvfs and define as weak alias of __fstatvfs.  Use
33275         libc_hidden_weak.
33276         * sysdeps/unix/sysv/linux/statvfs.c (statvs): Rename to __statvfs
33277         and define as weak alias of __statvfs.  Use libc_hidden_weak.
33278         * sysdeps/unix/sysv/linux/wordsize-64/fstatvfs.c (__fstatvfs64):
33279         Define as alias of __fstatvfs, not fstatvfs.
33280         (fstatvfs64): Likewise.
33281         * sysdeps/unix/sysv/linux/wordsize-64/statvfs.c (__statvfs64):
33282         Define as alias of __statvfs, not statvfs.
33283         (statvfs64): Likewise.
33284         * conform/Makefile (test-xfail-POSIX/unistd.h/linknamespace):
33285         Remove variable.
33287 2015-06-09  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
33290         (HAVE_GETCPU_VSYSCALL): Define.
33291         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
33292         (HAVE_GETCPU_VSYSCALL): Likewise.
33293         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Remove file.
33294         * sysdeps/unix/sysv/linux/sched_getcpu.c
33295         (HAVE_VSYSCALL) [HAVE_GETCPU_VSYSCALL]: Define.
33296         (sched_getcpu): Use INLINE_VSYSCALL instead of INLINE_SYSCALL.
33297         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (getcpu): Add vDSO
33298         prototype.
33299         * sysdeps/unix/sysv/linux/x86_64/init-first.c
33300         (__vdso_platform_setup): Remove vsyscall getcpu fallback.
33301         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Remove file.
33302         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (HAVE_GETCPU_VSYSCALL):
33303         Define.
33304         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: Remove file.
33305         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
33306         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c: Likewise.
33307         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
33309 2015-06-09  Andrew Senkevich  <andrew.senkevich@intel.com>
33311         * sysdeps/x86_64/fpu/Makefile: New file.
33312         * sysdeps/x86_64/fpu/Versions: New file.
33313         * sysdeps/x86_64/fpu/svml_d_cos_data.S: New file.
33314         * sysdeps/x86_64/fpu/svml_d_cos_data.h: New file.
33315         * sysdeps/x86_64/fpu/svml_d_cos2_core.S: New file.
33316         * sysdeps/x86_64/fpu/svml_d_cos4_core.S: New file.
33317         * sysdeps/x86_64/fpu/svml_d_cos4_core_avx.S: New file.
33318         * sysdeps/x86_64/fpu/svml_d_cos8_core.S: New file.
33319         * sysdeps/x86_64/fpu/svml_d_wrapper_impl.h: New file.
33320         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core.S: New file.
33321         * sysdeps/x86_64/fpu/multiarch/svml_d_cos2_core_sse4.S: New file.
33322         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core.S: New file.
33323         * sysdeps/x86_64/fpu/multiarch/svml_d_cos4_core_avx2.S: New file.
33324         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core.S: New file.
33325         * sysdeps/x86_64/fpu/multiarch/svml_d_cos8_core_avx512.S: New file.
33326         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
33327         Added build of SSE, AVX2 and AVX512 IFUNC versions.
33328         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cos.
33329         * math/bits/mathcalls.h: Added cos declaration with __MATHCALL_VEC.
33330         * sysdeps/x86_64/configure.ac: Options for libmvec build.
33331         * sysdeps/x86_64/configure: Regenerated.
33332         * sysdeps/x86_64/sysdep.h (cfi_offset_rel_rsp): New macro.
33333         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New file.
33334         * manual/install.texi (Configuring and compiling): Document
33335         --disable-mathvec.
33336         * INSTALL: Regenerated.
33337         * NEWS: Mention addition of libmvec and x86_64 vector cos.
33339         * math/Makefile: Added rules for vector tests.
33340         * math/gen-libm-have-vector-test.sh: Added generation of wrapper
33341         declaration under condition.
33342         * math/test-double-vlen2.h: New file.
33343         * math/test-double-vlen4.h: New file.
33344         * math/test-double-vlen8.h: New file.
33345         * math/test-vec-loop.h: Added initialization macro.
33346         * sysdeps/x86_64/fpu/Makefile: Added variables for vector tests.
33347         * sysdeps/x86_64/fpu/libm-test-ulps: Regenarated.
33348         * sysdeps/x86_64/fpu/math-tests-arch.h: New file.
33349         * sysdeps/x86_64/fpu/test-double-vlen2-wrappers.c: New file.
33350         * sysdeps/x86_64/fpu/test-double-vlen2.c: New file.
33351         * sysdeps/x86_64/fpu/test-double-vlen4-avx2-wrappers.c: New file.
33352         * sysdeps/x86_64/fpu/test-double-vlen4-avx2.c: New file.
33353         * sysdeps/x86_64/fpu/test-double-vlen4-wrappers.c: New file.
33354         * sysdeps/x86_64/fpu/test-double-vlen4.c: New file.
33355         * sysdeps/x86_64/fpu/test-double-vlen8-wrappers.c: New file.
33356         * sysdeps/x86_64/fpu/test-double-vlen8.c: New file.
33358         * sysdeps/x86_64/fpu/Makefile (libmvec-support): Added new files.
33359         * sysdeps/x86_64/fpu/Versions: New versions added.
33360         * sysdeps/x86_64/fpu/svml_s_cosf4_core.S: New file.
33361         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core.S: New file.
33362         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf4_core_sse4.S: New file.
33363         * sysdeps/x86_64/fpu/svml_s_cosf8_core_avx.S: New file.
33364         * sysdeps/x86_64/fpu/svml_s_cosf8_core.S: New file.
33365         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core.S: New file.
33366         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf8_core_avx2.S: New file.
33367         * sysdeps/x86_64/fpu/svml_s_cosf16_core.S: New file.
33368         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core.S: New file.
33369         * sysdeps/x86_64/fpu/multiarch/svml_s_cosf16_core_avx512.S: New file.
33370         * sysdeps/x86_64/fpu/svml_s_wrapper_impl.h: New file.
33371         * sysdeps/x86_64/fpu/svml_s_cosf_data.S: New file.
33372         * sysdeps/x86_64/fpu/svml_s_cosf_data.h: New file.
33373         * sysdeps/x86_64/fpu/multiarch/Makefile (libmvec-sysdep_routines):
33374         Added build of SSE, AVX2 and AVX512 IFUNC versions.
33375         * sysdeps/unix/sysv/linux/x86_64/libmvec.abilist: New versions added.
33376         * sysdeps/x86/fpu/bits/math-vector.h: Added SIMD declaration for cosf.
33377         * NEWS: Mention addition of x86_64 vector cosf.
33379         * math/Makefile: Added CFLAGS for new tests.
33380         * math/test-float-vlen16.h: New file.
33381         * math/test-float-vlen4.h: New file.
33382         * math/test-float-vlen8.h: New file.
33383         * math/test-double-vlen2.h: Fixed 2 argument macro and comment.
33384         * sysdeps/x86_64/fpu/Makefile: Added new tests and variables.
33385         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerated.
33386         * sysdeps/x86_64/fpu/test-float-vlen16-wrappers.c: New file.
33387         * sysdeps/x86_64/fpu/test-float-vlen16.c: New file.
33388         * sysdeps/x86_64/fpu/test-float-vlen4-wrappers.c: New file.
33389         * sysdeps/x86_64/fpu/test-float-vlen4.c: New file.
33390         * sysdeps/x86_64/fpu/test-float-vlen8-avx2-wrappers.c: New file.
33391         * sysdeps/x86_64/fpu/test-float-vlen8-avx2.c: New file.
33392         * sysdeps/x86_64/fpu/test-float-vlen8-wrappers.c: New file.
33393         * sysdeps/x86_64/fpu/test-float-vlen8.c: New file.
33395 2015-06-09 Marko Myllynen  <myllynen@redhat.com>
33397         * locale/C-ctype.c (PREDEFINED_CLASSES): Remove.
33398         * locale/programs/ld-ctype.c: Likewise.
33400 2015-06-08  Andrew Senkevich  <andrew.senkevich@intel.com>
33402         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX512F_Usable,
33403         bit_AVX512DQ_Usable, bit_Opmask_state, bit_ZMM0_15_state,
33404         bit_ZMM16_31_state): New macro.
33405         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
33406         Check and set bit_AVX512F_Usable, bit_AVX512DQ_Usable.
33408 2015-06-08  Joseph Myers  <joseph@codesourcery.com>
33410         * include/stdio.h (__open_memstream): Say "C++ tests" in comment.
33412 2015-06-06  Justus Winter  <4winter@informatik.uni-hamburg.de>
33414         * mach/mach/mach_traps.h (thread_switch): Fix typo in comment.
33416 2015-06-05  Joseph Myers  <joseph@codesourcery.com>
33418         [BZ #18498]
33419         * libio/memstream.c (open_memstream): Rename to __open_memstream
33420         and define as weak alias of __open_memstream.
33421         * include/stdio.h (__open_memstream): Declare.  Use
33422         libc_hidden_proto.
33423         (open_memstream): Don't use libc_hidden_proto.
33424         * misc/syslog.c (__vsyslog_chk): Call __open_memstream instead of
33425         open_memstream.
33426         * posix/getopt.c (_getopt_internal_r): Likewise.
33427         * conform/Makefile (test-xfail-XPG3/stdio.h/linknamespace): Remove
33428         variable.
33429         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
33430         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
33431         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
33433         [BZ #18496]
33434         * posix/regex_internal.c (build_wcs_upper_buffer): Call __wcrtomb
33435         instead of wcrtomb.
33437         [BZ #18483]
33438         * signal/signal.h [__USE_XOPEN2K] (psignal): Change condition to
33439         [__USE_XOPEN2K8].  Remove redundant #endif.
33440         [__USE_XOPEN2K] (psiginfo): Change condition to [__USE_XOPEN2K8].
33441         Remove redundant #if.
33442         * conform/Makefile (test-xfail-XOPEN2K/signal.h/linknamespace):
33443         Remove variable.
33444         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
33445         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
33447         [BZ #18495]
33448         * wctype/wcfuncs.c (__iswalnum): Use libc_hidden_def.
33449         (__iswlower): Likewise.
33450         * include/wctype.h (__iswalnum): Declare.  Use libc_hidden_proto.
33451         (__iswlower): Likewise.
33452         * posix/regcomp.c (re_compile_fastmap_iter): Call __towlower
33453         instead of towlower.
33454         * posix/regex_internal.c (build_wcs_upper_buffer): Call __iswlower
33455         instead of iswlower.  Call __towupper instead of towupper.
33456         * posix/regex_internal.h (IS_WIDE_WORD_CHAR): Call __iswalnum
33457         instead of iswalnum.
33459 2015-06-05  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
33461         * malloc/tst-malloc-backtrace.c (do_test): Redirect libc fatal
33462         errors to stderr.
33464 2015-06-05  Florian Weimer  <fweimer@redhat.com>
33466         [BZ #15661]
33467         [BZ #17322]
33468         * sysdeps/posix/posix_fallocate64.c (__posix_fallocate64_l64):
33469         Check for overflow properly.  Check for O_APPEND.  Ignore large
33470         file system block sizes.  Add comments about problems.
33471         * sysdeps/posix/posix_fallocate.c (posix_fallocate): Likewise.
33472         * manual/filesys.texi (Storage Allocation): New node.
33474 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33476         * sysdeps/unix/sysdep.h [SYSCALL_CANCEL]: New macro: define
33477         cancellable syscalls.
33478         (SYS_ify): Add guard to no redefine it.
33479         (INLINE_SYSCALL): Likewise.
33480         * sysdeps/unix/sysv/linux/accept4.c (accept4): Remove
33481         LIBC_CANCEL_ASYNC/INLINE_SYSCALL/LIBC_CANCEL_RESET and use
33482         SYSCALL_CANCEL instead.
33483         * sysdeps/unix/sysv/linux/alpha/fdatasync.c (__fdatasync): Likewise.
33484         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
33485         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
33486         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
33487         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
33488         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Likewise.
33489         * sysdeps/unix/sysv/linux/fallocate.c (fallocate): Likewise.
33490         * sysdeps/unix/sysv/linux/fallocate64.c (fallocate64): Likewise.
33491         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
33492         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
33493         * sysdeps/unix/sysv/linux/generic/pause.c (__libc_pause): Likewise.
33494         * sysdeps/unix/sysv/linux/generic/poll.c (__poll): Likewise.
33495         * sysdeps/unix/sysv/linux/generic/recv.c (__libc_recv): Likewise.
33496         * sysdeps/unix/sysv/linux/generic/select.c (__select): Likewise.
33497         * sysdeps/unix/sysv/linux/generic/send.c (__libc_send): Likewise.
33498         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
33499         Likewise.
33500         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
33501         (__libc_pread64): Likewise.
33502         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c
33503         (__libc_preadv): Likewise.
33504         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c
33505         (__libc_readv64): Likewise.
33506         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
33507         (__libc_pwrite): Likewise.
33508         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
33509         (__libc_pwrite64): Likewise.
33510         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c
33511         (__libc_pwritev): Likewise.
33512         * sysdeps/sysv/linux/generic/wordsize-32/pwritev64.c
33513         (__libc_pwritev64): Likewise.
33514         * sysdeps/unix/sysv/linux/i386/fcntl.c (__libc_fcntl): Likewise.
33515         * sysdeps/unix/sysv/linux/mips/mips32/sync_file_range.c
33516         (sync_file_range): Likewise.
33517         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate.c (fallocate):
33518         Likewise.
33519         * sysdeps/unix/sysv/linux/mips/mips64/n32/fallocate64.c (fallocate64):
33520         Likewise.
33521         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
33522         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
33523         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
33524         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
33525         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
33526         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
33527         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
33528         * sysdeps/unix/sysv/linux/openat.c (__libc_openat): Likewise.
33529         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
33530         Likewise.
33531         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
33532         (__libc_read64): Likewise.
33533         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_write):
33534         Likewise.
33535         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c (__libc_write64):
33536         Likewise.
33537         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fcntl.c (__libc_fcntl):
33538         Likewise.
33539         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c (__libc_pread):
33540         Likewise.
33541         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
33542         (__libc_pread64): Likewise.
33543         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c (__libc_pwrite):
33544         Likewise.
33545         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
33546         (__libc_pwrite64): Likewise.
33547         * sysdeps/sysv/linux/powerpc/powerpc64/sync_file_range.c
33548         (sync_file_range): Likewise.
33549         * sysdeps/unix/sysv/linux/ppoll.c (ppoll): Likewise.
33550         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
33551         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
33552         * sysdeps/unix/sysv/linux/preadv.c (__libc_preadv): Likewise.
33553         * sysdeps/unix/sysv/linux/pselect.c (__pselect): Likewise.
33554         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
33555         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
33556         * sysdeps/unix/sysv/linux/pwritev.c (PWRITEV): Likewise.
33557         * sysdeps/unix/sysv/linux/readv.c (__libc_readv): Likewise.
33558         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
33559         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
33560         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
33561         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
33562         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
33563         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_pwrite64): Likewise.
33564         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
33565         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
33566         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
33567         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
33568         Likewise.
33569         * sysdeps/unix/sysv/linux/sync_file_range.c (sync_file_range):
33570         Likewise.
33571         * sysdeps/unix/sysv/linux/tcdrain.c (__libc_tcdrain): Likewise.
33572         * sysdeps/unix/sysv/linux/timer_routines.c (timer_helper_thread):
33573         Likewise.
33574         * sysdeps/unix/sysv/linux/wait.c (__libc_wait): Likewise.
33575         * sysdeps/unix/sysv/linux/waitid.c (__waitid): Likewise.
33576         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Likewise.
33577         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c (fallocate):
33578         Likewise.
33579         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c (preadv): Likewise.
33580         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c (pwritev): Likewise.
33581         * sysdeps/unix/sysv/linux/writev.c (__libc_writev): Likewise.
33582         * sysdeps/unix/sysv/linux/x86_64/recv.c (__libc_recv): Likewise.
33583         * sysdeps/unix/sysv/linux/x86_64/send.c (__libc_send): Likewise.
33585 2015-06-04  Nathan Lynch  <nathan_lynch@codesourcery.com>
33587         * sysdeps/unix/sysv/linux/arm/Makefile: (sysdep_routines):
33588         Include dl-vdso.
33589         * sysdeps/unix/sysv/linux/arm/init-first.c: New file:
33590         Use VDSO routines for gettimeofday, clock_gettime if
33591         available.
33592         * sysdeps/unix/sysv/linux/arm/libc-vdso.h: New file:
33593         Declare VDSO symbols.
33594         * sysdeps/unix/sysv/linux/arm/sysdep.h:
33595         [HAVE_GETTIMEOFDAY_VSYSCALL]: Define.
33596         [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
33597         * sysdeps/unix/sysv/linux/arm/Versions: Add
33598         __vdso_clock_gettime.
33600 2015-06-04  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33602         * sysdeps/unix/sysv/linux/not-cancel.h (open_not_cancel): Rewrite to
33603         be an inline implementation regardless of library is built within.
33604         (open_not_cancel_2): Likewise.
33605         (__read_nocancel): Likewise.
33606         (__write_nocancel): Likewise.
33607         (openat_not_cancel): Likewise.
33608         (openat_not_cancel_3): Likewise.
33609         (openat64_not_cancel): Likewise.
33610         (openat64_not_cancel_3): Likewise.
33611         (__close_nocancel): Likewise.
33612         (pause_not_cancel): Likewise.
33613         (nanosleep_not_cancel): Likewise.
33614         (sigsuspend_not_cancel): Likewise.
33616 2015-06-04  Torvald Riegel  <triegel@redhat.com>
33618         [BZ #14958]
33619         * nptl/pthread_rwlock_rdlock.c (__pthread_rwlock_rdlock): Add missing
33620         wake-up.
33621         (__pthread_rwlock_rdlock_slow): Likewise.
33622         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
33623         Likewise.
33624         * nptl/pthread_rwlock_tryrdlock.c (__pthread_rwlock_tryrdlock):
33625         Likewise.
33626         * nptl/pthread_rwlock_unlock.c (__pthread_rwlock_unlock): Add comments.
33627         * nptl/tst-rwlock16.c: New file.
33628         * nptl/Makefile (tests): Add new test.
33630 2015-06-04  Torvald Riegel  <triegel@redhat.com>
33632         [BZ #18324]
33633         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock): Add
33634         missing wake-up of readers.
33635         * nptl/tst-rwlock15.c: New file.
33636         * nptl/Makefile (tests): Add new test.
33638 2015-06-03  Roland McGrath  <roland@hack.frob.com>
33640         * sysdeps/nacl/nacl-interfaces.c (try_supply): New static function.
33641         (PASTE_NAME (__nacl_supply_interface_, MODULE_NAME)): New function.
33642         * sysdeps/nacl/nacl-interfaces.h: Declare __nacl_supply_interface_libc
33643         and __nacl_supply_interface_rtld.
33644         * sysdeps/nacl/nacl_interface_ext_supply.c: New file.
33645         * sysdeps/nacl/Makefile [$(subdir) = csu] (sysdep_routines): Add it.
33646         * sysdeps/nacl/Versions (ld: GLIBC_PRIVATE):
33647         Add __nacl_supply_interface_rtld.
33648         (libc: GLIBC_2.22): Add nacl_interface_ext_supply.
33650 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
33652         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Replace finite with
33653         isfinite.
33654         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
33655         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c (__finitel): Likewise.
33657 2015-06-03  Wilco Dijkstra  <wdijkstr@arm.com>
33659         * math/e_exp10.c: Replace __isinf*, __isnan*, __finite* and
33660         __signbit* with standard C99 macros.
33661         * math/e_exp10l.c: Likewise.
33662         * math/e_exp2l.c: Likewise.
33663         * math/e_scalb.c: Likewise.
33664         * math/e_scalbf.c: Likewise.
33665         * math/e_scalbl.c: Likewise.
33666         * math/s_ldexp.c: Likewise.
33667         * math/s_ldexpf.c: Likewise.
33668         * math/s_ldexpl.c: Likewise.
33669         * math/w_atan2.c: Likewise.
33670         * math/w_atan2f.c: Likewise.
33671         * math/w_atan2l.c: Likewise.
33672         * math/w_cosh.c: Likewise.
33673         * math/w_coshf.c: Likewise.
33674         * math/w_coshl.c: Likewise.
33675         * math/w_exp10.c: Likewise.
33676         * math/w_exp10f.c: Likewise.
33677         * math/w_exp10l.c: Likewise.
33678         * math/w_exp2.c: Likewise.
33679         * math/w_exp2f.c: Likewise.
33680         * math/w_exp2l.c: Likewise.
33681         * math/w_fmod.c: Likewise.
33682         * math/w_fmodf.c: Likewise.
33683         * math/w_fmodl.c: Likewise.
33684         * math/w_hypot.c: Likewise.
33685         * math/w_hypotf.c: Likewise.
33686         * math/w_hypotl.c: Likewise.
33687         * math/w_jnl.c: Likewise.
33688         * math/w_lgamma.c: Likewise.
33689         * math/w_lgamma_r.c: Likewise.
33690         * math/w_lgammaf.c: Likewise.
33691         * math/w_lgammaf_r.c: Likewise.
33692         * math/w_lgammal.c: Likewise.
33693         * math/w_lgammal_r.c: Likewise.
33694         * math/w_pow.c: Likewise.
33695         * math/w_powf.c: Likewise.
33696         * math/w_powl.c: Likewise.
33697         * math/w_remainder.c: Likewise.
33698         * math/w_remainderf.c: Likewise.
33699         * math/w_remainderl.c: Likewise.
33700         * math/w_scalb.c: Likewise.
33701         * math/w_scalbf.c: Likewise.
33702         * math/w_scalbl.c: Likewise.
33703         * math/w_scalbln.c: Likewise.
33704         * math/w_scalblnf.c: Likewise.
33705         * math/w_scalblnl.c: Likewise.
33706         * math/w_sinh.c: Likewise.
33707         * math/w_sinhf.c: Likewise.
33708         * math/w_sinhl.c: Likewise.
33709         * math/w_tgamma.c: Likewise.
33710         * math/w_tgammaf.c: Likewise.
33711         * math/w_tgammal.c: Likewise.
33712         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
33713         * sysdeps/ieee754/dbl-64/e_exp10.c: Likewise.
33714         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
33715         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
33716         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
33717         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
33718         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
33719         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
33720         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
33721         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
33722         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
33723         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
33724         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
33725         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
33726         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
33727         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
33728         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
33729         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
33730         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
33731         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
33732         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
33733         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
33734         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
33735         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
33736         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
33737         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
33738         * sysdeps/ieee754/ldbl-128ibm/w_expl.c: Likewise.
33739         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
33740         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
33741         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
33742         * sysdeps/ieee754/ldbl-opt/nldbl-finite.c: Likewise.
33743         * sysdeps/ieee754/ldbl-opt/nldbl-isinf.c: Likewise.
33744         * sysdeps/ieee754/ldbl-opt/nldbl-isnan.c: Likewise.
33745         * sysdeps/ieee754/ldbl-opt/nldbl-signbit.c: Likewise.
33746         * stdio-common/printf_fp.c: Likewise.
33747         * stdio-common/printf_fphex.c: Likewise.
33748         * stdio-common/printf_size.c: Likewise.
33750 2015-06-03  Joseph Myers  <joseph@codesourcery.com>
33752         [BZ #18470]
33753         * posix/fnmatch.c (fnmatch) [_LIBC]: Call __strnlen instead of
33754         strnlen.
33755         * conform/Makefile (test-xfail-XPG3/fnmatch.h/linknamespace):
33756         Remove variable.
33757         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
33758         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
33759         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
33760         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
33761         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
33762         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
33763         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
33764         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
33765         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
33766         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
33768         [BZ #18468]
33769         * wcsmbs/wmemchr.c (wmemchr): Rename to __wmemchr and define as
33770         weak alias of __wmemchr.  Use libc_hidden_weak.
33771         * include/wchar.h (__wmemchr): Declare.  Use libc_hidden_proto.
33772         * posix/fnmatch.c [HANDLE_MULTIBYTE] (MEMCHR): Use __wmemchr
33773         instead of wmemchr.
33775 2015-06-02  Roland McGrath  <roland@hack.frob.com>
33777         [BZ #18383]
33778         * elf/tst-tlsalign-extern.c: New file.
33779         * elf/tst-tlsalign-extern-static.c: New file.
33780         * elf/tst-tlsalign-vars.c: New file.
33781         * elf/Makefile (tests-static): Add tst-tlsalign-extern-static.
33782         [$(build-shared) = yes] (tests): Add tst-tlsalign-extern.
33783         ($(objpfx)tst-tlsalign-extern): Depend on tst-tlsalign-vars.o.
33784         ($(objpfx)tst-tlsalign-extern-static): Likewise.
33785         (test-xfail-tst-tlsalign-extern-static): New variable.
33787 2015-06-02  Joseph Myers  <joseph@codesourcery.com>
33789         * sysdeps/unix/sysv/linux/mips/mips32/sysdep.h (INLINE_SYSCALL):
33790         Use variable name _sc_err instead of err.
33791         [__mips16] (INTERNAL_SYSCALL_NCS): Use variable name _sc_ret
33792         instead of ret.
33793         * sysdeps/unix/sysv/linux/mips/mips64/n32/sysdep.h
33794         (INLINE_SYSCALL): Use variable name _sc_err instead of err.
33795         * sysdeps/unix/sysv/linux/mips/mips64/n64/sysdep.h
33796         (INLINE_SYSCALL): Likewise.
33798         * string/strnlen.c [!STRNLEN] (__strnlen): Use libc_hidden_def.
33799         * include/string.h (__strnlen): Use libc_hidden_proto.
33800         * sysdeps/aarch64/strnlen.S (__strnlen): Use libc_hidden_def.
33801         * sysdeps/i386/i686/multiarch/strnlen-c.c [SHARED]
33802         (libc_hidden_def): Define __GI___strnlen as well as __GI_strnlen.
33803         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-power7.S
33804         (libc_hidden_def): Undefine and redefine.
33805         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c
33806         [SHARED] (libc_hidden_def): Define __GI___strnlen as well as
33807         __GI_strnlen.
33808         * sysdeps/powerpc/powerpc32/power7/strnlen.S (__strnlen): Use
33809         libc_hidden_def.
33810         * sysdeps/tile/tilegx/strnlen.c (__strnlen): Likewise.
33812         [BZ #18469]
33813         * wctype/wcfuncs.c (towlower): Rename to __towlower and define as
33814         weak alias of __towlower.  Use libc_hidden_weak.
33815         (towupper): Rename to __towupper and define as weak alias of
33816         __towupper.  Use libc_hidden_weak.
33817         * include/wctype.h (__towlower): Declare.  Use libc_hidden_proto.
33818         (__towupper): Likewise.
33819         * posix/fnmatch.c [HANDLE_MULTIBYTE && _LIBC] (FOLD): Use
33820         __towlower instead of towlower.
33822 2015-06-02  Roland McGrath  <roland@hack.frob.com>
33824         * stdlib/setenv.c [__GNUC__,__GNUC_MINOR__ < 4,7]: Use
33825         "-Wuninitialized" rather than "-Wmaybe-uninitialized" in pragma.
33827 2015-06-02  Szabolcs Nagy  <szabolcs.nagy@arm.com>
33829         * sysdeps/aarch64/libm-test-ulps: Update.
33831 2015-06-01  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33833         * sysdeps/unix/sysv/linux/i386/sysdep.h (HAVE_CLOCK_GETTIME_VSYSCALL):
33834         Define.
33835         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
33836         * sysdeps/unix/sysv/linux/x86_64/sysdep.h
33837         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
33838         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
33839         * sysdeps/unix/sysv/linux/timespec_get.c: Include errno.h.
33840         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: Remove file.
33841         * sysdeps/unix/sysv/linux/x86/timespec_get.c: Likewise.
33843 2015-06-01  Martin Sebor  <msebor@redhat.com>
33845         [BZ #18116]
33846         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
33847         (__setcontext): Use extended four-operand version of mtsf whenever
33848         possible.
33849         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
33850         (__novec_swapcontext): Likewise.
33852 2015-06-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
33854         * benchtests/scripts/compare_bench.py: New file.
33855         * benchtests/scripts/import_bench.py (mean): New function.
33856         (split_list): Likewise.
33857         (do_for_all_timings): Likewise.
33858         (compress_timings): Likewise.
33860         * benchtests/scripts/import_bench.py: New file.
33861         * benchtests/scripts/validate_benchout.py: Import import_bench
33862         instead of jsonschema.
33863         (validate_bench): Remove function.
33864         (main): Use import_bench.
33866 2015-06-01  Steve Ellcey  <sellcey@imgtec.com>
33868         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Use a union to
33869         copy data from cur_ifr->ifr_addr and cur_ifr->ifr_netmask.
33871 2015-05-29  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33873         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
33875 2015-05-28  Roland McGrath  <roland@hack.frob.com>
33877         * sysdeps/nacl/exit-thread.h (__exit_thread): If not detached,
33878         set THREAD_SELF->tid to a magic value and futex-wake it.
33879         Pass its address to the thread_exit system call.
33880         * sysdeps/nacl/pthread-pids.h (__nacl_get_tid): Assert that TID's low
33881         bit is clear.
33882         * sysdeps/nacl/lowlevellock.h: New file.
33883         * sysdeps/nacl/lll_timedwait_tid.c: New file.
33885         * sysdeps/nacl/lowlevellock-futex.h (lll_futex_timed_wait):
33886         Add TIMEOUT to current time, don't subtract it.
33888 2015-05-28  H.J. Lu  <hongjiu.lu@intel.com>
33890         [BZ #2981]
33891         [BZ #18422]
33892         * Makefile ($(objpfx)tst-audit2): Depend on $(libdl).
33893         ($(objpfx)tst-audit2.out): Also depend on
33894         $(objpfx)tst-auditmod9b.so.
33895         * elf/tst-audit2.c: Include <dlfcn.h>.
33896         (calloc_called): New.
33897         (calloc): Allow to be called more than once.
33898         (do_test): dllopen/dlclose $ORIGIN/tst-auditmod9b.so.
33900 2015-05-28  Wilco Dijkstra  <wdijkstr@arm.com>
33902         * sysdeps/ieee754/dbl-64/s_fabs.c: (__fabs): Call __builtin_fabs.
33903         * sysdeps/ieee754/flt-32/s_fabsf.c: (__fabsf): Likewise.
33905 2015-05-27  Marko Myllynen  <myllynen@redhat.com>
33907         * stdlib/monetary.h: Fix comment.
33909 2015-05-26  Chris Metcalf  <cmetcalf@ezchip.com>
33911         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_SYSCALL):
33912         Avoid using variables in #defines that might cause shadowing.
33913         (INTERNAL_VSYSCALL_CALL): Likewise.
33915 2015-05-26  Roland McGrath  <roland@hack.frob.com>
33917         * sysdeps/nacl/lll_timedlock_wait.c: New file.
33919         * nptl/lowlevellock.c (__lll_timedlock_wait): Moved ...
33920         * nptl/lll_timedlock_wait.c: ... to this new file.
33921         * nptl/Makefile (libpthread-routines): Add it.
33922         * nptl/lowlevellock.c (__lll_timedwait_tid): Moved ...
33923         * nptl/lll_timedwait_tid.c: ... to this new file.
33924         * nptl/Makefile (libpthread-routines): Add it.
33925         * sysdeps/sparc/sparc32/lll_timedlock_wait.c: New file.
33926         * sysdeps/sparc/sparc32/lll_timedwait_tid.c: New file.
33927         * sysdeps/unix/sysv/linux/i386/i486/lll_timedlock_wait.c: New file.
33928         * sysdeps/unix/sysv/linux/i386/i586/lll_timedlock_wait.c: New file.
33929         * sysdeps/unix/sysv/linux/i386/i686/lll_timedlock_wait.c: New file.
33930         * sysdeps/unix/sysv/linux/i386/i486/lll_timedwait_tid.c: New file.
33931         * sysdeps/unix/sysv/linux/i386/i586/lll_timedwait_tid.c: New file.
33932         * sysdeps/unix/sysv/linux/i386/i686/lll_timedwait_tid.c: New file.
33933         * sysdeps/unix/sysv/linux/x86_64/lll_timedlock_wait.c: New file.
33934         * sysdeps/unix/sysv/linux/x86_64/lll_timedwait_tid.c: New file.
33936 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33938         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c: Remove file.
33939         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
33940         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
33941         * sysdeps/unix/sysv/linux/aarch64/sysdep.h
33942         (HAVE_GETTIMEOFDAY_VSYSCALL): Define.
33943         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
33944         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
33945         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
33946         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
33947         * sysdeps/unix/sysv/linux/tile/sysdep.h
33948         (HAVE_GETTIMEOFDAY_VSYSCALL): Likewise.
33949         * sysdeps/unix/sysv/linux/gettimeofday.c: New file: gettimeofday
33950         using vDSO syscall macro.
33952 2015-05-26  Andriy Rysin  <arysin@gmail.com>
33954         [BZ #17293]
33955         * uk_UA: Fix sorting order for Ukrainian locale
33957 2015-05-26  Marko Myllynen  <myllynen@redhat.com>
33959         * stdlib/monetary.h: Fix comment.
33961 2015-05-26  Szabolcs Nagy  <szabolcs.nagy@arm.com>
33963         [BZ #18234]
33964         * conform/data/sys/stat.h-data (struct stat): Add tests for st_atim,
33965         st_mtim and st_ctim members.
33966         * sysdeps/nacl/bits/stat.h (struct stat, struct stat64): Make
33967         st_atim, st_ctim, st_mtim visible under __USE_XOPEN2K8 only.
33968         * sysdeps/unix/sysv/linux/generic/bits/stat.h (struct stat,):
33969         (struct stat64): Likewise.
33970         * sysdeps/unix/sysv/linux/ia64/bits/stat.h (struct stat,):
33971         (struct stat64): Likewise.
33972         * sysdeps/unix/sysv/linux/microblaze/bits/stat.h (struct stat,):
33973         (struct stat64): Likewise.
33975 2015-05-26  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
33977         * sysdeps/unix/sysv/linux/aarch64/gettimeofday.c (HAVE_VSYSCALL):
33978         Define and include sysdep-vdso.h.
33979         * sysdeps/unix/sysv/linux/s390/gettimeofday.c (HAVE_VSYSCALL):
33980         Likewise.
33981         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (HAVE_VSYSCALL):
33982         Likewise.
33983         * sysdeps/unix/sysv/linux/aarch64/init-first.c (__vdso_gettimeofday):
33984         Define with VDSO_SYMBOL and use PTR_MANGLE.
33985         (__vdso_clock_gettime): Likewise.
33986         (__vdso_clock_getres): Likewise.
33987         (_libc_vdso_platform_setup): Likewise.
33988         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
33989         Likewise.
33990         (_libc_vdso_platform_setup): Likewise.
33991         * sysdeps/unix/sysv/linux/powerpc/init-first.c (__vdso_gettimeofday):
33992         Likewise.
33993         (__vdso_clock_gettime): Likewise.
33994         (__vdso_clock_getres): Likewise.
33995         (__vdso_get_tbfreq): Likewise.
33996         (__vdso_getcpu): Likewise.
33997         (__vdso_time): Likewise.
33998         (__vdso_sigtramp_rt64): Likewise.
33999         (__vdso_signtramp32): Likewise.
34000         (__vdso_sigtramp_rt32): Likewise.
34001         (_libc_vdso_platform_setup): Likewise.
34002         * sysdeps/unix/sysv/linux/s390/init-first.c (__vdso_gettimeofay):
34003         Likewise.
34004         (__vdso_clock_gettime): Likewise.
34005         (__vdso_clock_getres): Likewise.
34006         (_libc_vdso_platform_setup): Likewise.
34007         * sysdeps/unix/sysv/linux/tile/init-first.c (__vdso_gettimeofday):
34008         Likewise.
34009         (__vdso_clock_gettime): Likewise.
34010         (_libc_vdso_platform_setup): Likewise.
34011         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
34012         Likewise.
34013         (__vdso_getcpu): Likewise.
34014         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h (__vdso_gettimeoday):
34015         Use VDSO_SYMBOL macro to define.
34016         (__vdso_clock_gettime): Likewise.
34017         (__vdso_clock_getres): Likewise.
34018         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h (__vdso_gettimeofday):
34019         Likewise.
34020         (__vdso_clock_gettime): Likewise.
34021         (__vdso_clock_getres): Likewise.
34022         (__vdso_get_tbfreq): Likewise.
34023         (__vdso_getcpu): Likewise.
34024         (__vdso_time): Likewise.
34025         (__vdso_sigtramp_rt64): Likewise.
34026         (__vdso_signtramp32): Likewise.
34027         (__vdso_sigtramp_rt32): Likewise.
34028         * sysdeps/unix/sysv/linux/s390/libc-vdso.h (__vdso_gettimeofday):
34029         Likewise.
34030         (__vdso_clock_gettime): Likewise.
34031         (__vdso_clock_getres): Likewise.
34032         * sysdeps/unix/sysv/linux/tile/libc-vdso.h (__vdso_gettimeofday):
34033         Likewise.
34034         (__vdso_clock_gettime): Likewise.
34035         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
34036         Likewise.
34037         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INLINE_VSYSCALL):  Remove
34038         macro.
34039         (INTERNAL_VSYSCALL): Likewise.
34040         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h (INLINE_VSYSCALL):
34041         Remove macro.
34042         (INTERNAL_VSYSCALL): Likewise.
34043         (INTERNAL_VSYSCALL_NCS): Likewise.
34044         (INTERNAL_VSYSCALL_CALL): New macro.
34045         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
34046         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h (INLINE_VSYSCALL):
34047         Likewise.
34048         (INTERNAL_VSYSCALL): Likewise.
34049         (INTERNAL_VSYSCALL_NCS): Likewise.
34050         (INTERNAL_VSYSCALL_CALL): New macro.
34051         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use PTR_DEMANGLE.
34052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
34053         (INLINE_VSYSCALL): Remove macro.
34054         (INTERNAL_VSYSCALL): Remove macro.
34055         (INTERNAL_VSYSCALL_NCS): Remove macro.
34056         (INTERNAL_VSYSCALL_CALL): New macro.
34057         (INTERNAL_VSYSCALL_CALL_TYPE): New macro.
34058         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL.
34059         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
34060         (HAVE_CLOCK_GETRES_VSYSCALL): New define.
34061         (HAVE_CLOCK_GETTIME_VSYSCALL): Likewise.
34062         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
34063         (INLINE_VSYSCALL): Remove macro.
34064         (INTERNAL_VSYSCALL): Likewise.
34065         (INTERNAL_VSYSCALL_NCS): Likewise.
34066         (INTERNAL_VSYSCALL_CALL): New macro.
34067         (INTERNAL_VSYSCALL_CALL_TYPE): Likewise.
34068         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Use INTERNAL_VSYSCALL_CALL and
34069         PTR_DEMANGLE on vDSO pointer.
34070         (INTERNAL_VSYSCALL_NCS_TYPE): Likewise.
34071         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Remove
34072         macro.
34073         (INTERNAL_SYSCALL): Likewise.
34074         (INTERNAL_VSYSCALL_NCS): Remove macro.
34075         (INTERNAL_VSYSCALL_CALL): New macro.
34076         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_VSYSCALL):
34077         Remove macro.
34078         (INTERNAL_VSYSCALL): Likewise.
34079         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Include
34080         sysdep-vdso.h instead of libc-vdso.h.
34081         * sysdeps/unix/sysv/linux/clock_getres.c (INTERNAL_VSYSCALL): Remove
34082         definition.
34083         (INLINE_VSYSCALL): Likewise.
34084         (HAVE_VSYSCALL) [HAVE_CLOCK_GETRES_VSYSCALL]: Define.
34085         * sysdeps/unix/sysv/linux/clock_gettime.c (INTERNAL_VSYSCALL): Remove
34086         definition.
34087         (INLINE_VSYSCALL): Likewise.
34088         (INTERNAL_VSYSCALL): Likewise.
34089         (HAVE_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
34090         * sysdeps/unix/sysv/linux/timespec_get.c
34091         (INTERNAL_VSYSCALL) [HAVE_CLOCK_GETTIME_VSYSCALL]: Define.
34092         (timespec_get): Use ANSI prototype.
34093         * sysdeps/unix/sysv/linux/sysdep-vdso.h: New file: default vDSO macros
34094         and definition for Linux.
34096 2015-05-25  Andrew Senkevich  <andrew.senkevich@intel.com>
34098         * elf/Makefile (localplt-built-dso): libmvec added to localplt test.
34099         * include/libc-symbols.h: libmvec_hidden_* macro series added.
34101 2015-05-22  H.J. Lu  <hongjiu.lu@intel.com>
34103         [BZ #2981]
34104         [BZ #18410]
34105         * elf/dl-reloc.c (_dl_relocate_object): Don't issue an error
34106         for missing DT_PLTRELSZ.
34108 2015-05-22  Paul Eggert  <eggert@cs.ucla.edu>
34110         Remove obsolete aliases that broke 'locale -a'
34111         [BZ #18412]
34112         * intl/locale.alias: Remove obsolete aliases "bokmål" and "français"
34113         which caused 'locale -a' to output Latin-1 data in UTF-8 locales,
34114         breaking some applications that use 'locale -a' output.
34115         Change the encoding of this file from Latin-1 to ASCII to avoid
34116         other potential problems with people grepping this file.
34118 2015-05-22  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34120         * nptl/Makefile (CFLAGS-accept.c): Add -fexceptions and
34121         -fasynchronous-unwind-tables.
34122         (CFLAGS-sendto.c): Likewise.
34123         (CFLAGS-sendmsg.c): Likewise.
34124         (CFLAGS-connect.c): Likewise.
34125         (CFLAGS-recvmsg.c): Likewise.
34126         (CFLAGS-recvfrom.c): Likewise.
34127         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_invalid): Define.
34128         (SOCKETCALL): New macro: non-cancellable socketcall.
34129         (SOCKETCALL_CANCEL): New macro: cancellable socketcall.
34130         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = socket]: Remove
34131         internal_accept4, internal_recvmmsg, and internal_sendmmsg rules.
34132         * sysdeps/unix/sysv/linux/accept.c: New file.
34133         * sysdeps/unix/sysv/linux/bind.c: Likewise.
34134         * sysdeps/unix/sysv/linux/connect.c: Likewise.
34135         * sysdeps/unix/sysv/linux/getpeername.c: Likewise.
34136         * sysdeps/unix/sysv/linux/getsockname.c: Likewise.
34137         * sysdeps/unix/sysv/linux/getsockopt.c: Likewise.
34138         * sysdeps/unix/sysv/linux/listen.c: Likewise.
34139         * sysdeps/unix/sysv/linux/recv.c: Likewise.
34140         * sysdeps/unix/sysv/linux/recvfrom.c: Likewise.
34141         * sysdeps/unix/sysv/linux/recvmsg.c: Likewise.
34142         * sysdeps/unix/sysv/linux/send.c: Likewise.
34143         * sysdeps/unix/sysv/linux/sendmsg.c: Likewise.
34144         * sysdeps/unix/sysv/linux/sendto.c: Likewise.
34145         * sysdeps/unix/sysv/linux/setsockopt.c: Likewise.
34146         * sysdeps/unix/sysv/linux/shutdown.c: Likewise.
34147         * sysdeps/unix/sysv/linux/socket.c: Likewise.
34148         * sysdeps/unix/sysv/linux/socketpair.c: Likewise.
34149         * sysdeps/unix/sysv/linux/recvmmsg.c (__internal_recvmmsg): Remove
34150         prototype.
34151         (recvmmsg) [__ASSUME_RECVMMSG_SOCKETCALL]: Add C based implementation.
34152         (recvmmsg) [!__ASSUME_RECVMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
34153         instead of __internal_xxx function.
34154         * sysdeps/unix/sysv/linux/accept4.c (__internal_accept4): Remove
34155         prototype.
34156         (accept4) [__ASSUME_ACCEPT4_SOCKETCALL]: Add C based implementation.
34157         (accept4) [!__ASSUME_ACCEPT4_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
34158         instead of __internal_xxx function.
34159         * sysdeps/unix/sysv/linux/sendmmsg.c (__internal_sendmmsg): Remove
34160         prototype.
34161         (sendmmsg) [__ASSUME_SENDMMSG_SOCKETCALL]: Add C based implementation.
34162         (sendmmsg) [!__ASSUME_SENDMMSG_SOCKETCALL]: Use SOCKETCALL_CANCEL macro
34163         instead of __internal_xxx function.
34164         * sysdeps/unix/sysv/linux/accept.S: Remove file.
34165         * sysdeps/unix/sysv/linux/bind.S: Likewise.
34166         * sysdeps/unix/sysv/linux/connect.S: Likewise.
34167         * sysdeps/unix/sysv/linux/getpeername.S: Likewise.
34168         * sysdeps/unix/sysv/linux/getsockname.S: Likewise.
34169         * sysdeps/unix/sysv/linux/getsockopt.S: Likewise.
34170         * sysdeps/unix/sysv/linux/arm/internal_accept4.S: Likewise.
34171         * sysdeps/unix/sysv/linux/arm/internal_recvmmsg.S: Likewise.
34172         * sysdeps/unix/sysv/linux/arm/internal_sendmmsg.S: Likewise.
34173         * sysdeps/unix/sysv/linux/i386/accept4.S: Likewise.
34174         * sysdeps/unix/sysv/linux/i386/internal_accept4.S: Likewise.
34175         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
34176         * sysdeps/unix/sysv/linux/internal_accept4.S: Likewise.
34177         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: Likewise.
34178         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: Likewise.
34179         * sysdeps/unix/sysv/linux/listen.S: Likewise.
34180         * sysdeps/unix/sysv/linux/microblaze/socket.S: Likewise.
34181         * sysdeps/unix/sysv/linux/mips/mips32/internal_accept4.S: Likewise.
34182         * sysdeps/unix/sysv/linux/mips/mips32/internal_recvmmsg.S: Likewise.
34183         * sysdeps/unix/sysv/linux/mips/mips32/internal_sendmmsg.S: Likewise.
34184         * sysdeps/unix/sysv/linux/powerpc/powerpc32/socket.S: Likewise.
34185         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S: Likewise.
34186         * sysdeps/unix/sysv/linux/recv.S: Likewise.
34187         * sysdeps/unix/sysv/linux/recvfrom.S: Likewise.
34188         * sysdeps/unix/sysv/linux/recvmsg.S: Likewise.
34189         * sysdeps/unix/sysv/linux/s390/s390-32/socket.S: Likewise.
34190         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
34191         * sysdeps/unix/sysv/linux/send.S: Likewise.
34192         * sysdeps/unix/sysv/linux/sendmsg.S: Likewise.
34193         * sysdeps/unix/sysv/linux/sendto.S: Likewise.
34194         * sysdeps/unix/sysv/linux/setsockopt.S: Likewise.
34195         * sysdeps/unix/sysv/linux/sh/socket.S: Likewise.
34196         * sysdeps/unix/sysv/linux/shutdown.S: Likewise.
34197         * sysdeps/unix/sysv/linux/socketpair.S: Likewise.
34198         * sysdeps/unix/sysv/linux/sparc/sparc32/socket.S: Likewise.
34199         * sysdeps/unix/sysv/linux/sparc/sparc64/socket.S: Likewise.
34200         * sysdeps/unix/sysv/linux/m68k/socket.S: Likewise.
34201         * sysdeps/unix/sysv/linux/hppa/socket.S: Likewise.
34202         * sysdeps/unix/sysv/linux/kernel-features.h: Adjust comment on how
34203         socketcall is implemented in GLIBC.
34205 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
34207         * soft-fp/fmadf4.c: Include <libc-internal.h>.
34208         (__fma): Ignore uninitialized warnings around packing.
34209         * soft-fp/fmasf4.c: Include <libc-internal.h>.
34210         (__fmaf): Ignore uninitialized warnings around packing.
34211         * soft-fp/fmatf4.c: Include <libc-internal.h>.
34212         (__fmal): Ignore uninitialized warnings around packing.
34214         * sysdeps/ieee754/ldbl-128/k_tanl.c: Include <libc-internal.h>.
34215         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
34216         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Include <libc-internal.h>.
34217         (__kernel_tanl): Ignore uninitialized warnings around use of SIGN.
34219         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfcl): Make case 9 in
34220         switch statement into default case.
34221         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Likewise.
34223         * sysdeps/ieee754/ldbl-128/e_asinl.c (__ieee754_asinl): Don't use
34224         a conditional in forcing "inexact".
34225         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
34226         Likewise.
34228 2015-05-22  Roland McGrath  <roland@hack.frob.com>
34230         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
34231         Use a separate INTERNAL_SYSCALL_DECL (err); in a local scope
34232         for each INTERNAL_SYSCALL use.
34234 2015-05-22  Joseph Myers  <joseph@codesourcery.com>
34236         [BZ #438]
34237         * posix/unistd.h (_POSIX2_C_VERSION): New macro.
34238         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): Remove
34239         variable.
34241         [BZ #18444]
34242         * string/basename.c (basename): Rename to __basename and define as
34243         weak alias of __basename.  Use libc_hidden_weak.
34244         * include/string.h (__basename): Declare.  Use libc_hidden_proto.
34245         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): Call
34246         __basename instead of basename.
34247         * conform/Makefile (test-xfail-POSIX2008/unistd.h/linknamespace):
34248         Remove variable.
34249         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
34251 2015-05-18  Florian Weimer  <fweimer@redhat.com>
34253         * libio/libioP.h (_IO_MEMBER_TYPE, _IO_CAST_FIELD_ACCESS)
34254         (_IO_JUMPS_FILE_plus): New.
34255         (_IO_WIDE_JUMPS, _IO_CHECK_WIDE, _IO_JUMPS_FUNC): Use
34256         _IO_CAST_FIELD_ACCESS.
34257         * libio/fileops.c (libc_hidden_def, _IO_file_setbuf_mmap,
34258         mmap_remap_check, decide_maybe_mmap): Use _IO_JUMPS_FILE_plus.
34259         * libio/freopen.c (freopen): Likewise.
34260         * libio/freopen64.c (freopen64): Likewise.
34261         * libio/iofopen.c (__fopen_maybe_mmap): Likewise.
34262         * libio/iofopncook.c (_IO_old_fopencookie): Likewise.
34263         * libio/iofwide.c (_IO_fwide): Likewise.
34264         * libio/memstream.c (open_memstream): Likewise.
34265         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
34266         * libio/oldiofopen.c (_IO_old_fopen): Likewise.
34267         * libio/oldiopopen.c (_IO_old_popen): Likewise.
34269 2015-05-21  Joseph Myers  <joseph@codesourcery.com>
34271         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Include <libc-internal.h>.
34272         (__ieee754_lgamma_r): Ignore uninitialized warnings around use of
34273         NADJ.
34274         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Include <libc-internal.h>.
34275         (__ieee754_lgammaf_r): Ignore uninitialized warnings around use of
34276         NADJ.
34277         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Include <libc-internal.h>.
34278         (__ieee754_lgammal_r): Ignore uninitialized warnings around use of
34279         NADJ.
34281         * sysdeps/ieee754/dbl-64/mpa.c (norm): Remove if condition on
34282         (p == 4) case.
34284         * conform/linknamespace.pl (@whitelist): Add re_syntax_options.
34285         * conform/Makefile (test-xfail-UNIX98/regex.h/linknamespace):
34286         Remove variable.
34287         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
34288         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
34289         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
34291 2015-05-21  Florian Weimer  <fweimer@redhat.com>
34293         * stdio-common/vfprintf.c (LABEL, JUMP_TABLE_BASE_LABEL, REF):
34294         Adjust jump table label generation macros.
34296 2015-05-21  Florian Weimer  <fweimer@redhat.com>
34298         * stdio-common/vfprintf.c (vfprintf): Move local variables
34299         args_malloced, specs, specs_malloced, and the code after
34300         do_positional to the printf_positional function.
34301         (printf_positional): New function.
34303 2015-05-21  Florian Weimer  <fweimer@redhat.com>
34305         * stdio-common/vfprintf.c (jump_table): Move out of the vfprintf
34306         function.
34307         (NOT_IN_JUMP_RANGE, CHAR_CLASS, LABEL, REF, JUMP, STEP0_3_TABLE,
34308         STEP4_TABLE, process_arg): Move macro definitions
34309         out of the vfprintf function.  (Cosmetic change only.)
34311 2015-05-21  Carlos O'Donell  <carlos@redhat.com>
34313         * benchtests/Makefile (stdio-common-bench): Define.
34314         (benchset): Add stdio-common-bench.
34315         * sprintf-inputs: New file.
34316         * sprintf-source.c: New file.
34318 2015-05-21  Andreas Schwab  <schwab@suse.de>
34320         [BZ #13028]
34321         [BZ #17053]
34322         * resolv/res_init.c (__res_vinit): Remove use of ext.nsmap member
34323         of struct __res_state.
34324         * resolv/res_send.c (__libc_res_nsend): Likewise.
34325         (get_nsaddr): New function.
34326         (res_ourserver_p, send_vc, reopen): Use it instead of accessing
34327         statp directly.
34329 2015-05-20  Joseph Myers  <joseph@codesourcery.com>
34331         * conform/GlibcConform.pm ($CFLAGS{"POSIX"}): Use
34332         -D_POSIX_C_SOURCE=199506L.
34334         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Require.
34336         * conform/data/unistd.h-data (_POSIX_VERSION): Require.
34337         (_POSIX2_C_VERSION): Require if [POSIX || XPG3 || XPG4 || UNIX98].
34338         Do not mention otherwise.
34339         [POSIX] (_XOPEN_VERSION): Do not expect.
34340         [POSIX] (_XOPEN_XCU_VERSION): Likewise.
34341         [POSIX] (_POSIX2_C_BIND): Likewise.
34342         [POSIX] (_POSIX2_VERSION): Likewise.
34343         [POSIX] (_XOPEN_XPG2): Likewise.
34344         [POSIX] (_XOPEN_XPG3): Likewise.
34345         [POSIX] (_XOPEN_XPG4): Likewise.
34346         [POSIX] (_XOPEN_UNIX): Likewise.
34347         [POSIX] (_POSIX_ADVISORY_INFO): Likewise.
34348         [POSIX] (_POSIX_BARRIERS): Likewise.
34349         [POSIX] (_POSIX_CLOCK_SELECTION): Likewise.
34350         [POSIX] (_POSIX_CPUTIME): Likewise.
34351         [POSIX] (_POSIX_MONOTONIC_CLOCK): Likewise.
34352         [POSIX] (_POSIX_READER_WRITER_LOCKS): Likewise.
34353         [POSIX] (_POSIX_SHELL): Likewise.
34354         [POSIX] (_POSIX_SPAWN): Likewise.
34355         [POSIX] (_POSIX_SPIN_LOCKS): Likewise.
34356         [POSIX] (_POSIX_SPORADIC_SERVER): Likewise.
34357         [POSIX] (_POSIX_THREAD_CPUTIME): Likewise.
34358         [POSIX] (_POSIX_TYPED_MEMORY_OBJECTS): Likewise.
34359         [POSIX] (_POSIX_THREAD_SPORADIC_SERVER): Likewise.
34360         [POSIX] (_XBS5_ILP32_OFF32): Likewise.
34361         [POSIX] (_XBS5_ILP32_OFBIG): Likewise.
34362         [POSIX] (_XBS5_LP64_OFF64): Likewise.
34363         [POSIX] (_XBS5_LPBIG_OFFBIG): Likewise.
34364         [POSIX] (_POSIX_TIMEOUTS): Likewise.
34365         [POSIX] (_POSIX2_PBS): Likewise.
34366         [POSIX] (_POSIX2_PBS_ACCOUNTING): Likewise.
34367         [POSIX] (_POSIX2_PBS_CHECKPOINT): Likewise.
34368         [POSIX] (_POSIX2_PBS_LOCATE): Likewise.
34369         [POSIX] (_POSIX2_PBS_MESSAGE): Likewise.
34370         [POSIX] (_POSIX2_PBS_TRACK): Likewise.
34371         [POSIX] (_POSIX_TIMESTAMP_RESOLUTION): Likewise.
34372         [POSIX] (_CS_XBS5_ILP32_OFF32_CFLAGS): Likewise.
34373         [POSIX] (_CS_XBS5_ILP32_OFF32_LDFLAGS): Likewise.
34374         [POSIX] (_CS_XBS5_ILP32_OFF32_LIBS): Likewise.
34375         [POSIX] (_CS_XBS5_ILP32_OFF32_LINTFLAGS): Likewise.
34376         [POSIX] (_CS_XBS5_ILP32_OFFBIG_CFLAGS): Likewise.
34377         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LDFLAGS): Likewise.
34378         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LIBS): Likewise.
34379         [POSIX] (_CS_XBS5_ILP32_OFFBIG_LINTFLAGS): Likewise.
34380         [POSIX] (_CS_XBS5_LP64_OFF64_CFLAGS): Likewise.
34381         [POSIX] (_CS_XBS5_LP64_OFF64_LDFLAGS): Likewise.
34382         [POSIX] (_CS_XBS5_LP64_OFF64_LIBS): Likewise.
34383         [POSIX] (_CS_XBS5_LP64_OFF64_LINTFLAGS): Likewise.
34384         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_CFLAGS): Likewise.
34385         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LDFLAGS): Likewise.
34386         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LIBS): Likewise.
34387         [POSIX] (_CS_XBS5_LPBIG_OFFBIG_LINTFLAGS): Likewise.
34388         [POSIX] (_SC_2_C_BIND): Likewise.
34389         [POSIX] (_SC_2_C_VERSION): Likewise.
34390         [POSIX] (_SC_2_PBS): Likewise.
34391         [POSIX] (_SC_2_PBS_ACCOUNTING): Likewise.
34392         [POSIX] (_SC_2_PBS_CHECKPOINT): Likewise.
34393         [POSIX] (_SC_2_PBS_LOCATE): Likewise.
34394         [POSIX] (_SC_2_PBS_MESSAGE): Likewise.
34395         [POSIX] (_SC_2_PBS_TRACK): Likewise.
34396         [POSIX] (_SC_ATEXIT_MAX): Likewise.
34397         [POSIX] (_SC_BARRIERS): Likewise.
34398         [POSIX] (_SC_BASE): Likewise.
34399         [POSIX] (_SC_CLOCK_SELECTION): Likewise.
34400         [POSIX] (_SC_DEVICE_IO): Likewise.
34401         [POSIX] (_SC_DEVICE_SPECIFIC): Likewise.
34402         [POSIX] (_SC_DEVICE_SPECIFIC_R): Likewise.
34403         [POSIX] (_SC_FD_MGMT): Likewise.
34404         [POSIX] (_SC_FIFO): Likewise.
34405         [POSIX] (_SC_FILE_ATTRIBUTES): Likewise.
34406         [POSIX] (_SC_FILE_LOCKING): Likewise.
34407         [POSIX] (_SC_FILE_SYSTEM): Likewise.
34408         [POSIX] (_SC_IOV_MAX): Likewise.
34409         [POSIX] (_SC_MONOTONIC_CLOCK): Likewise.
34410         [POSIX] (_SC_NETWORKING): Likewise.
34411         [POSIX] (_SC_PAGE_SIZE): Likewise.
34412         [POSIX] (_SC_PASS_MAX): Likewise.
34413         [POSIX] (_SC_PIPE): Likewise.
34414         [POSIX] (_SC_READER_WRITER_LOCKS): Likewise.
34415         [POSIX] (_SC_REGEXP): Likewise.
34416         [POSIX] (_SC_SHELL): Likewise.
34417         [POSIX] (_SC_SIGNALS): Likewise.
34418         [POSIX] (_SC_SINGLE_PROCESS): Likewise.
34419         [POSIX] (_SC_SPIN_LOCKS): Likewise.
34420         [POSIX] (_SC_TYPED_MEMORY_OBJECTS): Likewise.
34421         [POSIX] (_SC_USER_GROUPS): Likewise.
34422         [POSIX] (_SC_USER_GROUPS_R): Likewise.
34423         [POSIX] (_SC_STREAMS): Likewise.
34424         [POSIX] (_SC_XBS5_ILP32_OFF32): Likewise.
34425         [POSIX] (_SC_XBS5_ILP32_OFFBIG): Likewise.
34426         [POSIX] (_SC_XBS5_LP64_OFF64): Likewise.
34427         [POSIX] (_SC_XBS5_LPBIG_OFFBIG): Likewise.
34428         [POSIX] (_SC_THREAD_ROBUST_PRIO_INHERIT): Likewise.
34429         [POSIX] (_SC_THREAD_ROBUST_PRIO_PROTECT): Likewise.
34430         [POSIX] (_PC_FILESIZEBITS): Likewise.
34431         [POSIX] (_PC_REC_INCR_XFER_SIZE): Likewise.
34432         [POSIX] (_PC_REC_MAX_XFER_SIZE): Likewise.
34433         [POSIX] (_PC_REC_MIN_XFER_SIZE): Likewise.
34434         [POSIX] (_PC_REC_XFER_ALIGN): Likewise.
34435         [POSIX] (uid_t): Likewise.
34436         [POSIX] (gid_t): Likewise.
34437         [POSIX] (off_t): Likewise.
34438         [POSIX] (pid_t): Likewise.
34439         [POSIX] (cuserid): Allow.
34440         (_SC_2_CHAR_TERM): Require constant.
34441         (_POSIX_ASYNCHRONOUS_IO): Remove duplicate optional-constant.
34442         * conform/Makefile (test-xfail-POSIX/unistd.h/conform): New
34443         variable.
34445 2015-05-20  Roland McGrath  <roland@hack.frob.com>
34447         * sysdeps/nacl/pthread-pids.h: New file.
34448         * sysdeps/nacl/createthread.c: Include <pthread-pids.h>.
34449         (create_thread): Use __nacl_get_tid to initialize PD->tid.
34451         * nptl/pthread-pids.h: New file.
34452         * sysdeps/unix/sysv/linux/pthread-pids.h: New file.
34453         * nptl/nptl-init.c: Include <pthread-pids.h>.
34454         (__pthread_initialize_minimal_internal):
34455         Call __pthread_initialize_pids instead of set_tid_address syscall.
34457         * sysdeps/unix/sysv/linux/usleep.c: Moved to ...
34458         * sysdeps/posix/usleep.c: ... here.
34460 2015-05-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34462         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = misc)]: Remove
34463         call_pselect6 object.
34464         [$(subdir) = io]: Remove call_sync_file_range object.
34465         * sysdeps/unix/sysv/linux/i386/call_pselect6.S: Remove file.
34466         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Remove file.
34467         * sysdeps/unix/sysv/linux/i386/pselect.c: Remove file.
34468         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: Remove file.
34470 2015-05-20  Wilco Dijkstra  <wdijkstr@arm.com>
34472         * math/s_cproj.c: Add include "math_private.h".
34473         * math/s_cprojf.c: Likewise.
34474         * math/s_cprojl.c: Likewise.
34476 2015-05-19  Joseph Myers  <joseph@codesourcery.com>
34478         [BZ #18244]
34479         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Ignore explicit
34480         high mantissa bit when testing whether P is a NaN.
34481         * math/libm-test.inc (remainder_test_data): Add more tests.
34482         (remquo_test_data): Likewise.
34484         [BZ #18049]
34485         * sysdeps/i386/fpu/e_atanhl.S (__ieee754_atanhl): For exponents
34486         below -32, return the argument, with underflow if subnormal.
34487         * math/auto-libm-test-in: Add more tests of atanh.
34488         * math/auto-libm-test-out: Regenerated.
34490 2015-05-19  Roland McGrath  <roland@hack.frob.com>
34492         [BZ #18434]
34493         * nptl/tst-sem15.c: New file.
34494         * nptl/Makefile (tests): Add it.
34495         * nptl/sem_post.c (__new_sem_post) [!__HAVE_64B_ATOMICS]:
34496         s/<</>>/ to fix typo in EOVERFLOW check.
34497         * sysdeps/sparc/sparc32/sem_post.c (__new_sem_post): Likewise.
34499 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
34501         * manual/strings.texi (envz_remove): Fix typo in safety
34502         annotations.
34504 2015-05-19  Paul Eggert  <eggert@cs.ucla.edu>
34505             Steve Ellcey  <sellcey@imgtec.com>
34507         * inet/rcmd.c (rresvport_af): Change ss to anonymous union
34508         in order to avoid strict alias warnings.
34509         (iruserok_af): Ditto for ra.
34511 2015-05-19  James Lemke  <jwlemke@codesourcery.com>
34513         [BZ #17581]
34514         * malloc/hooks.c
34515         (magicbyte): Convert to a function and avoid returning 0x01.
34516         (mem2mem_check): Avoid using a length byte equal to the magic byte.
34517         (mem2chunk_check): Fix unsigned comparisons to zero.
34518         Hoist defs of sz and magic.
34520 2015-05-19  Richard Henderson  <rth@redhat.com>
34522         * soft-fp/op-common.h (_FP_FROM_INT): Don't write to R.
34524         * sysdeps/alpha/fpu/libm-test-ulps: Update.
34526 2015-05-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
34528         [BZ #16159]
34529         * malloc/Makefile (tests): New test case tst-malloc-backtrace.
34530         * malloc/arena.c (arena_lock): Check if arena is corrupt.
34531         (reused_arena): Find a non-corrupt arena.
34532         (heap_trim): Pass arena to unlink.
34533         * malloc/hooks.c (malloc_check_get_size): Pass arena to
34534         malloc_printerr.
34535         (top_check): Likewise.
34536         (free_check): Likewise.
34537         (realloc_check): Likewise.
34538         * malloc/malloc.c (malloc_printerr): Add arena argument.
34539         (unlink): Likewise.
34540         (munmap_chunk): Adjust.
34541         (ARENA_CORRUPTION_BIT): New macro.
34542         (arena_is_corrupt): Likewise.
34543         (set_arena_corrupt): Likewise.
34544         (sysmalloc): Use mmap if there are no usable arenas.
34545         (_int_malloc): Likewise.
34546         (__libc_malloc): Don't fail if arena_get returns NULL.
34547         (_mid_memalign): Likewise.
34548         (__libc_calloc): Likewise.
34549         (__libc_realloc): Adjust for additional argument to
34550         malloc_printerr.
34551         (_int_free): Likewise.
34552         (malloc_consolidate): Likewise.
34553         (_int_realloc): Likewise.
34554         (_int_memalign): Don't touch corrupt arenas.
34555         * malloc/tst-malloc-backtrace.c: New test case.
34557         * Makefile (summarize-tests): Fix return value on success.
34559         * manual/string.texi (Envz Functions): Add envz_remove.
34561 2015-05-18  Roland McGrath  <roland@hack.frob.com>
34563         * sysdeps/posix/opendir.c: Include <stdbool.h>.
34564         (invalid_name): New function, broken out of ...
34565         (__opendirat): ... here.  Call it.
34566         (need_isdir_precheck): New function, broken out of ...
34567         (__opendirat): ... here.  Call it.
34568         Use __fxstatat64, not __xstatat64.
34569         (opendir_oflags): New function, broken out of ...
34570         (__opendirat): ... here.  Call it.
34571         (opendir_tail): New function, broken out of ...
34572         (__opendirat): ... here.  Call it.
34573         (__opendir): Call invalid_name, need_isdir_precheck, __xstat64, and
34574         opendir_tail, rather than punting to __opendirat.
34575         (__opendirat): Conditionalize function definition on [IS_IN (libc)].
34577 2015-05-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
34579         * .gitignore: Ignore generated *.pyc.
34581 2015-05-18  Arjun Shankar  <arjun.is@lostca.se>
34583         * include/stdio.h: Define __need_wint_t.
34584         * test-skeleton.c: Avoid `for' loop initial declaration.
34585         * nptl/tst-initializers1.c: Use test-skeleton.c.
34587 2015-05-17  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34589         [BZ #18418]
34590         * stdlib/tst-setcontext3.sh: Remove non-portable array use.
34592 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
34594         [BZ #16352]
34595         * sysdeps/i386/fpu/e_atanh.S (dbl_min): New object.
34596         (__ieee754_atanh): Force underflow exception for results with
34597         small absolute value.
34598         * sysdeps/i386/fpu/e_atanhf.S (flt_min): New object.
34599         (__ieee754_atanhf): Force underflow exception for results with
34600         small absolute value.
34601         * sysdeps/ieee754/dbl-64/e_atanh.c: Include <float.h>.
34602         (__ieee754_atanh): Force underflow exception for results with
34603         small absolute value.
34604         * sysdeps/ieee754/flt-32/e_atanhf.c: Include <float.h>.
34605         (__ieee754_atanhf): Force underflow exception for results with
34606         small absolute value.
34607         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Include <float.h>.
34608         (__ieee754_atanhl): Force underflow exception for results with
34609         small absolute value.
34610         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Include <float.h>.
34611         (__ieee754_atanhl): Force underflow exception for results with
34612         small absolute value.
34613         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Include <float.h>.
34614         (__ieee754_atanhl): Force underflow exception for results with
34615         small absolute value.
34616         * math/auto-libm-test-in: Do not allow missing underflow
34617         exceptions from atanh.
34618         * math/auto-libm-test-out: Regenerated.
34620         [BZ #18221]
34621         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use 2**-13 not
34622         2**-28 as threshold for returning x or +/- 1/x.
34623         * math/auto-libm-test-in: Add more tests of tan.
34624         * math/auto-libm-test-out: Regenerated.
34626         [BZ #18220]
34627         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
34628         2**26 not 2**58 as threshold for returning x * (log (x) - 1).
34629         * math/auto-libm-test-in: Add another test of lgamma.
34630         * math/auto-libm-test-out: Regenerated.
34632 2015-05-15  Wilco Dijkstra  <wdijkstr@arm.com>
34634         * stdio-common/printf_fp.c (___printf_fp): Use abs.
34635         * stdlib/gmp-impl.h (ABS): Remove define.  (ABSIZ): Remove.
34636         * sysdeps/ieee754/dbl-64/branred.c (__branred): Use fabs.
34637         * sysdeps/ieee754/dbl-64/dla.h (EADD): Use fabs.
34638         (ESUB): Use fabs.  (ADD2): Use fabs.  (SUB2): Use fabs.
34639         (ADD2A): Use fabs.  (SUB2A): Use fabs.
34640         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Use fabs.
34641         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Use fabs.
34642         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use fabs.
34643         (log1): Use fabs.  (my_log2): Use fabs.
34644         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): Use fabs.
34645         * sysdeps/ieee754/dbl-64/mpa.h (ABS): Remove define.
34646         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use fabs.
34647         * sysdeps/ieee754/dbl-64/mydefs.h (ABS): Remove define.
34648         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use fabs.
34649         (__cos): Use fabs.  (slow): Use fabs.  (slow2): Use fabs.
34650         (sloww): Use fabs.  (sloww1): Use fabs.  (sloww2): Use fabs.
34651         (bslow1): Use fabs.  (bslow2): Use fabs.  (cslow2): Use fabs.
34652         (csloww): Use fabs.  (csloww1): Use fabs.  (csloww2): Use fabs.
34653         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Use fabs.
34654         * sysdeps/x86_64/fpu/multiarch/e_log.c: add math.h include.
34656 2015-05-15  Joseph Myers  <joseph@codesourcery.com>
34658         [BZ #18217]
34659         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Use 2**-26 not 2**-56
34660         as threshold for returning 1 - x.
34661         * math/auto-libm-test-in: Add more tests of erfc.
34662         * math/auto-libm-test-out: Regenerated.
34664 2015-05-14  Joseph Myers  <joseph@codesourcery.com>
34666         [BZ #18196]
34667         * sysdeps/ieee754/flt-32/s_atanf.c (__atanf): Use 2^25 not 2^34 as
34668         threshold for large arguments.
34669         * math/auto-libm-test-in: Add another test of atan.
34670         * math/auto-libm-test-out: Regenerated.
34672         [BZ #16339]
34673         * sysdeps/i386/fpu/s_log1p.S (dbl_min): New object.
34674         (__log1p): Force underflow exception for results with small
34675         absolute value.
34676         * sysdeps/i386/fpu/s_log1pf.S (flt_min): New object.
34677         (__log1pf): Force underflow exception for results with small
34678         absolute value.
34679         * sysdeps/ieee754/dbl-64/s_log1p.c: Include <float.h>.
34680         (__log1p): Force underflow exception for results with small
34681         absolute value.
34682         * sysdeps/ieee754/flt-32/s_log1pf.c: Include <float.h>.
34683         (__log1pf): Force underflow exception for results with small
34684         absolute value.
34685         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Include <float.h>.
34686         (__log1pl): Force underflow exception for results with small
34687         absolute value.
34688         * math/auto-libm-test-in: Do not allow missing underflow
34689         exceptions from log1p.
34690         * math/auto-libm-test-out: Regenerated.
34692 2015-05-14  Jakub Bogusz  <qboosh@pld-linux.org>
34693             Adhemerval Zanella  <adhemerval.zanella@linaro.org>
34695         [BZ #16704]
34696         * sysdeps/unix/make-syscalls.sh: Remove non-portable echo usage.
34698 2015-05-14  Andrew Senkevich  <andrew.senkevich@intel.com>
34700         * Makeconfig (rpath-dirs, all-subdirs): Added mathvec folder.
34701         (libmvec): New variable.
34702         * configure.ac: Added option for mathvec build.
34703         * configure: Regenerated.
34704         * mathvec/Depend: New file.
34705         * mathvec/Makefile: New file.
34706         * shlib-versions: Added libmvec.
34707         * math/Makefile: Added rule for libm.so installation.
34709         * bits/math-vector.h: New file.
34710         * bits/libm-simd-decl-stubs.h: New header.
34711         * math/Makefile (headers): Added new header
34712         libm-simd-decl-stubs.h.
34713         * math/math.h (__MATHCALL_VEC): New macro.
34715         * math/gen-libm-have-vector-test.sh: Script generates series of macros
34716         for conditions in testing functions.
34717         * math/Makefile: Added call of libm-have-vector-test.sh.
34718         * math/libm-test.inc (HAVE_VECTOR): New macros.
34720         * math/libm-test.inc: START refactored.
34721         * math/test-double.c (TEST_MATHVEC): Add define.
34722         * math/test-float.c: Likewise.
34723         * math/test-idouble.c: Likewise.
34724         * math/test-ifloat.c: Likewise.
34725         * math/test-ildoubl.c: Likewise.
34726         * math/test-ldouble.c: Likewise.
34727         * sysdeps/generic/math-tests-arch.h
34728         (INIT_ARCH_EXT, CHECK_ARCH_EXT): New helper macros for runtime
34729         architecture check.
34731         * math/test-double.c (FUNC_TEST): New macro.
34732         * math/test-float.c: Likewise.
34733         * math/test-idouble.c: Likewise.
34734         * math/test-ifloat.c: Likewise.
34735         * math/test-ildoubl.c: Likewise.
34736         * math/test-ldouble.c: Likewise.
34737         * math/libm-test.inc: Use FUNC_TEST for name of tested functions.
34739 2015-05-13  Roland McGrath  <roland@hack.frob.com>
34741         * sysdeps/nacl/fdopendir.c: New file.
34743         * dirent/scandir-tail.c: New file.
34744         * dirent/scandir64-tail.c: New file.
34745         * dirent/Makefile (routines): Add them.
34746         (CFLAGS-scandir-tail.c, CFLAGS-scandir64-tail.c): New variables.
34747         * include/dirent.h (__scandir_tail, __scandir64_tail): Declare them.
34748         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Macro removed.
34749         [!SCANDIR] (SCANDIR_TAIL): New macro.
34750         (SCANDIR): Call __opendir and __scandir_tail, not __scandirat.
34751         * dirent/scandir64.c [!_DIRENT_MATCHES_DIRENT64]
34752         (SCANDIRAT): Macro removed.
34753         (SCANDIR_TAIL): New macro.
34754         * dirent/scandirat.c [!SCANDIRAT] (READDIR): Macro removed.
34755         [!SCANDIRAT] (SCANDIR_TAIL): New macro.
34756         (SCANDIRAT): Just call __opendirat and __scandir_tail.
34757         * dirent/scandirat64.c [!_DIRENT_MATCHES_DIRENT64]
34758         (READDIR): Macro removed.
34759         (SCANDIR_TAIL): New macro.
34760         * sysdeps/unix/sysv/linux/i386/scandir64.c (READDIR): Macro removed.
34761         (SCANDIR_TAIL): New macro.
34763         * dirent/scandirat.c (__scandir_cancel_handler): Function moved ...
34764         * dirent/scandir-cancel.c: ... to this new file.
34765         * dirent/Makefile (routines): Add it.
34766         * dirent/scandirat64.c (SKIP_SCANDIR_CANCEL): Macro removed.
34767         * sysdeps/unix/sysv/linux/i386/scandir64.c
34768         (SKIP_SCANDIR_CANCEL): Macro removed.
34769         * include/dirent.h (__scandir_cancel_handler): Add attribute_hidden.
34771         * dirent/tst-scandir.c: New file.
34772         * dirent/tst-scandir64.c: New file.
34773         * dirent/Makefile (tests): Add them.
34775 2015-05-13  H.J. Lu  <hongjiu.lu@intel.com>
34777         [BZ #18409]
34778         * sysdeps/unix/make-syscalls.sh: Remove a trailing `\'.
34780 2015-05-13  Szabolcs Nagy  <szabolcs.nagy@arm.com>
34782         * sysdeps/aarch64/tls-macros.h (TLS_GD): Add "cc" to the clobber
34783         list.
34785 2015-05-13  Leonhard Holz  <leonhard.holz@web.de>
34787         * benchtests/bench-strcoll.c: New benchmark.
34788         * benchtests/Makefile: Generate locales and run benchmark.
34789         * benchtests/strcoll-inputs/filelist#C: New benchmark input file.
34790         * benchtests/strcoll-inputs/filelist#en_US.UTF-8: Likewise.
34791         * benchtests/strcoll-inputs/lorem_ipsum#ar_SA.UTF-8: Likewise.
34792         * benchtests/strcoll-inputs/lorem_ipsum#cs_CZ.UTF-8: Likewise.
34793         * benchtests/strcoll-inputs/lorem_ipsum#da_DK.UTF-8: Likewise.
34794         * benchtests/strcoll-inputs/lorem_ipsum#el_GR.UTF-8: Likewise.
34795         * benchtests/strcoll-inputs/lorem_ipsum#en_GB.UTF-8: Likewise.
34796         * benchtests/strcoll-inputs/lorem_ipsum#en_US.UTF-8: Likewise.
34797         * benchtests/strcoll-inputs/lorem_ipsum#es_ES.UTF-8: Likewise.
34798         * benchtests/strcoll-inputs/lorem_ipsum#fr_FR.UTF-8: Likewise.
34799         * benchtests/strcoll-inputs/lorem_ipsum#hi_IN.UTF-8: Likewise.
34800         * benchtests/strcoll-inputs/lorem_ipsum#hu_HU.UTF-8: Likewise.
34801         * benchtests/strcoll-inputs/lorem_ipsum#is_IS.UTF-8: Likewise.
34802         * benchtests/strcoll-inputs/lorem_ipsum#it_IT.UTF-8: Likewise.
34803         * benchtests/strcoll-inputs/lorem_ipsum#iw_IL.UTF-8: Likewise.
34804         * benchtests/strcoll-inputs/lorem_ipsum#ja_JP.UTF-8: Likewise.
34805         * benchtests/strcoll-inputs/lorem_ipsum#pl_PL.UTF-8: Likewise.
34806         * benchtests/strcoll-inputs/lorem_ipsum#pt_PT.UTF-8: Likewise.
34807         * benchtests/strcoll-inputs/lorem_ipsum#ru_RU.UTF-8: Likewise.
34808         * benchtests/strcoll-inputs/lorem_ipsum#sr_RS.UTF-8: Likewise.
34809         * benchtests/strcoll-inputs/lorem_ipsum#sv_SE.UTF-8: Likewise.
34810         * benchtests/strcoll-inputs/lorem_ipsum#tr_TR.UTF-8: Likewise.
34811         * benchtests/strcoll-inputs/lorem_ipsum#vi_VN.UTF-8: Likewise.
34812         * benchtests/strcoll-inputs/lorem_ipsum#zh_CN.UTF-8: Likewise.
34814 2015-05-12  Ondřej Bílka  <neleai@seznam.cz>
34816         * sysdeps/x86_64/multiarch/strcspn.S: Remove plt indirection.
34817         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
34819 2015-05-12  Roland McGrath  <roland@hack.frob.com>
34821         * posix/uname-values.h: New file.
34822         * posix/uname.c: Include that instead of <config-name.h>.
34823         * sysdeps/nacl/uname-values.h: New file.
34824         * sysdeps/arm/nacl/uname-values.h: New file.
34826 2015-05-12  Joseph Myers  <joseph@codesourcery.com>
34828         * conform/linknamespace.pl (list_syms): Remove \[.*?\] before
34829         splitting into fields.
34831 2015-05-12  Leonhard Holz  <leonhard.holz@web.de>
34833         * locale/categories.def: Define _NL_COLLATE_ENCODING_TYPE.
34834         * locale/langinfo.h: Add _NL_COLLATE_ENCODING_TYPE to attribute list.
34835         * locale/localeinfo.h: Add enum collation_encoding_type.
34836         * locale/C-collate.c: Set _NL_COLLATE_ENCODING_TYPE to 8bit.
34837         * programs/ld-collate.c (collate_output): Add encoding type info.
34838         * string/strcoll_l.c (STRDIFF): New function.
34839         * (STRCOLL): Use STRDIFF to skip over equal prefix.
34840         * wcsmbs/wcscoll_l.c: Define STRDIFF.
34842 2015-05-11  Joseph Myers  <joseph@codesourcery.com>
34844         [BZ #18397]
34845         * sysdeps/mips/mips32/fpu/fpu_control.c: Move to ....
34846         * sysdeps/mips/mips32/fpu/fpucw-helpers.c: ... here.  Include
34847         <fpu_control.h> instead of <math/fpu_control.c>.
34848         * sysdeps/mips/mips32/fpu/Makefile: New file.
34850 2015-05-11  Andreas Schwab  <schwab@suse.de>
34852         [BZ #18007]
34853         * nis/nss_compat/compat-grp.c (internal_endgrent): Don't call
34854         nss_endgrent.
34855         (_nss_compat_endgrent): Call nss_endgrent.
34856         * nis/nss_compat/compat-pwd.c (internal_endpwent): Don't call
34857         nss_endpwent.
34858         (_nss_compat_endpwent): Call nss_endpwent.
34859         * nis/nss_compat/compat-spwd.c (internal_setspent): Add parameter
34860         needent, call nss_setspent only if non-zero.
34861         (_nss_compat_setspent, _nss_compat_getspent_r): Pass non-zero.
34862         (internal_endspent): Don't call nss_endspent.
34863         (_nss_compat_endspent): Call nss_endspent.
34864         * nss/nss_files/files-XXX.c (position, last_use, keep_stream):
34865         Remove.  All uses removed.
34866         (internal_setent): Remove parameter stayopen, add parameter
34867         stream.  Use it instead of global variable.
34868         (CONCAT(_nss_files_set,ENTNAME)): Pass global stream.
34869         (internal_endent, internal_getent): Add parameter stream.  Use it
34870         instead of global variable.
34871         (CONCAT(_nss_files_end,ENTNAME))
34872         (CONCAT(_nss_files_get,ENTNAME_r)): Pass global stream.
34873         (_nss_files_get##name##_r): Pass local stream.  Remove locking.
34874         * nss/nss_files/files-alias.c (position, last_use): Remove.  All
34875         uses removed.
34876         (internal_setent, internal_endent): Add parameter stream.  Use it
34877         instead of global variable.
34878         (_nss_files_setaliasent, _nss_files_endaliasent): Pass global
34879         stream.
34880         (get_next_alias): Add parameter stream.
34881         (_nss_files_getaliasent_r): Pass global stream.
34882         (_nss_files_getaliasbyname_r): Pass local stream.  Remove locking.
34883         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r)
34884         (_nss_files_gethostbyname4_r): Pass local stream to
34885         internal_setent, internal_getent and internal_endent.  Remove
34886         locking.
34888 2015-05-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
34890         * tst-strfmon1.c (tests): Update expected currency symbol.
34892 2015-05-08  Roland McGrath  <roland@hack.frob.com>
34894         * sysdeps/nacl/gethostname.c: New file.
34896 2015-05-08  Joseph Myers  <joseph@codesourcery.com>
34898         * math/auto-libm-test-in: Add more tests of csqrt, lgamma, log10
34899         and sinh.
34900         * math/auto-libm-test-out: Regenerated.
34901         * sysdeps/i386/fpu/libm-test-ulps: Update.
34902         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34904 2015-05-08  Carlos O'Donell  <carlos@redhat.com>
34906         [BZ #18125]
34907         * stdlib/tst-setcontext3.c: New file.
34908         * stdlib/tst-setcontext3.sh: New file.
34909         * stdlib/Makefile (tests): Add tst-setcontext3.
34910         (tst-setcontext3.out): Custom rule to run tst-setcontext3.sh
34911         to verify test program created output file.
34912         * sysdeps/unix/sysv/linux/aarch64/setcontext.S: Call exit.
34913         * sysdeps/unix/sysv/linux/arm/setcontext.S: Likewise.
34914         * sysdeps/unix/sysv/linux/hppa/setcontext.S: Likewise.
34915         * sysdeps/unix/sysv/linux/nios2/setcontext.S: Likewise.
34917 2015-05-06  Roland McGrath  <roland@hack.frob.com>
34919         [BZ #18383]
34920         * elf/tst-tlsalign.c: New file.
34921         * elf/tst-tlsalign-static.c: New file.
34922         * elf/tst-tlsalign-lib.c: New file.
34923         * elf/Makefile [$(build-shared) = yes] (tests): Add tst-tlsalign.
34924         (tests-static): Add tst-tlsalign-static.
34925         (modules-names): Add tst-tlsalign-lib.
34926         (test-xfail-tst-tlsalign): New variable.
34927         (test-xfail-tst-tlsalign-static): New variable.
34929         * sysdeps/nacl/nacl-test-wrapper.sh (NACL_LOADER):
34930         Use elf_loader_${arch}.nexe rather than loader_${arch}.nexe.
34932 2015-05-06  Joseph Myers  <joseph@codesourcery.com>
34934         * math/auto-libm-test-in: Add more tests of acosh, atanh, cos,
34935         csqrt, erfc, sin and sincos.
34936         * math/auto-libm-test-out: Regenerated.
34937         * sysdeps/i386/fpu/libm-test-ulps: Update.
34938         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34940 2015-05-06  Szabolcs Nagy  <szabolcs.nagy@arm.com>
34942         * sysdeps/aarch64/libm-test-ulps: Update.
34944 2015-05-05  Joseph Myers  <joseph@codesourcery.com>
34946         * math/auto-libm-test-in: Add more tests of acosh, atanh, clog,
34947         clog10, csqrt, erfc, exp2, expm1, log10, log2 and sinh.
34948         * math/auto-libm-test-out: Regenerated.
34949         * sysdeps/i386/fpu/libm-test-ulps: Update.
34950         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34952 2015-04-30  Daniel Marjamäki  <daniel.marjamaki@evidente.se>
34954         [BZ #18265]
34955         * wcsmbs/wchar.h (wcscpy): Add __nonnull attribute.
34956         (wcsncpy): Likewise.
34958 2015-05-05  Florian Weimer  <fweimer@redhat.com>
34960         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
34961         Assume __ASSUME_FALLOCATE is always true.
34962         * sysdeps/unix/sysv/linux/posix_fallocate64.c
34963         (__posix_fallocate64_l64): Likewise.
34964         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate.c
34965         (posix_fallocate): Likewise.
34966         * sysdeps/unix/sysv/linux/mips/mips64/n32/posix_fallocate64.c
34967         (__posix_fallocate64_l64): Likewise.
34968         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
34969         [!__ASSUME_FALLOCATE]: Add comment.
34971 2015-05-05  Florian Weimer  <fweimer@redhat.com>
34973         * sysdeps/unix/sysv/linux/i386/Makefile
34974         (sysdep_routines) [$(subdir) = misc]: Remove call_fallocate.
34975         (sysdep_routines) [$(subdir) = io]: Add libc-do-syscall.
34976         * sysdeps/unix/sysv/linux/i386/call_fallocate.S: Remove.
34977         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
34978         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
34979         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c: Likewise.
34980         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c: Likewise.
34982 2015-05-02  Joseph Myers  <joseph@codesourcery.com>
34984         * math/auto-libm-test-in: Add more tests of atan, clog, clog10,
34985         cos, csqrt, erf, erfc, exp2, lgamma, log1p, sin, sincos, tanh and
34986         tgamma.
34987         * math/auto-libm-test-out: Regenerated.
34988         * sysdeps/i386/fpu/libm-test-ulps: Update.
34989         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34991 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
34993         * math/auto-libm-test-in: Add more tests of tgamma.
34994         * math/auto-libm-test-out: Regenerated.
34995         * sysdeps/i386/fpu/libm-test-ulps: Update.
34996         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
34998         * math/auto-libm-test-in: Add more tests of tanh.
34999         * math/auto-libm-test-out: Regenerated.
35000         * sysdeps/i386/fpu/libm-test-ulps: Update.
35001         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35003         * math/auto-libm-test-in: Add more tests of tan.
35004         * math/auto-libm-test-out: Regenerated.
35005         * sysdeps/i386/fpu/libm-test-ulps: Update.
35006         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35008         * math/auto-libm-test-in: Add more tests of cos, sin and sincos.
35009         * math/auto-libm-test-out: Regenerated.
35010         * sysdeps/i386/fpu/libm-test-ulps: Update.
35011         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35013         * math/auto-libm-test-in: Add another test of pow.
35014         * math/auto-libm-test-out: Regenerated.
35015         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35017         * math/auto-libm-test-in: Add more tests of lgamma.
35018         * math/auto-libm-test-out: Regenerated.
35019         * sysdeps/i386/fpu/libm-test-ulps: Update.
35020         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35022         * math/auto-libm-test-in: Add more tests of log, log10, log2 and
35023         log1p.
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 2015-05-01  Mark Wielaard  <mjw@redhat.com>
35030         * elf/elf.h: Add SHF_COMPRESSED section flag, Elf32_Chdr and
35031         Elf64_Chdr structs and ELFCOMPRESS constants.
35033 2015-05-01  Joseph Myers  <joseph@codesourcery.com>
35035         * math/auto-libm-test-in: Add more tests of exp, exp10, exp2 and
35036         expm1.
35037         * math/auto-libm-test-out: Regenerated.
35038         * sysdeps/i386/fpu/libm-test-ulps: Update.
35039         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35041         * math/auto-libm-test-in: Add more tests of erf and erfc.
35042         * math/auto-libm-test-out: Regenerated.
35043         * sysdeps/i386/fpu/libm-test-ulps: Update.
35044         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35046 2015-05-01  Szabolcs Nagy  <szabolcs.nagy@arm.com>
35048         * config.h.in (HAVE_AARCH64_BE): Add.
35050 2015-04-30  Joseph Myers  <joseph@codesourcery.com>
35052         * math/auto-libm-test-in: Add more tests of csqrt.
35053         * math/auto-libm-test-out: Regenerated.
35054         * sysdeps/i386/fpu/libm-test-ulps: Update.
35055         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35057         * math/auto-libm-test-in: Add more tests of cosh and sinh.
35058         * math/auto-libm-test-out: Regenerated.
35059         * sysdeps/i386/fpu/libm-test-ulps: Update.
35060         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35062         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: Remove file.
35064 2015-04-29  Roland McGrath  <roland@hack.frob.com>
35066         * sysdeps/nacl/bits/typesizes.h (__CLOCK_T_TYPE): Use __SLONGWORD_TYPE.
35067         * sysdeps/nacl/nacl-interfaces.h (nacl_abi_clock_t): Use clock_t.
35069         * sysdeps/nacl/euidaccess.c (euidaccess): Renamed to __euidaccess.
35070         (euidaccess, eaccess): Define as weak aliases.
35072         * sysdeps/nacl/bits/typesizes.h (__SUSECONDS_T_TYPE): Use
35073         __SLONGWORD_TYPE rather than __S32_TYPE.  They are the same size,
35074         but __suseconds_t is often 'long int' so some sources assume that
35075         type is being used (e.g. they use %ld to print tv_usec).
35077 2015-04-29  Florian Weimer  <fweimer@redhat.com>
35079         [BZ #18007]
35080         * nss/nss_files/files-XXX.c (CONCAT): Always enable stayopen.
35081         (CVE-2014-8121)
35082         * nss/tst-nss-getpwent.c: New file.
35083         * nss/Makefile (tests): Add new test.
35085 2015-04-28  Joseph Myers  <joseph@codesourcery.com>
35087         [BZ #18346]
35088         * sysdeps/ieee754/ldbl-128/s_roundl.c (__roundl): Handle all
35089         exponents less than 48 as cases where high part of mantissa needs
35090         examining to determine whether argument is integral.
35091         * math/libm-test.inc (round_test_data): Add more tests.
35093 2015-04-28  Mark Wielaard  <mjw@redhat.com>
35095         * elf/elf.h (SHF_EXCLUDE): Use unsigned 1 for shift.
35097 2015-04-27  David S. Miller  <davem@davemloft.net>
35099         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Remove
35100         __tls_get_addr.
35101         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
35103 2015-04-27  H.J. Lu  <hongjiu.lu@intel.com>
35105         [BZ #18333]
35106         * time/tzset.c (__tzfile_read): Check tzspec_len == 0.
35108 2015-04-27  Florian Weimer  <fweimer@redhat.com>
35110         [BZ #18333]
35111         * time/tzset.c (parse_tzname): Return error on memory allocation
35112         failure.
35113         * test-skeleton.c (struct temp_name_list): Change type of name
35114         member to non-const.
35115         (add_temp_file): Create a copy of the file name.
35116         (delete_temp_files): Deallocate memory.
35117         (create_temp_file): Add comment.
35119 2015-04-24  Florian Weimer  <fweimer@redhat.com>
35121         * io/posix_fallocate.c (posix_fallocate): Do not set errno.
35122         * io/posix_fallocate64.c (posix_fallocate64): Likewise.
35124 2015-04-24  Roland McGrath  <roland@hack.frob.com>
35126         * sysdeps/arm/configure.ac (PI_STATIC_AND_HIDDEN): Define it.
35127         * sysdeps/arm/configure: Regenerated.
35129 2015-04-24  Florian Weimer  <fweimer@redhat.com>
35131         [BZ #17715]
35132         * time/tzfile.c (__tzfile_read): Check for large values of
35133         tzh_ttisstdcnt and tzh_ttisgmtcnt.  Use malloc instead of alloca.
35134         * time/tzset.c (__tzstring_len): New function, based on the old
35135         __tzstring function.
35136         (__tzstring): Call __tzstring_len.
35137         (parse_tzname): New helper function extracted from
35138         __tzset_parse_tz.  Call __tzstring_len, without making a copy of
35139         the input string.
35140         (parse_offset): New helper function extracted from
35141         __tzset_parse_tz.  Replace switch with fallthrough with
35142         initialization before sscanf.
35143         (parse_rule): Likewise.
35144         (__tzset_parse_tz): Rewrite using the new helper functions.  Use
35145         new-style function definition.
35146         * timezone/Makefile (tests): Add tst-tzset.
35147         (tst-tzset.out): Dependencies on time zone files.
35148         (tst-tzset-ENV): Set TZDIR.
35149         (testdata/XT%): Copy crafted time zone files.
35150         * timezone/README: Mention crafted time zone files.
35151         * timezone/testdata/XT1, timezone/testdata/XT2,
35152         timezone/testdata/XT3, timezone/testdata/XT4: New time zone test
35153         files.
35154         * timezone/tst-tzset.c: New test.
35156 2015-04-24  Florian Weimer  <fweimer@redhat.com>
35158         * Makeconfig (+gccwarn): Remove -Winline.
35160 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
35162         * sysdeps/s390/fpu/libm-test-upls: Regenerate.
35164 2015-04-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
35166         * NEWS: Mention sysconf() cache information support for s390.
35167         * sysdeps/unix/sysv/linux/s390/sysconf.c: New File.
35169 2015-04-22  Wilco Dijkstra  <wdijkstr@arm.com>
35171         * math/k_casinh.c (__kernel_casinh): Use __copysign.
35172         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c
35173         (__nearbyint): Likewise.
35174         * sysdeps/ieee754/ldbl-opt/nldbl-copysign.c
35175         (copysignl): Likewise.
35177 2015-04-21  Arjun Shankar  <arjun.is@lostca.se>
35179         [BZ #18287]
35180         * resolv/nss_dns/dns-host.c (getanswer_r): Adjust buffer length
35181         based on padding.  (CVE-2015-1781)
35183 2015-04-20  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
35185         * nptl/pthread_cond_timedwait.c: Change include bits/libc-vdso.h to just
35186         libc-vdso.h.
35187         * sysdeps/powerpc/powerpc32/backtrace.c: Likewise.
35188         * sysdeps/powerpc/powerpc64/backtrace.c: Likewise.
35189         * sysdeps/unix/sysv/linux/aarch64/init-first.c: Likewise.
35190         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
35191         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
35192         * sysdeps/unix/sysv/linux/gettimeofday.c: Likewise.
35193         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Likewise.
35194         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
35195         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
35196         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: Likewise.
35197         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
35198         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
35199         * sysdeps/unix/sysv/linux/tile/gettimeofday.c: Likewise.
35200         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise.
35201         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
35202         * sysdeps/unix/sysv/linux/aarch64/bits/libc-vdso.h: Move to ...
35203         * sysdeps/unix/sysv/linux/aarch64/libc-vdso.h: ... here.
35204         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Move to ...
35205         * sysdeps/unix/sysv/linux/powerpc/libc-vdso.h: ... here.
35206         * sysdeps/unix/sysv/linux/s390/bits/libc-vdso.h: Move to ...
35207         * sysdeps/unix/sysv/linux/s390/libc-vdso.h: ... here.
35208         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Move to ...
35209         * sysdeps/unix/sysv/linux/tile/libc-vdso.h: ... here.
35211 2015-04-19  Paul Eggert  <eggert@cs.ucla.edu>
35213         * stdlib/setenv.c (__add_to_environ):
35214         Dump core quickly if setenv (..., NULL, ...) is called.
35215         This time, do it the right way, and pacify GCC with a pragma.
35217 2015-04-17  Roland McGrath  <roland@hack.frob.com>
35219         * elf/dl-close.c (_dl_close_worker) [DL_NNS == 1]: Just assert that
35220         IMAP->l_prev cannot be null, and #if out the code for the contrary
35221         case, avoiding 'assert (nsid != LM_ID_BASE)' making the compiler
35222         believe that NS (&_dl_ns[NSID]) could point outside the array.
35224         * elf/dl-open.c (_dl_open): Use __glibc_unlikely in invalid namespace
35225         check.  Reject NSID < 0 and NSID >= dl_nns, and check for DL_NNS==1,
35226         before using NSID as an index.
35228 2015-04-17  Il'ya Malakhov <ilmalakhov@yandex.ru>
35230         [BZ #17825]
35231         * sysdeps/sparc/sparc64/memchr.S: Fix signedness handling of length.
35232         * sysdeps/sparc/sparc64/memcmp.S: Likewise.
35233         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
35235 2015-04-17  Roland McGrath  <roland@hack.frob.com>
35237         Add preliminary port to Google Native Client on ARM.
35238         * abi-tags (.*-.*-nacl.*): New entry.
35239         * sysdeps/arm/nacl: New directory.
35240         * sysdeps/nacl: New directory.
35242 2015-04-16  David S. Miller  <davem@davemloft.net>
35244         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Make use of
35245         lowlevellock-futex.h
35247 2015-04-16  Chris Metcalf  <cmetcalf@ezchip.com>
35249         * sysdeps/tile/configure.ac: New file.
35250         * sysdeps/tile/configure: Regenerated.
35252 2015-04-15  Adhemerval Zanella  <adhemerval.zanella@linaro.org>
35254         * wcsmbs/wcschr.c [WCSCHR] (wcschr): Define as __wcschr.  Remove
35255         conditionals for weak_alias and libc_hidden_weak.
35256         * sysdeps/i386/i686/multiarch/wcschr-c.c [libc]: Undefine
35257         libc_hidden_weak and weak_alias.
35258         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c [libc]:
35259         Undefine libc_hidden_weak. Define libc_hidden_def for SHARED builds
35260         and weak_alias for static one.
35262 2015-04-15  David S. Miller  <davem@davemloft.net>
35264         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
35266 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
35268         [BZ #18206]
35269         * wcsmbs/wcsncmp.c (wcsncmp): Compare as wchar_t, not wint_t.
35270           Use signed comparision instead of substraction to avoid
35271           overflow bug.
35272         * localedata/tests-mbwc/tst_wcsncmp.c (tst_wcsncmp):
35273           Take the sign of ret.
35274         * localedata/tests-mbwc/dat_wcsncmp.c (tst_wcsncmp_loc):
35275           Do not expect precise return values. Only the sign matters.
35276         * wcsmbs/Makefile (strop-tests): Add wcsncmp.
35277         * wcsmbs/test-wcsncmp.c: New File.
35278         * string/test-strncmp.c: Add wcsncmp support.
35280 2015-04-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
35282         [BZ #6792]
35283         * math/w_log1p.c: New file.
35284         * math/w_log1pf.c: Likewise.
35285         * math/w_log1pl.c: Likewise.
35286         * math/Makefile (libm-calls): Add w_log1p.
35287         * math/s_log1pl.c (log1pl): Remove weak_alias.
35288         * sysdeps/i386/fpu/s_log1p.S (log1p): Likewise.
35289         * sysdeps/i386/fpu/s_log1pf.S (log1pf): Likewise.
35290         * sysdeps/i386/fpu/s_log1pl.S (log1pl): Likewise.
35291         * sysdeps/x86_64/fpu/s_log1pl.S (log1pl): Likewise.
35292         * sysdeps/ieee754/dbl-64/s_log1p.c (log1p): Likewise.
35293         [NO_LONG_DOUBLE] (log1pl): Likewise.
35294         * sysdeps/ieee754/flt-32/s_log1pf.c (log1pf): Likewise.
35295         * sysdeps/ieee754/ldbl-128/s_log1pl.c (log1pl): Likewise.
35296         * sysdeps/ieee754/ldbl-64-128/s_log1pl.c
35297         (log1p): Remove long_double_symbol.
35298         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (log1pl): Likewise.
35299         * sysdeps/ieee754/ldbl-64-128/w_log1pl.c: New file.
35300         * sysdeps/ieee754/ldbl-128ibm/w_log1pl.c: Likewise.
35301         * sysdeps/m68k/m680x0/fpu/s_log1p.c: Define empty weak_alias to
35302         remove weak_alias for corresponding log1p function.
35303         * sysdeps/m68k/m680x0/fpu/s_log1pf.c: Likewise.
35304         * sysdeps/m68k/m680x0/fpu/s_log1pl.c: Likewise.
35305         * sysdeps/ia64/fpu/w_log1p.c: New file.
35306         * sysdeps/ia64/fpu/w_log1pf.c: Likewise.
35307         * sysdeps/ia64/fpu/w_log1pl.c: Likewise.
35308         * math/libm-test.inc (log1p_test_data): Add errno expectations.
35310 2015-04-10  Joseph Myers  <joseph@codesourcery.com>
35312         [BZ #18247]
35313         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Decrease minimum
35314         decimal exponent by 1.
35315         * stdlib/tst-strtod-round-data: Add more tests.
35316         * stdlib/tst-strtod-round.c (tests): Regenerated.
35318 2015-04-09  Joseph Myers  <joseph@codesourcery.com>
35320         * math/auto-libm-test-in: Add more tests of clog and clog10.
35321         * math/auto-libm-test-out: Regenerated.
35322         * sysdeps/i386/fpu/libm-test-ulps: Update.
35323         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35325 2015-04-09  Roland McGrath  <roland@hack.frob.com>
35327         * Makeconfig (module-cppflags): Exclude all .v.i files.
35328         (skip-module-cppflags): Variable removed.
35330         * configure.ac (libc_config_ok): Initialize before reading
35331         preconfigure scripts, not after.
35332         * configure: Regenerated.
35334         * test-skeleton.c (TIMEOUT): Move #define to top level.
35335         (main): Grok environment variable TEST_DIRECT.  If set, print
35336         test expectation details into that file and then behave as if
35337         given --direct.
35339 2015-04-09  Florian Weimer  <fweimer@redhat.com>
35341         * malloc/tst-scratch_buffer.c (do_test): Suppress truncation
35342         warning on 32-bit.
35344 2015-04-08  David S. Miller  <davem@davemloft.net>
35346         * sysdeps/sparc/fpu/libm-test-ulps: Update.
35348 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
35350         * math/auto-libm-test-in: Add more tests of atanh.
35351         * math/auto-libm-test-out: Regenerated.
35352         * sysdeps/i386/fpu/libm-test-ulps: Update.
35353         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35355         * math/auto-libm-test-in: Add more tests of atan.
35356         * math/auto-libm-test-out: Regenerated.
35357         * sysdeps/i386/fpu/libm-test-ulps: Update.
35358         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35360 2015-04-08  Florian Weimer  <fweimer@redhat.com>
35362         * elf/pldd.c (main): Rewrite to use struct
35363         scratch_buffer instead of extend_alloca.
35364         * elf/pldd-xx.c (find_maps): Likewise.
35365         * grp/initgroups.c: Include <scratch_buffer.h> instead of
35366         <alloca.h>.
35367         * grp/compat-initgroups.c (compat_call): Rewrite to use struct
35368         scratch_buffer instead of extend_alloca.
35369         * nscd/initgrcache.c: Include <scratch_buffer.h>, now needed by
35370         grp/compat-initgroups.c.
35371         * nis/nss_compat/compat-initgroups.c (_nss_compat_initgroups_dyn):
35372         Rewrite to use struct scratch_buffer instead of extend_alloca.
35373         * inet/getnameinfo.c (nrl_domainname, getnameinfo): Likewise.
35374         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
35376 2015-04-08  Joseph Myers  <joseph@codesourcery.com>
35378         * math/auto-libm-test-in: Add more tests of cbrt.
35379         * math/auto-libm-test-out: Regenerated.
35380         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
35382         * math/auto-libm-test-in: Add more tests of cabs.
35383         * math/auto-libm-test-out: Regenerated.
35384         * sysdeps/i386/fpu/libm-test-ulps: Update.
35385         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35387         [BZ #18210]
35388         [BZ #18211]
35389         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <fenv.h>.
35390         (__ieee754_atan2): Set FE_TONEAREST mode for internal
35391         computations.
35392         * math/auto-libm-test-in: Add more tests of atan2, carg, clog and
35393         clog10.
35394         * math/auto-libm-test-out: Regenerated.
35395         * sysdeps/i386/fpu/libm-test-ulps: Update.
35396         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35398         [BZ #18197]
35399         * sysdeps/ieee754/dbl-64/s_atan.c: Include <fenv.h>.
35400         (atan): Set FE_TONEAREST mode for internal computations.
35401         * math/auto-libm-test-in: Add more tests of atan.
35402         * math/auto-libm-test-out: Regenerated.
35404 2015-04-07  James Cowgill  <james410@cowgill.org.uk>
35406         [BZ #17930]
35407         * sysdeps/unix/sysv/linux/mips/bits/shm.h (SHM_NORESERVE): Define.
35409 2015-04-07  Florian Weimer  <fweimer@redhat.com>
35411         * malloc/scratch_buffer_grow_preserve.c: Include <string.h>
35413 2015-04-07  Florian Weimer  <fweimer@redhat.com>
35415         * include/scratch_buffer.h: New file.
35416         * malloc/scratch_buffer_grow.c: Likewise.
35417         * malloc/scratch_buffer_grow_preserve.c: Likewise.
35418         * malloc/scratch_buffer_set_array_size.c: Likewise.
35419         * malloc/tst-scratch_buffer.c: Likewise.
35420         * malloc/Makefile (routines): Add scratch_buffer_grow.
35421         (tests): Add test case.
35422         * malloc/Versions (GLIBC_PRIVATE): Export
35423         __libc_scratch_buffer_grow, __libc_scratch_buffer_grow_preserve,
35424         __libc_scratch_buffer_set_array_size.
35426 2015-04-06  Richard Henderson  <rth@redhat.com>
35428         * sysdeps/unix/alpha/sysdep.h: Unconditionally include dl-sysdep.h.
35429         * sysdeps/alpha/fpu/libm-test-ulps: Update.
35431         * math/test-fenvinline.c (feenable_test): Cast fe_exc to
35432         unsigned int before printing.
35434 2015-04-03  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
35436         [BZ #17596]
35437         * wcsmbs/mbrtowc.c (__mbrtowc): Add check for n=0.
35438         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
35440 2015-04-02  Florian Weimer  <fweimer@redhat.com>
35442         * include/libc-internal.h (libc_max_align_t): Define.
35444 2015-04-02  Andreas Schwab  <schwab@suse.de>
35446         [BZ #16850]
35447         * sysdeps/unix/sysv/linux/aarch64/bits/sigstack.h: New file.
35449 2015-04-02  Mel Gorman  <mgorman@suse.de>
35451         [BZ #17195]
35452         * malloc/arena.c (free): Apply trim threshold to per-thread heaps
35453         as well as the main arena.
35455 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
35457         [BZ #18185]
35458         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo): Limit threads
35459         sharing L2 cache to 2 for Silvermont/Knights Landing.
35461 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
35463         [BZ #17711]
35464         * config.make.in (have-protected-data): New.
35465         * configure.ac: Check linker support for protected data symbol.
35466         * configure: Regenerated.
35467         * elf/Makefile (modules-names): Add tst-protected1moda and
35468         tst-protected1modb if $(have-protected-data) is yes.
35469         (tests): Add tst-protected1a and tst-protected1b if
35470         $(have-protected-data) is yes.
35471         ($(objpfx)tst-protected1a): New.
35472         ($(objpfx)tst-protected1b): Likewise.
35473         (tst-protected1modb.so-no-z-defs): Likewise.
35474         * elf/tst-protected1a.c: New file.
35475         * elf/tst-protected1b.c: Likewise.
35476         * elf/tst-protected1mod.h: Likewise.
35477         * elf/tst-protected1moda.c: Likewise.
35478         * elf/tst-protected1modb.c: Likewise.
35480 2015-03-31  H.J. Lu  <hongjiu.lu@intel.com>
35482         [BZ #17711]
35483         * elf/dl-lookup.c (do_lookup_x): When UNDEF_MAP is NULL, which
35484         indicates it is called from do_lookup_x on relocation against
35485         protected data, skip the data definion in the executable from
35486         copy reloc.
35487         (_dl_lookup_symbol_x): Pass ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA,
35488         instead of ELF_RTYPE_CLASS_PLT, to do_lookup_x for
35489         EXTERN_PROTECTED_DATA relocation against STT_OBJECT symbol.
35490         * sysdeps/generic/ldsodefs.h * (ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA):
35491         New.  Defined to 4 if DL_EXTERN_PROTECTED_DATA is defined,
35492         otherwise to 0.
35493         * sysdeps/i386/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
35494         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Set class
35495         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_386_GLOB_DAT.
35496         * sysdeps/x86_64/dl-lookupcfg.h (DL_EXTERN_PROTECTED_DATA): New.
35497         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Set class
35498         to ELF_RTYPE_CLASS_EXTERN_PROTECTED_DATA for R_X86_64_GLOB_DAT.
35500 2015-03-28  Martin Galvan  <martin.galvan@tallertechnologies.com>
35502         * sysdeps/nptl/pthread.h: Remove duplicate definition of
35503         PTHREAD_ADAPTIVE_MUTEX_INITIALIZER_NP.
35505 2015-03-27  Martin Galvan  <martin.galvan@tallertechnologies.com>
35507         * sysdeps/i386/nptl/tls.h: Swap comments between THREAD_SETMEM and
35508         THREAD_SETMEM_NC.
35509         * sysdeps/x86_64/nptl/tls.h: Ditto.
35511 2015-03-27  Roland McGrath  <roland@hack.frob.com>
35513         * dlfcn/tststatic.c (main): Converted to ...
35514         (do_test): ... this.
35515         (TEST_FUNCTION): New macro.
35516         Include test-skeleton.c.
35518 2015-03-26  Alan Modra  <amodra@gmail.com>
35520         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_fixup_plt):
35521         Don't segfault if ifunc resolver returns a NULL.  Do set plt to
35522         zero for undefined weak.
35523         (elf_machine_plt_conflict): Similarly.
35525 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
35527         * math/auto-libm-test-in: Add more tests of acosh, asinh and
35528         atanh.
35529         * math/auto-libm-test-out: Regenerated.
35530         * sysdeps/i386/fpu/libm-test-ulps: Update.
35531         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35533         * math/auto-libm-test-in: Add another test of asin.
35534         * math/auto-libm-test-out: Regenerated.
35535         * sysdeps/i386/fpu/libm-test-ulps: Update.
35536         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35538         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (LLL_EBX_LOAD):
35539         Remove macro.
35540         (LLL_EBX_REG): Likewise.
35541         (LLL_ENTER_KERNEL): Likewise.
35543         * math/auto-libm-test-in: Add more tests of asin.
35544         * math/auto-libm-test-out: Regenerated.
35545         * sysdeps/i386/fpu/libm-test-ulps: Update.
35546         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35548         [BZ #18138]
35549         * sysdeps/unix/sysv/linux/i386/sysdep.h (struct
35550         libc_do_syscall_args): New structure.
35551         (INTERNAL_SYSCALL_MAIN_0): New macro.
35552         (INTERNAL_SYSCALL_MAIN_1): Likewise.
35553         (INTERNAL_SYSCALL_MAIN_2): Likewise.
35554         (INTERNAL_SYSCALL_MAIN_3): Likewise.
35555         (INTERNAL_SYSCALL_MAIN_4): Likewise.
35556         (INTERNAL_SYSCALL_MAIN_5): Likewise.
35557         (INTERNAL_SYSCALL_MAIN_6): Likewise.  Call __libc_do_syscall.
35558         (INTERNAL_SYSCALL): Define to use INTERNAL_SYSCALL_MAIN_##nr.
35559         Replace conditional definitions by conditional definitions of ....
35560         (INTERNAL_SYSCALL_MAIN_INLINE): ... this.  New macro.
35561         * sysdeps/unix/sysv/linux/i386/libc-do-syscall.S: New file.
35562         * sysdeps/unix/sysv/linux/i386/Makefile [$(subdir) = nptl]
35563         (libpthread-sysdep_routines): Add libc-do-syscall.
35564         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: Remove file.
35565         * sysdeps/unix/sysv/linux/i386/lowlevellock.h (SYS_futex): Define
35566         to __NR_futex not 240.
35568 2015-03-25  Alan Modra  <amodra@gmail.com>
35570         * NEWS: Advertise TLS optimization.
35571         * elf/elf.h (R_PPC_TLSGD, R_PPC_TLSLD, DT_PPC_OPT, PPC_OPT_TLS): Define.
35572         (DT_PPC_NUM): Increment.
35573         * elf/dynamic-link.h (HAVE_STATIC_TLS): Define.
35574         (CHECK_STATIC_TLS): Use here.
35575         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Optimize
35576         TLS descriptors.
35577         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
35578         * sysdeps/powerpc/dl-tls.c: New file.
35579         * sysdeps/powerpc/Versions: Add __tls_get_addr_opt.
35580         * sysdeps/powerpc/tst-tlsopt-powerpc.c: New tls test.
35581         * sysdeps/unix/sysv/linux/powerpc/Makefile: Add new test.
35582         Build tst-tlsmod2.so with --no-tls-get-addr-optimize.
35583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: Update.
35584         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: Likewise.
35585         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: Likewise.
35587 2015-03-25  Alan Modra  <amodra@gmail.com>
35589         * sysdeps/powerpc/powerpc64/configure.ac: Correct "linker support
35590         for overlapping .opd entries" to "support...".
35591         * sysdeps/powerpc/powerpc64/configure: Regenerate
35593 2015-03-25  Joseph Myers  <joseph@codesourcery.com>
35595         * math/auto-libm-test-in: Add more tests of acos.
35596         * math/auto-libm-test-out: Regenerated.
35597         * sysdeps/i386/fpu/libm-test-ulps: Update.
35598         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35600         * math/auto-libm-test-in: Add more tests of expm1.
35601         * math/auto-libm-test-out: Regenerated.
35602         * sysdeps/i386/fpu/libm-test-ulps: Update.
35603         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35605 2015-03-24  Joseph Myers  <joseph@codesourcery.com>
35607         * math/auto-libm-test-in: Add more tests of cosh and sinh.
35608         * math/auto-libm-test-out: Regenerated.
35609         * sysdeps/i386/fpu/libm-test-ulps: Update.
35610         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35612         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
35613         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35615         * math/auto-libm-test-in: Add more tests of log2.
35616         * math/auto-libm-test-out: Regenerated.
35617         * sysdeps/i386/fpu/libm-test-ulps: Update.
35618         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
35620 2015-03-23  Roland McGrath  <roland@hack.frob.com>
35622         * libio/iofdopen.c: Move FD_FLAGS declaration into its first use,
35623         inside [F_GETFL].  Remove POSIX_MODE local variable, just test the
35624         _IO_IS_APPENDING bit in READ_WRITE instead.
35626 2015-03-23  Florian Weimer  <fweimer@redhat.com>
35628         * sysdeps/unix/sysv/linux/pthread_setaffinity.c
35629         (__determine_cpumask_size): Replace extend_alloca with a
35630         variable-length array.  Do not treat res == 0 as an error.
35632 2015-03-23  Florian Weimer  <fweimer@redhat.com>
35634         [BZ #18100]
35635         * posix/wordexp.c (eval_expr_multdiv): Check for division by zero
35636         and integer overflow.
35637         * posix/wordexp-test.c (test_case): Add divide-by-zero test.
35638         (main): Add integer overflow tests.
35639         * manual/pattern.texi (Calling Wordexp): Document additional use
35640         for WRDE_SYNTAX.
35642 2015-03-23  Alan Modra  <amodra@gmail.com>
35644         * config.h.in: Remove HAVE_ASM_PPC_REL16.
35645         * sysdeps/powerpc/powerpc32/tls-macros.h: Remove HAVE_ASM_PPC_REL16
35646         and false branch of conditional.
35647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
35648         Likewise.
35650 2015-03-21  Samuel Thibault  <samuel.thibault@ens-lyon.org
35652         * sysdeps/mach/hurd/Makefile ($(common-objpfx)errnos.d): Depend on
35653         libc-modules.h
35654         * sysdeps/mach/hurd/i386/trampoline.c (_hurd_setup_sighandler): Remove
35655         unused declaration of _hurd_intr_rpc_msg_in_trap.
35656         * mach/mach_init.c (__mach_init): Test whether HAVE_HOST_PAGE_SIZE is
35657         defined instead of whether it is non-zero.
35658         * sysdeps/mach/hurd/i386/intr-msg.h (INTR_MSG_TRAP): Use "+m"
35659         input constraint instead of both input and output constraint.  Use ecx
35660         clobber instead of %ecx.
35661         * sysdeps/mach/hurd/malloc-machine.h (mutex_init, mutex_lock,
35662         mutex_unlock): Use a statement expression instead of an expression list.
35663         * sysdeps/mach/hurd/setitimer.c (_hurd_itimer_thread_stack_size): Set
35664         type to vm_size_t instead of vm_address_t.
35665         * sysdeps/mach/hurd/fork.c (__fork): Test whether STACK_GROWTH_UP is
35666         defined instead of whether it is non-zero.
35667         * hurd/hurd/ioctl.h (_hurd_locked_install_cttyid): New declaration.
35668         * sysdeps/mach/hurd/setsid.c: Include <hurd/ioctl.h>.
35669         * sysdeps/mach/hurd/mmap.c (__mmap): Use 0 instead of NULL for
35670         comparisons with mapaddr.
35671         * nscd/nscd-client.h: Include <time.h>.
35672         * sysdeps/mach/hurd/dl-sysdep.c (fmh): Pass vm_offset_t dummy
35673         9th parameter to __vm_region instead of int.
35674         * bits/termios.h [!__USE_MISC] (EXTPROC): Do not define.
35675         * scripts/check-local-headers.sh (exclude): Add device/,
35676         hurd/hurd_types.h, hurd/ioctl_types.h, hurd/paths.h, hurd/ioctls.defs,
35677         cthreads.h.
35679 2015-03-19  Roland McGrath  <roland@hack.frob.com>
35681         * sysdeps/arm/memcpy.S [ARM_ALWAYS_BX]: Fix computed-jump calculations
35682         to account for alignment padding.
35683         * sysdeps/arm/memmove.S: Likewise.
35685 2015-03-19  Chris Metcalf  <cmetcalf@ezchip.com>
35687         * sysdeps/unix/sysv/linux/generic/README: New file.
35689 2015-03-18  Joseph Myers  <joseph@codesourcery.com>
35691         [BZ #18138]
35692         * nptl/sem_waitcommon.c: Include <kernel-features.h>.
35693         (futex_abstimed_wait)
35694         [__ASSUME_FUTEX_CLOCK_REALTIME && lll_futex_timed_wait_bitset]:
35695         Use lll_futex_timed_wait_bitset with FUTEX_CLOCK_REALTIME instead
35696         of lll_futex_timed_wait.
35698 2015-03-18  Brad Hubbard  <bhubbard@redhat.com>
35700         [BZ #17542]
35701         * sunrpc/svc.c (xprt_register): Use calloc to allocate xports.
35703 2015-03-17  Alexandre Oliva <aoliva@redhat.com>
35705         [BZ #17090]
35706         [BZ #17620]
35707         [BZ #17621]
35708         [BZ #17628]
35709         * NEWS: Update.
35710         * elf/dl-tls.c (_dl_update_slotinfo): Clean up outdated DTV
35711         entries with Static TLS too.  Skip entries past the end of the
35712         allocated DTV, from Alan Modra.
35713         (tls_get_addr_tail): Update to glibc_likely/unlikely.  Move
35714         Static TLS DTV entry set up from...
35715         (_dl_allocate_tls_init): ... here (fix modid assertion), ...
35716         * elf/dl-reloc.c (_dl_nothread_init_static_tls): ... here...
35717         * nptl/allocatestack.c (init_one_static_tls): ... and here...
35718         * elf/dlopen.c (dl_open_worker): Drop l_tls_modid upper bound
35719         for Static TLS.
35720         * elf/tlsdeschtab.h (map_generation): Return size_t.  Check
35721         that the slot we find is associated with the given map before
35722         using its generation count.
35723         * nptl_db/db_info.c: Include ldsodefs.h.
35724         (rtld_global, dtv_slotinfo_list, dtv_slotinfo): New typedefs.
35725         * nptl_db/structs.def (DB_RTLD_VARIABLE): New macro.
35726         (DB_MAIN_VARIABLE, DB_RTLD_GLOBAL_FIELD): Likewise.
35727         (link_map::l_tls_offset): New struct field.
35728         (dtv_t::counter): Likewise.
35729         (rtld_global): New struct.
35730         (_rtld_global): New rtld variable.
35731         (dl_tls_dtv_slotinfo_list): New rtld global field.
35732         (dtv_slotinfo_list): New struct.
35733         (dtv_slotinfo): Likewise.
35734         * nptl_db/td_symbol_list.c: Drop gnu/lib-names.h include.
35735         (td_lookup): Rename to...
35736         (td_mod_lookup): ... this.  Use new mod parameter instead of
35737         LIBPTHREAD_SO.
35738         * nptl_db/td_thr_tlsbase.c: Include link.h.
35739         (dtv_slotinfo_list, dtv_slotinfo): New functions.
35740         (td_thr_tlsbase): Check DTV generation.  Compute Static TLS
35741         addresses even if the DTV is out of date or missing them.
35742         * nptl_db/fetch-value.c (_td_locate_field): Do not refuse to
35743         index zero-length arrays.
35744         * nptl_db/thread_dbP.h: Include gnu/lib-names.h.
35745         (td_lookup): Make it a macro implemented in terms of...
35746         (td_mod_lookup): ... this declaration.
35747         * nptl_db/db-symbols.awk (DB_RTLD_VARIABLE): Override.
35748         (DB_MAIN_VARIABLE): Likewise.
35750 2015-03-16  H.J. Lu  <hongjiu.lu@intel.com>
35752         [BZ #18134]
35753         * sysdeps/x86_64/dl-trampoline.S (PRESERVE_BND_REGS_PREFIX): New.
35755 2015-03-15  Paul Eggert  <eggert@cs.ucla.edu>
35757         * stdlib/setenv.c (__add_to_environ): Revert previous change.
35759 2015-03-14  Andreas Schwab  <schwab@linux-m68k.org>
35761         [BZ #18128]
35762         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (atomic_exchange_and_add)
35763         (atomic_add, atomic_increment_and_test)
35764         (atomic_decrement_and_test): Fix 64-bit arithmetic.
35766 2015-03-13  Paul Eggert  <eggert@cs.ucla.edu>
35768         * stdlib/setenv.c (__add_to_environ):
35769         Dump core quickly if setenv (..., NULL, ...) is called.
35771 2015-03-13  Roland McGrath  <roland@hack.frob.com>
35773         * sysdeps/arm/tls-macros.h: Include <sysdep.h>.
35774         (GET_SPECIAL_RELOC, GET_SPECIAL_PCREL): New macros to encapsulate
35775         all the necessary asm magic in one place.
35776         (TLS_LE, TLS_IE, TLS_LD, TLS_GD): Rewritten as C expressions
35777         using those.
35779 2015-03-13  Carlos O'Donell  <carlos@redhat.com>
35781         [BZ #14906]
35782         * nscd/cache.c (prune_cache): Use TRACED_FILE. Compare and update
35783         traced file mtime. Use consistent log message.
35784         * nscd/connections.c [HAVE_INOTIFY] (install_watches): New function.
35785         (register_traced_file): Call install_watches. Always set mtime.
35786         (invalidate_cache): Iterate over all trace files. Call install_watches.
35787         (inotify_check_files): Don't inline. Handle watching parent
35788         directories and configuration file movement in and out.
35789         (handle_inotify_events): New function.
35790         (main_loop_poll): Call handle_inotify_events.
35791         (main_loop_epoll): Likewise.
35792         * nscd/nscd.h: Define TRACED_FILE, TRACED_DIR, and PATH_MAX.
35793         (struct traced_file): Use array of inotify fds. Add parent directory,
35794         and basename.
35795         (struct database_dyn): Remove unused file_mtime.
35796         (init_traced_file): New inline function.
35797         (define_traced_file): New macro.
35798         * nss/nss_db/db-init.c: Use define_traced_file.
35799         (_nss_db_init): Use init_traced_file.
35800         * nss/nss_files/files-init.c: Use define_traced_file.
35801         (_nss_files_init): Use init_traced_file.
35803 2015-03-12  Joseph Myers  <joseph@codesourcery.com>
35805         * soft-fp/soft-fp.h (_FP_STATIC_ASSERT): New macro.
35806         [_LIBC]: Do not include <stdlib.h>.
35807         [!_LIBC] (abort): Remove declaration.
35808         * soft-fp/op-2.h (_FP_MUL_MEAT_2_120_240_double): Use
35809         _FP_STATIC_ASSERT instead of conditionally calling abort.
35810         * soft-fp/op-common.h (_FP_FROM_INT): Likewise.
35811         (_FP_EXTEND_CNAN): Likewise.
35812         (FP_TRUNC): Likewise.
35813         (__FP_CLZ): Likewise.
35814         * sysdeps/powerpc/nofpu/flt-rounds.c: Include <stdlib.h>.
35816 2015-03-12  Yaakov Selkowitz  <yselkowi@redhat.com>
35818         * manual/string.texi (XPG basename): Fix prototype.
35820 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
35822         [BZ #18080]
35823         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S
35824         (__setcontext): Use SIG_SETMASK instead of SIG_BLOCK.
35825         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S
35826         (__setcontext): Likewise.
35827         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S
35828         (__swapcontext): Use SIG_SETMASK instead of SIG_BLOCK.
35829         Call rt_sigprocmask syscall one time to set new signal mask
35830         and retrieve the current signal mask instead of two calls.
35831         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S
35832         (__swapcontext): Likewise.
35833         * stdlib/Makefile (tests): Add new testcase tst-setcontext2.
35834         * stdlib/tst-setcontext2.c: New file.
35836 2015-03-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
35838         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
35840 2015-03-11  Aurelien Jarno  <aurelien@aurel32.net>
35842         [BZ #18093]
35843         * elf/cache.c (load_aux_cache): Regenerate the cache if it has
35844         the wrong size.
35846 2015-03-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
35848         [BZ #18043]
35849         * posix/wordexp.c (parse_param): Don't call setenv(..., NULL, 1).
35851 2015-03-11  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
35853         * config.h.in [HAVE_ASM_GLOBAL_DOT_NAME]: Remove define.
35854         * include/libc-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (strong_alias):
35855         Remove define.
35856         [HAVE_ASM_GLOBAL_DOT_NAME] (strong_data_alias): Likewise.
35857         [HAVE_ASM_GLOBAL_DOT_NAME] (weak_alias): Likewise.
35858         [HAVE_ASM_GLOBAL_DOT_NAME] (_symbol_version): Likewise.
35859         [HAVE_ASM_GLOBAL_DOT_NAME] (_default_symbol_version): Likewise.
35860         [HAVE_ASM_GLOBAL_DOT_NAME] (HIDDEN_JUMPTARGET): Likewise.
35861         * nptl_db/db-symbols.h [HAVE_ASM_GLOBAL_DOT_NAME] (DOT): Remove
35862         define.
35863         * nptl_db/td_symbol_list.c (td_lookup): Remove
35864         HAVE_ASM_GLOBAL_DOT_NAME code.
35865         * sysdeps/powerpc/powerpc64/configure.ac: Remove
35866         HAVE_ASM_GLOBAL_DOT_NAME check.
35867         * sysdeps/powerpc/powerpc64/configure: Regenerate.
35868         * sysdeps/powerpc/powerpc64/sysdep.h [HAVE_ASM_GLOBAL_DOT_NAME]
35869         (DOT_LABEL): Remove define.
35870         [HAVE_ASM_GLOBAL_DOT_NAME] (BODY_LABEL): Likewise.
35871         [HAVE_ASM_GLOBAL_DOT_NAME] (ENTRY_2): Likewise.
35872         [HAVE_ASM_GLOBAL_DOT_NAME] (END_2): Likewise.
35873         * sysdeps/powerpc/powerpc64/tls-macros.h [HAVE_ASM_GLOBAL_DOT_NAME]
35874         (__TLS_GET_ADDR): Likewise.
35875         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h
35876         [HAVE_ASM_GLOBAL_DOT_NAME] (DASHDASHPFX): Likewise.
35878 2015-03-11  Carlos O'Donell  <carlos@redhat.com>
35880         [BZ #18111]
35881         * sysdeps/hppa/fpu/fpu_control.h (_FPU_HPPA_SHIFT_FLAGS): Define.
35882         (_FPU_SETCW): Initialize cw from fpsr before storing.
35883         * sysdeps/hppa/fpu/fsetexcptflg.c: Include fpu_control.h
35884         (fesetexceptflag): Rewrite using fpu_control.h.
35885         * sysdeps/hppa/fpu/feupdateenv.c: Handle FE_DFL_ENV, and FE_NOMASK_ENV.
35887 2015-03-11  John David Anglin  <danglin@gcc.gnu.org>
35889         [BZ #18110]
35890         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Don't modify bufptr in
35891         asms.
35892         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
35894 2015-03-11  Joseph Myers  <joseph@codesourcery.com>
35896         * soft-fp/soft-fp.h (_FP_UNREACHABLE): New macro.
35897         * soft-fp/op-common.h (_FP_MUL): Use _FP_UNREACHABLE instead of
35898         abort.
35899         (_FP_FMA): Likewise.
35900         (_FP_DIV): Likewise.
35902 2015-03-10  Roland McGrath  <roland@hack.frob.com>
35904         * scripts/evaluate-test.sh: Grok exit code 77 as UNSUPPORTED and exit
35905         with 0 in that case.
35906         * Makefile (summarize-tests): New canned sequence, factored out of
35907         commands for targets tests and xtests.  Display summary lines that
35908         don't start with PASS: or XFAIL: rather than ones that do start with
35909         ERROR: or FAIL:.  Make the commands fail if any summary lines fail
35910         to start with X?PASS: or XFAIL: or UNSUPPORTED: rather than if any
35911         do start with ERROR: or FAIL:.
35912         * dlfcn/Makefile (tests): Add bug-atexit3 back here unconditionally
35913         (except for [$(build-shared) = yes]).
35914         (tests-unsupported) [$(CXX) empty]: Add bug-atexit3.
35915         (LDLIBS-bug-atexit3-lib.so): Conditionalize on [$(CXX) nonempty].
35916         ($(objpfx)bug-atexit3, $(objpfx)bug-atexit3.out): Likewise.
35917         * nptl/Makefile: Revert 2015-03-04 changes.
35918         [$(CXX) empty] (tests-unsupported): New variable.
35919         * debug/Makefile: Likewise.
35921         * posix/regcomp.c: Fix comment typos and formatting to harmonize with
35922         gnulib file.  Replace __attribute with __attribute__ throughout.
35924 2015-03-10  Carlos O'Donell  <carlos@redhat.com>
35926         * sysdeps/hppa/fpu/libm-test-ulps: Update.
35928 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
35930         [BZ #18104]
35931         * math/auto-libm-test-in: Add another test of pow.
35932         * math/auto-libm-test-out: Regenerated.
35934 2015-03-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35936         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_pow.c): Add
35937         $(config-cflags-nofma).
35939 2015-03-10  Joseph Myers  <joseph@codesourcery.com>
35941         * soft-fp/double.h [SOFT_FP_DOUBLE_H]: New multiple-include guard.
35942         * soft-fp/extended.h [SOFT_FP_EXTENDED_H]: Likewise.
35943         * soft-fp/op-1.h [SOFT_FP_OP_1_H]: Likewise.
35944         * soft-fp/op-2.h [SOFT_FP_OP_2_H]: Likewise.
35945         * soft-fp/op-4.h [SOFT_FP_OP_4_H]: Likewise.
35946         * soft-fp/op-8.h [SOFT_FP_OP_8_H]: Likewise.
35947         * soft-fp/op-common.h [SOFT_FP_OP_COMMON_H]: Likewise.
35948         * soft-fp/quad.h [SOFT_FP_QUAD_H]: Likewise.
35949         * soft-fp/single.h [SOFT_FP_SINGLE_H]: Likewise.
35950         * soft-fp/soft-fp.h (SOFT_FP_H): Define to 1 rather than empty.
35951         Add comment on closing #endif.
35953 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
35955         * posix/wordexp.c (CHAR_IN_SET): New macro.
35956         (parse_param): Use it.
35958 2015-03-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
35960         * sysdeps/powerpc/fpu/libm-test-ulps: update.
35962 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
35964         [BZ #18043]
35965         * posix/wordexp.c (parse_param): Fix buffer overflow.
35966         * posix/wordexp-test.c (test_case): Add test case.
35968 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
35970         [BZ #18042]
35971         * posix/wordexp.c (parse_backtick): Fix off-by-one.
35972         * posix/wordexp-test.c (test_case): Add test for BZ #18042.
35974 2015-03-09  Paul Pluzhnikov  <ppluzhnikov@google.com>
35976         [BZ #18043]
35977         * posix/wordexp-test.c (test_case): Add test for BZ #18043
35978         (do_bz18043): Delete.
35979         (at_page_end): New.
35980         (testit): Refactor to have words at the edge of unreadable page.
35982 2015-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
35984         [BZ #16734]
35985         * libio/genops.c (_IO_unbuffer_all): Renamed from _IO_unbuffer_write.
35986         Cleanup read-only streams as well.
35987         (_IO_cleanup): Call _IO_unbuffer_all instead of _IO_unbuffer_write.
35989 2015-03-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
35991         * sysdeps/mach/hurd/bits/libc-lock.h [_LIBC]: Include
35992         <bits/libc-lockP.h>
35994 2015-03-07  Joseph Myers  <joseph@codesourcery.com>
35996         * soft-fp/soft-fp.h (_FP_ZERO_INIT): New macro.  Define depending
35997         on [__KERNEL__].
35998         * soft-fp/op-1.h (_FP_FRAC_DECL_1): Use _FP_ZERO_INIT.
35999         * soft-fp/op-2.h (_FP_FRAC_DECL_2): Likewise.
36000         * soft-fp/op-common.h (_FP_DECL): Likewise.
36002 2015-03-06  H.J. Lu  <hongjiu.lu@intel.com>
36004         * elf/ifuncdep2.c (global): Replace
36005         __attribute__((visibility("protected"))) with
36006         asm (".protected global").
36007         * elf/ifuncmod1.c (global): Likewise.
36008         * elf/ifuncmod5.c (global): Likewise.
36010 2015-03-06  Joseph Myers  <joseph@codesourcery.com>
36012         * soft-fp/soft-fp.h [!_LIBC && __KERNEL__]: Include
36013         <asm/sfp-machine.h> instead of <sfp-machine.h>.
36015 2015-03-06  Roland McGrath  <roland@hack.frob.com>
36017         * manual/install.texi (Configuring and compiling):
36018         Document test-wrapper-env-only.
36019         * INSTALL: Regenerated.
36021 2015-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
36023         [BZ #18043]
36024         * posix/wordexp.c (parse_param): Fix buffer overflow.
36025         * posix/wordexp-test.c (do_bz18043): Add test case.
36027 2015-03-06  Vincent Bernat  <vincent@bernat.im>
36029         * time/tst-strptime2.c (do_test): Ensure failing tests are
36030         reported correctly.
36031         * time/tst-strptime3.c (do_test): Likewise.
36033 2015-03-06  Samuel Thibault  <samuel.thibault@inria.fr>
36035         Fix aio_error thread-safety.
36036         * sysdeps/pthread/aio_error.c: New file
36037         * sysdeps/pthread/aio_misc.c: Remove optimistic comment about
36038         synchronization.
36040 2015-03-06  Florian Weimer  <fweimer@redhat.com>
36042         * stdio-common/vfprintf.c (THOUSANDS_SEP_T): New typedef.
36043         (group_number, vfprintf): Use it.
36044         (JUMP_TABLE_BASE_LABEL): New preprocessor macro.
36045         (JUMP, REF): Use it.
36046         (WORK_BUFFER_SIZE): New enum constant.
36047         (process_arg, vfprintf): Use it.
36049 2015-03-06  Rical Jasan  <ricaljasan@pacific.net>
36051         * manual/errno.texi (Error Messages): Complete example function
36052         by adding missing #define.
36053         (program_invocation_name): Add statement indicating GNU
36054         extension and reference which header file declares the variable.
36055         (program_invocation_short_name): Likewise.
36057 2015-03-06  Mike Frysinger  <vapier@gentoo.org>
36059         * manual/errno.texi (Error Messages): Delete strerror ISO C89
36060         compatibility note.
36062 2015-03-05  Roland McGrath  <roland@hack.frob.com>
36064         * Makeconfig (test-wrapper-env-only): New variable.
36065         * Rules (make-test-out): If variable $*-ENV-only is nonempty,
36066         then use that with $(test-wrapper-env-only) rather than using
36067         $(test-wrapper-env) $(run-program-env) $($*-ENV).
36069 2015-03-05  H.J. Lu  <hongjiu.lu@intel.com>
36071         [BZ #18082]
36072         * sysdeps/alpha/dl-machine.h (elf_machine_type_class): Replace
36073         ELF_RTYPE_CLASS_NOCOPY with ELF_RTYPE_CLASS_COPY in comments.
36074         * sysdeps/arm/dl-machine.h (elf_machine_type_class): Likewise.
36075         * sysdeps/hppa/dl-machine.h (elf_machine_type_class): Likewise.
36076         * sysdeps/i386/dl-machine.h (elf_machine_type_class): Likewise.
36077         * sysdeps/ia64/dl-machine.h (elf_machine_type_class): Likewise.
36078         * sysdeps/m68k/dl-machine.h (elf_machine_type_class): Likewise.
36079         * sysdeps/microblaze/dl-machine.h (elf_machine_type_class):
36080         Likewise.
36081         * sysdeps/nios2/dl-machine.h (elf_machine_type_class): Likewise.
36082         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_type_class):
36083         Likewise.
36084         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_type_class):
36085         Likewise.
36086         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_type_class):
36087         Likewise.
36088         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_type_class):
36089         Likewise.
36090         * sysdeps/sh/dl-machine.h (elf_machine_type_class): Likewise.
36091         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_type_class):
36092         Likewise.
36093         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_type_class):
36094         Likewise.
36095         * sysdeps/tile/dl-machine.h (elf_machine_type_class): Likewise.
36096         * sysdeps/x86_64/dl-machine.h (elf_machine_type_class): Likewise.
36098 2015-03-04  Roland McGrath  <roland@hack.frob.com>
36100         * sysdeps/generic/netinet/if_ether.h: Don't #include <features.h>.
36101         (ETH_ALEN): New macro.
36102         (struct ether_addr): Use it for length of ether_addr_octet.
36104         * nss/test-netdb.c: Don't #include <rpc/netdb.h>.
36105         (setdb): Don't call __nss_configure_lookup for "rpc".
36106         (do_test): Don't call test_rpc.
36107         (output_rpcent, test_rpc): Functions moved ...
36108         * sunrpc/test-rpcent.c: ... to this new file.
36109         * sunrpc/Makefile (tests): Add it.
36111         * nptl/tst-cancel4.c (tf_sigpause) [!SIGCANCEL]: Call pause instead of
36112         __xpg_sigpause.
36113         * nptl/tst-signal3.c: Conditionalize body on [SIGRTMIN].
36114         * nptl/tst-signal6.c: Likewise.
36115         * rt/tst-mqueue5.c: Conditionalize body on [SIGRTMIN && SA_SIGINFO].
36116         * rt/tst-timer4.c: Conditionalize body on [SA_SIGINFO].
36118         * configure.ac (libc_cv_cxx_link_ok): New check.
36119         Reset CXX to empty if it fails to link.
36120         * configure: Regenerated.
36121         * dlfcn/Makefile (tests, modules-names): Add bug-atexit3 and
36122         bug-atexit3-lib only if $(CXX) is nonempty.
36123         * nptl/Makefile (tests): Likewise for tst-cancel24.
36124         (tests, tests-static): Likewise for tst-cancel24-static.
36125         * debug/Makefile (tests): Likewise for tst-chk4, tst-chk5, tst-chk6,
36126         tst-lfschk4, tst-lfschk5, and tst-lfschk6.
36127         * elf/Makefile (tests, modules-names): Likewise for tst-unique3,
36128         tst-unique3lib, tst-unique3lib2, tst-unique4, and tst-unique4lib.
36130 2015-03-04  Andreas Schwab  <schwab@suse.de>
36132         [BZ #17631]
36133         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Don't define
36134         for non-GCC compilers.
36135         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
36136         Likewise.
36138 2015-03-03 Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
36140         [BZ #17776]
36141         * sysdeps/powerpc/bits/fenvinline.h (feraiseexcept): Convert input to
36142         integer before bitwise and assembly operations.
36143         (feclearexcept): Likewise.
36144         * math/test-fenvinline.c: New file.
36145         * math/Makefile: Add test-fenvinline test.
36147 2015-03-03  Alan Modra  <amodra@gmail.com>
36149         [BZ #16512]
36150         * scripts/localplt.awk: Strip off symbol version.
36151         * NEWS: Mention bug fix.
36153 2015-03-02  Roland McGrath  <roland@hack.frob.com>
36155         * sysdeps/pthread/timer_routines.c
36156         (timer_free_list, thread_free_list, thread_active_list): Make static.
36158 2015-03-02  Joseph Myers  <joseph@codesourcery.com>
36160         [BZ #17779]
36161         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
36162         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
36163         Undefine.
36164         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
36165         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
36166         Likewise.
36167         * sysdeps/unix/sysv/linux/sh/kernel-features.h
36168         [__LINUX_KERNEL_VERSION < 0x020625] (__ASSUME_PRLIMIT64):
36169         Likewise.
36171 2015-03-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
36173         [BZ #18036]
36174         * posix/fnmatch_loop.c (END): Detect invalid pattern.
36175         * posix/tst-fnmatch3.c (do_bz18036): Add test case.
36177 2015-03-02  Andreas Schwab  <schwab@suse.de>
36179         * elf/Makefile ($(elf-objpfx)runtime-linker.st): Fix typo in
36180         variable name.
36182 2015-03-02  Florian Weimer  <fweimer@redhat.com>
36184         * nis/nss_nis/nis-initgroups.c (_nss_nis_initgroups_dyn):
36185         Return error status.
36187 2015-02-27  Alexandre Oliva <aoliva@redhat.com>
36189         [BZ #15969]
36190         * locale/findlocale.c (_nl_find_locale): Introduce const
36191         version of loc_name and drop unsafe type casts.
36193 2015-02-27  Roland McGrath  <roland@hack.frob.com>
36195         * dlfcn/tststatic2.c (main): Converted to ...
36196         (do_test): ... this.
36197         (TEST_FUNCTION): New macro.
36198         Include test-skeleton.c.
36200 2015-02-27  H.J. Lu  <hongjiu.lu@intel.com>
36202         [BZ #17711]
36203         * elf/Makefile (tests): Add vismain only if PIE is enabled.
36204         (tests-pie): Add vismain.
36205         (CFLAGS-vismain.c): New.
36206         * elf/vismain.c: Add comments for PIE requirement.
36208 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
36210         [BZ #18046]
36211         [BZ #18047]
36212         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Use
36213         0x1p-56L as threshold for just returning the argument.
36214         * sysdeps/ieee754/ldbl-96/e_atanhl.c (__ieee754_atanhl): Use
36215         0x1p-32L as threshold for just returning the argument.
36216         * math/auto-libm-test-in: Add more tests of atanh.
36217         * math/auto-libm-test-out: Regenerated.
36218         * sysdeps/i386/fpu/libm-test-ulps: Update.
36219         * sysdeps/x86_64/fpu/libm-test-ulp: Likewise.
36221 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
36223         * string/bcopy.c (bcopy): Call memmove for performance.
36225 2015-02-27  Wilco Dijkstra  wdijkstr@arm.com
36227         * string/bzero.c (__bzero): Call memset for performance.
36229 2015-02-27  John David Anglin  <dave.anglin@bell.net>
36231         [BZ #18068]
36232         * sysdeps/unix/sysv/linux/hppa/bits/fcntl.h (__O_SYNC): Change
36233         to 00100000.
36235 2015-02-27  Joseph Myers  <joseph@codesourcery.com>
36237         * sysdeps/ieee754/k_standard.c (CSTR): Add comment.
36239 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
36241         * sysdeps/ieee754/k_standard.c (CSTR): New macro.
36242         (__kernel_standard): Use CSTR macro when setting exc.name.
36243         * sysdeps/ieee754/Makefile [$(subdir) = math]
36244         (CFLAGS-k_standard.c): Remove variable.
36246         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Change last case for
36247         setting p and q from "else if" to "else".
36248         (qzero): Likewise.
36249         * sysdeps/ieee754/dbl-64/e_j1.c (pone): Likewise.
36250         (qone): Likewise.
36251         * sysdeps/ieee754/flt-32/e_j0f.c (pzerof): Likewise.
36252         (qzerof): Likewise.
36253         * sysdeps/ieee754/flt-32/e_j1f.c (ponef): Likewise.
36254         (qonef): Likewise.
36255         * sysdeps/ieee754/ldbl-96/e_j0l.c (pzero): Likewise.
36256         (qzero): Likewise.
36257         * sysdeps/ieee754/ldbl-96/e_j1l.c (pone): Likewise.
36258         (qone): Likewise.
36260         [BZ #18038]
36261         [BZ #18039]
36262         * sysdeps/ieee754/ldbl-128/e_acosl.c (__ieee754_acosl): Only
36263         return pi/2 for arguments below 0x1p-113L.
36264         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Only
36265         return pi/2 for arguments below 0x1p-106L.
36266         * math/auto-libm-test-in: Add more tests of acos.
36267         * math/auto-libm-test-out: Regenerated.
36269         [BZ #16351]
36270         * sysdeps/i386/fpu/e_asin.S (dbl_min): New object.
36271         (MO): New macro.
36272         (__ieee754_asin): Force underflow exception for results with small
36273         absolute value.
36274         * sysdeps/i386/fpu/e_asinf.S (flt_min): New object.
36275         (MO): New macro.
36276         (__ieee754_asinf): Force underflow exception for results with
36277         small absolute value.
36278         * sysdeps/ieee754/dbl-64/e_asin.c: Include <float.h> and <math.h>.
36279         (__ieee754_asin): Force underflow exception for results with small
36280         absolute value.
36281         * sysdeps/ieee754/flt-32/e_asinf.c: Include <float.h>.
36282         (__ieee754_asinf): Force underflow exception for results with
36283         small absolute value.
36284         * sysdeps/ieee754/ldbl-128/e_asinl.c: Include <float.h>.
36285         (__ieee754_asinl): Force underflow exception for results with
36286         small absolute value.
36287         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Include <float.h>.
36288         (__ieee754_asinl): Force underflow exception for results with
36289         small absolute value.
36290         * sysdeps/ieee754/ldbl-96/e_asinl.c: Include <float.h>.
36291         (__ieee754_asinl): Force underflow exception for results with
36292         small absolute value.
36293         * sysdeps/x86_64/fpu/multiarch/e_asin.c [HAVE_FMA4_SUPPORT]:
36294         Include <math.h>.
36295         * math/auto-libm-test-in: Do not mark underflow exceptions as
36296         possibly missing for bug 16351.
36297         * math/auto-libm-test-out: Regenerated.
36299         [BZ #18030]
36300         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Adjust exponent
36301         of power of 2 down when low part has opposite sign.
36302         * math/libm-test.inc (logb_test_data): Add more tests.
36304 2015-02-26  Andreas Schwab  <schwab@suse.de>
36306         [BZ #18032]
36307         * posix/fnmatch_loop.c (FCT): Remove extra increment when skipping
36308         over collating symbol inside a bracket expression.  Minor cleanup.
36309         * posix/tst-fnmatch3.c (do_test): Add test case.
36311 2015-02-26  Joseph Myers  <joseph@codesourcery.com>
36313         [BZ #18029]
36314         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl):
36315         Adjust exponent of power of 2 down when low part has opposite
36316         sign.
36317         * math/libm-test.inc (ilogb_test_data): Add more tests.
36319 2015-02-26  Alexandre Oliva  <aoliva@redhat.com>
36321         [BZ #15969]
36322         * locale/findlocale.c (_nl_find_locale): Fix constness error in
36323         the previous change.
36325         [BZ #15969]
36326         * locale/findlocale.c (_nl_find_locale): Retry archive search
36327         after alias expansion.
36329 2015-02-25  Roland McGrath  <roland@hack.frob.com>
36331         * iconv/tst-iconv3.c (main): Converted to ...
36332         (do_test): ... this.
36333         (TEST_FUNCTION): New macro.
36334         Include test-skeleton.c.
36336         * iconv/tst-iconv5.c (testcode, number): Make variables static const.
36337         (convert): Make function static.
36338         (test_unalign): Likewise.  Add const to argument pointee types.
36339         (main): Replace with static function do_test.
36340         Print "Succeeded." only if RET is zero.
36341         (TEST_FUNCTION): New macro.
36342         Include test-skeleton.c.
36344         * iconv/gconv_conf.c (__gconv_get_path): Don't crash if __getcwd
36345         returns a null pointer.
36347 2015-02-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36349         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Define memcpy
36350         to __memcpy_ppc only for static builds.
36352 2015-02-25  Joseph Myers  <joseph@codesourcery.com>
36354         [BZ #18020]
36355         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use 2**56 and
36356         2**-56 not 2**28 and 2**-29 as thresholds for simpler formulas.
36357         * math/auto-libm-test-in: Add more tests of asinh.
36358         * math/auto-libm-test-out: Regenerated.
36359         * sysdeps/i386/fpu/libm-test-ulps: Update.
36360         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36362 2015-02-25  Cong Wang  <xiyou.wangcong@gmail.com>
36364         [BZ #15850]
36365         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Put in6_pktinfo
36366         and ip6_mtuinfo definitions here.
36367         * sysdeps/unix/sysv/linux/bits/in.h [_UAPI_IPV6_H]: Wrap code
36368         in this define too.  Update comment.
36370 2015-02-24  Benno Schulenberg  <bensberg@justemail.net>
36372         * elf/sprof.c (load_shobj): Tweak error message to match others.
36374 2015-02-24  Kevin Easton  <kevin@guarana.org>
36376         [BZ #16145] (partial fix)
36377         * time/tzset.c (__tz_convert): Unlock tzset_lock earlier
36378         to reduce lock contention.
36380 2015-02-24  Miroslav Lichvar  <mlichvar@redhat.com>
36382         * sysdeps/unix/sysv/linux/bits/timex.h: Update version.
36383         (struct timex): Update time comment.
36384         (ADJ_SETOFFSET): Define.
36386 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
36388         [BZ #18019]
36389         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
36390         2**56 not 2**28 as threshold for log (2x) formula.
36391         * math/auto-libm-test-in: Add more tests of acosh.
36392         * math/auto-libm-test-out: Regenerated.
36393         * sysdeps/i386/fpu/libm-test-ulps: Update.
36394         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
36396 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
36398         * include/alloca.h [_STACK_GROWS_DOWN] (extend_alloca): Add
36399         parenthesis around the buf assignment.
36400         [_STACK_GROWS_UP] (extend_alloca): Add a char* cast.
36402 2015-02-24  Joseph Myers  <joseph@codesourcery.com>
36404         [BZ #16783]
36405         * sysdeps/i386/fpu/e_scalb.S (__ieee754_scalb): Do not handle
36406         arguments (NaN, -Inf) the same as (+/-Inf, -Inf).
36407         * sysdeps/i386/fpu/e_scalbf.S (__ieee754_scalbf): Likewise.
36408         * sysdeps/i386/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
36409         * sysdeps/x86_64/fpu/e_scalbl.S (__ieee754_scalbl): Likewise.
36410         * math/libm-test.inc (scalb_test_data): Add more tests.
36412 2015-02-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
36414         [BZ #17916]
36415         * libio/fileops.c (_IO_new_file_fopen): Limit stack use
36416         * libio/tst-fopenloc.c (do_test, do_bz17916): Add a large ccs= test
36418 2015-02-24  Eric Rannaud  <e@nanocritical.com>
36420         [BZ #17523]
36421         * io/fcntl.h (__OPEN_NEEDS_MODE): New macro.
36422         * io/bits/fcntl2.h (open): Use it.
36423         (openat): Likewise.
36424         * io/open.c (__libc_open): Likewise.
36425         * io/open64.c (__libc_open64): Likewise.
36426         * io/open64_2.c (__open64_2): Likewise.
36427         * io/open_2.c (__open_2): Likewise.
36428         * io/openat.c (__openat): Likewise.
36429         * io/openat64.c (__openat64): Likewise.
36430         * io/openat64_2.c (__openat64_2): Likewise.
36431         * io/openat_2.c (__openat_2): Likewise.
36432         * sysdeps/mach/hurd/open.c (__libc_open): Likewise.
36433         * sysdeps/mach/hurd/openat.c (__openat): Likewise.
36434         * sysdeps/posix/open64.c (__libc_open64): Likewise.
36435         * sysdeps/unix/sysv/linux/dl-openat64.c (openat64): Likewise.
36436         * sysdeps/unix/sysv/linux/generic/open.c (__libc_open): Likewise.
36437         (__open_nocancel): Likewise.
36438         * sysdeps/unix/sysv/linux/generic/open64.c (__libc_open64): Likewise.
36439         * sysdeps/unix/sysv/linux/open64.c (__libc_open64): Likewise.
36440         * sysdeps/unix/sysv/linux/openat.c (__OPENAT): Likewise.
36442 2015-02-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
36444         [BZ #14841]
36445         * resolv/gethnamaddr.c (getanswer): Skip logging if
36446         RES_USE_DNSSEC is set.
36447         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
36449 2015-02-24  Mike Frysinger  <vapier@gentoo.org>
36451         * sysdeps/unix/sysv/linux/hppa/sysdep.h: Include dl-sysdep.h.
36453 2015-02-23  Alexandre Oliva <aoliva@redhat.com>
36455         * include/stdc-predef.h (__STDC_ISO_10646__): Update to
36456         201304L, for Unicode 7.
36458 2015-02-23  H.J. Lu  <hongjiu.lu@intel.com>
36460         [BZ #17836]
36461         * csu/Makefile (extra-objs): Add gmon-start.o if not builing
36462         shared library.  Add gmon-start.os otherwise.
36463         ($(objpfx)g$(start-installed-name)): Use $(objpfx)S%
36464         $(objpfx)gmon-start.os if builing shared library.
36465         ($(objpfx)g$(static-start-installed-name)): Likewise.
36467 2015-02-23  Andreas Schwab  <schwab@suse.de>
36469         * elf/Makefile (CFLAGS-tst-audit2.c): Define.
36471 2015-02-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
36473         [BZ #17269]
36474         * libio/wstrops.c (_IO_wstr_overflow): Guard against integer overflow
36475         (enlarge_userbuf): Likewise.
36477 2015-02-22  Chung-Lin Tang  <cltang@codesourcery.com>
36479         * libio/tst-memstream2.c (TIMEOUT): Define as 100.
36480         * math/atest-exp.c (TIMEOUT): Adjust to 200.
36481         * math/atest-exp2.c (TIMEOUT): Adjust to 300.
36482         * math/atest-sincos.c (TIMEOUT): Adjust to 600.
36484 2015-02-20  Joseph Myers  <joseph@codesourcery.com>
36486         * soft-fp/op-common.h (_FP_FROM_INT): Wrap call to abort in
36487         expression inside statement expression.
36489 2015-02-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
36491         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Include
36492         <sysdeps/nptl/lowlevellock.h> and remove macros and
36493         functions that are now defined there.
36494         (SYS_futex): Remove.
36495         (lll_compare_and_swap): Remove.
36496         * sysdeps/s390/bits/atomic.h (atomic_exchange_acq): Define.
36498 2015-02-19  Joseph Myers  <joseph@codesourcery.com>
36500         [BZ #17999]
36501         * dirent/scandir.c [!SCANDIR] (SCANDIRAT): Define to __scandirat
36502         instead of scandirat.
36503         * dirent/scandirat.c [!SCANDIRAT] (SCANDIRAT): Likewise.
36504         [!SCANDIRAT] (SCANDIRAT_WEAK_ALIAS): Define.
36505         [SCANDIRAT_WEAK_ALIAS] (scandirat): Define as weak alias of
36506         __scandirat.
36507         * include/dirent.h (scandirat): Do not use libc_hidden_proto.
36508         (__scandirat): Declare.  Use libc_hidden_proto.
36509         * conform/Makefile (test-xfail-POSIX2008/dirent.h/linknamespace):
36510         Remove variable.
36511         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
36513 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
36515         [BZ #15319]
36516         * sysdeps/i386/fpu/e_atan2.S (dbl_min): New object.
36517         (MO): New macro.
36518         (__ieee754_atan2): For results with small absolute value, force
36519         underflow exception and remove excess range and precision from
36520         return value.
36521         * sysdeps/i386/fpu/e_atan2f.S (flt_min): New object.
36522         (MO): New macro.
36523         (__ieee754_atan2f): For results with small absolute value, force
36524         underflow exception and remove excess range and precision from
36525         return value.
36526         * sysdeps/i386/fpu/s_atan.S (dbl_min): New object.
36527         (MO): New macro.
36528         (__atan): For results with small absolute value, force underflow
36529         exception and remove excess range and precision from return value.
36530         * sysdeps/i386/fpu/s_atanf.S (flt_min): New object.
36531         (MO): New macro.
36532         (__atanf): For results with small absolute value, force underflow
36533         exception and remove excess range and precision from return value.
36534         * sysdeps/ieee754/dbl-64/e_atan2.c: Include <float.h> and
36535         <math.h>.
36536         (__ieee754_atan2): Force underflow exception for results with
36537         small absolute value.
36538         * sysdeps/ieee754/dbl-64/s_atan.c: Include <float.h> and
36539         <math_private.h>.
36540         (atan): Force underflow exception for results with small absolute
36541         value.
36542         * sysdeps/ieee754/flt-32/s_atanf.c: Include <float.h>.
36543         (__atanf): Force underflow exception for results with small
36544         absolute value.
36545         * sysdeps/ieee754/ldbl-128/s_atanl.c: Include <float.h> and
36546         <math.h>.
36547         (__atanl): Force underflow exception for results with small
36548         absolute value.
36549         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <float.h>.
36550         (__atanl): Force underflow exception for results with small
36551         absolute value.
36552         * sysdeps/x86/fpu/bits/mathinline.h
36553         [!__SSE2_MATH__ && !__x86_64__ && __LIBC_INTERNAL_MATH_INLINES]
36554         (__ieee754_atan2): Only define inline for long double.
36555         * sysdeps/x86_64/fpu/multiarch/e_atan2.c
36556         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Include <math.h>.
36557         * math/auto-libm-test-in: Do not mark underflow exceptions as
36558         possibly missing for bug 15319.  Add more tests of atan2.
36559         * math/auto-libm-test-out: Regenerated.
36560         * math/libm-test.inc (casin_test_data): Do not mark underflow
36561         exceptions as possibly missing for bug 15319.
36562         (casinh_test_data): Likewise.
36563         * sysdeps/i386/fpu/libm-test-ulps: Update.
36565 2015-02-18  Steve Ellcey  <sellcey@imgtec.com>
36567         * sysdeps/unix/sysv/linux/mips/bits/endian.h: Remove.
36568         * sysdeps/mips/bits/endian.h: Fix comments.
36570 2015-02-18  Joseph Myers  <joseph@codesourcery.com>
36572         [BZ #17996]
36573         * include/search.h (hcreate_r): Don't use libc_hidden_proto.
36574         (hdestroy_r): Likewise.
36575         (hsearch_r): Likewise.
36576         (__hcreate_r): Declare and use libc_hidden_proto.
36577         (__hdestroy_r): Likewise.
36578         (__hsearch_r): Likewise.
36579         * misc/hsearch.c (hsearch): Call __hsearch_r instead of hsearch_r.
36580         (hcreate): Call __hcreate_r instead of hcreate_r.
36581         (__hdestroy): Call __hdestroy_r instead of hdestroy_r.
36582         * misc/hsearch_r.c (hcreate_r): Rename to __hcreate_r and define
36583         as weak alias of __hcreate_r.
36584         (hdestroy_r): Rename to __hdestroy_r and define as weak alias of
36585         __hdestroy_r.
36586         (hsearch_r): Rename to __hsearch_r and define as weak alias of
36587         __hsearch_r.
36588         * conform/Makefile (test-xfail-XPG3/search.h/linknamespace):
36589         Remove variable.
36590         (test-xfail-XPG4/search.h/linknamespace): Likewise.
36591         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
36592         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
36593         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
36595 2015-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
36597         * malloc/malloc.c (__libc_malloc): Consolidate arena_lookup and
36598         arena_lock into a single arena_get.
36600 2015-02-17  Carlos O'Donell  <carlos@redhat.com>
36602         * dl-reloc.c: Inlucde libc-internal.h.
36603         (_dl_try_allocate_static_tls): Call ALIGN_UP.
36604         (_dl_relocate_object): Call ALIGN_UP, ALIGN_DOWN, and PTR_ALIGN_DOWN.
36605         (_dl_protect_relro): Call ALIGN_UP and ALIGN_DOWN.
36606         * malloc/arena.c (new_heap): Use pagesize. Call ALIGN_UP.
36607         (grow_heap): Likewise.
36608         * malloc/malloc.c: Include libc-internal.h.
36609         (do_check_malloc): Call powerof2.
36610         (sysmalloc): Use pagesize. Call ALIGN_UP.
36611         (systrim): Use pagesize.
36612         (mremap_chunk): Use pagesize. Call ALIGN_UP.
36613         (__libc_valloc): Use pagesize.
36614         (__libc_pvalloc): Use pagesize. Call ALIGN_UP.
36616 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
36618         [BZ #17991]
36619         * include/sys/resource.h (__getrlimit64): Declare.  Use
36620         libc_hidden_proto.
36621         * resource/getrlimit64.c (getrlimit64): Rename to __getrlimit64
36622         and define as weak alias of __getrlimit64.  Use libc_hidden_weak.
36623         * sysdeps/posix/spawni.c (__spawni): Call __getrlimit64 instead of
36624         getrlimit64.
36625         * sysdeps/unix/sysv/linux/getrlimit64.c (getrlimit64): Rename to
36626         __getrlimit64.
36627         [!getrlimit64] (getrlimit64): Define as weak alias of
36628         __getrlimit64.  Use libc_hidden_weak.
36629         * sysdeps/unix/sysv/linux/i386/getrlimit64.c (getrlimit64): Define
36630         using __getrlimit64 not __new_getrlimit64.
36631         (__GI_getrlimit64): Likewise.
36632         * sysdeps/unix/sysv/linux/mips/getrlimit64.c (getrlimit64):
36633         Likewise.
36634         (__GI_getrlimit64): Likewise.
36635         (__old_getrlimit64): Use __getrlimit64 not __new_getrlimit64.
36636         * sysdeps/unix/sysv/linux/powerpc/powerpc64/syscalls.list
36637         (getrlimit): Add __getrlimit64 alias.
36638         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (getrlimit):
36639         Likewise.
36640         * conform/Makefile (test-xfail-XOPEN2K/spawn.h/linknamespace):
36641         Remove variable.
36642         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
36643         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
36645 2015-02-17  Paul Pluzhnikov  <ppluzhnikov@google.com>
36647         * libio/fileops.c: Add missing sys/mman.h
36648         * libio/iopopen.c: Add missing fcntl.h, remove redundant unistd.h
36650 2015-02-17  Joseph Myers  <joseph@codesourcery.com>
36652         * manual/math.texi (Errors in Math Functions): Clarify goals
36653         regarding inexact and underflow exceptions.
36655 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
36657         * sysdeps/mips/memcpy.S: Move R6 PREFETCH_STORE_HINT check.
36658         * sysdeps/mips/memset.S: Ditto.
36660 2015-02-17  Steve Ellcey  <sellcey@imgtec.com>
36662         * sysdeps/mips/bits/endian.h (__MIPSEL): Use #ifdef instead of #if.
36664 2015-02-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
36666         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c
36667         (__v1longjmp): Remove versioned symbol.
36668         (__v1siglongjmp): Remove alias and versioned symbol.
36669         (__v2longjmp): Use DEFINE_LONGJMP instead of alias.
36670         (__v2siglongjmp): Likewise.
36672 2015-02-16  Torvald Riegel  <triegel@redhat.com>
36674         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Remove file.
36676 2015-02-16  Mike Frysinger  <vapier@gentoo.org>
36678         * sysdeps/unix/sysv/linux/ia64/getpagesize.c: Delete.
36680 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
36682         [BZ #17987]
36683         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Ensure sign of
36684         zero result does not depend on the sign resulting from
36685         subtraction.
36686         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
36687         Likewise.
36688         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
36689         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
36690         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
36691         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
36692         * math/libm-test.inc (remquo_test_data): Add more tests.
36694 2015-02-16  Paul Eggert  <eggert@cs.ucla.edu>
36696         * manual/time.texi (TZ Variable): glibc no longer comes with tzdata.
36697         Problem reported by J William Piggott.
36699 2015-02-16  Joseph Myers  <joseph@codesourcery.com>
36701         [BZ #17978]
36702         * sysdeps/ieee754/dbl-64/s_remquo.c (__remquo): Do not form
36703         products 4 * y and 2 * y where those would overflow.
36704         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
36705         Likewise.
36706         * sysdeps/ieee754/flt-32/s_remquof.c (__remquof): Likewise.
36707         * sysdeps/ieee754/ldbl-128/s_remquol.c (__remquol): Likewise.
36708         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
36709         * sysdeps/ieee754/ldbl-96/s_remquol.c (__remquol): Likewise.
36710         * math/libm-test.inc (remquo_test_data): Add more tests.
36712         * sysdeps/mips/sgidefs.h [!_ABIO64] (_ABIO64): New macro.
36714         * sysdeps/mips/memcpy.S [_COMPILING_NEWLIB]: Change condition to
36715         [defined _COMPILING_NEWLIB].
36716         * sysdeps/mips/memset.S [_COMPILING_NEWLIB]: Likewise.
36717         * sysdeps/mips/strcmp.S [_COMPILING_NEWLIB]: Likewise.
36719         * sysdeps/mips/sys/asm.h [__mips_isa_rev < 6]: Change condition to
36720         [!defined __mips_isa_rev || __mips_isa_rev < 6].
36722 2015-02-16  Torvald Riegel  <triegel@redhat.com>
36724         * nptl/tst-cond25.c (cleanup): Explicitly check that the mutex is
36725         acquired.
36727 2015-02-15  Matthew Fortune <Matthew.Fortune@imgtec.com>
36729         [BZ #17792]
36730         * sysdeps/unix/sysv/linux/ia64/sys/user.h (NBPG): Remove.
36731         (UPAGES, HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR,
36732         HOST_STACK_END_ADDR): Likewise.
36734 2015-02-13  Steve Ellcey  <sellcey@imgtec.com>
36736         * sysdeps/mips/bits/endian.h (__MIPSEB): Use #ifdef instead of #if.
36737         * sysdeps/mips/memcpy.S (__MIPSEB): Ditto.
36738         * sysdeps/mips/memset.S (__MIPSEB): Ditto.
36740 2015-02-13  Roland McGrath  <roland@hack.frob.com>
36742         * sysdeps/generic/c++-types.data: New file.
36743         * sysdeps/generic/ld.abilist: New file.
36744         * sysdeps/generic/libBrokenLocale.abilist: New file.
36745         * sysdeps/generic/libanl.abilist: New file.
36746         * sysdeps/generic/libc.abilist: New file.
36747         * sysdeps/generic/libcrypt.abilist: New file.
36748         * sysdeps/generic/libdl.abilist: New file.
36749         * sysdeps/generic/libm.abilist: New file.
36750         * sysdeps/generic/libpthread.abilist: New file.
36751         * sysdeps/generic/libresolv.abilist: New file.
36752         * sysdeps/generic/librt.abilist: New file.
36754 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
36756         [BZ #17569]
36757         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo):
36758         Compute absolute value of x as modified by fmod, not original
36759         value of x.
36760         * math/libm-test.inc (RUN_TEST_ffI_f1): Rename to
36761         RUN_TEST_ffI_f1_mod8.  Check extra return value mod 8.
36762         (RUN_TEST_LOOP_ffI_f1): Rename to RUN_TEST_LOOP_ffI_f1_mod8.  Call
36763         RUN_TEST_ffI_f1_mod8.
36764         (remquo_test_data): Add more tests.
36766 2015-02-13  Roland McGrath  <roland@hack.frob.com>
36768         * sysdeps/init_array/pt-crti.S: New file.
36770 2015-02-13  Joseph Myers  <joseph@codesourcery.com>
36772         [BZ #17967]
36773         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Use
36774         __builtin_fmaf instead of relying on contraction of a * b + c.
36776 2015-02-12  J William Piggott  <elseifthen@gmx.com>
36778         [BZ #17969]
36779         * manual/time.texi: correct the zoneinfo path in the TZ Variable
36780         node.
36782 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
36784         [BZ #17964]
36785         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Use
36786         __builtin_fma instead of relying on contraction of a * b + c.
36788 2015-02-12  Roland McGrath  <roland@hack.frob.com>
36790         * Makeconfig (ASFLAGS): Add -Werror=undef.
36791         * sysdeps/arm/Versions (libc: GLIBC_2.19): New (empty) version set.
36792         * sysdeps/unix/make-syscalls.sh: Always emit #define's for
36793         SYSCALL_CANCELLABLE, SYSCALL_NOERRNO, SYSCALL_ERRVAL, to 1 or 0.
36795         * Makeconfig (after-link): New variable.
36796         (+link-pie, +link-pie-tests): Use it.
36797         (+link-static, +link-static-tests): Likewise.
36798         (+link, +link-tests): Likewise.
36799         * Makerules (build-module, build-module-asneeded): Likewise.
36800         (lib%.so, $(common-objpfx)libc.so, $(common-objpfx)linkobj/libc.so):
36801         Likewise.
36802         * elf/Makefile ($(objpfx)ld.so): Likewise.
36804 2015-02-12  Rüdiger Sonderfeld  <ruediger@c-plusplus.net>
36806         [BZ #17965]
36807         * manual/time.texi (Elapsed Time): tv_sec is of type time_t in
36808         both struct timeval and struct timespec.
36810 2015-02-12  Joseph Myers  <joseph@codesourcery.com>
36812         [BZ #16560]
36813         * math/e_exp2l.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
36814         and redefine.
36815         (__ieee754_exp2l): Do not multiply small fractional parts by
36816         M_LN2l.
36817         * sysdeps/i386/fpu/e_exp2l.S (__ieee754_exp2l): Just add 1 to
36818         small argument.
36819         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
36820         * sysdeps/ieee754/flt-32/e_exp2f.c (__ieee754_exp2f): Likewise.
36821         * sysdeps/x86_64/fpu/e_exp2l.S (__ieee754_exp2l): Likewise.
36822         * math/auto-libm-test-in: Add more tests of exp2.
36823         * math/auto-libm-test-out: Regenerated.
36825 2015-02-12  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
36827         * sysdeps/powerpc/powerpc64/power7/strncpy.S (strncpy): Optimize
36828         unaligned path.
36830 2015-02-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
36832         * sysdeps/unix/sysv/linux/powerpc/htm.h [TABORT]: Fix encoding for
36833         little endian.
36835 2015-02-12  Andreas Schwab  <schwab@suse.de>
36837         [BZ #15790]
36838         * nptl/pthread_mutexattr_gettype.c (pthread_mutexattr_gettype):
36839         Filter out elision flags from value returned in kind.
36840         * nptl/Makefile (tests): Add tst-pthread-mutexattr.
36841         * nptl/tst-pthread-mutexattr.c: New file.
36843 2015-02-11  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36845         * abi-tags: Revert ae20c9a: rename back gnu into gnu-gnu.
36846         * configure.ac, configure: Revert ba90e05: modify gnu-* host_os back
36847         into gnu-gnu, and update comment to refer to abi-tags.
36849 2015-02-11  Joseph Myers  <joseph@codesourcery.com>
36851         [BZ #15467]
36852         * sysdeps/ieee754/dbl-64/s_sincos.c: Include <errno.h>.
36853         (__sincos): Set errno to EDOM for infinite argument.
36854         * sysdeps/ieee754/flt-32/s_sincosf.c: Include <errno.h>.
36855         (SINCOSF_FUNC): Set errno to EDOM for infinite argument.
36856         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Include <errno.h>.
36857         (__sincosl): Set errno to EDOM for infinite argument.
36858         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Include <errno.h>.
36859         (__sincosl): Set errno to EDOM for infinite argument.
36860         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Include <errno.h>.
36861         (__sincosl): Set errno to EDOM for infinite argument.
36862         * math/libm-test.inc (sincos_test_data): Test errno setting.
36864 2015-02-11  Leonhard Holz  <leonhard.holz@web.de>
36866         * string/strxfrm_l.c: Remove #define STRCMP.
36867         * string/strcoll_l.c: Remove #define STRLEN.
36868         * wcsmbs/wcsxfrm_l.c: Remove #define STRCMP.
36869         * wcsmbs/wcscoll_l.c: Remove #define STRLEN.
36871 2015-02-10  Joseph Myers  <joseph@codesourcery.com>
36873         * sysdeps/mips/soft-fp/sfp-machine.h: Move to ....
36874         * sysdeps/mips/mips32/sfp-machine.h: ... here.
36875         * sysdeps/mips/mips64/soft-fp/Makefile: Move to ....
36876         * sysdeps/mips/mips64/Makefile: ... here.
36877         * sysdeps/mips/mips64/soft-fp/e_sqrtl.c: Move to ....
36878         * sysdeps/mips/mips64/e_sqrtl.c: ... here.
36879         * sysdeps/mips/mips64/soft-fp/sfp-machine.h: Move to ....
36880         * sysdeps/mips/mips64/sfp-machine.h: ... here.
36881         * sysdeps/mips/mips32/Implies: Remove mips/soft-fp.
36882         * sysdeps/mips/mips64/n32/Implies: Remove mips/mips64/soft-fp.
36883         * sysdeps/mips/mips64/n64/Implies: Likewise.
36885 2015-02-10  Roland McGrath  <roland@hack.frob.com>
36887         * math/test-snan.c: Drop unnecessary #include's of <stdlib.h>,
36888         <sys/time.h>, <string.h>, and <errno.h>.
36889         (dest_offset, dest_address, value, zero): Remove unused variables.
36890         (ldouble): Remove typedef.
36891         (myFPsighandler): Use simple handler signature, not SA_SIGINFO
36892         signature.  Pass 1 to siglongjmp rather than 0 (which is converted to
36893         1).  Fix code style.
36894         (set_sigaction_FP, remove_sigaction_FP): Functions removed.
36895         (check): Function removed.
36896         (CHECK): New macro.
36897         (TEST_FUNC): Fix code style.  Use CHECK macro rather than repeating
36898         boilerplate feclearexcept + feenableexcept + sigsetjmp code.
36899         Don't call set_sigaction_FP and remove_sigaction_FP here.
36900         (ldouble_test): Just use 'long double' as macro argument, no need for
36901         the 'ldouble' typedef.
36902         (do_test): Set up SIGFPE handler at start, using plain signal rather
36903         than sigaction.  Fix code style.
36905 2015-02-10  Evangelos Foutras  <evangelos@foutrelis.com>
36907         [BZ #17949]
36908         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Fix position of
36909         jump label.
36911 2015-02-09  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
36913         * sysdeps/powerpc/powerpc32/configure.ac: Remove R_PPC_REL16 check.
36914         * sysdeps/powerpc/powerpc32/configure: Regenerated.
36916         * sysdeps/powerpc/configure.ac: Remove file.
36917         * sysdeps/powerpc/configure: Likewise.
36919         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
36920         [sysdep_routines]: Remove wordcopy-power6 object.
36921         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
36922         (__memmove_power7): Use local call for wordcopy and memcpy symbols.
36923         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c
36924         (__memmove_ppc32): Likewise.
36925         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: Remove
36926         file.
36927         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Remove file.
36928         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c [IS_IN (libc)]:
36929         Remove preprocessor.
36931         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile
36932         [sysdep_routines]: Remove wide chars objects.
36933         [wcsmbs]: New rule for wide char objects.
36935         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
36936         Remove wordcopy-power6 obejct.
36937         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c (__memmove_ppc):
36938         Use local call for wordcopy and memcpy symbols.
36939         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: Remove file.
36940         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: Add default
36941         implementation for loader.
36942         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Remove file.
36944         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
36945         Remove wordcopy-power7 object.
36946         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: Remove file.
36947         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c
36948         (_wordcopy_fwd_aligned): Remove POWER7 specialization.
36949         (_wordcopy_fwd_dest_aligned): Likewise.
36950         (_wordcopy_bwd_aligned): Likewise.
36951         (_wordcopy_bwd_dest_aligned): Likewise.
36953         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c (__bcopy_ppc):
36954         Rewrite to call __memmove_ppc instead of include default
36955         implementation.
36957         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
36958         Remove wide chars objects.
36959         [wcsmbs]: New rule for wide char objects.
36961 2015-02-09  Andreas Schwab  <schwab@suse.de>
36963         [BZ #17912]
36964         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
36965         in terms of __O_DIRECTORY.
36967 2015-02-08  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36969         * time/getdate.c: Include <stdbool.h>.
36970         * sysdeps/gnu/unwind-resume.c [!PTR_MANGLE] (__libgcc_s_init): Do not
36971         call PTR_MANGLE.
36972         [!PTR_DEMANGLE] (_Unwind_Resume, __gcc_personality_v0): Do not call
36973         PTR_DEMANGLE.
36975 2015-02-07  Paul Eggert  <eggert@cs.ucla.edu>
36977         Add ersatz _Static_assert on older C hosts
36978         * misc/sys/cdefs.h (_Static_assert): Define a substitute, if on a
36979         pre-C11 C platform that is not known to support _Static_assert.
36981 2015-02-07  Richard Braun  <rbraun@sceen.net>
36983         * hurd/hurd/signal.h (_hurd_critical_section_lock): Don't unlock
36984         sigstate.
36985         * sysdeps/mach/hurd/mmap.c (__mmap): Also handle PROT_NONE case.
36987 2015-02-07  Samuel Thibault  <samuel.thibault@ens-lyon.org>
36989         * sysdeps/pthread/aio_misc.c [!AIO_PRIO_DELTA_MAX]: Do not check
36990         priority against unexistent AIO_PRIO_DELTA_MAX.
36991         * misc/chflags.c (chflags): Set flags parameter type to unsigned long
36992         instead of int.
36993         * misc/fchflags.c (fchflags): Likewise.
36994         * sysdeps/mach/hurd/chflags.c (chflags): Likewise.
36995         * sysdeps/mach/hurd/fchflags.c (fchflags): Likewise.
36996         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC] (UF_SETTABLE, UF_NODUMP,
36997         UF_IMMUTABLE, UF_APPEND, UF_OPAQUE, UF_NOUNLINK, SF_SETTABLE,
36998         SF_ARCHIVED, SF_IMMUTABLE, SF_APPEND, SF_NOUNLINK, SF_SNAPSHOT):
36999         Declare macros.
37000         [__USE_MISC] (chflags, fchflags): Declare functions.
37001         * hurd/hurdselect.c (_hurd_select): In the poll case, do not return
37002         EINVAL when nfds is greater than FD_SETSIZE.
37003         * hurd/hurd/resource.h (MACH_PRIORITY_TO_NICE,
37004         NICE_TO_MACH_PRIORITY): Align nice levels on Mach priorities from 5 to
37005         45.
37006         * hurd/hurdselect.c (_hurd_select): Pass MACH_RCV_INTERRUPT to
37007         __mach_msg.  If that returns MACH_RCV_INTERRUPTED, set ERR to EINTR.
37008         * hurd/hurdselect.c (_hurd_select): Remove unreachable check for
37009         MACH_RCV_TIMED_OUT.
37010         * hurd/hurd/signal.h (_hurd_self_sigstate,
37011         _hurd_critical_section_lock, _hurd_critical_section_unlock):
37012         Explicit casts from void *.
37013         * sysdeps/mach/hurd/tls.h: Include <stdint.h> and <sysdep.h>.
37014         * abi-tags: Rename gnu-gnu os into gnu.
37016         [BZ #4719]
37017         * sysdeps/mach/hurd/bits/ioctls.h (_IOT__IOTBASE_long, _IOT_char,
37018         _IOT_short, _IOT_int, _IOT_long, _IOT__IOTBASE_int8_t,
37019         _IOT__IOTBASE_uint8_t, _IOT__IOTBASE_int16_t, _IOT__IOTBASE_uint16_t,
37020         _IOT__IOTBASE_int32_t, _IOT__IOTBASE_uint32_t, _IOT__IOTBASE_int64_t,
37021         _IOT__IOTBASE_uint64_t, _IOT__IOTBASE_size_t, _IOT__IOTBASE_ssize_t,
37022         _IOTBASE_unsigned, _IOTBASE_signed): Define macros.
37024         [BZ #17944]
37025         * hurd/hurdsocket.h: New file, defines _hurd_sun_path_dupa which
37026         duplicates ADDR->sun_path with sockaddr LEN limitation.
37027         * sysdeps/mach/hurd/connect.c: Include <string.h>
37028         (__connect): Give result of _hurd_sun_path_dupa to name lookup.
37029         * sysdeps/mach/hurd/sendmsg.c: Likewise.
37030         * sysdeps/mach/hurd/sendto.c: Likewise.
37031         * sysdeps/mach/hurd/bind.c: Call _hurd_sun_path_dupa instead of
37032         implementing it by hand.
37034 2015-02-06  Roland McGrath  <roland@hack.frob.com>
37036         * sysdeps/arm/sysdep.h [!PROF] [ARCH_HAS_T2 && !PIC] (LDR_GLOBAL):
37037         Use sfi_breg on ldr.
37038         [!PROF] [ARCH_HAS_T2 && PIC && ARM_PCREL_MOVW_OK] (LDR_GLOBAL):
37039         Likewise.
37041         * nptl/tst-cancel25.c (tf2): Test for SIGCANCEL being blocked only if
37042         it's defined.
37043         * nptl/tst-signal7.c (do_test): Test SIGCANCEL only if it's defined.
37044         Test SIGSETXID only if it's defined.
37046         * nptl/tst-locale1.c (useless): Use SIGRTMIN only if it's defined.
37048         * rt/tst-timer2.c (do_test): Don't initialize SIGEV.sigev_signo, which
37049         will not be used.  Use NULL rather than 0 for .sigev_notify_attributes.
37051         * nptl/tst-align2.c: Moved ...
37052         * sysdeps/unix/sysv/linux/tst-align-clone.c: ... here.
37053         * nptl/Makefile (tests): Remove tst-align2.
37054         * sysdeps/unix/sysv/linux/Makefile
37055         [$(subdir) = nptl] (tests): Add tst-align-clone.
37056         * nptl/tst-getpid1.c: Moved ...
37057         * sysdeps/unix/sysv/linux/tst-getpid1.c: ... here.
37058         * nptl/tst-getpid2.c: Moved ...
37059         * sysdeps/unix/sysv/linux/tst-getpid2.c: ... here.
37060         * nptl/Makefile (tests): Move tst-getpid1 and tst-getpid2 ...
37061         * sysdeps/unix/sysv/linux/Makefile
37062         [$(subdir) = nptl] (tests): ... here.
37063         * nptl/Makefile (tst-getpid2-ENV): Move variable ...
37064         * sysdeps/unix/sysv/linux/Makefile
37065         [$(subdir) = nptl] (tst-getpid2-ENV): ... here.
37067         * nptl/tst-cleanup2.c (do_test): Use signal rather than sigaction.
37068         Drop trailing \n from perror argument.  Use return rather than exit.
37070         * nptl/tst-cancel20.c (do_test): Conditionalize SA_SIGINFO-using tests
37071         on [SA_SIGINFO].
37072         * nptl/tst-cancel21.c (do_test): Likewise.
37073         * debug/tst-backtrace6.c: Include <signal.h> first thing.
37074         Conditionalize inclusion of tst-backtrace5.c on [SA_SIGINFO].
37075         [!SA_SIGINFO]: Make it a stub test.
37077         * misc/tst-pselect.c (do_test): Don't set SA_NOCLDWAIT in sa_flags for
37078         SIGCHLD; it's redundant with SIG_IGN as sa_handler.
37080         * posix/tst-getlogin.c: Move to ...
37081         * login/tst-getlogin.c: ... here.
37082         * posix/Makefile (tests): Move tst-getlogin to ...
37083         * login/Makefile (tests): ... here.
37085         * libio/tst-atime.c (do_test): Move local variables SV and E
37086         inside [ST_NOATIME] conditional.
37088         * dirent/tst-fdopendir.c (O_NOATIME): If not defined, #define to 0.
37090         * nptl/tst-kill5.c (do_test): Use INT_MAX rather than SIGRTMAX + 10.
37092         * nptl/tst-join5.c: Drop #include <sys/syscall.h>.
37093         (wait_code): New function replaces macro.
37094         Call nanosleep rather than syscall.
37096         * nptl/pt-system.c: Rewritten.  Put everything under
37097         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
37098         Use IFUNC to redirect when possible.
37100         * nptl/pt-longjmp.c: Rewritten.  Put everything under
37101         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
37102         Use IFUNC to redirect when possible.
37104         * nptl/pt-fork.c: Rewritten.  Put everything under
37105         [SHLIB_COMPAT (libpthread, GLIBC_2_0, GLIBC_2_22)].
37106         Use IFUNC to redirect when possible.
37107         * nptl/Versions (libpthread: GLIBC_2.22): New (empty) version set.
37109         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: Remove all
37110         code under [!__ASSUME_FUTEX_CLOCK_REALTIME], since that is defined
37111         unconditionally nowadays.  This included the only reference to
37112         __vdso_clock_gettime that appears outside libc proper.
37113         * sysdeps/unix/sysv/linux/x86_64/Versions (libc: GLIBC_PRIVATE):
37114         Remove version set (containing only __vdso_clock_gettime).
37115         * sysdeps/unix/sysv/linux/x86/libc-vdso.h (__vdso_clock_gettime):
37116         Add attribute_hidden.
37117         * sysdeps/unix/sysv/linux/i386/init-first.c (__vdso_clock_gettime):
37118         Likewise.  Drop __attribute__ ((nocommon)), libc_hidden_proto, and
37119         libc_hidden_data_def.
37120         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
37121         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
37123         * inet/Versions (libc: GLIBC_2.0): Move getrpcbyname, getrpcbyname_r,
37124         getrpcbynumber, getrpcbynumber_r, getrpcent, getrpcent_r, endrpcent,
37125         setrpcent, and getrpcport to ...
37126         * sunrpc/Versions (libc: GLIBC_2.0): ... here.
37127         * inet/Versions (libc: GLIBC_2.1.2): Move getrpcbyname_r,
37128         getrpcbynumber_r, and getrpcent_r to ...
37129         * sunrpc/Versions (libc: GLIBC_2.1.2): ... this new set.
37130         * inet/getrpcbyname.c: Moved ...
37131         * sunrpc/getrpcbyname.c: ... here.
37132         * inet/getrpcbyname_r.c: Moved ...
37133         * sunrpc/getrpcbyname_r.c: ... here.
37134         * inet/getrpcbynumber.c: Moved ...
37135         * sunrpc/getrpcbynumber.c: ... here.
37136         * inet/getrpcbynumber_r.c: Moved ...
37137         * sunrpc/getrpcbynumber_r.c: ... here.
37138         * inet/getrpcent.c: Moved ...
37139         * sunrpc/getrpcent.c: ... here.
37140         * inet/getrpcent_r.c: Moved ...
37141         * sunrpc/getrpcent_r.c: ... here.
37142         * inet/Makefile (routines): Move those to ...
37143         * sunrpc/Makefile (routines): ... here.
37144         * nss/Makefile (databases): Add key and rpc only if sunrpc appears in
37145         the $(subdirs) list.
37146         (CPPFLAGS-getent.c): New variable.  Pass -D option to set HAVE_SUNRPC
37147         to 0 or 1, indicating whether sunrpc appears in the $(subdirs) list.
37148         * nss/getent.c (print_rpc, rpc_keys): Conditionalize on [HAVE_SUNRPC].
37149         (databases): Conditionalize rpc entry on [HAVE_SUNRPC].
37151         * elf/Makefile (routines): Include $(all-dl-routines), not just
37152         $(dl-routines).
37153         (rtld-routines): Likewise.  Use = rather than :=.
37154         * sysdeps/aarch64/Makefile [$(subdir) = elf]
37155         (sysdep_routines, sysdep-rtld-routines): Don't add tlsdesc and
37156         dl-tlsdesc to these; sysdep-dl-routines alone is enough.
37157         * sysdeps/arm/Makefile: Likewise.
37158         * sysdeps/i386/Makefile: Likewise.
37159         * sysdeps/x86_64/Makefile: Likewise.
37160         * sysdeps/hppa/Makefile [$(subdir) = elf]
37161         (sysdep_routines, sysdep-rtld-routines): Don't add
37162         $(sysdep-dl-routines) to these.
37163         * sysdeps/ia64/Makefile: Likewise.
37164         * sysdeps/unix/sysv/linux/ia64/Makefile: Likewise.
37165         * sysdeps/unix/sysv/linux/aarch64/Makefile [$(subdir) = elf]
37166         [$(build-shared) = yes] (sysdep_routines, sysdep-rtld-routines):
37167         Don't add dl-static to these; sysdep-dl-routines alone is enough.
37168         * sysdeps/unix/sysv/linux/m68k/Makefile: Likewise.
37169         * sysdeps/unix/sysv/linux/mips/Makefile: Likewise.
37170         * sysdeps/unix/sysv/linux/powerpc/Makefile: Likewise.
37171         * sysdeps/unix/sysv/linux/tile/Makefile: Likewise.
37172         * sysdeps/powerpc/Makefile [$(subdir) = elf]
37173         (sysdep_routines, sysdep-rtld-routines): Don't add dl-machine to
37174         these; sysdep-dl-routines alone is enough.
37176 2015-02-06  Joseph Myers  <joseph@codesourcery.com>
37178         [BZ #17932]
37179         * soft-fp/op-common.h (_FP_FMA): Set exponent of result in case
37180         where multiplication results in zero and third argument is finite
37181         and nonzero.
37182         * math/auto-libm-test-in: Add more tests of fma.
37183         * math/auto-libm-test-out: Regenerated.
37185         * soft-fp/op-common.h (_FP_CMP_CHECK_DENORM): New macro.
37186         (_FP_CMP_CHECK_FLUSH_ZERO): Likewise.
37187         (_FP_CMP): Use_FP_CMP_CHECK_DENORM and _FP_CMP_CHECK_FLUSH_ZERO.
37188         (_FP_CMP_EQ): Likewise.
37189         (_FP_CMP_UNORD): Use _FP_CMP_CHECK_DENORM.
37191         * soft-fp/op-common.h (FP_EXTEND): Rename to _FP_EXTEND_CNAN with
37192         extra argument CHECK_NAN.  Redefine as wrapper around
37193         _FP_EXTEND_CNAN.
37195 2015-02-06  Carlos O'Donell  <carlos@systemhalted.org>
37197         * version.h (RELEASE): Set to "stable".
37198         (VERSION): Set to "2.21"
37199         * include/features.h (__GLIBC_MINOR__): Set to 21.
37201         * sysdeps/unix/sysv/linux/hppa/pthread.h: Sync with pthread.h.
37203 2015-02-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
37204             Paul Eggert  <eggert@cs.ucla.edu>
37206         [BZ #16618]
37207         * stdio-common/tst-sscanf.c (main): Test for buffer overflow.
37208         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Compute needed
37209         size in bytes. Store needed elements in wpmax. Use needed size
37210         in bytes for extend_alloca.
37212 2015-02-05  Carlos O'Donell  <carlos@systemhalted.org>
37214         * manual/install.texi: Latest tested versions are GCC 4.9.2,
37215         binutls 2.25, and texinfo 5.2.
37216         * INSTALL: Regenerate.
37217         * sysdeps/nios2/configure: Regenerate.
37218         * sysdeps/unix/sysv/linux/nios2/configure: Regenerate.
37219         * manual/contrib.texi: Update.
37220         * po/be.po: Update.
37221         * po/bg.po: Update.
37222         * po/ca.po: Update.
37223         * po/cs.po: Update.
37224         * po/da.po: Update.
37225         * po/de.po: Update.
37226         * po/el.po: Update.
37227         * po/eo.po: Update.
37228         * po/es.po: Update.
37229         * po/fi.po: Update.
37230         * po/fr.po: Update.
37231         * po/gl.po: Update.
37232         * po/hr.po: Update.
37233         * po/hu.po: Update.
37234         * po/ia.po: Update.
37235         * po/id.po: Update.
37236         * po/it.po: Update.
37237         * po/ja.po: Update.
37238         * po/ko.po: Update.
37239         * po/lt.po: Update.
37240         * po/nb.po: Update.
37241         * po/nl.po: Update.
37242         * po/pl.po: Update.
37243         * po/pt_BR.po: Update.
37244         * po/ru.po: Update.
37245         * po/rw.po: Update.
37246         * po/sk.po: Update.
37247         * po/sl.po: Update.
37248         * po/sv.po: Update.
37249         * po/tr.po: Update.
37250         * po/uk.po: Update.
37251         * po/vi.po: Update.
37252         * po/zh_CN.po: Update.
37253         * po/zh_TW.po: Update.
37255         * sysdeps/hppa/Makefile (CFLAGS-dl-fptr.c): Add -Wno-error.
37256         * sysdeps/hppa/bits/setjmp.h: Union is named __jmp_buf_internal_tag.
37257         * sysdeps/hppa/dl-irel.h: Remove #warning.
37258         * sysdeps/hppa/entry.h: Provide prototype for
37259         __canonicalize_funcptr_for_compare and cast argument.
37260         * sysdeps/hppa/fpu/fegetexcept.c (fegetexcept): Add semicolon.
37261         * sysdeps/hppa/fpu/ftestexcept.c (fetestexcept): Likewise.
37262         * sysdeps/hppa/sotruss-lib.c: New file.
37263         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h
37264         (atomic_compare_and_exchange_val_acq): Use __typeof__.
37265         (atomic_compare_and_exchange_bool_acq): Likewise.
37266         * sysdeps/unix/sysv/linux/hppa/mmap.c: Use weak alias.
37267         * sysdeps/unix/sysv/linux/hppa/pthread.h: Include pthread.h.
37269         * sysdeps/unix/sysv/linux/hppa/syscall.S: Delete file.
37270         * sysdeps/unix/sysv/linux/hppa/sysdep.c: Move syscall from here...
37271         * sysdeps/unix/sysv/linux/hppa/syscall.c: ... to here.
37273 2015-02-05  Chung-Lin Tang  <cltang@codesourcery.com>
37275         * sysdeps/nios2/machine-gmon.h (NIOS2_MCOUNT_CALL): Correct name of
37276         called function in non-PIC case.
37278 2015-01-31  David S. Miller  <davem@davemloft.net>
37280         * sysdeps/sparc/sparc32/bits/atomic.h
37281         (__sparc32_atomic_do_unlock24): Put the memory barrier before the
37282         unlock not after it.
37283         (__v9_compare_and_exchange_val_32_acq): Use unions to avoid getting
37284         volatile register usage warnings from the compiler.
37286         * sysdeps/sparc/nptl/sem_init.c: Delete.
37287         * sysdeps/sparc/nptl/sem_post.c: Delete.
37288         * sysdeps/sparc/nptl/sem_timedwait.c: Delete.
37289         * sysdeps/sparc/nptl/sem_wait.c: Delete.
37290         * sysdeps/sparc/sparc32/sem_init.c: New file.
37291         * sysdeps/sparc/sparc32/sem_waitcommon.c: New file.
37292         * sysdeps/sparc/sparc32/sem_open.c: Generic nptl version with
37293         padding explicitly initialized.
37294         * sysdeps/sparc/sparc32/sem_post.c: Generic nptl version using
37295         padding for in-semaphore spinlock.
37296         * sysdeps/sparc/sparc32/sem_wait.c: Likewise.
37297         * sysdeps/sparc/sparc32/sem_trywait.c: Delete.
37298         * sysdeps/sparc/sparc32/sem_timedwait.c: Delete.
37299         * sysdeps/sparc/sparc32/sparcv9/sem_init.c: New file.
37300         * sysdeps/sparc/sparc32/sparcv9/sem_open.c: New file.
37301         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: New file.
37302         * sysdeps/sparc/sparc32/sparcv9/sem_waitcommon.c: New file.
37303         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: Redirect to nptl
37304         version.
37305         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: Delete.
37306         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Delete.
37308 2015-01-30  H.J. Lu  <hongjiu.lu@intel.com>
37310         [BZ #17801]
37311         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37312         Set the bit_AVX_Fast_Unaligned_Load bit for AVX2.
37313         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX_Fast_Unaligned_Load):
37314         New.
37315         (index_AVX_Fast_Unaligned_Load): Likewise.
37316         (HAS_AVX_FAST_UNALIGNED_LOAD): Likewise.
37317         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Check the
37318         bit_AVX_Fast_Unaligned_Load bit instead of the bit_AVX_Usable bit.
37319         * sysdeps/x86_64/multiarch/memcpy_chk.S (__memcpy_chk): Likewise.
37320         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy): Likewise.
37321         * sysdeps/x86_64/multiarch/mempcpy_chk.S (__mempcpy_chk): Likewise.
37322         * sysdeps/x86_64/multiarch/memmove.c (__libc_memmove): Replace
37323         HAS_AVX with HAS_AVX_FAST_UNALIGNED_LOAD.
37324         * sysdeps/x86_64/multiarch/memmove_chk.c (__memmove_chk): Likewise.
37326 2015-01-29  Andreas Schwab  <schwab@suse.de>
37328         * sysdeps/nptl/allocrtsig.c: Include <signal.h>.
37330 2015-01-29  Siddhesh Poyarekar <siddhesh@redhat.com>
37332         [BZ #17892]
37333         * nscd/nscd_stat.c (send_stats): Initialize DATA.
37335 2015-01-28  Martin Sebor  <msebor@redhat.com>
37337         * math/README.libm-test: Clarify. Add "How to read the test output."
37339 2015-01-28  Chris Metcalf  <cmetcalf@ezchip.com>
37341         * sysdeps/tile/tilegx/bits/atomic.h [!_LP64] (__HAVE_64B_ATOMICS):
37342         Define to 0.
37344 2015-01-28  Joseph Myers  <joseph@codesourcery.com>
37346         * sysdeps/mips/bits/atomic.h [_MIPS_SIM == _ABIN32]
37347         (__HAVE_64B_ATOMICS): Define to 0.
37349 2015-01-28  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
37351         [BZ #17885]
37352         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Fix correct
37353         value to set as new flag.
37355         [BZ #16576]
37356         * sysdeps/powerpc/fpu/math_private.h [__CPU_HAS_FSQRT]: Remove define
37357         and use _ARCH_PPCSQ instead.
37358         (__ieee754_sqrt): Likewise.
37359         (__ieee754_sqrtf): Likewise.
37360         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Build only if
37361         _ARCH_PPCSQ is defined.
37362         (__ieee754_sqrt): Use _ARCH_PPCSQ to select wheter to use hardware
37363         fsqrt instruction.
37364         * sysdeps/powerpc/fpu/e_sqrtf.c (__ieee754_sqrtf): Build only if
37365         _ARCH_PPCSQ is defined.
37366         (__ieee754_sqrtf): Use _ARCH_PPCSQ to select wheter to use hardware
37367         fsqrts instruction.
37368         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Remove file.
37370 2015-01-27  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
37372         * iconv/loop.c: Suppress array out of bound warning caused by GCC
37373         bug (GCC BZ #64739).
37375 2015-01-25  Andreas Schwab  <schwab@linux-m68k.org>
37377         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h (lll_futex_requeue):
37378         Mark _retval as used.
37379         (lll_futex_wake_unlock): Likewise.
37380         (lll_futex_timed_wait_requeue_pi): Likewise.
37382         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
37383         (atomic_compare_and_exchange_val_acq): Use uint32_t for the
37384         register variables.
37386         * sysdeps/m68k/m680x0/fpu/fraiseexcpt.c (__feraiseexcept): Use
37387         libm_hidden_def.
37389         * sysdeps/m68k/bits/byteswap.h (__bswap_16, __bswap_32)
37390         (__bswap_64): Mark as __always_inline.
37392 2015-01-25  Bram  <bug_rh@spam.wizbit.be>
37394         [BZ #15378]
37395         * elf/dl-load.c (open_path): Avoid writing to 'env_path_list'
37396         when none of the search directories exist.
37398 2015-01-24  Adhemerval Zanellla  <azanella@linux.vnet.ibm.com>
37400         [BZ #17869]
37401         * sysdeps/powerpc/powerpc64/power8/memset.S: Use power7 instead of
37402         power8 in .machine directive.
37404         [BZ #17868]
37405         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Force value
37406         set dependency from opd value.
37408 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
37410         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
37411         Treat model numbers 0x4a/0x4d/0x5a/0x5d as Intel Silvermont
37412         architecture.
37414 2015-01-23  H.J. Lu  <hongjiu.lu@intel.com>
37416         [BZ #17870]
37417         * nptl/sem_post.c (__new_sem_post): Replace unsigned long int
37418         with uint64_t.
37419         * nptl/sem_waitcommon.c (__sem_wait_cleanup): Replace 1UL with
37420         (uint64_t) 1.
37421         (__new_sem_wait_fast): Replace unsigned long with uint64_t.
37422         (__new_sem_wait_slow): Replace unsigned long int with uint64_t.
37423         Replace 1UL with (uint64_t) 1.
37424         * sysdeps/nptl/internaltypes.h (new_sem): Replace unsigned long
37425         int with uint64_t.
37427 2015-01-23  Roland McGrath  <roland@hack.frob.com>
37429         * inet/if_index.c (if_nameindex): Add missing libc_hidden_weak.
37430         (if_freenameindex): Likewise.
37432         * resource/getrlimit64.c: Add missing libc_hidden_def.
37434 2015-01-22  Joseph Myers  <joseph@codesourcery.com>
37436         * soft-fp/op-common.h (_FP_ADD_INTERNAL): Declare labels with
37437         __label__.
37438         (_FP_FMA): Likewise.
37439         (_FP_TO_INT_ROUND): Likewise.
37440         (_FP_FROM_INT): Likewise.
37442 2015-01-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37444         [BZ #16418]
37445         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c (__get_clockfreq):
37446         Make code racy and cancel safe.
37448 2015-01-21  Carlos O'Donell  <carlos@redhat.com>
37450         * sysdeps/arm/unwind-resume.h: Fix copyright year.
37451         * dlfcn/tst-rec-dlopen.c: Fix incorrect copyright year and
37452         attribution.
37454         * pwd/tst-getpw.c: Rewrite.
37456         [BZ #17702]
37457         * dlfcn/Makefile (tests): Add tst-rec-dlopen.
37458         (modules-names): Add moddummy1 and moddummy2.
37459         ($(objpfx)tst-rec-dlopen): Define.
37460         * dlfcn/moddummy1.c: New file.
37461         * dlfcn/moddummy2.c: New file.
37462         * dlfcn/tst-rec-dlopen.c: New file.
37463         * elf/dl-cache.c (_dl_load_cache_lookup):
37464         Return char*. Copy result with alloca/strcpy/strdup.
37465         * elf/dl-load.c (_dl_map_object): _dl_load_cached_lookup
37466         returns char*. Free cached. If not saving realname
37467         free cached.
37468         * elf/dl-open.c (dl_open_worker): Do not assert that
37469         _r_debug->r_state is RT_CONSISTENT.
37470         * sysdeps/generic/ldsodefs.h: _dl_load_cache_lookup
37471         returns char*.
37473 2015-01-21  Torvald Riegel  <triegel@redhat.com>
37474             Carlos O'Donell  <carlos@redhat.com>
37476         [BZ #12674]
37477         * nptl/sem_waitcommon.c: New file.
37478         * nptl/sem_wait.c: Include sem_waitcommon.c.
37479         (__sem_wait_cleanup, do_futex_wait): Remove.
37480         (__new_sem_wait): Adapt.
37481         (__new_sem_trywait): New function.
37482         (__old_sem_trywait): Moved here from nptl/sem_trywait.c.
37483         * nptl/sem_timedwait.c: Include sem_waitcommon.c.
37484         (__sem_wait_cleanup, do_futex_timed_wait): Remove.
37485         (sem_timedwait): Adapt.
37486         * nptl/sem_post.c (__new_sem_post): Adapt.
37487         (futex_wake): New function.
37488         (__old_sem_post): Add release MO fence.
37489         * nptl/sem_open.c (sem_open): Adapt.
37490         * nptl/sem_init.c (__new_sem_init): Adapt.
37491         (futex_private_if_supported): New function.
37492         * nptl/sem_getvalue.c (__new_sem_getvalue): Adapt.
37493         (__old_sem_getvalue): Add using previous code.
37494         * sysdeps/nptl/internaltypes.h: Adapt.
37495         * nptl/tst-sem13.c (do_test): Adapt.
37496         * nptl/tst-sem11.c (main): Adapt.
37497         * nptl/sem_trywait.c: Remove.
37498         * nptl/DESIGN-sem.txt: Remove.
37499         * nptl/Makefile (libpthread-routines): Remove sem_trywait.
37500         (gen-as-const-headers): Remove structsem.sym.
37501         * nptl/structsem.sym: Remove.
37502         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Remove.
37503         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Remove.
37504         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Remove.
37505         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Remove.
37506         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Remove.
37507         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Remove.
37508         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Remove.
37509         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Remove.
37510         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Remove.
37511         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Remove.
37512         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Remove.
37513         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Remove.
37514         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Remove.
37515         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: Remove.
37516         * sysdeps/unix/sysv/linux/sh/sem_post.S: Remove.
37517         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Remove.
37518         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Remove.
37519         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Remove.
37520         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: Remove.
37521         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Remove.
37522         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Remove.
37523         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Remove.
37525 2015-01-20  Carlos O'Donell  <carlos@redhat.com>
37527         * INSTALL: Regenerated.
37529         * po/libc.pot: Regenerated.
37531 2015-01-18  Chung-Lin Tang  <cltang@codesourcery.com>
37532             Sandra Loosemore  <sandra@codesourcery.com>
37533             Andrew Jenner  <andrew@codesourcery.com>
37534             Joseph Myers  <joseph@codesourcery.com>
37535             Nathan Sidwell  <nathan@codesourcery.com>
37537         * NEWS: Mention new Nios II port.
37538         * sysdeps/nios2/Implies: New file.
37539         * sysdeps/nios2/Makefile: New file.
37540         * sysdeps/nios2/Subdirs: New file.
37541         * sysdeps/nios2/Versions: New file.
37542         * sysdeps/nios2/__longjmp.S: New file.
37543         * sysdeps/nios2/abort-instr.h: New file.
37544         * sysdeps/nios2/backtrace.c: New file.
37545         * sysdeps/nios2/bits/endian.h: New file.
37546         * sysdeps/nios2/bits/fenv.h: New file.
37547         * sysdeps/nios2/bits/link.h: New file.
37548         * sysdeps/nios2/bits/setjmp.h: New file.
37549         * sysdeps/nios2/bsd-_setjmp.S: New file.
37550         * sysdeps/nios2/bsd-setjmp.S: New file.
37551         * sysdeps/nios2/configure: New generated file.
37552         * sysdeps/nios2/configure.ac: New file.
37553         * sysdeps/nios2/crti.S: New file.
37554         * sysdeps/nios2/crtn.S: New file.
37555         * sysdeps/nios2/dl-init.c: New file.
37556         * sysdeps/nios2/dl-machine.h: New file.
37557         * sysdeps/nios2/dl-sysdep.h: New file.
37558         * sysdeps/nios2/dl-tls.h: New file.
37559         * sysdeps/nios2/dl-trampoline.S: New file.
37560         * sysdeps/nios2/gccframe.h: New file.
37561         * sysdeps/nios2/gmp-mparam.h: New file.
37562         * sysdeps/nios2/jmpbuf-offsets.h: New file.
37563         * sysdeps/nios2/jmpbuf-unwind.h: New file.
37564         * sysdeps/nios2/ldsodefs.h: New file.
37565         * sysdeps/nios2/libc-tls.c: New file.
37566         * sysdeps/nios2/libm-test-ulps: New file.
37567         * sysdeps/nios2/machine-gmon.h: New file.
37568         * sysdeps/nios2/math-tests.h: New file.
37569         * sysdeps/nios2/math_private.h: New file.
37570         * sysdeps/nios2/memusage.h: New file.
37571         * sysdeps/nios2/nptl/Makefile: New file.
37572         * sysdeps/nios2/nptl/bits/pthreadtypes.h: New file.
37573         * sysdeps/nios2/nptl/bits/semaphore.h: New file.
37574         * sysdeps/nios2/nptl/pthread_spin_lock.c: New file.
37575         * sysdeps/nios2/nptl/pthreaddef.h: New file.
37576         * sysdeps/nios2/nptl/tcb-offsets.sym: New file.
37577         * sysdeps/nios2/nptl/tls.h: New file.
37578         * sysdeps/nios2/preconfigure: New file.
37579         * sysdeps/nios2/s_fma.c: New file.
37580         * sysdeps/nios2/s_fmaf.c: New file.
37581         * sysdeps/nios2/setjmp.S: New file.
37582         * sysdeps/nios2/sfp-machine.h: New file.
37583         * sysdeps/nios2/sotruss-lib.c: New file.
37584         * sysdeps/nios2/stackguard-macros.h: New file.
37585         * sysdeps/nios2/stackinfo.h: New file.
37586         * sysdeps/nios2/start.S: New file.
37587         * sysdeps/nios2/sysdep.h: New file.
37588         * sysdeps/nios2/tls-macros.h: New file.
37589         * sysdeps/nios2/tst-audit.h: New file.
37590         * sysdeps/unix/sysv/linux/nios2/Implies: New file.
37591         * sysdeps/unix/sysv/linux/nios2/Makefile: New file.
37592         * sysdeps/unix/sysv/linux/nios2/Versions: New file.
37593         * sysdeps/unix/sysv/linux/nios2/arch-fork.h: New file.
37594         * sysdeps/unix/sysv/linux/nios2/bits/atomic.h: New file.
37595         * sysdeps/unix/sysv/linux/nios2/bits/mman.h: New file.
37596         * sysdeps/unix/sysv/linux/nios2/cacheflush.c: New file.
37597         * sysdeps/unix/sysv/linux/nios2/clone.S: New file.
37598         * sysdeps/unix/sysv/linux/nios2/configure: New generated file.
37599         * sysdeps/unix/sysv/linux/nios2/configure.ac: New file.
37600         * sysdeps/unix/sysv/linux/nios2/getcontext.S: New file.
37601         * sysdeps/unix/sysv/linux/nios2/kernel-features.h: New file.
37602         * sysdeps/unix/sysv/linux/nios2/kernel_rt_sigframe.h: New file.
37603         * sysdeps/unix/sysv/linux/nios2/makecontext.c: New file.
37604         * sysdeps/unix/sysv/linux/nios2/profil-counter.h: New file.
37605         * sysdeps/unix/sysv/linux/nios2/setcontext.S: New file.
37606         * sysdeps/unix/sysv/linux/nios2/shlib-versions: New file.
37607         * sysdeps/unix/sysv/linux/nios2/sigcontextinfo.h: New file.
37608         * sysdeps/unix/sysv/linux/nios2/swapcontext.S: New file.
37609         * sysdeps/unix/sysv/linux/nios2/sys/cachectl.h: New file.
37610         * sysdeps/unix/sysv/linux/nios2/sys/procfs.h: New file.
37611         * sysdeps/unix/sysv/linux/nios2/sys/ucontext.h: New file.
37612         * sysdeps/unix/sysv/linux/nios2/sys/user.h: New file.
37613         * sysdeps/unix/sysv/linux/nios2/syscall.S: New file.
37614         * sysdeps/unix/sysv/linux/nios2/sysdep-cancel.h: New file.
37615         * sysdeps/unix/sysv/linux/nios2/sysdep.S: New file.
37616         * sysdeps/unix/sysv/linux/nios2/sysdep.h: New file.
37617         * sysdeps/unix/sysv/linux/nios2/ucontext_i.sym: New file.
37618         * sysdeps/unix/sysv/linux/nios2/vfork.S: New file.
37619         * sysdeps/unix/sysv/linux/nios2/c++-types.data: New file.
37620         * sysdeps/unix/sysv/linux/nios2/ld.abilist: New file.
37621         * sysdeps/unix/sysv/linux/nios2/libBrokenLocale.abilist: New file.
37622         * sysdeps/unix/sysv/linux/nios2/libanl.abilist: New file.
37623         * sysdeps/unix/sysv/linux/nios2/libc.abilist: New file.
37624         * sysdeps/unix/sysv/linux/nios2/libcrypt.abilist: New file.
37625         * sysdeps/unix/sysv/linux/nios2/libdl.abilist: New file.
37626         * sysdeps/unix/sysv/linux/nios2/libm.abilist: New file.
37627         * sysdeps/unix/sysv/linux/nios2/libnsl.abilist: New file.
37628         * sysdeps/unix/sysv/linux/nios2/libpthread.abilist: New file.
37629         * sysdeps/unix/sysv/linux/nios2/libresolv.abilist: New file.
37630         * sysdeps/unix/sysv/linux/nios2/librt.abilist: New file.
37631         * sysdeps/unix/sysv/linux/nios2/libthread_db.abilist: New file.
37632         * sysdeps/unix/sysv/linux/nios2/libutil.abilist: New file.
37633         * sysdeps/unix/sysv/linux/nios2/localplt.data: New file.
37635 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
37637         [BZ #17844]
37638         * sysdeps/unix/sysv/linux/s390/s390-32/getutent.c
37639         (getutent): Use weak_alias in non SHARED case
37640         and default_symbol_version in SHARED case.
37641         * sysdeps/unix/sysv/linux/s390/s390-32/getutent_r.c
37642         (getutent_r, pututline): Likewise.
37643         * sysdeps/unix/sysv/linux/s390/s390-32/getutid.c
37644         (getutid): Likewise.
37645         * sysdeps/unix/sysv/linux/s390/s390-32/getutid_r.c
37646         (getutid_r): Likewise.
37647         * sysdeps/unix/sysv/linux/s390/s390-32/getutline.c
37648         (getutline): Likewise.
37649         * sysdeps/unix/sysv/linux/s390/s390-32/getutline_r.c
37650         (getutline_r): Likewise.
37651         * sysdeps/unix/sysv/linux/s390/s390-32/updwtmp.c
37652         (updwtmp): Likewise.
37654 2015-01-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
37656         [BZ #17848]
37657         * sysdeps/s390/s390-32/memcmp.S
37658         (memcmp_g5): Rename to __memcmp_g5.
37659         * sysdeps/s390/s390-32/memcpy.S
37660         (memcpy_g5): Rename to __memcpy_g5.
37661         Jump to __memcpy_mvcle instead of memcpy_mvcle.
37662         (memcpy_mvcle) Rename to __memcpy_mvcle.
37663         * sysdeps/s390/s390-32/memset.S
37664         (memset_g5): Rename to __memset_g5.
37665         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
37666         (IFUNC_RESOLVE): Prefix ifunc-resolve function
37667         and use prefixed functions.
37668         * sysdeps/s390/s390-32/multiarch/memcmp.S
37669         (memcmp_z196): Rename to __memcmp_z196.
37670         (memcmp_z10): Rename to __memcmp_z10.
37671         (memcmp): Set alias to __memcmp_g5.
37672         (bcmp): Set alias to __memcmp_g5.
37673         * sysdeps/s390/s390-32/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_g5.
37679         * sysdeps/s390/s390-32/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_g5.
37686         * sysdeps/s390/s390-64/memcmp.S
37687         (memcmp_z900): Rename to __memcmp_z900.
37688         * sysdeps/s390/s390-64/memcpy.S
37689         (memcpy_z900): Rename to __memcpy_z900.
37690         Jump to __memcpy_mvcle instead of memcpy_mvcle.
37691         (memcpy_mvcle) Rename to __memcpy_mvcle.
37692         * sysdeps/s390/s390-64/memset.S
37693         (memset_z900): Rename to __memset_z900.
37694         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c
37695         (IFUNC_RESOLVE): Prefix ifunc-resolve function
37696         and use prefixed functions.
37697         * sysdeps/s390/s390-64/multiarch/memcmp.S
37698         (memcmp_z196): Rename to __memcmp_z196.
37699         (memcmp_z10): Rename to __memcmp_z10.
37700         (memcmp): Set alias to __memcmp_z900.
37701         (bcmp): Set alias to __memcmp_z900.
37702         * sysdeps/s390/s390-64/multiarch/memcpy.S
37703         (memcpy_z196): Rename to __memcpy_z196.
37704         Jump to __memcpy_mvcle instead of memcpy_mvcle.
37705         (memcpy_z10): Rename to __memcpy_z10.
37706         Jump to __memcpy_mvcle instead of memcpy_mvcle.
37707         (memcpy): Set alias to __memcpy_z900.
37708         * sysdeps/s390/s390-64/multiarch/memset.S
37709         (memset_z196): Rename to __memset_z196.
37710         Jump to __memset_mvcle instead of memset_mvcle.
37711         (memset_z10): Rename to __memset_z10.
37712         Jump to __memset_mvcle instead of memset_mvcle.
37713         (memset_mvcle) Rename to __memset_mvcle.
37714         (memset): Set alias to __memset_z900.
37716 2015-01-14  Joseph Myers  <joseph@codesourcery.com>
37718         [BZ #17748]
37719         * sysdeps/powerpc/nofpu/feholdexcpt.c (__feholdexcept): Call
37720         __fesetenv instead of fesetenv.
37722 2015-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
37724         * sysdeps/s390/dl-tls.h [IS_IN (rtld)]: Define __tls_get_addr
37725         macro.
37727 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37729         * sysdeps/powerpc/powerpc64/power7/memcmp.S (memcmp): Fix performance
37730         regression on LE.
37732         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power8.S: New file.
37733         * sysdeps/powerpc/powerpc64/power8/strncmp.S: New file.
37734         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
37735         strncmp-power8 object.
37736         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37737         (__libc_ifunc_impl_list): Add __strncmp_power8 implementation.
37738         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c (strncmp): Likewise.
37739         * NEWS: Update.
37741 2015-01-13  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
37742             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37744         * sysdeps/powerpc/powerpc64/power7/strcmp.S (strcmp): Optimize
37745         trailing byte check.
37747 2015-01-13  David S. Miller  <davem@davemloft.net>
37749         * include/signal.h (__sigreturn): Guard with __USE_MISC.
37751 2015-01-13  Roland McGrath  <roland@hack.frob.com>
37753         * login/logout.c (logout): Use memset rather than bzero.
37754         * nis/nss_compat/compat-pwd.c (getpwent_next_file): Likewise.
37755         * nis/nss_compat/compat-spwd.c (getspent_next_file): Likewise.
37756         * resolv/gethnamaddr.c (gethostbyaddr): Use memcmp rather than bcmp.
37757         (_gethtbyaddr): Likewise.
37758         * locale/programs/simple-hash.c (bcopy): Macro removed.
37760 2015-01-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37762         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
37763         Add strcmp-power8 object.
37764         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37765         (__libc_ifunc_impl_list): Add __strcmp_power8 implementation.
37766         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power8.S: New file.
37767         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c (strcmp): Add
37768         __strcmp_power8 implementation.
37769         * sysdeps/powerpc/powerpc64/power8/strcmp.S: New file.
37770         * NEWS: Update.
37772         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
37773         Add strncpy-power8 and stpncpy-power8 objects.
37774         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37775         (__libc_ifunc_impl_list): Add __strncpy_power8 and stpncpy_power8
37776         implementations.
37777         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power8.S: New file.
37778         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c (__stpncpy): Add
37779         __stpncpy_power8 implementation.
37780         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power8.S: New file.
37781         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c (strncpy): Add
37782         __strncpy_power8 implementation.
37783         * sysdeps/powerpc/powerpc64/power8/stpncpy.S: New file.
37784         * sysdeps/powerpc/powerpc64/power8/strncpy.S: New file.
37785         * NEWS: Update.
37787         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.c: New file.
37788         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: Remove file.
37789         * sysdeps/powerpc/powerpc64/power7/strncat.S: Likewise.
37791         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
37792         strncat-power8 object.
37793         * sysdeps/powerpc/powerpc64/multiarch/strcat.c (strcat): Add
37794         __strcat_power8 implementation.
37795         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37796         (__libc_ifunc_impl_list): Add __strcat_power8 implementation.
37797         * sysdeps/powerpc/powerpc64/multiarch/strcat-power8.c: New file:
37798         optimized strcat for power8.
37800         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]: Add
37801         strcpy-power8 and stpcpy-power8 objects.
37802         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
37803         (__libc_ifunc_impl_list): Add __strcpy_power8 and __stpcpy_power8
37804         implementations.
37805         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power8.S: New file:
37806         multiarch stpcpy implementation for POWER8.
37807         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power8.S: New file;
37808         multiarch strcpy implementation for POWER8.
37809         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c (strcpy): Add
37810         __strcpy_power8 function.
37811         * sysdeps/powerpc/powerpc64/power8/stpcpy.S: New file: optimized
37812         stpcpy for POWER8.
37813         * sysdeps/powerpc/powerpc64/power8/strcpy.S: New file: optimized
37814         strcpy for POWER8.
37815         * NEWS: Update.
37817 2015-01-13  Leonhard Holz  <leonhard.holz@web.de>
37819         [BZ #16009]
37820         * string/strxfrm_l.c (STRXFRM): Allocate fixed size cache for
37821         weights and rules. Use do_xfrm_cached if data fits in cache,
37822         do_xfrm otherwise.  Moved former main loop to...
37823         * (do_xfrm_cached): New function.
37824         * (do_xfrm): Non-caching version of do_xfrm_cached. Uses
37825         find_idx, find_position and stack_push.
37826         * (find_idx): New function.
37827         * (find_position): Likewise.
37828         * localedata/sort-test.sh: Added test run for do_xfrm.
37829         * localedata/xfrm-test.c (main): Added command line option
37830         -nocache to run the test with strings that are too large for
37831         the STRXFRM cache.
37833 2015-01-13  Torvald Riegel  <triegel@redhat.com>
37835         * sysdeps/nptl/fork.c (__libc_fork): Provide address of futex
37836         variable to lll_futex_wake call, not the value itself.
37838 2015-01-12  Joseph Myers  <joseph@codesourcery.com>
37840         [BZ #17803]
37841         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (twom63): Rename to
37842         twom64.  Adjust value to 0x1p-64L.
37843         (__scalblnl): Only return standard underflowing result for K <=
37844         -64 not K <= -63; adjust exponent for underflowing result by 64
37845         not 63.
37846         * math/libm-test.inc (scalbn_test_data): Add more tests.
37847         (scalbln_test_data): Likewise.
37849         [BZ #17834]
37850         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (two63): Change value to
37851         0x1p63L.
37852         (__scalblnl): Get new exponent of adjusted subnormal value from ES
37853         not HX.
37854         * math/libm-test.inc (scalbn_test_data): Add more tests.
37855         (scalbln_test_data): Likewise.
37857 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37858             Stefani Seibold  <stefani@seibold.net>
37860         * sysdeps/unix/sysv/linux/x86_64/Makefile [$(subdir) = elf]
37861         (sysdep_routines): Add dl-vdso here, ...
37862         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = elf]
37863         (sysdep_routines): ... not here.
37864         * sysdeps/unix/sysv/linux/i386/gettimeofday.c: New file: set syscall
37865         fallback when vDSO is not presented.
37866         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_clock_gettime):
37867         Define with libc_hidden_proto/libc_hidden_data_def definitions.
37868         (_libc_vdso_platform_setup): Rename to __vdso_platform_setup.
37869         * sysdeps/unix/sysv/linux/i386/init-first.c: New file: likewise.
37870         * sysdeps/unix/sysv/linux/i386/time.c: New file: likewise.
37871         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Moved to ...
37872         * sysdeps/unix/sysv/linux/x86/libc-vdso.h: ... here.
37873         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: Move to ...
37874         * sysdeps/unix/sysv/linux/x86/clock_gettime.c: ... here.
37875         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: Move to ...
37876         * sysdeps/unix/sysv/linux/x86/gettimeofday.c: ... here.  Also added
37877         fallback configurable symbol when vDSO is not available.
37878         * sysdeps/unix/sysv/linux/x86_64/time.c: Move to ...
37879         * sysdeps/unix/sysv/linux/x86/time.c: ... here.  Also refactored to
37880         be able to redefine fallback symbol when vDSO is not available.
37881         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: Move to ...
37882         * sysdeps/unix/sysv/linux/x86/timespec_get.c: ... here.
37884 2015-01-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
37886         * sysdeps/powerpc/nptl/tls.h (tcbhead_t): Add tm_capable field.
37887         (TLS_INIT_TP): Add tm_capable initialization.
37888         (TLS_DEFINE_INIT_TP): Likewise.
37889         (THREAD_GET_TM_CAPABLE): New file: get tm_capable field value from
37890         TCB.
37891         (THREAD_SET_TM_CAPABLE): New file: set tm_capable field value in TCB.
37892         * sysdeps/powerpc/nptl/tcb-offsets.sym (TM_CAPABLE): Add field offset
37893         calculation.
37894         * sysdeps/powerpc/powerpc32/sysdep.h (DO_CALL): Abort hardware
37895         transactoion is lock elision is built and TCB tm_capable is set.
37896         * sysdeps/powerpc/powerpc64/sysdep.h (DO_CALL): Likewise.
37897         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
37898         (INTERNAL_SYSCALL_NCS): Likewise.
37899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
37900         (INTERNAL_SYSCALL_NCS): Likewise.
37901         * sysdeps/powerpc/sysdep.h (ABORT_TRANSACTION): New define.
37903         * sysdeps/powerpc/nptl/elide.h: New file: generic lock elision support
37904         for powerpc.
37905         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
37906         [pthread_rwlock_t] (__pad1): Change size to 7 bytes in 64 bits case
37907         and remove it for 32 bits case.
37908         [pthread_rwlock_t] (__rwelision): New field for lock elision.
37909         (__PTHREAD_RWLOCK_ELISION_EXTRA): Adjust for new lock elision field
37910         initialization.
37911         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c (elision_init):
37912         Disable lock elision with rdlocks if elision is not available.
37914         * sysdeps/unix/sysv/linux/powerpc/Makefile [nptl]
37915         (sysdep_routines): Add lock elision objects.
37916         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
37917         [pthread_mutex_t] (__spins): Rework to add lock elision field.
37918         [pthread_mutex_t] (__elision): Add field.
37919         [__PTHREAD_SPINS]: Adjust to init lock elision field.
37920         * sysdeps/unix/sysv/linux/powerpc/elision-conf.c: New file: lock
37921         elision definitions for powerpc.
37922         * sysdeps/unix/sysv/linux/powerpc/elision-lock.c: New file:
37923         implementation of lock elision for powerpc.
37924         * sysdeps/unix/sysv/linux/powerpc/elision-timed.c: New file:
37925         implementation of timed lock elision for powerpc.
37926         * sysdeps/unix/sysv/linux/powerpc/elision-trylock.c: New file:
37927         implementation of trylock with lock elision for powerpc.
37928         * sysdeps/unix/sysv/linux/powerpc/elision-unlock.c: New file:
37929         implementaion of unlock for lock elision for powerpc.
37930         * sysdeps/unix/sysv/linux/powerpc/force-elision.h: New file:
37931         automatic enable lock elision for mutexes.
37932         * sysdeps/unix/sysv/linux/powerpc/htm.h: New file: hardware
37933         transaction execution definitions for powerpc.
37934         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: New file: add TLE
37935         definitions.
37936         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_cond_lock.c: New file.
37937         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_lock.c: Likewise.
37938         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_timedlock.c: Likewise.
37939         * sysdeps/unix/sysv/linux/powerpc/pthread_mutex_trylock.c: Likewise.
37940         * NEWS: Update.
37942 2015-01-09  Roland McGrath  <roland@hack.frob.com>
37944         * sysdeps/posix/shm-directory.c: Use <> rather than ""
37945         for #include of <shm-directory.h>.
37947 2015-01-09  Chung-Lin Tang  <cltang@codesourcery.com>
37949         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Remove MIN() and
37950         assign raw DT_REL[A]COUNT value to ranges[0].nrelative.
37952 2015-01-09  Matthew Fortune <matthew.fortune@imgtec.com>
37954         [BZ #17791]
37955         * NEWS: Mention bug fix.
37956         * sysdepsysdeps/unix/sysv/linux/microblaze/sys/user.h
37957         (PAGE_SHIFT, PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Remove.
37958         (HOST_TEXT_START_ADDR, HOST_STACK_END_ADDR): Remove.
37960 2015-01-09  Torvald Riegel <triegel@redhat.com>
37962         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Delete file.
37964 2015-01-09  Torvald Riegel <triegel@redhat.com>
37966         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: Delete file.
37968 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
37970         * sysdeps/microblaze/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as void
37971         pointer and cast to uintptr_t.
37973 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
37975         * sysdeps/microblaze/nptl/tls.h (__microblaze_get_thread_area): Function
37976         removed.
37977         (READ_THREAD_POINTER): Use __microblaze_thread_area instead.
37979 2015-01-09  David Holsgrove  <david.holsgrove@xilinx.com>
37981         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Use NULL instead
37982         of 0.
37984 2015-01-08  Roland McGrath  <roland@hack.frob.com>
37986         * sysdeps/pthread/timer_routines.c: Fix <pthreadP.h> include to use
37987         <nptl/pthreadP.h> instead.
37988         * sysdeps/pthread/aio_notify.c: Include <signal.h> for raise decl.
37990         * signal/allocrtsig.c (RESERVED_SIGRT): New macro, defined to 0 if not
37991         already defined.
37992         [__SIGRTMIN] (init): Function removed.
37993         [__SIGRTMIN] (initialized): Variable removed.
37994         [!__SIGRTMIN] (current_rtmin, current_rtmax): Variables removed.
37995         [__SIGRTMIN] (current_rtmin, current_rtmax): Initialize to
37996         __SIGRTMIN + RESERVED_SIGRT and __SIGRTMAX, respectively.
37997         (__libc_current_sigrtmin) [__SIGRTMIN]: Don't call init.
37998         (__libc_current_sigrtmin) [!__SIGRTMIN]: Just return -1.
37999         (__libc_current_sigrtmin): Add __libc_current_sigrtmin_private alias.
38000         (__libc_current_sigrtmax) [__SIGRTMIN]: Don't call init.
38001         (__libc_current_sigrtmax) [!__SIGRTMIN]: Just return -1.
38002         (__libc_current_sigrtmax): Add __libc_current_sigrtmax_private alias.
38003         (__libc_allocate_rtsig) [__SIGRTMIN]: Don't call init.
38004         (__libc_allocate_rtsig): Add __libc_allocate_rtsig_private alias.
38005         * sysdeps/nptl/allocrtsig.c: New file.
38006         * sysdeps/unix/sysv/linux/allocrtsig.c: File removed.
38007         * sysdeps/unix/sysv/linux/testrtsig.h: File removed.
38008         * sysdeps/generic/testrtsig.h: File removed.
38010         * nptl/pthread_sigmask.c [SIGCANCEL || SIGTIMER || SIGSETXID]: #error.
38011         (pthread_sigmask): Call sigprocmask, not __sigprocmask.
38013         * nptl/nptl-init.c (pthread_functions): Conditionalize
38014         .ptr__nptl_setxid initialization on [SIGSETXID].
38016         * sysdeps/nptl/sys/procfs.h: New file.
38017         * nptl_db/Makefile (headers): Add it.
38018         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Don't add it.
38020         * nptl/pthreadP.h (check_cpuset_attr): Moved ...
38021         * sysdeps/unix/sysv/linux/check-cpuset.h: ... to this new file.
38022         * nptl/pthread_attr_setaffinity.c: Include it.
38023         * nptl/pthread_setattr_default_np.c: Likewise.
38024         * nptl/check-cpuset.h: New file.
38026 2015-01-08  Richard Henderson  <rth@redhat.com>
38028         * elf/Makefile (CFLAGS-tst-execstack-mod.c): Add -Wno-trampolines
38029         (CFLAGS-tst-execstack-prog.c): Likewise.
38030         * nptl/Makefile (CFLAGS-tst-execstack-mod.c): Likewise.
38032 2015-01-08  Chung-Lin Tang  <cltang@codesourcery.com>
38033             Sandra Loosemore  <sandra@codesourcery.com>
38034             Andrew Jenner  <andrew@codesourcery.com>
38035             Joseph Myers  <joseph@codesourcery.com>
38036             Nathan Sidwell  <nathan@codesourcery.com>
38038         * elf/elf.h (EM_ALTERA_NIOS2): New machine number for Altera Nios II.
38039         (DT_NIOS2_GP): New dynamic entry type for Nios II _gp address.
38040         (R_NIOS2_NONE,R_NIOS2_S16,R_NIOS2_U16): Define Nios II relocations.
38041         (R_NIOS2_PCREL16,R_NIOS2_CALL26,R_NIOS2_IMM5): Likewise.
38042         (R_NIOS2_CACHE_OPX,R_NIOS2_IMM6,R_NIOS2_IMM8,R_NIOS2_HI16): Likewise.
38043         (R_NIOS2_LO16,R_NIOS2_HIADJ16,R_NIOS2_BFD_RELOC_32): Likewise.
38044         (R_NIOS2_BFD_RELOC_16,R_NIOS2_BFD_RELOC_8,R_NIOS2_GPREL): Likewise.
38045         (R_NIOS2_GNU_VTINHERIT,R_NIOS2_GNU_VTENTRY,R_NIOS2_UJMP): Likewise.
38046         (R_NIOS2_CJMP,R_NIOS2_CALLR,R_NIOS2_ALIGN,R_NIOS2_GOT16): Likewise.
38047         (R_NIOS2_CALL16,R_NIOS2_GOTOFF_LO,R_NIOS2_GOTOFF_HA): Likewise.
38048         (R_NIOS2_PCREL_LO,R_NIOS2_PCREL_HA,R_NIOS2_TLS_GD16): Likewise.
38049         (R_NIOS2_TLS_LDM16,R_NIOS2_TLS_LDO16,R_NIOS2_TLS_IE16): Likewise.
38050         (R_NIOS2_TLS_LE16,R_NIOS2_TLS_DTPMOD,R_NIOS2_TLS_DTPREL): Likewise.
38051         (R_NIOS2_TLS_TPREL,R_NIOS2_COPY,R_NIOS2_GLOB_DAT): Likewise.
38052         (R_NIOS2_JUMP_SLOT,R_NIOS2_RELATIVE,R_NIOS2_GOTOFF): Likewise.
38053         (R_NIOS2_CALL26_NOAT,R_NIOS2_GOT_LO,R_NIOS2_GOT_HA): Likewise.
38054         (R_NIOS2_CALL_LO,R_NIOS2_CALL_HA): Likewise.
38056 2015-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38058         * sysdeps/unix/sysv/linux/futimens.c (futimens): Use address of first
38059         timespec struct member in syscall macro.
38060         * sysdeps/unix/sysv/linux/utimensat.c (utimensat): Likewise.
38061         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Use address of
38062         first timeval struct member in syscall macro.
38063         * sysdeps/unix/sysv/linux/utimes.c (__utimeS): Likewise.
38065 2015-01-07  Joseph Myers  <joseph@codesourcery.com>
38067         [BZ #17748]
38068         * include/fenv.h (__feupdateenv): Use libm_hidden_proto.
38069         * math/feupdateenv.c (__feupdateenv): Use libm_hidden_def.
38070         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Rename to
38071         __feupdateenv and define as weak alias of __feupdateenv.  Use
38072         libm_hidden_weak.
38073         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Use
38074         libm_hidden_def.
38075         * sysdeps/arm/feupdateenv.c (feupdateenv): Rename to __feupdateenv
38076         and define as weak alias of __feupdateenv.  Use libm_hidden_weak.
38077         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
38078         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Use
38079         libm_hidden_def.
38080         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Rename to
38081         __feupdateenv and define as weak alias of __feupdateenv.  Use
38082         libm_hidden_weak.
38083         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Use
38084         libm_hidden_def.
38085         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Rename to
38086         __feupdateenv and define as weak alias of __feupdateenv.  Use
38087         libm_hidden_weak.
38088         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Use
38089         libm_hidden_def.
38090         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
38091         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
38092         (__feupdateenv): Likewise.
38093         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Rename to
38094         __feupdateenv and define as weak alias of __feupdateenv.  Use
38095         libm_hidden_weak.
38096         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
38097         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Use
38098         libm_hidden_def.
38099         * sysdeps/tile/math_private.h (__feupdateenv): New inline
38100         function.
38101         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Use
38102         libm_hidden_def.
38103         * sysdeps/generic/math_private.h (default_libc_feupdateenv): Call
38104         __feupdateenv instead of feupdateenv.
38105         (default_libc_feupdateenv_test): Likewise.
38106         (libc_feresetround_ctx): Likewise.
38108 2015-01-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38110         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Fix function
38111         prototype.
38113 2015-01-07  Chris Metcalf  <cmetcalf@ezchip.com>
38115         * posix/regcomp.c (parse_bracket_exp): Initialize type to
38116         COLL_SYM in a couple of places to avoid uninitialized variable
38117         wanings on tilegx gcc 4.8.2.
38119 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
38121         * sysdeps/aarch64/strcpy.S: New file.
38122         * sysdeps/aarch64/stpcpy.S: New file.
38123         * NEWS: Updated.
38125 2015-01-07  Richard Earnshaw  <rearnsha@arm.com>
38127         * sysdeps/aarch64/strrchr.S: New file.
38128         * NEWS: Updated.
38130 2015-01-07  Eric Biggers  <ebiggers3@gmail.com>
38132         [BZ #17658]
38133         * stdlib/setenv.c: Fix memory leak when setting large,
38134         duplicate string.
38136 2015-01-06  Vladimir A. Nazarenko  <naszar@ya.ru>
38138         [BZ #17273]
38139         * misc/mntent_r.c (__getmntent_r): Cut off trailing spaces
38140         and tabs from buffer before parsing fstab entry.
38141         * misc/tst-mntent.c (main): Add test for mount entry with
38142         trailing spaces and tabs.
38144 2015-01-06  Joseph Myers  <joseph@codesourcery.com>
38146         [BZ #17748]
38147         * include/fenv.h (__fesetround): Declare.  Use libm_hidden_proto.
38148         * math/fesetround.c (fesetround): Rename to __fesetround and
38149         define as weak alias of __fesetround.  Use libm_hidden_weak.
38150         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Likewise.
38151         * sysdeps/alpha/fpu/fesetround.c (fesetround): Likewise.
38152         * sysdeps/arm/fesetround.c (fesetround): Likewise.
38153         * sysdeps/hppa/fpu/fesetround.c (fesetround): Likewise.
38154         * sysdeps/i386/fpu/fesetround.c (fesetround): Likewise.
38155         * sysdeps/ia64/fpu/fesetround.c (fesetround): Likewise.
38156         * sysdeps/m68k/fpu/fesetround.c (fesetround): Likewise.
38157         * sysdeps/mips/fpu/fesetround.c (fesetround): Likewise.
38158         * sysdeps/powerpc/fpu/fenv_libc.h (__fesetround): Rename to
38159         __fesetround_inline.
38160         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetround_ppc): Call
38161         __fesetround_inline instead of __fesetround.
38162         * sysdeps/powerpc/fpu/fesetround.c (fesetround): Rename to
38163         __fesetround and define as weak alias of __fesetround.  Use
38164         libm_hidden_weak.  Call __fesetround_inline instead of
38165         __fesetround.
38166         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Rename to
38167         __fesetround and define as weak alias of __fesetround.  Use
38168         libm_hidden_weak.
38169         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c (fesetround):
38170         Likewise.
38171         * sysdeps/s390/fpu/fesetround.c (fesetround): Likewise.
38172         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
38173         * sysdeps/sparc/fpu/fesetround.c (fesetround): Likewise.
38174         * sysdeps/tile/math_private.h (__fesetround): New inline function.
38175         * sysdeps/x86_64/fpu/fesetround.c (fesetround): Rename to
38176         __fesetround and define as weak alias of __fesetround.  Use
38177         libm_hidden_weak.
38178         * sysdeps/generic/math_private.h (default_libc_fesetround): Call
38179         __fesetround instead of fesetround.
38180         (default_libc_feholdexcept_setround): Likewise.
38181         (libc_feholdsetround_ctx): Likewise.
38182         (libc_feholdsetround_noex_ctx): Likewise.
38184         [BZ #17748]
38185         * include/fenv.h (__fesetenv): Use libm_hidden_proto.
38186         * math/fesetenv.c (__fesetenv): Use libm_hidden_def.
38187         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
38188         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
38189         * sysdeps/alpha/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
38190         * sysdeps/arm/fesetenv.c (fesetenv): Rename to __fesetenv and
38191         define as weak alias of __fesetenv.  Use libm_hidden_weak.
38192         * sysdeps/hppa/fpu/fesetenv.c (fesetenv): Likewise.
38193         * sysdeps/i386/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
38194         * sysdeps/ia64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
38195         define as weak alias of __fesetenv.  Use libm_hidden_weak.
38196         * sysdeps/m68k/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
38197         * sysdeps/mips/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
38198         define as weak alias of __fesetenv.  Use libm_hidden_weak.
38199         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Use
38200         libm_hidden_def.
38201         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Likewise.
38202         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c (__fesetenv):
38203         Likewise.
38204         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Rename to __fesetenv and
38205         define as weak alias of __fesetenv.  Use libm_hidden_weak.
38206         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
38207         * sysdeps/sparc/fpu/fesetenv.c (__fesetenv): Use libm_hidden_def.
38208         * sysdeps/tile/math_private.h (__fesetenv): New inline function.
38209         * sysdeps/x86_64/fpu/fesetenv.c (fesetenv): Rename to __fesetenv
38210         and define as weak alias of __fesetenv.  Use libm_hidden_weak.
38211         * sysdeps/generic/math_private.h (default_libc_fesetenv): Use
38212         __fesetenv instead of fesetenv.
38213         (libc_feresetround_noex_ctx): Likewise.
38214         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
38215         * sysdeps/hppa/fpu/feupdateenv.c (feupdateenv): Likewise.
38216         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Likewise.
38217         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
38218         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
38219         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
38220         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
38221         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c
38222         (__feupdateenv): Likewise.
38223         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
38224         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
38225         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
38226         * sysdeps/x86_64/fpu/feupdateenv.c (__feupdateenv): Likewise.
38228 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
38230         [BZ #17806]
38231         * resolv/res_init.c (__res_iclose): Only clear nsinit if the
38232         addresses have been freed.
38234 2015-01-06  Aurelien Jarno  <aurelien@aurel32.net>
38236         * resolv/res_init.c (__res_vinit): Improve comments about nserv
38237         and nservall.
38239 2015-01-06  Ondřej Bílka  <neleai@seznam.cz>
38241         * sysdeps/unix/sysv/linux/check_pf.c (make_request):
38242         Clean up check_pf allocation pattern. addresses
38244 2015-01-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38246         * nptl/pthread_cancel.c (pthread_cancel): Use ANSI prototype.
38247         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Likewise.
38248         * nptl/pthread_cond_wait.c (__pthread_cond_wait): Likewise.
38249         * nptl/pthread_exit.c (__pthread_exit): Likewise.
38250         * nptl/pthread_join.c (pthread_join): Likewise.
38251         * nptl/pthread_timedjoin.c (pthread_timedjoin_np): Likewise.
38252         * sysdeps/posix/waitid.c (__waitid): Likewise.
38253         * sysdeps/unix/sysv/linux/arm/pread.c (__libc_pread): Likewise.
38254         * sysdeps/unix/sysv/linux/arm/pread64.c (__libc_pread64): Likewise.
38255         * sysdeps/unix/sysv/linux/arm/pwrite.c (__libc_pwrite): Likewise.
38256         * sysdeps/unix/sysv/linux/arm/pwrite64.c (__libc_pwrite64): Likewise.
38257         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c (__libc_pread):
38258         Likewise.
38259         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c
38260         (__libc_pread64): Likewise.
38261         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c
38262         (__libc_pwrite): Likewise.
38263         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c
38264         (__libc_pwrite64): Likewsie.
38265         * sysdeps/unix/sysv/linux/mips/pread.c (__libc_pread): Likewise.
38266         * sysdeps/unix/sysv/linux/mips/pread64.c (__libc_pread64): Likewise.
38267         * sysdeps/unix/sysv/linux/mips/pwrite.c (__libc_pwrite): Likewise.
38268         * sysdeps/unix/sysv/linux/mips/pwrite64.c (__libc_pwrite64): Likewise.
38269         * sysdeps/unix/sysv/linux/msgrcv.c (__libc_msgrcv): Likewise.
38270         * sysdeps/unix/sysv/linux/msgsnd.c (__libc_msgsnd): Likewise.
38271         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
38272         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c (__libc_pread):
38273         Likewise.
38274         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
38275         (__libc_pread64): Likewise.
38276         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c (__libc_pwrite):
38277         Likewise.
38278         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
38279         (__libc_pwrite64): Likewise.
38280         * sysdeps/unix/sysv/linux/pread.c (__libc_pread): Likewise.
38281         * sysdeps/unix/sysv/linux/pread64.c (__libc_pread64): Likewise.
38282         * sysdeps/unix/sysv/linux/preadv.c (PREADV): Likewise.
38283         * sysdeps/unix/sysv/linux/pthread_kill.c (__pthread_kill): Likewise.
38284         * sysdeps/unix/sysv/linux/pwrite.c (__libc_pwrite): Likewise.
38285         * sysdeps/unix/sysv/linux/pwrite64.c (__libc_pwrite64): Likewise.
38286         * sysdeps/unix/sysv/linux/pwritev.c (__libc_pwritev): Likewise.
38287         * sysdeps/unix/sysv/linux/sh/pread.c (__libc_pread): Likewise.
38288         * sysdeps/unix/sysv/linux/sh/pread64.c (__libc_pread64): Likewise.
38289         * sysdeps/unix/sysv/linux/sh/pwrite.c (__libc_pwrite): Likewise.
38290         * sysdeps/unix/sysv/linux/sh/pwrite64.c (__libc_write64): Likewise.
38291         * sysdeps/unix/sysv/linux/sigsuspend.c (__sigsuspend): Likewise.
38292         * sysdeps/unix/sysv/linux/sigtimedwait.c (__sigtimedwait): Likewise.
38293         * sysdeps/unix/sysv/linux/sigwait.c (__sigwait): Likewise.
38294         * sysdeps/unix/sysv/linux/sigwaitinfo.c (__sigwaitinfo): Likewise.
38295         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c (__libc_msgrcv):
38296         Likewise.
38298 2015-01-06  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
38300         * math/Makefile (CFLAGS-test-float.c): Remove -frounding-math.
38301         (CFLAGS-test-double.c): Likewise.
38302         (CFLAGS-test-ldouble.c): Likewise.
38303         (CPPFLAGS-test-ifloat.c): Likewise.
38304         (CPPFLAGS-test-idouble.c): Likewise.
38305         (CPPFLAGS-test-ildoubl.c): Likewise.
38306         (CFLAGS-test-test-fenv.c): Remove variable.
38307         (CFLAGS-test-misc.c): Likewise.
38309 2015-01-06  H.J. Lu  <hongjiu.lu@intel.com>
38311         [BZ #17797]
38312         * bits/time.h (CLOCKS_PER_SEC): Changed to ((clock_t) 1000000).
38313         * sysdeps/unix/sysv/linux/bits/time.h (CLOCKS_PER_SEC): Likewise.
38314         * sysdeps/unix/sysv/linux/clock.c (clock): _Static_assert
38315         CLOCKS_PER_SEC == 1000000.
38316         * time/clocktest.c (main): Replace %ld with %jd and cast to
38317         intmax_t.
38319 2015-01-05  Roland McGrath  <roland@hack.frob.com>
38321         * sysdeps/generic/unwind-resume.h: New file.
38322         * sysdeps/gnu/unwind-resume.c: Include it.
38323         (libgcc_s_personality): Use PERSONALITY_PROTO macro for the prototype.
38324         (__gcc_personality_v0): Likewise, and PERSONALITY_ARGS for the callee
38325         argument list.
38326         (libgcc_s_resume): Variable renamed to __libgcc_s_resume, made hidden
38327         global rather than static.
38328         (_Unwind_Resume): Update user.
38329         Conditionalize definition on [!HAVE_ARCH_UNWIND_RESUME].
38330         (init): Likewise.  Renamed to __libgcc_s_init, made hidden global
38331         rather than static.  Add __attribute__ ((cold)).
38332         (_Unwind_Resume, __gcc_personality_v0): Update callers.
38333         * sysdeps/nptl/unwind-forcedunwind.c: Likewise.
38334         * sysdeps/arm/arm-unwind-resume.S: New file.
38335         * sysdeps/arm/rt-arm-unwind-resume.S: New file.
38336         * sysdeps/arm/pt-arm-unwind-resume.S: New file.
38337         * sysdeps/arm/Makefile [$(subdir) = csu]
38338         (sysdep_routines, shared-only-routines): Add arm-unwind-resume.
38339         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
38340         Add rt-arm-unwind-resume.
38341         [$(subdir) = nptl]
38342         (libpthread-sysdep_routines, libpthread-shared-only-routines):
38343         Add pt-arm-unwind-resume.
38344         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: File removed.
38345         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: File removed.
38347 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
38349         [BZ #17748]
38350         * include/fenv.h (__feholdexcept): Declare.  Use
38351         libm_hidden_proto.
38352         * math/feholdexcpt.c (feholdexcept): Rename to __feholdexcept and
38353         define as weak alias of __feholdexcept.  Use libm_hidden_weak.
38354         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Likewise.
38355         * sysdeps/alpha/fpu/feholdexcpt.c (feholdexcept): Likewise.
38356         * sysdeps/arm/feholdexcpt.c (feholdexcept): Likewise.
38357         * sysdeps/hppa/fpu/feholdexcpt.c (feholdexcept): Likewise.
38358         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Likewise.
38359         * sysdeps/ia64/fpu/feholdexcpt.c (feholdexcept): Likewise.
38360         * sysdeps/m68k/fpu/feholdexcpt.c (feholdexcept): Likewise.
38361         * sysdeps/mips/fpu/feholdexcpt.c (feholdexcept): Likewise.
38362         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
38363         * sysdeps/powerpc/nofpu/feholdexcpt.c (feholdexcept): Likewise.
38364         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c
38365         (feholdexcept): Likewise.
38366         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
38367         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
38368         * sysdeps/sparc/fpu/feholdexcpt.c (feholdexcept): Likewise.
38369         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
38370         * sysdeps/generic/math_private.h (default_libc_feholdexcept): Use
38371         __feholdexcept instead of feholdexcept.
38372         (default_libc_feholdexcept_setround): Likewise.
38374 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
38376         * sysdeps/mips/memset.S (memset): Modify for mips32r6/mips64r6
38377         to avoid using stl/str to align destination.
38379 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
38381         * sysdeps/mips/memcpy.S: Add support for mips32r6/mips64r6.
38383 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
38385         [BZ #17796]
38386         * sysdeps/unix/sysv/linux/mips/mips64/n64/posix_fadvise.c
38387         [!SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)] (posix_fadvise64):
38388         Define as weak alias not strong alias.
38390 2015-01-05  Steve Ellcey  <sellcey@imgtec.com>
38392         * sysdeps/mips/dl-machine.h (elf_machine_load_address): Replace
38393         bltzal with addiupc.
38394         (RTLD_START): Ditto.
38396 2015-01-05  Chris Metcalf  <cmetcalf@ezchip.com>
38398         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso.h: Fix return type
38399         for __vdso_* functions in declarations.
38400         * sysdeps/unix/sysv/linux/tile/init-first.c: Likewise for
38401         definitions.
38402         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL,
38403         INTERNAL_VSYSCALL): Use struct return types to check for error.
38405         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c [!defined _LP64
38406         && REGISTER_CAST_INT32_TO_INT64]: Provide explicit lround()
38407         function with cast from llround().
38408         * sysdeps/tile/sysdep.h (REGISTER_CAST_INT32_TO_INT64): Define.
38409         * sysdeps/x86_64/x32/sysdep.h (REGISTER_CAST_INT32_TO_INT64):
38410         Define.
38412 2015-01-05  Joseph Myers  <joseph@codesourcery.com>
38414         [BZ #17793]
38415         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c (posix_fadvise64):
38416         Define as weak alias not strong alias.
38418         [BZ #17635]
38419         * ctype/ctype-c99.c: New file.  isblank implementation moved from
38420         ...
38421         * ctype/ctype-extn.c: ... here.
38422         (__isblank_l): Move to ...
38423         * ctype/ctype-c99_l.c: ... here.  New file.
38424         * ctype/Makefile (routines): Add ctype-c99 and ctype-c99_l.
38425         * conform/Makefile (test-xfail-ISO99/ctype.h/linknamespace):
38426         Remove variable.
38427         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
38428         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
38429         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
38430         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
38431         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
38433         [BZ #17777]
38434         * sysdeps/unix/sysv/linux/wordsize-64/posix_fadvise.c
38435         (posix_fadvise64): Define as weak alias not strong alias.
38436         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
38437         (posix_fallocate64): Likewise.
38438         * conform/Makefile (test-xfail-XOPEN2K/fcntl.h/linknamespace):
38439         Remove variable.
38440         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
38441         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
38442         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
38443         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
38444         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
38446 2015-01-05  Matthew Fortune  <matthew.fortune@imgtec.com>
38448         [BZ #16191]
38449         * NEWS: Mention bug fix.
38450         * sysdeps/unix/sysv/linux/mips/sys/user.h (PAGE_SHIFT): Remove.
38451         (PAGE_SIZE, PAGE_MASK, NBPG, UPAGES): Likewise.
38452         (HOST_TEXT_START_ADDR, HOST_DATA_START_ADDR): Likewise.
38453         (HOST_STACK_END_ADDR): Likewise.
38455 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
38457         [BZ #17748]
38458         * include/fenv.h (__fegetround): Declare.  Use libm_hidden_proto.
38459         * math/fegetround.c (fegetround): Rename to __fegetround and
38460         define as weak alias of __fegetround.  Use libm_hidden_weak.
38461         * sysdeps/aarch64/fpu/fegetround.c (fegetround): Likewise.
38462         * sysdeps/alpha/fpu/fegetround.c (fegetround): Likewise.
38463         * sysdeps/arm/fegetround.c (fegetround): Likewise.
38464         * sysdeps/hppa/fpu/fegetround.c (fegetround): Likewise.
38465         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
38466         * sysdeps/ia64/fpu/fegetround.c (fegetround): Likewise.
38467         * sysdeps/m68k/fpu/fegetround.c (fegetround): Likewise.
38468         * sysdeps/mips/fpu/fegetround.c (fegetround): Likewise.
38469         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
38470         Undefine after rather than before function definition; use
38471         parentheses around function name in definition.
38472         (__fegetround): Also undefine macro after function definition.
38473         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Rename to
38474         __fegetround and define as weak alias of __fegetround.  Use
38475         libm_hidden_weak.  Do not undefine as macro.
38476         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
38477         Likewise.
38478         * sysdeps/s390/fpu/fegetround.c (fegetround): Rename to
38479         __fegetround and define as weak alias of __fegetround.  Use
38480         libm_hidden_weak.
38481         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
38482         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
38483         * sysdeps/tile/math_private.h (__fegetround): New inline function.
38484         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Rename to
38485         __fegetround and define as weak alias of __fegetround.  Use
38486         libm_hidden_weak.
38487         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Use
38488         __fegetround instead of fegetround.
38490         [BZ #17782]
38491         * sysdeps/unix/sysv/linux/mips/bits/termios.h (TIOCSER_TEMT):
38492         Condition macro definition on [__USE_MISC].
38494         [BZ #17781]
38495         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h
38496         (struct sigaction): Change type of sa_flags field to int.
38498         [BZ #17780]
38499         * sysdeps/unix/sysv/linux/mips/bits/fcntl.h (struct flock)
38500         [!__USE_FILE_OFFSET64 && _MIPS_SIM != _ABI64]: Rename pad field to
38501         __glibc_reserved0.
38503         * nptl/version.c (banner): Use single year in copyright notice.
38505         * NEWS: Update copyright dates.
38506         * catgets/gencat.c (print_version): Likewise.
38507         * csu/version.c (banner): Likewise.
38508         * debug/catchsegv.sh: Likewise.
38509         * debug/pcprofiledump.c (print_version): Likewise.
38510         * debug/xtrace.sh (do_version): Likewise.
38511         * elf/ldconfig.c (print_version): Likewise.
38512         * elf/ldd.bash.in: Likewise.
38513         * elf/pldd.c (print_version): Likewise.
38514         * elf/sotruss.sh: Likewise.
38515         * elf/sprof.c (print_version): Likewise.
38516         * iconv/iconv_prog.c (print_version): Likewise.
38517         * iconv/iconvconfig.c (print_version): Likewise.
38518         * locale/programs/locale.c (print_version): Likewise.
38519         * locale/programs/localedef.c (print_version): Likewise.
38520         * login/programs/pt_chown.c (print_version): Likewise.
38521         * malloc/memusage.sh (do_version): Likewise.
38522         * malloc/memusagestat.c (print_version): Likewise.
38523         * malloc/mtrace.pl: Likewise.
38524         * manual/libc.texinfo: Likewise.
38525         * nptl/version.c (banner): Likewise.
38526         * nscd/nscd.c (print_version): Likewise.
38527         * nss/getent.c (print_version): Likewise.
38528         * nss/makedb.c (print_version): Likewise.
38529         * posix/getconf.c (main): Likewise.
38530         * scripts/test-installation.pl: Likewise.
38531         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Likewise.
38533 2015-01-02  Will Newton  <will.newton@linaro.org>
38535         * sysdeps/arm/armv7/configure: Removed.
38536         * sysdeps/arm/armv7/configure.ac: Likewise.
38538 2015-01-02  Joseph Myers  <joseph@codesourcery.com>
38540         * All files with FSF copyright notices: Update copyright dates
38541         using scripts/update-copyrights.
38542         * intl/plural.c: Regenerated.
38543         * locale/programs/charmap-kw.h: Likewise.
38544         * locale/programs/locfile-kw.h: Likewise.
38546 2015-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
38548         * scripts/gen-posix-conf-vars.awk (END): Don't use sprintf.
38550 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
38552         [BZ #17748]
38553         * include/fenv.h (__fegetenv): Use libm_hidden_proto.
38554         * math/fegetenv.c (__fegetenv): Use libm_hidden_def.
38555         * sysdeps/aarch64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
38556         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
38557         * sysdeps/alpha/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
38558         * sysdeps/arm/fegetenv.c (fegetenv): Rename to __fegetenv and
38559         define as weak alias of __fegetenv.  Use libm_hidden_weak.
38560         * sysdeps/hppa/fpu/fegetenv.c (fegetenv): Likewise.
38561         * sysdeps/i386/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
38562         * sysdeps/ia64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
38563         define as weak alias of __fegetenv.  Use libm_hidden_weak.
38564         * sysdeps/m68k/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
38565         * sysdeps/mips/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
38566         define as weak alias of __fegetenv.  Use libm_hidden_weak.
38567         * sysdeps/powerpc/fpu/fegetenv.c (__fegetenv): Use
38568         libm_hidden_def.
38569         * sysdeps/powerpc/nofpu/fegetenv.c (__fegetenv): Likewise.
38570         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (__fegetenv):
38571         Likewise.
38572         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Rename to __fegetenv and
38573         define as weak alias of __fegetenv.  Use libm_hidden_weak.
38574         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
38575         * sysdeps/sparc/fpu/fegetenv.c (__fegetenv): Use libm_hidden_def.
38576         * sysdeps/tile/math_private.h (__fegetenv): New inline function.
38577         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Rename to __fegetenv
38578         and define as weak alias of __fegetenv.  Use libm_hidden_weak.
38579         * sysdeps/generic/math_private.h (libc_feholdsetround_ctx): Use
38580         __fegetenv instead of fegetenv.
38581         (libc_feholdsetround_noex_ctx): Likewise.
38583 2014-12-31  Matthew Fortune  <matthew.fortune@imgtec.com>
38585         * elf/elf.h (PT_MIPS_ABIFLAGS): Define.
38586         (Elf_MIPS_ABIFlags_v0): New structure.
38587         (EF_MIPS_FP64): Define.
38588         (MIPS_AFL_REG_NONE, MIPS_AFL_REG_32, MIPS_AFL_REG_64): Likewise.
38589         (MIPS_AFL_REG_128, MIPS_AFL_ASE_DSP, MIPS_AFL_ASE_DSP64): Likewise.
38590         (MIPS_AFL_ASE_DSPR2, MIPS_AFL_ASE_EVA, MIPS_AFL_ASE_MCU): Likewise.
38591         (MIPS_AFL_ASE_MDMX, MIPS_AFL_ASE_MIPS3D, MIPS_AFL_ASE_MT): Likewise.
38592         (MIPS_AFL_ASE_SMARTMIPS, MIPS_AFL_ASE_VIRT): Likewise.
38593         (MIPS_AFL_ASE_VIRT64, MIPS_AFL_ASE_MSA, MIPS_AFL_ASE_MSA64): Likewise.
38594         (MIPS_AFL_ASE_MIPS16, MIPS_AFL_ASE_MICROMIPS): Likewise.
38595         (MIPS_AFL_ASE_XPA, MIPS_AFL_EXT_XLR, MIPS_AFL_EXT_OCTEON2): Likewise.
38596         (MIPS_AFL_EXT_OCTEONP, MIPS_AFL_EXT_LOONGSON_3A): Likewise.
38597         (MIPS_AFL_EXT_OCTEON, MIPS_AFL_EXT_5900, MIPS_AFL_EXT_4010): Likewise.
38598         (MIPS_AFL_EXT_4100, MIPS_AFL_EXT_3900, MIPS_AFL_EXT_10000): Likewise.
38599         (MIPS_AFL_EXT_SB1, MIPS_AFL_EXT_4111, MIPS_AFL_EXT_4120): Likewise.
38600         (MIPS_AFL_EXT_5400, MIPS_AFL_EXT_5500): Likewise.
38601         (MIPS_AFL_EXT_LOONGSON_2E, MIPS_AFL_EXT_LOONGSON_2F): Likewise.
38602         (Val_GNU_MIPS_ABI_FP_ANY, Val_GNU_MIPS_ABI_FP_DOUBLE): New enum values.
38603         (Val_GNU_MIPS_ABI_FP_SINGLE, Val_GNU_MIPS_ABI_FP_SOFT): Likewise.
38604         (Val_GNU_MIPS_ABI_FP_OLD_64, Val_GNU_MIPS_ABI_FP_XX): Likewise.
38605         (Val_GNU_MIPS_ABI_FP_64, Val_GNU_MIPS_ABI_FP_64A): Likewise.
38606         (Val_GNU_MIPS_ABI_FP_MAX): Likewise.
38607         * sysdeps/mips/Makefile [subdir=elf]: Add tst-abi-interlink,
38608         tst-mode-switch-1, tst-mode-switch-2, tst-mode-switch-3 tests.
38609         * sysdeps/mips/bits/linkmap.h (struct link_map_machine): Add fpmode
38610         field.
38611         * sysdeps/mips/dl-machine.h (elf_machine_matches_host): Reject
38612         EF_MIPS_FP64.
38613         * sysdeps/mips/dl-machine-reject-phdr.h: New file.
38614         * sysdeps/mips/tst-abi-fp32mod.c: Likewise.
38615         * sysdeps/mips/tst-abi-fpxxmod.c: Likewise.
38616         * sysdeps/mips/tst-abi-fpxxomod.c: Likewise.
38617         * sysdeps/mips/tst-abi-fp64mod.c: Likewise.
38618         * sysdeps/mips/tst-abi-fp64amod.c: Likewise.
38619         * sysdeps/mips/tst-abi-interlink.c: Likewise.
38620         * sysdeps/mips/tst-mode-switch-1.c: Likewise.
38621         * sysdeps/mips/tst-mode-switch-2.c: Likewise.
38622         * sysdeps/mips/tst-mode-switch-3.c: Likewise.
38623         * sysdeps/unix/sysv/linux/mips/configure.ac (o32-fpabi): Define to
38624         record the current FP ABI extension.
38625         (mips-mode-switch): Define to show if kernel headers support mode
38626         switching.
38627         * sysdeps/unix/sysv/linux/mips/configure: Regenerate.
38628         * sysdeps/unix/sysv/linux/mips/ldsodefs.h: Increase maximum
38629         supported SYSV ABI version to 3.
38630         * sysdeps/unix/sysv/linux/mips/libc-abis: Add new MIPS_O32_FP64
38631         feature.
38633 2014-12-31  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
38634             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
38636         * sysdeps/powerpc/powerpc64/power7/strcpy.S (strcpy): Optimize unaligned
38637         path.
38638         * benchtests/bench-strcpy.c (test_main): Add more unaligned inputs.
38640 2014-12-31  Joseph Myers  <joseph@codesourcery.com>
38642         * sysdeps/powerpc/bits/fenvinline.h (fegetround): Rename macro to
38643         __fegetround and redefine to call __fegetround.  Remove condition
38644         on [!__NO_MATH_INLINES].
38645         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove inline
38646         function.
38647         * sysdeps/powerpc/nofpu/fenv_libc.h: Remove file.
38648         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
38649         Remove macro.
38650         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Include <fenv.h>
38651         instead of <fenv_libc.h>.
38652         (__llrintl): Call fegetround instead of __fegetround.
38653         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Include <fenv.h>
38654         instead of <fenv_libc.h>.
38655         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
38656         (__lrintl): Call fegetround instead of __fegetround.
38657         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Include <fenv.h>
38658         instead of <fenv_libc.h>.
38659         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
38660         (__rintl): Call fegetround instead of __fegetround.
38662 2014-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
38664         * scripts/gen-posix-conf-vars.awk: Don't use multi-dimensional
38665         arrays.
38667 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
38669         [BZ #17775]
38670         * sysdeps/i386/dl-machine.h (PI_STATIC_AND_HIDDEN): Removed.
38671         (elf_machine_dynamic) [!PI_STATIC_AND_HIDDEN]: Likewise.
38672         (elf_machine_load_address) [!PI_STATIC_AND_HIDDEN]: Likewise.
38674 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
38676         * sysdeps/i386/tls-macros.h: Include <features.h>.
38677         (TLS_LE): Use non-PIC version for GCC >= 5.0.
38678         (TLS_IE): Likewise.
38679         (TLS_LD): Likewise.
38680         (TLS_GD): Likewise.
38681         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Don't
38682         define for GCC >= 5.0.
38684 2014-12-30  Chris Metcalf  <cmetcalf@ezchip.com>
38686         * math/test-fenv.c (test_single_exception, set_single_exc,
38687         feenv_nomask_test, feenv_mask_test, feexcp_nomask_test,
38688         feexcp_mask_test, feenable_test, fe_single_test): Add
38689         [!FE_ALL_EXCEPT] test so these routines are not compiled in the
38690         case where they are not used.
38691         * math/libm-test.inc: Likewise.
38692         * setjmp/test-setjmp-fp.c: Mark attribute ((unused)) on variable
38693         unused in the absence of FP rounding/exception support.
38694         * stdio-common/tst-printf-round.c: Likewise.
38695         * stdlib/tst-strtod-round.c: Likewise.
38696         * stdlib/tst-strtod-underflow.c: Likewise.
38698 2014-12-30  Joseph Myers  <joseph@codesourcery.com>
38700         [BZ #17723]
38701         * include/fenv.h (__feraiseexcept): Use libm_hidden_proto.
38702         * math/fraiseexcpt.c (__feraiseexcept): Use libm_hidden_def.
38703         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
38704         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
38705         libm_hidden_weak.
38706         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Likewise.
38707         * sysdeps/hppa/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
38708         * sysdeps/i386/fpu/fraiseexcpt.c (__feraiseexcept): Use
38709         libm_hidden_def.
38710         * sysdeps/ia64/fpu/fraiseexcpt.c (feraiseexcept): Rename to
38711         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
38712         libm_hidden_weak.
38713         * sysdeps/m68k/coldfire/fpu/fraiseexcpt.c (feraiseexcept):
38714         Likewise.
38715         * sysdeps/microblaze/math_private.h (__feraiseexcept): New macro.
38716         * sysdeps/mips/fpu/fraiseexcpt.c (feraiseexcept): Rename to
38717         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
38718         libm_hidden_weak.
38719         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Use
38720         libm_hidden_def.
38721         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
38722         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c
38723         (__feraiseexcept): Likewise.
38724         * sysdeps/s390/fpu/fraiseexcpt.c (feraiseexcept): Rename to
38725         __feraiseexcept and define as weak alias of __feraiseexcept.  Use
38726         libm_hidden_weak.
38727         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Likewise.
38728         * sysdeps/sparc/fpu/fraiseexcpt.c (__feraiseexcept): Use
38729         libm_hidden_def.
38730         * sysdeps/tile/math_private.h (__feraiseexcept): New macro.
38731         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (__feraiseexcept):
38732         Use libm_hidden_def.
38733         * sysdeps/x86_64/fpu/fraiseexcpt.c (__feraiseexcept): Use
38734         libm_hidden_def.
38735         (feraiseexcept): Define as weak not strong alias.  Use
38736         libm_hidden_weak.
38737         * sysdeps/x86/fpu/bits/fenv.h (__feraiseexcept_invalid_divbyzero):
38738         New inline function.  Factored out of ...
38739         (feraiseexcept): ... here.  Use __feraiseexcept_invalid_divbyzero.
38740         * sysdeps/x86/fpu/include/bits/fenv.h: New file.
38741         * math/e_scalb.c (invalid_fn): Call __feraiseexcept instead of
38742         feraiseexcept.
38743         * math/w_acos.c (__acos): Likewise.
38744         * math/w_asin.c (__asin): Likewise.
38745         * math/w_ilogb.c (__ilogb): Likewise.
38746         * math/w_j0.c (y0): Likewise.
38747         * math/w_j1.c (y1): Likewise.
38748         * math/w_jn.c (yn): Likewise.
38749         * math/w_log.c (__log): Likewise.
38750         * math/w_log10.c (__log10): Likewise.
38751         * sysdeps/aarch64/fpu/feupdateenv.c (feupdateenv): Likewise.
38752         * sysdeps/aarch64/fpu/math_private.h
38753         (libc_feupdateenv_test_aarch64): Likewise.
38754         * sysdeps/alpha/fpu/feupdateenv.c (__feupdateenv): Likewise.
38755         * sysdeps/arm/fenv_private.h (libc_feupdateenv_test_vfp): Likewise.
38756         * sysdeps/arm/feupdateenv.c (feupdateenv): Likewise.
38757         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Likewise.
38758         * sysdeps/m68k/fpu/feupdateenv.c (__feupdateenv): Likewise.
38759         * sysdeps/mips/fpu/feupdateenv.c (feupdateenv): Likewise.
38760         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Likewise.
38761         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
38762         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
38763         * sysdeps/sparc/fpu/feupdateenv.c (__feupdateenv): Likewise.
38765 2014-12-30  H.J. Lu  <hongjiu.lu@intel.com>
38767         [BZ #17732]
38768         * io/test-utime.c (main): Replace %ld with %jd and cast to
38769         intmax_t.
38770         * libio/tst-ftell-active-handler.c (do_append_test): Likewise.
38771         * nptl/tst-mutex5.c: Include <stdint.h>.
38772         (do_test): Replace %ld with %jd and cast to intmax_t.
38773         * posix/tst-regex.c (run_test): Likewise.
38774         (run_test_backwards): Likewise.
38775         * rt/tst-clock.c: Include <stdint.h>.
38776         (clock_test): Replace %ld with %jd and cast to intmax_t.
38777         * rt/tst-cpuclock1.c: Include <stdint.h>.
38778         (do_test): Replace %lu with %ju and cast to uintmax_t.
38779         * rt/tst-cpuclock2.c: Include <stdint.h>.
38780         (do_test): Replace %lu with %ju and cast to uintmax_t.
38781         * rt/tst-mqueue1.c: Include <stdint.h>.
38782         (check_attrs): Replace %ld with %jd and cast to intmax_t.
38783         * rt/tst-mqueue3.c (fct): Replace %ld with %jd and cast to
38784         intmax_t.
38785         * rt/tst-mqueue4.c (do_test): Likewise.
38786         * rt/tst-timer4.c: Include <stdint.h>.
38787         (check_ts): Replace %ld with %jd and cast to intmax_t.
38788         (do_test): Likewise.
38789         * stdio-common/tst-fmemopen2.c (do_test): Replace %ld with %jd
38790         and cast to intmax_t.
38791         * sysdeps/pthread/tst-timer.c (main): Likewise.
38792         * time/clocktest.c (main): Likewise.
38793         * time/tst-posixtz.c (do_test): Likewise.
38794         * timezone/tst-timezone.c (main): Likewise.
38796 2014-12-30  Andrew Senkevich  <andrew.senkevich@intel.com>
38797             H.J. Lu  <hongjiu.lu@intel.com>
38799         * sysdeps/i386/i686/multiarch/bcopy-sse2-unaligned.S: New file.
38800         * sysdeps/i386/i686/multiarch/memcpy-sse2-unaligned.S: Likewise.
38801         * sysdeps/i386/i686/multiarch/memmove-sse2-unaligned.S: Likewise.
38802         * sysdeps/i386/i686/multiarch/mempcpy-sse2-unaligned.S: Likewise.
38803         * sysdeps/i386/i686/multiarch/bcopy.S: Select the sse2_unaligned
38804         version if bit_Fast_Unaligned_Load is set.
38805         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
38806         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
38807         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
38808         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
38809         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
38810         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
38811         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
38812         bcopy-sse2-unaligned, memcpy-sse2-unaligned,
38813         memmove-sse2-unaligned and mempcpy-sse2-unaligned.
38814         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c (MAX_IFUNC): Set
38815         to 4.
38816         (__libc_ifunc_impl_list): Test __bcopy_sse2_unaligned,
38817         __memmove_chk_sse2_unaligned, __memmove_sse2_unaligned,
38818         __memcpy_chk_sse2_unaligned, __memcpy_sse2_unaligned,
38819         __mempcpy_chk_sse2_unaligned, and __mempcpy_sse2_unaligned.
38821 2014-12-29  Chris Metcalf  <cmetcalf@ezchip.com>
38823         * sysdeps/unix/sysv/linux/tst-setgetname.c (do_test): Use #ifndef
38824         instead of #if to avoid a Wundef warning.
38825         * stdlib/tst-limits.c (do_test): Likewise.
38827         * sysdeps/tile/math_private.h (fetestexcept): Add macro to
38828         parallel other exception macros.
38829         (fegetenv): Convert from macro to extern inline so that it applies
38830         retroactively to inline functions already seen by the compiler.
38831         (fesetenv, feupdateenv, fegetround, fesetround): Likewise.
38833         * posix/Makefile (before-compile): Use $(objpfx) for
38834         posix-conf-vars-def.h.
38836 2014-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
38838         * posix/getconf.c (main): Use size_t for type of I.
38839         * scripts-gen-posix-conf-vars.awk (END): Use size_t for type of
38840         NSPEC.
38842         * posix/posix-conf-vars.list (SPEC:XBS5): Add sysconf prefix.
38843         * posix/confstr.c: Define NEED_SPEC_ARRAY to 0.
38844         * posix/posix-envs.def: Likewise.
38845         * sysdeps/posix/sysconf.c: Likewise.
38846         * posix/getconf.c: Define NEED_SPEC_ARRAY to 1.
38847         (specs): Remove array.
38848         * scripts/gen-posix-conf-vars.awk: Support generation of specs
38849         array.
38851         * posix/posix-conf-vars.list: Add _POSIX sysconf namespace.
38852         * sysdeps/posix/sysconf.c: Include posix-conf-vars.h.
38853         (__sysconf): Use CONF_IS_* macros.
38855         * posix/Makefile (before-compile): Add posix-conf-vars-def.h.
38856         ($(objpfx)posix-conf-vars-def.h): New target.
38857         * posix/posix-conf-vars.list: New file.
38858         * posix/posix-conf-vars.h: New file.
38859         * posix/confstr.c: Include posix-conf-vars.h.
38860         (confstr): Use CONF_IS_* macros.
38861         * posix/posix-envs.def: Include posix-conf-vars.h.  Use
38862         CONF_IS_* macros.
38863         * scripts/gen-posix-conf-vars.awk: New file.
38865 2014-12-26  Chris Metcalf  <cmetcalf@ezchip.com>
38867         * sysdeps/tile/math_private.h (fegetenv, fesetenv, feupdateenv,
38868         fegetround): Add no-op macros to avoid linknamespace issues.
38870         * sysdeps/unix/sysv/linux/clock_settime.c (SYSDEP_SETTIME): Remove
38871         definitions of INTERNAL_VSYSCALL and INLINE_VSYSCALL.
38873         * sysdeps/unix/sysv/linux/tile/sysdep.h
38874         (HAVE_CLOCK_GETTIME_VSYSCALL): Move definition out of
38875         assembly-specific section to avoid a redefinition warning.
38877         * sysdeps/tile/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast to
38878         long before casting to pointer to avoid a cast warning.
38880 2014-12-23  Chris Metcalf  <cmetcalf@ezchip.com>
38882         * sysdeps/tile/tilegx/Implies: New file.
38884 2014-12-23  Richard Earnshaw  <rearnsha@arm.com>
38886         * string/stpcpy.c (__stpcpy): Rewrite using strlen and memcpy.
38888 2014-12-23  Florian Weimer  <fweimer@redhat.com>
38890         * iconvdata/run-iconv-test.sh: Actually test iconv modules.
38892 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
38894         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES): Do
38895         not define.
38896         * sysdeps/unix/sysv/linux/utimes.c: Do not include
38897         <kernel-features.h>.
38898         (__utimes) [__NR_utimes]: Make code unconditional.
38899         (__utimes) [!__ASSUME_UTIMES]: Remove conditional code.
38900         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
38901         (__ASSUME_UTIMES): Do not undefine.
38902         * sysdeps/unix/sysv/linux/tile/kernel-features.h
38903         (__ASSUME_UTIMES): Likewise.
38904         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
38905         (__ASSUME_UTIMES): Define for [__LINUX_KERNEL_VERSION >= 0x030e00]
38906         instead of undefining for [__LINUX_KERNEL_VERSION < 0x030e00].
38907         * sysdeps/unix/sysv/linux/hppa/utimes.c: New file.
38909 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
38911         * sysdeps/mips/memcpy.S: Fix preprocessor indentation.
38913 2014-12-22  Chris Metcalf  <cmetcalf@ezchip.com>
38915         [BZ #17747]
38916         * math/w_j0.c [defined NO_LONG_DOUBLE] (j0, y0): Convert strong
38917         alias to weak alias for j0l, y0l.
38918         * math/w_j1.c [defined NO_LONG_DOUBLE] (j1, y1): Likewise.
38919         * math/w_jn.c [defined NO_LONG_DOUBLE] (jn, yn): Likewise.
38921         [BZ #17746]
38922         * sysdeps/tile/tilegx/strstr.c (STRSTR2): Remove implicit boolean
38923         conversion.
38925 2014-12-22  Steve Ellcey  <sellcey@imgtec.com>
38927         * sysdeps/unix/mips/sysdep.h (__mips_isa_rev): Set
38928         to zero if not already defined.
38930 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
38932         [BZ #17724]
38933         * sysdeps/ieee754/k_standard.c: Don't include <float.h>.
38934         (__kernel_standard_f): Remove.  Moved to k_standardf.c.
38935         (__kernel_standard_l): Remove.  Moved to k_standardl.c with
38936         (char *) casts added.
38937         * sysdeps/ieee754/k_standardf.c: New file.
38938         * sysdeps/ieee754/k_standardl.c: Likewise.
38939         * math/Makefile (libm-support): Remove k_standard.
38940         (libm-calls): Add k_standard.
38942 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
38944         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
38945         Optimize to avoid an unnecessary FPCR read.
38947 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
38949         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv):
38950         Optimize to reduce FPCR/FPSR accesses.
38952 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
38954         * sysdeps/aarch64/fpu/ftestexcept.c (fetestexcept):
38955         Call libc_fetestexcept_aarch64.
38957 2014-12-22  Wilco Dijkstra  <wdijkstr@arm.com>
38959         * sysdeps/aarch64/fpu/fesetround.c (fesetround):
38960         Call libc_fesetround_aarch64.
38962 2014-12-22  Joseph Myers  <joseph@codesourcery.com>
38964         [BZ #17733]
38965         * sysdeps/unix/sysv/linux/bind.S (NO_WEAK_ALIAS): Do not define.
38966         (__bind): Do not define as weak alias.
38967         * sysdeps/unix/sysv/linux/getsockname.S (NO_WEAK_ALIAS): Do not
38968         define.
38969         (__getsockname): Do not define as weak alias.
38971 2014-12-22  Will Newton  <will.newton@linaro.org>
38973         * manual/install.texi: Document that we require bison 2.7
38974         or above.
38975         * INSTALL: Regenerate.
38976         * configure.ac: Use AC_CHECK_PROG_VER instead of
38977         AC_PATH_PROG when checking for bison and check for
38978         version 2.7 or above.
38979         * configure: Regenerate.
38981 2014-12-21  Chris Metcalf  <cmetcalf@ezchip.com>
38983         [BZ #17745]
38984         * sysdeps/tile/ffs.c (__ffs): Moved ffsll definition...
38985         * sysdeps/tile/ffsll.c (ffsll): To here.
38987         * sysdeps/unix/sysv/linux/tile/localplt.data: Removed.
38989 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
38991         * elf/dl-tls.c (__tls_get_addr): Provide the hidden definition
38992         if not defined.
38993         * sysdeps/i386/dl-tls.h (___tls_get_addr): Provide the hidden
38994         definition.
38995         * sysdeps/i386/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
38996         hidden ___tls_get_addr.
38997         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_dynamic): Call the
38998         hidden __tls_get_addr.
38999         * sysdeps/generic/localplt.data (__tls_get_addr): Removed.
39000         * sysdeps/unix/sysv/linux/i386/localplt.data (___tls_get_addr):
39001         Likewise.
39003 2014-12-21  Andreas Schwab  <schwab@linux-m68k.org>
39005         * sysdeps/m68k/dl-machine.h (RTLD_START): Remove @PLTPC from
39006         _dl_init call.
39008 2014-12-21  H.J. Lu  <hongjiu.lu@intel.com>
39010         * sysdeps/i386/dl-machine.h (_dl_start_user): Remove @PLT
39011         from "call _dl_init@PLT".
39012         * sysdeps/x86_64/dl-machine.h (_dl_start_user): Likewise.
39014 2014-12-21  Anders Kaseorg  <andersk@mit.edu>
39016         * manual/search.texi: (Array Sort Function): Clarify stable sorting
39017         guarantees.
39019 2014-12-20  Chris Metcalf  <cmetcalf@ezchip.com>
39021         * sysdeps/unix/sysv/linux/tile/localplt.data: New file.
39023 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
39025         [BZ #17744]
39026         * sysdeps/tile/tilegx/strstr.c (STRSTR): Call __strnlen, not
39027         strnlen.
39029 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
39031         * sysdeps/mips/addmul_1.S (__mpn_addmul_1): Use mulu/muhu instead
39032         of multu on MIPSr6.
39033         * sysdeps/mips/mul_1.S (__mpn_mul_1): Ditto.
39034         * sysdeps/mips/submul_1.S (__mpn_submul_1): Ditto.
39035         * sysdeps/mips/mips64/addmul_1.S (__mpn_addmul_1): Ditto.
39036         * sysdeps/mips/mips64/mul_1.S (__mpn_mul_1): Ditto.
39037         * sysdeps/mips/mips64/submul_1.S (__mpn_submul_1): Ditto.
39039 2014-12-19  Steve Ellcey  <sellcey@imgtec.com>
39041         * sysdeps/mips/sys/asm.h (PTR_ADDU): Use addu on mips32r6/mips64r6.
39042         (PTR_ADDIU): Use addiu for mips32r6/mips64r6.
39043         (PTR_SUBU): Use subu for mips32r6/mips64r6.
39044         (PTR_SUBIU): Use subu for mips32r6/mips64r6 (subiu does not exist).
39045         * sysdeps/mips/machine-gmon.h (PTR_ADDU_STRING) Use addu for
39046         mips32r6/mips64r6.
39047         (PTR_SUBU_STRING) Use subu for mips32r6/mips64r6.
39049 2014-12-19  Ondřej Bílka  <neleai@seznam.cz>
39051         * string/strncat.c (STRNCAT): Simplify implementation.
39053 2014-12-19  David S. Miller  <davem@davemloft.net>
39055         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Use a union to
39056         access the quad as both a long double and as a series of 4 words.
39058         * get-dynamic-info.h (elf_get_dynamic_info): Ignore -Warray-bounds for a
39059         link_map->l_info array access.
39061 2014-12-19  Chris Metcalf  <cmetcalf@ezchip.com>
39063         * iconvdata/tst-loading.c (TIMEOUT): Increase timeout 10 sec.
39065         * math/atest-exp.c (TIMEOUT): Increase timeout to 10 sec.
39066         * math/atest-exp2.c (TIMEOUT): Likewise.
39067         * math/atest-sincos.c (TIMEOUT): Likewise.
39069 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
39071         * sysdeps/x86_64/x32/Makefile (CFLAGS-s_llround.c): Replace
39072         -Wno-error with -fno-builtin-lround.
39074 2014-12-19  Torvald Riegel  <triegel@redhat.com>
39076         * sysdeps/unix/sysv/linux/i386/lowlevellock-futex.h: New file.
39077         Contains futex constants and functions moved over from ...
39078         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.  Include
39079         <lowlevellock-futex.h>.
39080         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
39081         (lll_timedwait_tid): Add comments and parentheses around macro
39082         arguments.
39084 2014-12-19  Torvald Riegel  <triegel@redhat.com>
39086         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Include
39087         <lowlevellock-futex.h>.  Remove FUTEX_* constants defined there.
39088         (__lll_private_flag): Remove.
39089         (lll_futex_wait): Likewise.
39090         (lll_futex_timed_wait): Likewise.
39091         (lll_futex_wake): Likewise.
39092         (lll_futex_requeue): Likewise.
39093         (lll_wait_tid): Use lll_futex_wait instead of assembly code.
39094         (__lll_timedwait_tid): Spell out argument names.
39095         (lll_timedwait_tid): Add comments and parentheses around macro
39096         arguments.
39097         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Make FUTEX_* constants,
39098         LLL_SHARED and LLL_PRIVATE usable from assembly code.
39100 2014-12-19  Torvald Riegel  <triegel@redhat.com>
39102         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Remove file.
39103         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
39104         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
39105         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Likewise.
39106         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Likewise.
39107         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Likewise.
39108         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Likewise.
39109         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Likewise.
39110         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Likewise.
39111         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: Likewise.
39112         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: Likewise.
39113         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Likewise.
39114         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Likewise.
39115         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Likewise.
39116         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Likewise.
39117         * sysdeps/unix/sysv/linux/sh/sem_post.S: Likewise.
39118         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Likewise.
39119         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: Likewise.
39120         * sysdeps/unix/sysv/linux/sh/sem_wait.S: Likewise.
39122 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
39124         * sysdeps/x86_64/x32/Makefile: New file.
39126 2014-12-19  H.J. Lu  <hongjiu.lu@intel.com>
39128         * sysdeps/i386/ldbl2mpn.c (__mpn_extract_long_double): Replace
39129         1L with (mp_limb_t) 1.
39131 2014-12-17  Roland McGrath  <roland@hack.frob.com>
39133         * sysdeps/nptl/fork.c (__fork_generation_pointer): Variable moved ...
39134         * nptl/libc_pthread_init.c: ... here.
39135         * sysdeps/nptl/fork.c (__fork_handlers): Variable moved ...
39136         * nptl/register-atfork.c: ... here.
39138         * sysdeps/nptl/gai_misc.h (__gai_start_notify_thread):
39139         Use pthread_sigmask rather than INTERNAL_SYSCALL.
39140         Use assert_perror to check its return value.
39141         (__gai_create_helper_thread): Likewise.
39143         * inet/if_index.c (__if_freenameindex): Add libc_hidden_def.
39145         * malloc/malloc.c (alloc_perturb, free_perturb): Remove inline keyword.
39147 2014-12-17  Joseph Myers  <joseph@codesourcery.com>
39149         [BZ #17725]
39150         * sysdeps/generic/profil-counter.h (profil_counter): Rename to
39151         __profil_counter.
39152         * sysdeps/unix/sysv/linux/hppa/profil-counter.h (profil_counter):
39153         Likewise.
39154         * sysdeps/unix/sysv/linux/i386/profil-counter.h (profil_counter):
39155         Likewise.
39156         * sysdeps/unix/sysv/linux/ia64/profil-counter.h (profil_counter):
39157         Likewise.
39158         * sysdeps/unix/sysv/linux/s390/s390-32/profil-counter.h
39159         (profil_counter): Likewise.
39160         * sysdeps/unix/sysv/linux/s390/s390-64/profil-counter.h
39161         (profil_counter): Likewise.
39162         * sysdeps/unix/sysv/linux/sh/profil-counter.h (profil_counter):
39163         Likewise.
39164         * sysdeps/unix/sysv/linux/tile/profil-counter.h (profil_counter):
39165         Likewise.
39166         * sysdeps/unix/sysv/linux/x86_64/profil-counter.h
39167         (profil_counter): Likewise.
39168         * sysdeps/unix/sysv/linux/arm/profil-counter.h (profil_counter):
39169         Likewise.
39170         [!__profil_counter] (profil_counter): Define as weak alias of
39171         __profil_counter.
39172         * sysdeps/unix/sysv/linux/sparc/sparc32/profil-counter.h
39173         (profil_counter): Rename to __profil_counter.
39174         [!__profil_counter] (profil_counter): Define as weak alias of
39175         __profil_counter.
39176         * sysdeps/unix/sysv/linux/sparc/sparc64/profil-counter.h
39177         (profil_counter): Rename to __profil_counter.
39178         [!__profil_counter] (profil_counter): Define as weak alias of
39179         __profil_counter.
39180         * sysdeps/posix/profil.c: Update comment referring to
39181         profil_counter.
39182         (__profil): Use __profil_counter instead of profil_counter.
39183         * sysdeps/posix/sprofil.c (profil_counter): Rename to
39184         __profil_counter.  Use __profil_counter_ushort and
39185         __profil_counter_uint in definitions.
39186         (__sprofil): Use __profil_counter_uint and __profil_counter_ushort
39187         instead of profil_counter_uint and profil_counter_ushort.
39189         [BZ #17722]
39190         * inet/inet_mkadr.c (inet_makeaddr): Rename to __inet_makeaddr and
39191         define as weak alias of __inet_makeaddr.
39192         * resolv/inet_addr.c (inet_addr): Rename to __inet_addr and define
39193         as weak alias of __inet_addr.
39194         * resolv/inet_pton.c (inet_pton): Rename to __inet_pton and define
39195         as weak alias of __inet_pton.  Use libc_hidden_weak.
39196         * include/arpa/inet.h (__inet_pton): Declare.  Use
39197         libc_hidden_proto.
39198         (inet_makeaddr): Don't use libc_hidden_proto.
39199         (__inet_makeaddr): Declare.  Use libc_hidden_proto.
39200         * resolv/res_init.c (__res_vinit): Use __inet_pton instead of
39201         inet_pton.  Use __inet_makeaddr instead of inet_makeaddr.
39202         * conform/Makefile (test-xfail-POSIX/pthread.h/linknamespace):
39203         Remove variable.
39204         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
39205         (test-xfail-POSIX/time.h/linknamespace): Likewise.
39207 2014-12-17  Steve Ellcey  <sellcey@imgtec.com>
39209         * inet/getnetgrent_r.c: Move while loop to be inside if statement.
39211 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
39213         * stdio-common/bug-vfprintf-nargs.c (do_test):
39214         Cast value to intptr_t to avoid format warning
39215         for usage with PRIdPTR printing macro.
39217 2014-12-17  Stefan Liebler  <stli@linux.vnet.ibm.com>
39219         * libio/tst-widetext.c (do_test):
39220         Use format type %td instead of %Zd for ptrdiff_t
39221         in order to avoid format warning.
39223 2014-12-17  Andreas Schwab  <schwab@suse.de>
39225         * nscd/mem.c (gc): Add size_t cast to match printf format.
39227 2014-12-16  Roland McGrath  <roland@hack.frob.com>
39229         * sysdeps/gnu/unwind-resume.c: #include <sysdep.h>.
39230         (init): Apply PTR_MANGLE to pointers before storing them.
39231         (_Unwind_Resume, __gcc_personality_v0): Apply PTR_DEMANGLE to pointers
39232         before using them.
39234 2014-12-16  Joseph Myers  <joseph@codesourcery.com>
39236         [BZ #17719]
39237         * sysdeps/x86_64/memrchr.S (memrchr): Rename to __memrchr and
39238         define as weak alias of __memrchr.
39239         (__memrchr): Do not define as strong alias of memrchr.
39240         * conform/Makefile (test-xfail-XPG4/libgen.h/linknamespace):
39241         Remove variable.
39242         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
39243         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
39244         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
39246         [BZ #17717]
39247         * inet/if_index.c (if_nametoindex): Rename to __if_nametoindex and
39248         define as weak alias of __if_nametoindex.  Use libc_hidden_weak.
39249         (if_indextoname): Rename to __if_indextoname and define as weak
39250         alias of __if_indextoname.  Use libc_hidden_weak.
39251         (if_freenameindex): Rename to __if_freenameindex and define as
39252         weak alias of __if_freenameindex.
39253         (if_nameindex): Rename to __if_nameindex and define as weak alias
39254         of __if_nameindex.
39255         * sysdeps/mach/hurd/if_index.c (if_nametoindex): Rename to
39256         __if_nametoindex and define as weak alias of __if_nametoindex.
39257         Use libc_hidden_weak.
39258         (if_freenameindex): Rename to __if_freenameindex and define as
39259         weak alias of __if_freenameindex.
39260         (if_nameindex): Rename to __if_nameindex and define as weak alias
39261         of __if_nameindex.
39262         (if_indextoname): Rename to __if_indextoname and define as weak
39263         alias of __if_indextoname.  Use libc_hidden_weak.
39264         * sysdeps/unix/sysv/linux/if_index.c (if_nametoindex): Rename to
39265         __if_nametoindex and define as weak alias of __if_nametoindex.
39266         Use libc_hidden_weak.
39267         (if_freenameindex): Rename to __if_freenameindex and define as
39268         weak alias of __if_freenameindex.  Use libc_hidden_weak.
39269         (if_nameindex_netlink): Use __if_freenameindex instead of
39270         if_freenameindex.
39271         (if_nameindex): Rename to __if_nameindex and define as weak alias
39272         of __if_nameindex.  Use libc_hidden_weak.
39273         (if_indextoname): Rename to __if_indextoname and define as weak
39274         alias of __if_indextoname.  Use libc_hidden_weak.
39275         * include/net/if.h [!_ISOMAC] (__if_nametoindex): Declare and use
39276         libc_hidden_proto.
39277         [!_ISOMAC] (__if_freenameindex): Likewise.
39278         * resolv/res_init.c (__res_vinit): Use __if_nametoindex instead of
39279         if_nametoindex.
39280         * conform/Makefile (test-xfail-XPG4/grp.h/linknamespace): Remove
39281         variable.
39282         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
39283         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
39284         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
39285         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
39286         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
39287         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
39288         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
39290         * conform/Makefile (test-xfail-UNIX98/semaphore.h/linknamespace):
39291         Remove variable.
39292         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
39293         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
39295 2014-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
39297         * resolv/res_send.c (__libc_res_nsend): Disable warning 'array
39298         subscript above bounds'
39300         * resolv/res_send.c (__libc_res_nsend): Fix check for nsmap
39301         bounds.
39303 2014-12-16  Arjun Shankar  <arjun.is@lostca.se>
39305         * libio/tst-fopenloc.c: Use test-skeleton.c.
39307         * stdlib/tst-bsearch.c: Use test-skeleton.c.
39308         (entry): Rename to ITEM.
39309         (do_test, comp): Adjust.
39311         * stdio-common/tst-fseek.c: Use test-skeleton.c.
39313 2014-12-16  Torvald Riegel  <triegel@redhat.com>
39315         * string/tester.c: Include <libc-internal.h>.
39316         (test_memset): Ignore -Wmemset-transposed-args.
39318 2014-12-16  Torvald Riegel  <triegel@redhat.com>
39320         * misc/tst-mntent2.c (do_test): Fix warning.
39322 2014-12-16  Torvald Riegel  <triegel@redhat.com>
39324         * elf/tst-unique4lib.cc(a): Mark as used.
39326 2014-12-16  Florian Weimer  <fweimer@redhat.com>
39328         [BZ #17630]
39329         * resolv/nss_dns/dns-network.c (getanswer_r): Iterate over alias
39330         names.
39332 2014-12-16  Allan McRae  <allan@archlinux.org>
39334         * stdio-common/Makefile (tests): Re-add bug26.
39336 2014-12-15  Ondřej Bílka  <neleai@seznam.cz>
39338         [BZ #17657]
39339         * locale/programs/ld-ctype.c (find_translit2, read_widestring): Return
39340         static array.
39342 2014-12-15  Bernard Ogden  <bernie.ogden@linaro.org>
39344         * nptl/lowlevellock.c (__lll_lock_wait_private): Add comments.
39345         (__lll_lock_wait): Likewise.
39346         (__lll_timedlock_wait): Likewise.
39347         (__lll_timedwait_tid): Likewise.
39348         * nptl/lowlevelrobustlock.c (__lll_robust_lock_wait): Likewise.
39349         (__lll_robust_timedlock_wait): Likewise.
39350         * sysdeps/nptl/lowlevellock.h (lll_trylock): Likewise.
39351         (lll_cond_trylock): Likewise.
39352         (__lll_lock): Likewise.
39353         (__lll_robust_lock): Likewise.
39354         (__lll_cond_lock): Likewise.
39355         (lll_robust_cond_lock): Likewise.
39356         (__lll_timedlock): Likewise.
39357         (__lll_robust_timedlock): Likewise.
39358         (__lll_unlock): Likewise.
39359         (__lll_robust_unlock): Likewise.
39360         (lll_wait_tid): Likewise.
39361         (lll_timedwait_tid): Likewise.
39363 2014-12-15  Torvald Riegel  <triegel@redhat.com>
39365         * nptl/tst-sem4.c (do_test): Start with a fresh semaphore state.
39367 2014-12-15  Torvald Riegel  <triegel@redhat.com>
39369         * nptl/tst-mutex5.c (do_test): Do not skip tests if elision is enabled.
39371 2014-12-15  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
39373         * stdio-common/test-vfprintf.c: Include <libc-internal.h>.
39374         * stdio-common/tst-sprintf.c: Likewise.
39376 2014-12-15  Torvald Riegel  <triegel@redhat.com>
39378         * sysdeps/unix/sysv/linux/s390/pthread_once.c: Remove file.
39380 2014-12-15  Jeff Law  <law@redhat.com>
39382         [BZ #16617]
39383         * stdio-common/vfprintf.c (vfprintf): Allocate large specs array
39384         on the heap.  (CVE-2012-3406)
39385         * stdio-common/bug23-2.c, stdio-common/bug23-3.c: New file.
39386         * stdio-common/bug23-4.c: New file.  Test case by Joseph Myers.
39387         * stdio-common/Makefile (tests): Add bug23-2, bug23-3, bug23-4.
39389 2014-12-15  Will Newton  <will.newton@linaro.org>
39391         * manual/install.texi: Bump required version of texinfo
39392         to 4.7 from 4.5.
39393         * INSTALL: Regenerated.
39394         * configure.ac: Check for makeinfo version 4.7 and above.
39395         * configure: Regenerated.
39397 2014-12-12  Roland McGrath  <roland@hack.frob.com>
39399         * sysdeps/posix/shm-directory.h (SHM_GET_NAME): Take new argument
39400         PREFIX, string constant to insert between directory and name.
39401         * sysdeps/posix/shm_open.c: Update caller.
39402         * sysdeps/posix/shm_unlink.c: Likewise.
39403         * nptl/semaphoreP.h (struct mountpoint_info): Type removed.
39404         (__where_is_shmfs, mountpoint, __namedsem_once): Declarations removed.
39405         (SEM_SHM_PREFIX): New macro.
39406         * sysdeps/posix/Makefile (librt-routines): Add shm-directory only if
39407         [$(have-thread-library) = no].
39408         * nptl/Makefile (libpthread-routines): Add shm-directory.
39409         * nptl/Versions (GLIBC_PRIVATE): Add __shm_directory.
39410         * sysdeps/nptl/shm-directory.h: New file.
39411         * sysdeps/posix/shm-directory.c
39412         [IS_IN (libpthread)] (__shm_directory): Add hidden_def.
39413         * sysdeps/unix/sysv/linux/shm-directory.c: Likewise.
39414         * nptl/sem_open.c (check_add_mapping): Use munmap function rather than
39415         INTERNAL_SYSCALL.
39416         (__where_is_shmfs): Function removed.
39417         (mountpoint, defaultmount, defaultdir, __namedsem_once):
39418         Variables removed.
39419         (sem_open): Use __libc_close function rather than INTERNAL_SYSCALL.
39420         Use SHM_GET_NAME.
39421         * nptl/sem_unlink.c: Prototypify.  Use SHM_GET_NAME.
39423         * sysdeps/nptl/bits/libc-lockP.h [IS_IN (libpthread)]
39424         (PTFAVAIL, __libc_ptf_call, __libc_ptf_call_always): Define as
39425         unconditional for use inside libpthread.
39426         [IS_IN (libpthread)]: Include <nptl/pthreadP.h>.
39428 2014-12-12  Roland McGrath  <roland@hack.frob.com>
39430         * nptl/pthread_getaffinity.c: New file.
39431         * nptl/pthread_setaffinity.c: New file.
39432         * nptl/pthread_getname.c: New file.
39433         * nptl/pthread_setname.c: New file.
39435         * nptl/pthread_create.c (START_THREAD_DEFN)
39436         [! __ASSUME_SET_ROBUST_LIST]: Add missing & in lll_futex_wake argument.
39438 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
39439             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39441         * resolv/res_send.c (send_vc): Disable warning resplen may
39442         be used uninitialized.
39444 2014-12-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
39446         * nptl/tst-mutex6.c
39447         (ATTR_NULL): New define checks ATTR against NULL.
39448         (do_test): Use !ATTR_NULL instead of ATTR != NULL.
39449         * nptl/tst-mutexpp6.c (ATTR_NULL): New define.
39451 2014-12-11  James Lemke  <jwlemke@codesourcery.com>
39453         [BZ #17581]
39454         * malloc/hooks.c
39455         (mem2mem_check): Revert my previous change.
39456         (malloc_check_get_size): Revert my previous change.
39457         (mem2chunk_check): Revert my previous change.
39459 2014-12-11  Roland McGrath  <roland@hack.frob.com>
39461         * sysdeps/posix/shm-directory.c: New file.
39462         * sysdeps/posix/shm-directory.h: New file.
39463         * sysdeps/posix/Makefile [($(subdir) = rt] (librt-routines): Add it.
39464         * sysdeps/posix/shm_open.c: Use SHM_GET_NAME.
39465         Use O_NOFOLLOW and O_CLOEXEC if available.  Transmute EISDIR to EINVAL.
39466         * sysdeps/posix/shm_unlink.c: Use SHM_GET_NAME.
39467         Transmute EPERM to EACCES.
39468         * sysdeps/unix/sysv/linux/shm-directory.c: New file, most code taken
39469         from ...
39470         * sysdeps/unix/sysv/linux/shm_open.c: ... here.  File removed.
39471         * sysdeps/unix/sysv/linux/shm_unlink.c: File removed.
39473 2014-12-11  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
39475         * sysdeps/sh/jmpbuf_unwind.h (_jmpbuf_sp): Declare SP as void
39476         pointer and cast to uintptr_t.
39477         * sysdeps/sh/nptl/tls.h (TLS_INIT_TP): Use NULL instead of 0.
39478         * sysdeps/unix/sysv/linux/sh/lowlevellock.h (lll_futex_timed_wait):
39479         Add cast to avoid warning.
39480         * sysdeps/unix/sysv/linux/sh/register-dump.h: Use 0 instead of NULL.
39482 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
39484         * nptl/semaphore.h: Move to ...
39485         * sysdeps/pthread/semaphore.h: ... here.
39486         * Makefile (installed-headers): Change nptl/semaphore.h to
39487         sysdeps/pthread/semaphore.h.
39489 2014-12-11  Roland McGrath  <roland@hack.frob.com>
39491         * misc/tst-error1.c (do_test): Ignore -Wformat-security for
39492         generated error format strings.
39494         * stdio-common/tstdiomisc.c (t2): Ignore -Wformat and
39495         -Wformat-extra-args warnings for scanf formats.
39496         * stdio-common/scanf4.c (main): Ignore -Wformat-zero-length around
39497         test of zero-length format (duh).
39498         * stdio-common/scanf7.c (main): Ignore -Wformat warnings for
39499         corner-case scanf format test.
39500         * stdio-common/test-vfprintf.c (do_test): Ignore -Wformat-security for
39501         generated fprintf format string.
39502         * stdio-common/tst-sprintf.c (do_test): Ignore -Wformat warnings for
39503         corner-case sprintf format tests.
39504         * stdio-common/tst-printf.c: Ignore -Wformat throughout.
39505         * stdio-common/tst-printfsz.c (main): Ignore -Wformat and
39506         -Wformat-extra-args warnings throughout.
39507         * stdio-common/Makefile (CFLAGS-tstdiomisc.c): Variable removed.
39508         (CFLAGS-scanf4.c): Likewise.
39509         (CFLAGS-scanf7.c): Likewise.
39510         (CFLAGS-tst-sprintf.c): Likewise.
39511         (CFLAGS-tst-printf.c): Likewise.
39512         (CFLAGS-tst-printfsz.c): Likewise.
39514 2014-12-11  Joseph Myers  <joseph@codesourcery.com>
39516         * include/cpio.h: New file.
39517         * include/fmtmsg.h: Likewise.
39519         * tst-mbswcs1.c (show): Use %zu format instead of %Zd.  Cast
39520         corresponding format argument to size_t.
39521         * tst-mbswcs2.c (show): Likewise.  Use %td format for ptrdiff_t
39522         arguments.
39523         * tst-mbswcs3.c (show): Use %zu format instead of %Zd.  Cast
39524         corresponding format argument to size_t.
39525         * tst-mbswcs4.c (show): Likewise.  Use %td format for ptrdiff_t
39526         arguments.
39527         * tst-mbswcs5.c (show): Use %zu format instead of %Zd.  Cast
39528         corresponding format argument to size_t.
39529         * tst-trans.c (do_test): Use %lc format for wint_t arguments.
39530         * Makefile (CFLAGS-tst-mbswcs1.c): Remove variable.
39531         (CFLAGS-tst-mbswcs2.c): Likewise.
39532         (CFLAGS-tst-mbswcs3.c): Likewise.
39533         (CFLAGS-tst-mbswcs4.c): Likewise.
39534         (CFLAGS-tst-mbswcs5.c): Likewise.
39535         (CFLAGS-tst-trans.c): Likewise.
39537 2014-12-11  Roland McGrath  <roland@hack.frob.com>
39539         * posix/regexbug1.c (main): Use "%s" format with regerror results,
39540         rather than assuming they won't contain any '%'s.
39542 2014-12-11  Chris Metcalf  <cmetcalf@ezchip.com>
39544         * sysdeps/tile/tilegx/memset.c (__memcpy): Add
39545         inhibit_loop_to_libcall to avoid recursive calls.
39546         * sysdeps/tile/tilegx/memcpy.c (__memcpy): Likewise.
39547         * sysdeps/tile/tilepro/memcpy.c (__memcpy): Likewise.
39549 2014-12-11  Adhemerval Zanella  <Azanella@linux.vnet.ibm.com>
39551         * include/sys/socket.h (__sendmmsg): Add __USE_GNU guards on function
39552         prototype.
39554 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
39556         * sysdeps/mips/dl-trampoline.c: Modify switch expression to have
39557         integer value instead of boolean.
39559 2014-12-11  Steve Ellcey  <sellcey@imgtec.com>
39561         * malloc/malloc.c: Fix powerof2 check.
39563 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
39565         * locale/programs/locfile.h (maybe_swap_uint32):
39566         Remove inline and add unused attribute.
39568 2014-12-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
39570         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
39571         Truncating assembler expression to a .long expression.
39573 2014-12-11  Andreas Schwab  <schwab@suse.de>
39575         * elf/rtld.c (struct map_args): Constify str member.
39576         (do_preload): Constify fname argument.
39578 2014-12-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39580         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Remove overflow warnings for
39581         constants definition.
39583 2014-12-11  Andreas Schwab  <schwab@suse.de>
39585         [BZ #16657]
39586         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Use
39587         FORCE_ELISION instead of DO_ELISION.
39588         * sysdeps/unix/sysv/linux/x86/force-elision.h (DO_ELISION):
39589         Remove.
39590         * sysdeps/unix/sysv/linux/s390/force-elision.h (DO_ELISION):
39591         Likewise.
39593         * iconvdata/gconv-modules: Remove duplicate entry.
39595 2014-12-11  Will Newton  <will.newton@linaro.org>
39597         Merge gettext 0.19.3 into intl/.
39599         This involves a number of cosmetic changes to comments
39600         and ANSI function definitions and prototypes throughout
39601         all the files. The gettext copyright header is used but
39602         with the date ranges taken from the glibc copy.
39604         * NEWS: Add gettext merge to 2.21.
39605         * intl/bindtextdom.c: Switch to gettext copyright.
39606         Use ANSI definitions and prototypes.
39607         Use gl_* locking primitives rather than __libc_* ones.
39608         Use __builtin_expect rather than __glibc_likely/unlikely.
39609         * intl/dcgettext.c: Switch to gettext copyright.
39610         Use ANSI definitions and prototypes.
39611         * intl/dcigettext.c: Switch to gettext copyright.
39612         Use ANSI definitions and prototypes.
39613         (INTDIV0_RAISES_SIGFPE): New define.
39614         Use gl_* locking primitives rather than __libc_* ones.
39615         Include eval-plural.h instead of plural-eval.c.
39616         Use __builtin_expect rather than __glibc_likely/unlikely.
39617         * intl/dcngettext.c: Switch to gettext copyright.
39618         Use ANSI definitions and prototypes.
39619         * intl/dgettext.c: Likewise.
39620         * intl/dngettext.c: Likewise.
39621         * intl/plural-eval.c: Renamed to...
39622         * intl/eval-plural.h: ...this.
39623         * intl/explodename.c: Switch to gettext copyright.
39624         Use ANSI definitions and prototypes.
39625         (_nl_explode_name): Use strchr instead of __rawmemchr.
39626         * intl/finddomain.c: Switch to gettext copyright.
39627         Use ANSI definitions and prototypes.
39628         Use gl_* locking primitives rather than __libc_* ones.
39629         (_nl_find_domain): Use malloc rather than alloca for
39630         allocation of temporary locale name.
39631         * intl/gettext.c: Switch to gettext copyright.
39632         Use ANSI definitions and prototypes.
39633         * intl/gettextP.h: Switch to gettext copyright.
39634         Use ANSI definitions and prototypes.
39635         Use gl_* locking primitives rather than __libc_* ones.
39636         * intl/gmo.h: Switch to gettext copyright.
39637         (struct sysdep_string): Move struct segment_pair outside of
39638         struct definition.
39639         * intl/hash-string.c: Use ANSI definitions and prototypes.
39640         * intl/hash-string.h: Switch to gettext copyright.
39641         Use ANSI definitions and prototypes.
39642         * intl/l10nflist.c: Switch to gettext copyright.
39643         Use ANSI definitions and prototypes.
39644         (_nl_normalize_codeset): Avoid integer overflow.
39645         * intl/loadinfo.h: Switch to gettext copyright.
39646         Use ANSI definitions and prototypes.
39647         (LIBINTL_DLL_EXPORTED): New define.
39648         (PATH_SEPARATOR): New define.
39649         * intl/loadmsgcat.c: Switch to gettext copyright.
39650         * intl/localealias.c: Switch to gettext copyright.
39651         Use ANSI definitions and prototypes.
39652         (_nl_expand_alias): Use PATH_SEPARATOR.
39653         * intl/ngettext.c: Switch to gettext copyright.
39654         Use ANSI definitions and prototypes.
39655         * intl/plural-exp.c: Likewise.
39656         * intl/plural-exp.h: Switch to gettext copyright.
39657         Use ANSI definitions and prototypes.
39658         (struct expression): Move definition of enum operator outside
39659         of struct definition.
39660         * intl/plural.c: Regenerate.
39661         * intl/plural.y: Switch to gettext copyright.
39662         Use ANSI definitions and prototypes.
39663         Port to bison 3.0.
39664         * intl/textdomain.c: Switch to gettext copyright.
39665         Use ANSI definitions and prototypes.
39666         Use gl_* locking primitives rather than __libc_* ones.
39668 2014-12-10  Steve Ellcey  <sellcey@imgtec.com>
39670         * debug/warning-nop.c: Add used atrribute.
39672 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
39674         * sysdeps/unix/sysv/linux/mips/mips32/waitid.c: New file.
39676         * sysdeps/unix/sysv/linux/mips/mips64/Makefile
39677         [$(subdir) == signal] (CFLAGS-sigaction.c): New variable.
39678         [$(subdir) == nptl] (CFLAGS-sigaction.c): Likewise.
39680 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
39681             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39683         [BZ #17634]
39684         * wcsmbs/wcschr.c [!WCSCHR] (wcschr): Define as __wcschr.
39685         Undefine after defining function.  Define as weak alias of
39686         __wcschr.  Use libc_hidden_weak.
39687         * include/wchar.h (__wcschr): Declare.  Use libc_hidden_proto.
39688         * sysdeps/i386/i686/multiarch/wcschr-c.c [IS_IN (libc) && SHARED]
39689         (libc_hidden_def): Also define __GI___wcschr alias.
39690         * sysdeps/i386/i686/multiarch/wcschr.S (wcschr): Rename to
39691         __wcschr and define as weak alias of __wcschr.
39692         * sysdeps/powerpc/power6/wcschr.c [!WCSCHR] (WCSCHR): Define as
39693         __wcschr.
39694         [!WCSCHR] (DEFAULT_WCSCHR): Define.
39695         [DEFAULT_WCSCHR] (__wcschr): Use libc_hidden_def.
39696         [DEFAULT_WCSCHR] (wcschr): Define as weak alias of __wcschr.  Use
39697         libc_hidden_weak.  Do not use libc_hidden_def.
39698         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c
39699         [IS_IN (libc) && SHARED] (libc_hidden_def): Also define
39700         __GI___wcschr alias.
39701         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c
39702         [IS_IN (libc)] (wcschr): Define as macro expanding to
39703         __redirect_wcschr.
39704         [IS_IN (libc)] (__wcschr_ppc): Use __redirect_wcschr in typeof.
39705         [IS_IN (libc)] (__wcschr_power6): Likewise.
39706         [IS_IN (libc)] (__wcschr_power7): Likewise.
39707         [IS_IN (libc)] (__libc_wcschr): New.  Define with libc_ifunc
39708         instead of wcschr.
39709         [IS_IN (libc)] (wcschr): Undefine and define as weak alias of
39710         __libc_wcschr.
39711         [!IS_IN (libc)] (libc_hidden_def): Do not undefine and redefine.
39712         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c (wcschr): Rename to
39713         __wcschr and define as weak alias of __wcschr.  Use
39714         libc_hidden_builtin_def.
39715         * sysdeps/x86_64/wcschr.S (wcschr): Rename to __wcschr and define
39716         as weak alias of __wcschr.  Use libc_hidden_weak.
39717         * time/alt_digit.c (_nl_get_walt_digit): Use __wcschr instead of
39718         wcschr.
39719         * time/era.c (_nl_init_era_entries): Likewise.
39720         * conform/Makefile (test-xfail-ISO/time.h/linknamespace): Remove
39721         variable.
39722         (test-xfail-XPG3/time.h/linknamespace): Likewise.
39723         (test-xfail-XPG4/time.h/linknamespace): Likewise.
39725 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
39727         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Use %ld
39728         format for long int variable.
39730 2014-12-10  Anders Kaseorg  <andersk@MIT.EDU>
39732         [BZ #10672]
39733         * manual/search.texi: (Array Sort Function): Remove claim how to make
39734         qsort stable.
39736 2014-12-10  Andreas Schwab  <schwab@suse.de>
39738         [BZ #12847]
39739         * sysdeps/nptl/fork.c (fresetlockfiles): Skip files with
39740         user-controlled locks.
39742 2014-12-10  Richard Earnshaw  <rearnsha@arm.com>
39744         * sysdeps/aarch64/strchrnul.S (vrepmask): Use a call-clobbered
39745         register.
39747 2014-12-10  Joseph Myers  <joseph@codesourcery.com>
39749         * configure.ac (--disable-werror): New configure option.
39750         (enable_werror): New AC_SUBST.
39751         * configure: Regenerated.
39752         * config.make.in (enable-werror): New variable.
39753         * Makeconfig [$(enable-werror) = yes] (+gccwarn): Add -Werror
39754         -Wno-error=undef.
39755         (+gccwarn-c): Do not use -Werror=implicit-function-declaration.
39756         * manual/install.texi (Configuring and compiling): Document
39757         --disable-werror.
39758         * INSTALL: Regenerated.
39759         * debug/Makefile (CFLAGS-tst-chk1.c): Add -Wno-error.
39760         (CFLAGS-tst-chk2.c): Likewise.
39761         (CFLAGS-tst-chk3.c): Likewise.
39762         (CFLAGS-tst-chk4.cc): Likewise.
39763         (CFLAGS-tst-chk5.cc): Likewise.
39764         (CFLAGS-tst-chk6.cc): Likewise.
39765         (CFLAGS-tst-lfschk1.c): Likewise.
39766         (CFLAGS-tst-lfschk2.c): Likewise.
39767         (CFLAGS-tst-lfschk3.c): Likewise.
39768         (CFLAGS-tst-lfschk4.cc): Likewise.
39769         (CFLAGS-tst-lfschk5.cc): Likewise.
39770         (CFLAGS-tst-lfschk6.cc): Likewise.
39772         * stdio-common/tst-printfsz.c: Include <libc-internal.h>.
39773         (main): Disable -Wdeprecated-declarations around calls to
39774         register_printf_function.
39776         * stdio-common/tst-unlockedio.c: Include <libc-internal.h>.
39777         (do_test): Disable -Wdiv-by-zero around some calls to
39778         fwrite_unlocked and fread_unlocked.
39780         * include/libc-internal.h (DIAG_PUSH_NEEDS_COMMENT): New macro.
39781         (DIAG_POP_NEEDS_COMMENT): Likewise.
39782         (_DIAG_STR1): Likewise.
39783         (_DIAG_STR): Likewise.
39784         (DIAG_IGNORE_NEEDS_COMMENT): Likewise.
39785         * stdio-common/bug21.c: Include <libc-internal.h>.
39786         (do_test): Disable -Wformat around call to sscanf.
39787         * stdio-common/scanf14.c: Include <libc-internal.h>.
39788         (main): Disable -Wformat around some calls to scanf functions.
39790 2014-12-09  Torvald Riegel  <triegel@redhat.com>
39792         * sysdeps/unix/sysv/linux/sh/pthread_once.S: Remove file.
39794 2014-12-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39796         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix wide-character
39797         stack variable alignment.
39799 2014-12-06  Joseph Myers  <joseph@codesourcery.com>
39801         [BZ #17682]
39802         * resource/Versions (libc): Add __getrlimit at GLIBC_PRIVATE.
39803         * resource/getrlimit.c (__getrlimit): Use libc_hidden_def.
39804         * sysdeps/mach/hurd/getrlimit.c (__getrlimit): Likewise.
39805         * include/sys/resource.h (__getrlimit): Use libc_hidden_proto.
39806         * nptl/nptl-init.c (__pthread_initialize_minimal_internal): Use
39807         __getrlimit instead of getrlimit.
39808         * nptl/pthread_cond_timedwait.c (__pthread_cond_timedwait): Use
39809         __gettimeofday instead of gettimeofday.
39810         * nptl/pthread_rwlock_timedrdlock.c (pthread_rwlock_timedrdlock):
39811         Likewise.
39812         * nptl/pthread_rwlock_timedwrlock.c (pthread_rwlock_timedwrlock):
39813         Likewise.
39814         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
39815         * conform/Makefile (test-xfail-POSIX2008/aio.h/linknamespace):
39816         Remove variable.
39817         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
39818         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
39820 2014-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39822         * libio/tst-ftell-active-handler.c (do_ftell_test): Fix buffer overrun
39823         for wide-character tests.
39825 2014-12-04  Roland McGrath  <roland@hack.frob.com>
39827         * io/openat64.c: #include <libc-internal.h>
39828         (__openat64): Prototypify.  Use ignore_value on MODE.
39829         * io/openat.c: Likewise.
39830         * misc/reboot.c: #include <libc-internal.h>
39831         (reboot): Prototypify.  Use ignore_value on HOWTO.
39832         * misc/ptrace.c: #include <libc-internal.h>
39833         (ptrace): Prototypify.  Use ignore_value for va_arg'd parameters.
39835 2014-12-04  Joseph Myers  <joseph@codesourcery.com>
39837         * conform/list-header-symbols.pl (%extra_syms): Add h_errno for
39838         XPG4, UNIX98 and XOPEN2K.
39839         * conform/Makefile (test-xfail-XOPEN2K/grp.h/linknamespace):
39840         Remove variable.
39841         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
39843 2014-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
39845         * libio/fileops.c: Use ISO C style for function definitions.
39846         * libio/iofopen.c: Likewise.
39847         * libio/wfileops.c: Likewise.
39849         [BZ #17653]
39850         * libio/fileops.c (_IO_new_file_underflow): Unset cached
39851         offset on EOF.
39852         * libio/wfileops.c (_IO_wfile_underflow): Likewise.
39853         * libio/tst-ftell-active-handler.c (fgets_func_t): New type.
39854         (fgets_func): Function pointer to fgets and fgetws.
39855         (do_ftell_test): Add test to verify ftell value after read
39856         EOF.
39857         (do_test): Set fgets_func.
39859         * libio/tst-ftell-active-handler.c (do_ftruncate_test): Add
39860         O_TRUNC flag for w and w+ modes.
39861         (do_rewind_test): Likewise.
39862         (do_ftell_test): Likewise.
39863         (do_write_test): Likewise.
39865         [BZ #17647]
39866         * libio/fileops.c (do_ftell): Seek only when there are
39867         unflushed writes.
39868         * libio/wfileops.c (do_ftell_wide): Likewise.
39869         * libio/tst-ftell-active-handler.c (do_ftruncate_test): New
39870         test case.
39871         (do_one_test): Call it.
39873 2014-12-03  Joseph Myers  <joseph@codesourcery.com>
39875         * conform/list-header-symbols.pl (%extra_syms): Add getdate_err
39876         for XPG4, UNIX98, XOPEN2K and XOPEN2K8.
39877         * conform/Makefile (test-xfail-XOPEN2K/pthread.h/linknamespace):
39878         Remove variable.
39879         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
39880         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
39881         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
39883 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
39885         * conform/Makefile (test-xfail-XOPEN2K/aio.h/linknamespace):
39886         Remove variable.
39887         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
39889         [BZ #17668]
39890         * inet/ifaddrs.c (getifaddrs): Rename to __getifaddrs and define
39891         as weak alias of __getifaddrs.  Use libc_hidden_weak.
39892         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
39893         __freeifaddrs.  Use libc_hidden_weak.
39894         * sysdeps/gnu/ifaddrs.c (getifaddrs): Rename to __getifaddrs and
39895         define as weak alias of __getifaddrs.  Use libc_hidden_weak.
39896         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
39897         __freeifaddrs.  Use libc_hidden_weak.
39898         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs): Rename to
39899         __getifaddrs and define as weak alias of __getifaddrs.  Use
39900         libc_hidden_weak.
39901         (freeifaddrs): Rename to __freeifaddrs and define as weak alias of
39902         __freeifaddrs.  Use libc_hidden_weak.
39903         * conform/Makefile (test-xfail-XOPEN2K/net/if.h/linknamespace):
39904         Remove variable.
39905         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
39906         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
39908 2014-12-02  Petar Jovanovic  <petar.jovanovic@rt-rk.com>
39910         [BZ #17601]
39911         * sysdeps/mips/start.S (__start): Use indirect jump to call
39912         __libc_start_main.
39914 2014-12-02  Joseph Myers  <joseph@codesourcery.com>
39916         * nptl/tst-stack4.c (dso_process): Use int not uintptr_t for t.
39918         * nptl/tst-mutex1.c: Include <stdbool.h>.
39919         [!ATTR] (ATTR_NULL): New macro.
39920         (do_test): Test !ATTR_NULL instead of ATTR != NULL.
39921         * nptl/tst-mutexpi1.c (ATTR_NULL): New macro.
39922         * nptl/tst-mutexpp1.c (ATTR_NULL): New macro.
39924         * posix/tst-getopt_long1.c (do_test): Cast elements of argv array
39925         to char *.
39927         [BZ #17665]
39928         * posix/unistd.h [__USE_MISC || (__USE_XOPEN && !__USE_UNIX98)]:
39929         Change conditional to [__USE_MISC].
39931         [BZ #17664]
39932         * misc/mntent_r.c (__getmntent_r): Use __fgets_unlocked instead of
39933         fgets_unlocked.
39934         * resolv/res_hconf.c [IS_IN (libc)] (fgets_unlocked): Define to
39935         __fgets_unlocked.
39936         * resolv/res_init.c (__res_vinit): Use __fgets_unlocked instead of
39937         fgets_unlocked.
39938         * conform/Makefile (test-xfail-XPG4/sys/statvfs.h/linknamespace):
39939         Remove variable.
39940         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
39941         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
39942         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
39943         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
39944         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
39945         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
39946         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
39947         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
39948         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
39950         * elf/tst-unique4lib.cc (b): Mark with __attribute__ ((used)).
39952 2014-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
39954         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
39955         Remove strpbrk objects.
39956         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39957         (__libc_ifunc_impl_list): Remove strpbrk implementation.
39958         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: Remove file.
39959         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Remove file.
39960         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: Remove file.
39961         * sysdeps/powerpc/powerpc64/strpbrk.S: New file.
39963         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
39964         Remove strcspn objects.
39965         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39966         (__libc_ifunc_impl_list): Remove strcspn implementation.
39967         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: Remove file.
39968         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Remove file.
39969         * sysdeps/powerpc/powerpc64/power7/strcspn.S: Remove file.
39970         * sysdeps/powerpc/powerpc64/strcspn.S: New file.
39972         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
39973         Remove strspn objetcs.
39974         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
39975         (__libc_ifunc_impl_list): Remove strspn implementation.
39976         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: Remove file.
39977         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
39978         * sysdeps/powerpc/powerpc64/power7/strspn.S: Remove file.
39979         * sysdeps/powerpc/powerpc64/strspn.S: New file.
39981 2014-12-01  James Lemke  <jwlemke@codesourcery.com>
39983         [BZ #17581]
39984         * malloc/hooks.c
39985         (mem2mem_check): Add a terminator to the chain of checking blocks.
39986         (malloc_check_get_size): Use it here.
39987         (mem2chunk_check): Ditto.
39989 2014-12-01  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
39991         * sysdeps/powerpc/powerpc64/strtok.S: New file.
39992         * sysdeps/powerpc/powerpc64/strtok_r.S: New file.
39994 2014-11-29  Carlos O'Donell  <carlos@redhat.com>
39996         * bits/ioctl-types.h: Indent preprocessor directives correctly.
39998         * nptl/nptl-init.c: Include libc-internal.h.
39999         (__pthread_initialize_minimal_internal): Use ROUND_UP.
40001         * elf/ldconfig.c (search_dir): Expand comment.
40003 2014-11-29  Joseph Myers  <joseph@codesourcery.com>
40005         * conform/Makefile (linknamespace-symlist-stdlibs-base): New
40006         variable.
40007         (linknamespace-symlist-stdlibs-tests): Likewise.
40008         (tests-special): Append $(linknamespace-symlist-stdlibs-tests)
40009         instead of $(objpfx)symlist-stdlibs.
40010         (linknamespace-libs-isoc): New variable.
40011         (linknamespace-libs): Use $(linknamespace-libs-isoc).
40012         (linknamespace-libs-ISO): New variable.
40013         (linknamespace-libs-ISO99): Likewise.
40014         (linknamespace-libs-ISO11): Likewise.
40015         (linknamespace-libs-XPG3): Likewise.
40016         (linknamespace-libs-XPG4): Likewise.
40017         (linknamespace-libs-POSIX): Likewise.
40018         (linknamespace-libs-UNIX98): Likewise.
40019         (linknamespace-libs-XOPEN2K): Likewise.
40020         (linknamespace-libs-POSIX2008): Likewise.
40021         (linknamespace-libs-XOPEN2K8): Likewise.
40022         ($(objpfx)symlist-stdlibs): Replace by
40023         $(linknamespace-symlist-stdlibs-tests).  Use
40024         $(linknamespace-libs-$*) as set of libraries.
40025         ($(linknamespace-header-tests)): Update dependencies.  Use
40026         $(objpfx)symlist-stdlibs-$$std for --libsyms argument.
40027         (test-xfail-XPG4/sys/mman.h/linknamespace): Remove.
40028         * conform/linknamespace.pl: Remove comment about considering
40029         definitions of symbols from irrelevant libraries.
40031 2014-11-28  H.J. Lu  <hongjiu.lu@intel.com>
40033         [BZ #13862]
40034         * elf/dl-tls.c: Include <atomic.h>.
40035         (oom): Remove #ifdef SHARED/#endif.
40036         (_dl_static_dtv, _dl_initial_dtv): Moved before ...
40037         (_dl_resize_dtv): This.  Extracted from _dl_update_slotinfo.
40038         (_dl_allocate_tls_init): Resize DTV if the current DTV isn't
40039         big enough.
40040         (_dl_update_slotinfo): Call _dl_resize_dtv to resize DTV.
40041         * nptl/Makefile (tests): Add tst-stack4.
40042         (modules-names): Add tst-stack4mod.
40043         ($(objpfx)tst-stack4): New.
40044         (tst-stack4mod.sos): Likewise.
40045         ($(objpfx)tst-stack4.out): Likewise.
40046         ($(tst-stack4mod.sos)): Likewise.
40047         (clean): Likewise.
40048         * nptl/tst-stack4.c: New file.
40049         * nptl/tst-stack4mod.c: Likewise.
40051 2014-11-27  J. Brown  <jb999@gmx.de>
40053         * sysdeps/x86/bits/string.h: Add recent CPUs.
40055 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
40057         * misc/tst-pselect.c (do_test): Use sigprocmask instead of
40058         sigblock.
40060         * libio/bug-ungetwc1.c (do_test): Verify results of getwc and
40061         feof.
40063         * dlfcn/failtestmod.c (constr): Do not store result of dlsym in a
40064         variable.
40066 2014-11-27  Stefan Liebler  <stli@linux.vnet.ibm.com>
40068         * nscd/connections.c: Include libc-internal.h because of macro
40069         usage ignore_value.
40071 2014-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
40073         * string/bits/string3.h (__warn_memset_zero_len): Don't
40074         declare for gcc newer than 5.0.
40075         (memset): Don't test for zero-length __LEN for gcc newer than
40076         5.0.
40078 2014-11-27  Joseph Myers  <joseph@codesourcery.com>
40080         * stdio-common/tst-fmemopen.c (do_test): Cast st_size values to
40081         size_t for %zu format.
40083         * nss/tst-nss-test1.c (do_test): Use %td printf format for pointer
40084         difference, not %ju.
40086 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
40088         * include/libc-internal.h (ignore_value): New macro.
40089         * nscd/connections.c (restart): Wrap calls to setuid and setgid
40090         with ignore_value.
40092         * sysdeps/mips/__longjmp.c (____longjmp): Use prototype
40093         definition.
40095         * nptl/tst-cancel-self-cancelstate.c (do_test): Cast argument of
40096         pthread_cleanup_push to void *.
40098         * sysdeps/unix/sysv/linux/arm/libc-do-syscall.S (_FORTIFY_SOURCE):
40099         Undefine.
40101         [BZ #16619]
40102         [BZ #16740]
40103         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Use 1LL << 52
40104         instead of 1L << 52.
40106         * libio/bug-rewind.c (do_test): Check fwscanf return values.
40107         * libio/bug-rewind2.c (do_test): Likewise.
40109         * debug/test-stpcpy_chk-ifunc.c: Remove file.
40110         * debug/test-strcpy_chk-ifunc.c: Likewise.
40111         * wcsmbs/test-wcschr-ifunc.c: Likewise.
40112         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
40113         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
40114         * wcsmbs/test-wcslen-ifunc.c: Likewise.
40115         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
40116         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
40117         * Rules [$(multi-arch) = no] (tests): Do not filter out
40118         $(tests-ifunc).
40119         [$(multi-arch) = no] (xtests): Do not filter out $(xtests-ifunc).
40120         * debug/Makefile (tests-ifunc): Remove variable.
40121         (tests): Do not add $(tests-ifunc).
40122         * wcsmbs/Makefile (tests-ifunc): Remove variable.
40123         (tests): Do not add $(tests-ifunc).
40124         * benchtests/bench-string.h (TEST_IFUNC): Remove macro.
40125         [TEST_IFUNC]: Remove conditionals.
40126         * string/test-string.h (TEST_IFUNC): Remove macro.
40127         [TEST_IFUNC]: Remove conditionals.
40129         * string/test-strchr.c [!WIDE] (L): New macro.
40130         [WIDE] (L): Likewise.
40131         (check1): Use CHAR instead of char.  Use L on string and character
40132         constants.
40134 2014-11-26  Adhemerval Zanella  <azanella@linux.ibm.com>
40136         * csu/tst-atomic.c (do_test): Add atomic_exchange_and_add_{acq,rel}
40137         tests.
40138         * sysdeps/powerpc/bits/atomic.h
40139         (__arch_atomic_exchange_and_add_32_acq): Add definition.
40140         (__arch_atomic_exchange_and_add_32_rel): Likewise.
40141         (atomic_exchange_and_add_acq): Likewise.
40142         (atomic_exchange_and_add_rel): Likewise.
40143         * sysdeps/powerpc/powerpc32/bits/atomic.h
40144         (__arch_atomic_exchange_and_add_64_acq): Add definition.
40145         (__arch_atomic_exchange_and_add_64_rel): Likewise.
40146         * sysdeps/powerpc/powerpc64/bits/atomic.h
40147         (__arch_atomic_exchange_and_add_64_acq): Add definition.
40148         (__arch_atomic_exchange_and_add_64_rel): Likewise.
40150 2014-11-26  Torvald Riegel  <triegel@redhat.com>
40152         * nptl/tpp.c (__init_sched_fifo_prio, __pthread_tpp_change_priority):
40153         Change synchronization of __sched_fifo_min_prio and
40154         __sched_fifo_max_prio.
40155         * nptl/pthread_mutexattr_getprioceiling.c
40156         (pthread_mutexattr_getprioceiling): Likewise.
40157         * nptl/pthread_mutexattr_setprioceiling.c
40158         (pthread_mutexattr_setprioceiling): Likewise.
40159         * nptl/pthread_mutex_init.c (__pthread_mutex_init): Likewise.
40160         * nptl/pthread_mutex_setprioceiling.c (pthread_mutex_setprioceiling):
40161         Likewise.
40163 2014-11-26  Joseph Myers  <joseph@codesourcery.com>
40165         * setjmp/jmpbug.c (test): Make foo volatile and cast it to
40166         void.
40168 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
40170         * stdio-common/tst-printf-round.c (test_hex_in_one_mode): Make
40171         third argument const.
40173 2014-11-25  Paul Eggert  <eggert@cs.ucla.edu>
40175         fnmatch: work around GCC compiler warning bug with uninit var
40176         * posix/fnmatch_loop.c (FCT): Use a scalar not a one-item array.
40177         This works around a bug with x86-64 GCC 4.9.2 and earlier
40178         where 'gcc -O2 -Wmaybe-uninitialized' incorrectly complains
40179         "../locale/weightwc.h:93:7: warning: '*((void *)&str+4)' may be
40180         used uninitialized in this function [-Wmaybe-uninitialized]".
40182 2014-11-25  Joseph Myers  <joseph@codesourcery.com>
40184         * posix/bug-regex31.c (main): Return RES not 0.
40186 2014-11-25  Anton Blanchard <anton@samba.org>
40188         * sysdeps/powerpc/bits/atomic.h
40189         (__arch_compare_and_exchange_bool_64_rel): Load from mem.
40191 2014-11-24  Sterling Augustine  <saugustine@google.com>
40193         * sysdeps/x86_64/start.S (_start): Use ENTRY and END macros.
40195 2014-11-24  Ryan Cumming  <etaoins@gmail.com>
40197         [BZ #17608]
40198         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_TAI.
40200 2014-11-24  Joseph Myers  <joseph@codesourcery.com>
40202         [BZ #17633]
40203         * stdio-common/perror.c (perror): Call __fileno instead of fileno.
40204         * conform/Makefile (test-xfail-ISO/stdio.h/linknamespace): Remove
40205         variable.
40206         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
40207         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
40209 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
40211         * string/strncpy.c (strncpy): Improve performance by using memset.
40213 2014-11-24  Wilco Dijkstra  <wdijkstr@arm.com>
40215         * string/strcpy.c (strcpy):
40216         Improve performance by using strlen and memcpy.
40218 2014-11-24  Leonhard Holz  <leonhard.holz@web.de>
40220         * string/strcoll_l.c (get_next_seq): __always_inline.
40221         * string/strcoll_l.c (do_compare): __always_inline.
40223 2014-11-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
40225         * include/bits/stdlib-float.h: Use IS_IN only if _ISOMAC is
40226         defined.
40227         * include/mqueue.h: Likewise.
40228         * include/stdlib.h: Likewise.
40230         * stdlib/isomac.c (fmt): Replace NOT_IN_libc with IN_MODULE.
40231         (get_null_defines): Adjust.
40232         * sunrpc/Makefile: Adjust comment.
40233         * Makerules (CPPFLAGS-nonlib): Remove NOT_IN_libc.
40234         * elf/Makefile (CPPFLAGS-sotruss-lib): Likewise.
40235         (CFLAGS-interp.c): Likewise.
40236         (CFLAGS-ldconfig.c): Likewise.
40237         (CPPFLAGS-.os): Likewise.
40238         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
40239         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
40240         * extra-modules.mk (extra-modules.mk): Likewise.
40241         * iconv/Makefile (CPPFLAGS-iconvprogs): Likewise.
40242         * locale/Makefile (CPPFLAGS-locale_programs): Likewise.
40243         * malloc/Makefile (CPPFLAGS-memusagestat): Likewise.
40244         * nscd/Makefile (CPPFLAGS-nscd): Likewise.
40245         * nss/Makefile (CPPFLAGS-nss_test1): Likewise.
40246         * stdlib/Makefile (CFLAGS-tst-putenvmod.c): Likewise.
40247         * sysdeps/gnu/Makefile ($(objpfx)errlist-compat.c): Likewise.
40248         * sysdeps/unix/sysv/linux/Makefile (CPPFLAGS-lddlibc4): Likewise.
40249         * iconvdata/Makefile (CPPFLAGS): Likewise.
40250         (cpp-srcs-left): Add libof for all iconvdata routines.
40251         * bits/stdio-lock.h: Replace NOT_IN_libc with IS_IN.
40252         * include/assert.h: Likewise.
40253         * include/ctype.h: Likewise.
40254         * include/errno.h: Likewise.
40255         * include/libc-symbols.h: Likewise.
40256         * include/math.h: Likewise.
40257         * include/netdb.h: Likewise.
40258         * include/resolv.h: Likewise.
40259         * include/stdio.h: Likewise.
40260         * include/stdlib.h: Likewise.
40261         * include/string.h: Likewise.
40262         * include/sys/stat.h: Likewise.
40263         * include/wctype.h: Likewise.
40264         * intl/l10nflist.c: Likewise.
40265         * libidn/idn-stub.c: Likewise.
40266         * libio/libioP.h: Likewise.
40267         * nptl/libc_multiple_threads.c: Likewise.
40268         * nptl/pthreadP.h: Likewise.
40269         * posix/regex_internal.h: Likewise.
40270         * resolv/res_hconf.c: Likewise.
40271         * sysdeps/arm/armv7/multiarch/memcpy.S: Likewise.
40272         * sysdeps/arm/memmove.S: Likewise.
40273         * sysdeps/arm/sysdep.h: Likewise.
40274         * sysdeps/generic/_itoa.h: Likewise.
40275         * sysdeps/generic/symbol-hacks.h: Likewise.
40276         * sysdeps/gnu/errlist.awk: Likewise.
40277         * sysdeps/gnu/errlist.c: Likewise.
40278         * sysdeps/i386/i586/memcpy.S: Likewise.
40279         * sysdeps/i386/i586/memset.S: Likewise.
40280         * sysdeps/i386/i686/memcpy.S: Likewise.
40281         * sysdeps/i386/i686/memmove.S: Likewise.
40282         * sysdeps/i386/i686/mempcpy.S: Likewise.
40283         * sysdeps/i386/i686/memset.S: Likewise.
40284         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
40285         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
40286         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: Likewise.
40287         * sysdeps/i386/i686/multiarch/memchr-sse2.S: Likewise.
40288         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
40289         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
40290         * sysdeps/i386/i686/multiarch/memcmp-ssse3.S: Likewise.
40291         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
40292         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
40293         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
40294         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
40295         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
40296         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
40297         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
40298         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
40299         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
40300         * sysdeps/i386/i686/multiarch/memrchr-c.c: Likewise.
40301         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: Likewise.
40302         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: Likewise.
40303         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
40304         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
40305         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
40306         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
40307         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
40308         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
40309         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
40310         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: Likewise.
40311         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
40312         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Likewise.
40313         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
40314         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
40315         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
40316         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
40317         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
40318         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
40319         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
40320         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
40321         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
40322         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
40323         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
40324         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
40325         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
40326         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
40327         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
40328         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
40329         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
40330         * sysdeps/i386/i686/multiarch/wcschr-c.c: Likewise.
40331         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: Likewise.
40332         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
40333         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
40334         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
40335         * sysdeps/i386/i686/multiarch/wcscpy-c.c: Likewise.
40336         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Likewise.
40337         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
40338         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
40339         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: Likewise.
40340         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
40341         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: Likewise.
40342         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: Likewise.
40343         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
40344         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
40345         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
40346         * sysdeps/ia64/fpu/libm-symbols.h: Likewise.
40347         * sysdeps/nptl/bits/libc-lock.h: Likewise.
40348         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
40349         * sysdeps/nptl/bits/stdio-lock.h: Likewise.
40350         * sysdeps/posix/closedir.c: Likewise.
40351         * sysdeps/posix/opendir.c: Likewise.
40352         * sysdeps/posix/readdir.c: Likewise.
40353         * sysdeps/posix/rewinddir.c: Likewise.
40354         * sysdeps/powerpc/novmx-sigjmp.c: Likewise.
40355         * sysdeps/powerpc/powerpc32/__longjmp.S: Likewise.
40356         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
40357         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
40358         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
40359         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Likewise.
40360         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: Likewise.
40361         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: Likewise.
40362         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: Likewise.
40363         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: Likewise.
40364         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: Likewise.
40365         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: Likewise.
40366         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: Likewise.
40367         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: Likewise.
40368         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: Likewise.
40369         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: Likewise.
40370         * sysdeps/powerpc/powerpc32/power4/multiarch/memset.c: Likewise.
40371         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: Likewise.
40372         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: Likewise.
40373         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: Likewise.
40374         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr.c: Likewise.
40375         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: Likewise.
40376         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: Likewise.
40377         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: Likewise.
40378         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: Likewise.
40379         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: Likewise.
40380         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: Likewise.
40381         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: Likewise.
40382         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: Likewise.
40383         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: Likewise.
40384         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: Likewise.
40385         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: Likewise.
40386         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: Likewise.
40387         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: Likewise.
40388         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: Likewise.
40389         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: Likewise.
40390         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
40391         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
40392         * sysdeps/powerpc/powerpc64/__longjmp.S: Likewise.
40393         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: Likewise.
40394         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: Likewise.
40395         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: Likewise.
40396         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: Likewise.
40397         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: Likewise.
40398         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: Likewise.
40399         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Likewise.
40400         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: Likewise.
40401         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: Likewise.
40402         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: Likewise.
40403         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: Likewise.
40404         * sysdeps/powerpc/powerpc64/multiarch/memset.c: Likewise.
40405         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: Likewise.
40406         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.S: Likewise.
40407         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c: Likewise.
40408         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: Likewise.
40409         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: Likewise.
40410         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: Likewise.
40411         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: Likewise.
40412         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: Likewise.
40413         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: Likewise.
40414         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: Likewise.
40415         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: Likewise.
40416         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.S: Likewise.
40417         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c: Likewise.
40418         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: Likewise.
40419         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: Likewise.
40420         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: Likewise.
40421         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: Likewise.
40422         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: Likewise.
40423         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: Likewise.
40424         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: Likewise.
40425         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: Likewise.
40426         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: Likewise.
40427         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: Likewise.
40428         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: Likewise.
40429         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: Likewise.
40430         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: Likewise.
40431         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: Likewise.
40432         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: Likewise.
40433         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: Likewise.
40434         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c: Likewise.
40435         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
40436         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c: Likewise.
40437         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c: Likewise.
40438         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
40439         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Likewise.
40440         * sysdeps/s390/s390-32/multiarch/memcmp.S: Likewise.
40441         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
40442         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
40443         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
40444         * sysdeps/s390/s390-64/multiarch/memcmp.S: Likewise.
40445         * sysdeps/s390/s390-64/multiarch/memcpy.S: Likewise.
40446         * sysdeps/s390/s390-64/multiarch/memset.S: Likewise.
40447         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
40448         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
40449         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: Likewise.
40450         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
40451         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
40452         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Likewise.
40453         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: Likewise.
40454         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
40455         * sysdeps/unix/alpha/sysdep.S: Likewise.
40456         * sysdeps/unix/alpha/sysdep.h: Likewise.
40457         * sysdeps/unix/make-syscalls.sh: Likewise.
40458         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
40459         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
40460         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
40461         * sysdeps/unix/sysv/linux/alpha/vfork.S: Likewise.
40462         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
40463         * sysdeps/unix/sysv/linux/arm/sysdep.h: Likewise.
40464         * sysdeps/unix/sysv/linux/getpid.c: Likewise.
40465         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
40466         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
40467         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Likewise.
40468         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
40469         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
40470         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
40471         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
40472         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
40473         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
40474         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
40475         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
40476         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
40477         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
40478         * sysdeps/unix/sysv/linux/m68k/sysdep.h: Likewise.
40479         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
40480         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
40481         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
40482         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
40483         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
40484         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
40485         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
40486         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: Likewise.
40487         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: Likewise.
40488         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
40489         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
40490         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
40491         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
40492         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
40493         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
40494         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
40495         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
40496         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
40497         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: Likewise.
40498         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
40499         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
40500         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
40501         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
40502         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
40503         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
40504         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40505         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
40506         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
40507         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40508         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
40509         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
40510         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
40511         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
40512         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Likewise.
40513         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
40514         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
40515         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
40516         * sysdeps/wordsize-32/symbol-hacks.h: Likewise.
40517         * sysdeps/x86_64/memcpy.S: Likewise.
40518         * sysdeps/x86_64/memmove.c: Likewise.
40519         * sysdeps/x86_64/memset.S: Likewise.
40520         * sysdeps/x86_64/multiarch/init-arch.h: Likewise.
40521         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
40522         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
40523         * sysdeps/x86_64/multiarch/memcmp.S: Likewise.
40524         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: Likewise.
40525         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
40526         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
40527         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
40528         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
40529         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
40530         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
40531         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
40532         * sysdeps/x86_64/multiarch/memset-avx2.S: Likewise.
40533         * sysdeps/x86_64/multiarch/memset.S: Likewise.
40534         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
40535         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Likewise.
40536         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
40537         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
40538         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
40539         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
40540         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Likewise.
40541         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
40542         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
40543         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
40544         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
40545         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
40546         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
40547         * sysdeps/x86_64/multiarch/wcscpy-c.c: Likewise.
40548         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
40549         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
40550         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Likewise.
40551         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
40552         * sysdeps/x86_64/strcmp.S: Likewise.
40554         * extra-lib.mk (CPPFLAGS-$(lib)): Remove IS_IN_$(lib).
40556         * elf/Makefile (CPPFLAGS-.os): Remove IS_IN_rtld.
40557         * elf/dl-open.c: Use IS_IN (rtld) instead if IS_IN_rtld.
40558         * elf/rtld-Rules: Likewise.
40559         * elf/setup-vdso.h: Likewise.
40560         * include/assert.h: Likewise.
40561         * include/bits/stdlib-float.h: Likewise.
40562         * include/errno.h: Likewise.
40563         * include/sys/stat.h: Likewise.
40564         * include/unistd.h: Likewise.
40565         * sysdeps/aarch64/setjmp.S: Likewise.
40566         * sysdeps/alpha/setjmp.S: Likewise.
40567         * sysdeps/arm/__longjmp.S: Likewise.
40568         * sysdeps/arm/aeabi_unwind_cpp_pr1.c: Likewise.
40569         * sysdeps/arm/setjmp.S: Likewise.
40570         * sysdeps/arm/sysdep.h: Likewise.
40571         * sysdeps/generic/_itoa.h: Likewise.
40572         * sysdeps/generic/dl-sysdep.h: Likewise.
40573         * sysdeps/generic/ldsodefs.h: Likewise.
40574         * sysdeps/i386/dl-tls.h: Likewise.
40575         * sysdeps/i386/setjmp.S: Likewise.
40576         * sysdeps/m68k/setjmp.c: Likewise.
40577         * sysdeps/mach/hurd/dl-execstack.c: Likewise.
40578         * sysdeps/mach/hurd/opendir.c: Likewise.
40579         * sysdeps/posix/getcwd.c: Likewise.
40580         * sysdeps/posix/opendir.c: Likewise.
40581         * sysdeps/posix/profil.c: Likewise.
40582         * sysdeps/powerpc/dl-procinfo.h: Likewise.
40583         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
40584         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
40585         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
40586         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
40587         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Likewise.
40588         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
40589         * sysdeps/s390/dl-tls.h: Likewise.
40590         * sysdeps/s390/s390-32/setjmp.S: Likewise.
40591         * sysdeps/s390/s390-64/setjmp.S: Likewise.
40592         * sysdeps/sh/sh3/setjmp.S: Likewise.
40593         * sysdeps/sh/sh4/setjmp.S: Likewise.
40594         * sysdeps/unix/alpha/sysdep.h: Likewise.
40595         * sysdeps/unix/arm/sysdep.S: Likewise.
40596         * sysdeps/unix/i386/sysdep.S: Likewise.
40597         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
40598         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
40599         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
40600         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
40601         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
40602         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: Likewise.
40603         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
40604         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
40605         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: Likewise.
40606         * sysdeps/unix/sysv/linux/m68k/bits/m68k-vdso.h: Likewise.
40607         * sysdeps/unix/sysv/linux/m68k/m68k-helpers.S: Likewise.
40608         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
40609         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
40610         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
40611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
40612         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
40613         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
40614         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
40615         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
40616         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
40617         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
40618         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
40619         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
40620         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
40621         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
40622         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
40623         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
40624         * sysdeps/unix/x86_64/sysdep.S: Likewise.
40625         * sysdeps/x86_64/setjmp.S: Likewise.
40627         * include/math.h: Use IS_IN instead of IS_IN_libm.
40628         * sysdeps/alpha/fpu/s_copysign.c: Likewise.
40629         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
40630         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
40631         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: Likewise.
40632         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
40633         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
40634         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
40635         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
40636         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
40637         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
40638         * sysdeps/ieee754/ldbl-64-128/s_copysignl.c: Likewise.
40639         * sysdeps/ieee754/ldbl-64-128/s_finitel.c: Likewise.
40640         * sysdeps/ieee754/ldbl-64-128/s_frexpl.c: Likewise.
40641         * sysdeps/ieee754/ldbl-64-128/s_isinfl.c: Likewise.
40642         * sysdeps/ieee754/ldbl-64-128/s_isnanl.c: Likewise.
40643         * sysdeps/ieee754/ldbl-64-128/s_modfl.c: Likewise.
40644         * sysdeps/ieee754/ldbl-64-128/s_scalbnl.c: Likewise.
40645         * sysdeps/ieee754/ldbl-64-128/s_signbitl.c: Likewise.
40646         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: Likewise.
40647         * sysdeps/ieee754/ldbl-opt/s_copysign.c: Likewise.
40648         * sysdeps/ieee754/ldbl-opt/s_finite.c: Likewise.
40649         * sysdeps/ieee754/ldbl-opt/s_frexp.c: Likewise.
40650         * sysdeps/ieee754/ldbl-opt/s_isinf.c: Likewise.
40651         * sysdeps/ieee754/ldbl-opt/s_isnan.c: Likewise.
40652         * sysdeps/ieee754/ldbl-opt/s_ldexp.c: Likewise.
40653         * sysdeps/ieee754/ldbl-opt/s_ldexpl.c: Likewise.
40654         * sysdeps/ieee754/ldbl-opt/s_modf.c: Likewise.
40655         * sysdeps/ieee754/ldbl-opt/s_scalbln.c: Likewise.
40656         * sysdeps/ieee754/ldbl-opt/s_scalbn.c: Likewise.
40657         * sysdeps/powerpc/power5+/fpu/s_modf.c: Likewise.
40658         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Likewise.
40659         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
40660         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
40661         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c:
40662         Likewise.
40663         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c:
40664         Likewise.
40665         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c:
40666         Likewise.
40667         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c:
40668         Likewise.
40669         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c:
40670         Likewise.
40671         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
40672         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Likewise.
40673         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
40674         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
40675         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
40676         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
40677         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: Likewise.
40678         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: Likewise.
40679         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: Likewise.
40680         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: Likewise.
40681         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: Likewise.
40682         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Likewise.
40683         * sysdeps/powerpc/powerpc64/fpu/s_copysignl.S: Likewise.
40684         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
40685         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
40686         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
40687         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
40688         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
40689         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
40690         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
40691         * sysdeps/powerpc/powerpc64/power7/fpu/s_isnan.S: Likewise.
40692         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: Likewise.
40693         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: Likewise.
40694         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: Likewise.
40695         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: Likewise.
40696         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
40697         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S: Likewise.
40699         * nptl/lowlevellock.c: Use IS_IN instead of IS_IN_libpthread.
40700         * nptl/pthreadP.h: Likewise.
40701         * nptl_db/structs.def: Likewise.
40702         * sysdeps/arm/sysdep.h: Likewise.
40703         * sysdeps/nptl/bits/libc-lock.h: Likewise.
40704         * sysdeps/nptl/bits/libc-lockP.h: Likewise.
40705         * sysdeps/sparc/sparc32/lowlevellock.c: Likewise.
40706         * sysdeps/unix/alpha/sysdep.h: Likewise.
40707         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
40708         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
40709         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
40710         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
40711         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
40712         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
40713         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
40714         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
40715         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
40716         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
40717         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
40718         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
40719         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
40720         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
40721         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: Likewise.
40722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: 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/sysdep.h: Likewise.
40730         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
40731         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: Likewise.
40732         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
40734         * include/mqueue.h: Use IS_IN instead of IS_IN_librt.
40735         * nptl/pthreadP.h: Likewise.
40736         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: Likewise.
40737         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: Likewise.
40738         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: Likewise.
40739         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Likewise.
40740         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Likewise.
40741         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: Likewise.
40742         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
40743         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: Likewise.
40744         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: Likewise.
40745         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: Likewise.
40746         * sysdeps/unix/sysv/linux/mips/sysdep-cancel.h: Likewise.
40747         * sysdeps/unix/sysv/linux/not-cancel.h: Likewise.
40748         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
40749         Likewise.
40750         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
40751         Likewise.
40752         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Likewise.
40753         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Likewise.
40754         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Likewise.
40755         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Likewise.
40756         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Likewise.
40757         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: Likewise.
40758         * sysdeps/unix/sysv/linux/tile/waitpid.S: Likewise.
40759         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Likewise.
40761         * dlfcn/dladdr.c: Use IS_IN.
40762         * dlfcn/dladdr1.c: Likewise.
40763         * dlfcn/dlclose.c: Likewise.
40764         * dlfcn/dlerror.c: Likewise.
40765         * dlfcn/dlinfo.c: Likewise.
40766         * dlfcn/dlmopen.c: Likewise.
40767         * dlfcn/dlopen.c: Likewise.
40768         * dlfcn/dlsym.c: Likewise.
40769         * dlfcn/dlvsym.c: Likewise.
40771         * include/ifaddrs.h: Use IS_IN.
40772         * inet/check_pf.c: Likewise.
40773         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
40774         * nscd/Makefile (CPPFLAGS-nscd): Remove IS_IN_nscd.
40776         * elf/Makefile (CFLAGS-ldconfig.c): Remove definition of
40777         IS_IN_ldconfig.
40778         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.c: Use IS_IN.
40779         * sysdeps/unix/sysv/linux/x86_64/dl-procinfo.h: Likewise.
40781         * include/shlib-compat.h [!NOT_IN_libc]: Remove.
40782         * nss/nss_files/files-parse.c (IS_IN_libc): Replace with
40783         IS_IN (libc).
40785         * elf/Makefile (libof-sotruss-lib): Set as extramodules.
40787         * elf/Makefile (CPPFLAGS-.os): Remove IN_LIB.
40788         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
40789         * extra-lib.mk (CPPFLAGS-$(lib)): Likewise.
40790         * include/libc-symbols.h (IS_IN_LIB): New macro.
40791         * include/errno.h: Use IS_IN_LIB instead of IN_LIB.
40792         * include/netdb.h: Likewise.
40793         * include/stap-probe.h: Remove all uses of IN_LIB.
40795         * Makeconfig (module-cppflags-real): Define MODULE_NAME
40796         instead of IN_MODULE.
40797         * include/libc-symbols.h (IN_MODULE): Define using
40798         MODULE_NAME.
40799         (PASTE_NAME, PASTE_NAME1): New macros.
40800         * include/stap-probe.h (LIBC_PROBE_1): Use MODULE_NAME instead
40801         of IN_LIB.
40802         (STAP_PROBE_ASM): Likewise.
40804 2014-11-23  Samuel Thibault  <samuel.thibault@ens-lyon.org>
40806         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Call
40807         __mach_init in dlopened libc.
40809 2014-11-22  Mike Frysinger  <vapier@gentoo.org>
40811         * sysdeps/arm/preconfigure.ac: Delete EABI check.
40812         * sysdeps/arm/preconfigure: Regenerate.
40814 2014-11-21  Roland McGrath  <roland@hack.frob.com>
40816         * nptl/pthread_create.c (__pthread_create_2_1): Set
40817         ATTR_FLAG_POLICY_SET and/or ATTR_FLAG_SCHED_SET in PD->flags
40818         when copying values from IATTR into PD.
40820 2014-11-21  Will Newton  <will.newton@linaro.org>
40821             Andrew Pinski  <andrew.pinski@caviumnetworks.com>
40823         * sysdeps/aarch64/dl-machine.h (elf_machine_load_address):
40824         Refactor inline-asm.  Also add comment.
40826         * sysdeps/aarch64/bits/link.h (la_aarch64_gnu_pltenter): Use
40827         ElfW macro instead of hardcoded Elf64 types.
40828         (la_aarch64_gnu_pltenter): Likewise.
40829         * sysdeps/aarch64/dl-machine.h
40830         (elf_machine_runtime_setup): Use ElfW(Addr).
40832         * elf/elf.h (R_AARCH64_P32_ABS32, R_AARCH64_P32_COPY,
40833         R_AARCH64_P32_GLOB_DAT, R_AARCH64_P32_JUMP_SLOT,
40834         R_AARCH64_P32_RELATIVE, R_AARCH64_P32_TLS_DTPMOD,
40835         R_AARCH64_P32_TLS_DTPREL, R_AARCH64_P32_TLS_TPREL,
40836         R_AARCH64_P32_TLSDESC, R_AARCH64_P32_IRELATIVE): Define.
40837         (R_AARCH64_TLS_DTPMOD64): Rename to ..
40838         (R_AARCH64_TLS_DTPMOD): This.
40839         (R_AARCH64_TLS_DTPREL64): Rename to ...
40840         (R_AARCH64_TLS_DTPREL): This.
40841         (R_AARCH64_TLS_TPREL64): Rename to ...
40842         (R_AARCH64_TLS_TPREL): This.
40843         * sysdeps/aarch64/dl-machine.h (elf_machine_type_class): Update
40844         R_AARCH64_TLS_DTPMOD64, R_AARCH64_TLS_DTPREL64, and
40845         R_AARCH64_TLS_TPREL64.
40846         (elf_machine_rela): Likewise.
40848 2014-11-21  Torvald Riegel  <triegel@redhat.com>
40850         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS): Fix value
40851         by setting it to 0.  64b atomics are not supported currently.
40853 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
40855         [BZ #16469]
40856         * resolv/res_query.c (__libc_res_nsearch): Skip leading dot in
40857         search domain names.
40859 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
40861         [BZ #16469]
40862         * NEWS: Update.
40863         * resolv/res_query.c (__libc_res_nquerydomain): Retain
40864         trailing dot.
40865         * posix/tst-getaddrinfo5.c: New.
40866         * posix/Makefile (tests): Add it.
40868 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
40870         [BZ #14498]
40871         * NEWS: Fixed.
40872         * nss/nss_db/db-XXX.c (_nss_db_get##name##_r): Update hidx
40873         after parsing line but before break_if_match.
40874         * nss/nss_files/files-service (DB_LOOKUP): Don't "continue;"
40875         if there is a protocol mismatch.
40877 2014-11-21  Ma Shimiao <mashimiao.fnst@cn.fujitsu.com>
40879         * manual/sysinfo.texi (addmntent): It is actually MT-Safe,
40880         because the potential race is on the user-supplied stream.
40882 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
40884         * sysdeps/posix/ctermid.c (ctermid): Return a pointer to a
40885         string literal if not passed a buffer.
40886         * manual/job.texi (ctermid): Update reasoning, note deviation
40887         from posix, suggest mtasurace when not passed a buffer, for
40888         future non-preliminary safety notes.
40890 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
40892         * manual/users.texi (cuserid): Fix MT-Safety note for the case
40893         of not passing it a buffer.
40894         Reported by Peng Haitao.
40896 2014-11-21  Alexandre Oliva <aoliva@redhat.com>
40898         * manual/Makefile ($(objpfx)stamp-summary): Require
40899         check-safety.sh to pass.
40900         * manual/check-safety.sh: Wish for verification that every
40901         @deftypefn and @deftypefun is followed by a @safety remark.
40903 2014-11-20  Roland McGrath  <roland@hack.frob.com>
40905         * nptl/unwind.c (unwind_cleanup): Use __libc_fatal.
40907         * nptl/pthread_setcanceltype.c [!SIGCANCEL]: Return ENOTSUP early for
40908         PTHREAD_CANCEL_ASYNCHRONOUS.
40909         * nptl/pthread_cancel.c [!SIGCANCEL]: Just abort rather than trying to
40910         send SIGCANCEL.
40912         * nptl/default-sched.h: New file.
40913         * sysdeps/unix/sysv/linux/default-sched.h: New file.
40914         * nptl/pthread_create.c: Include it.
40915         (__pthread_create_2_1): Use collect_default_sched instead of making
40916         Linux syscalls here directly.
40918 2014-11-20  Torvald Riegel  <triegel@redhat.com>
40920         * nptl/pthread_once.c (clear_once_control, __pthread_once_slow,
40921         __pthread_once): Use C11 atomics.
40923 2014-11-20  Torvald Riegel  <triegel@redhat.com>
40925         * csu/tst-atomic.c (do_test): Add tests for C11-like atomics.
40927 2014-11-20  Torvald Riegel  <triegel@redhat.com>
40929         * include/atomic.h (__atomic_link_error, __atomic_check_size,
40930         atomic_thread_fence_acquire, atomic_thread_fence_release,
40931         atomic_thread_fence_seq_cst, atomic_load_relaxed,
40932         atomic_load_acquire, atomic_store_relaxed, atomic_store_release,
40933         atomic_compare_exchange_weak_relaxed,
40934         atomic_compare_exchange_weak_acquire,
40935         atomic_compare_exchange_weak_release,
40936         atomic_exchange_acquire, atomic_exchange_release,
40937         atomic_fetch_add_relaxed, atomic_fetch_add_acquire,
40938         atomic_fetch_add_release, atomic_fetch_add_acq_rel,
40939         atomic_fetch_and_acquire,
40940         atomic_fetch_or_relaxed, atomic_fetch_or_acquire): New.
40942 2014-11-20  Torvald Riegel  <triegel@redhat.com>
40944         * sysdeps/aarch64/bits/atomic.h (__HAVE_64B_ATOMICS,
40945         USE_ATOMIC_COMPILER_BUILTINS): Define.
40946         * sysdeps/alpha/bits/atomic.h (__HAVE_64B_ATOMICS,
40947         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40948         * sysdeps/arm/bits/atomic.h (__HAVE_64B_ATOMICS,
40949         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40950         * sysdeps/i386/i486/bits/atomic.h (__HAVE_64B_ATOMICS,
40951         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40952         * sysdeps/ia64/bits/atomic.h (__HAVE_64B_ATOMICS,
40953         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40954         * sysdeps/m68k/coldfire/bits/atomic.h (__HAVE_64B_ATOMICS,
40955         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40956         * sysdeps/m68k/m680x0/m68020/bits/atomic.h (__HAVE_64B_ATOMICS,
40957         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40958         * sysdeps/microblaze/bits/atomic.h (__HAVE_64B_ATOMICS,
40959         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40960         * sysdeps/mips/bits/atomic.h (__HAVE_64B_ATOMICS,
40961         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40962         * sysdeps/powerpc/powerpc32/bits/atomic.h (__HAVE_64B_ATOMICS,
40963         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40964         * sysdeps/powerpc/powerpc64/bits/atomic.h (__HAVE_64B_ATOMICS,
40965         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40966         * sysdeps/s390/bits/atomic.h (__HAVE_64B_ATOMICS,
40967         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40968         * sysdeps/sparc/sparc32/bits/atomic.h (__HAVE_64B_ATOMICS,
40969         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40970         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (__HAVE_64B_ATOMICS,
40971         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40972         * sysdeps/sparc/sparc64/bits/atomic.h (__HAVE_64B_ATOMICS,
40973         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40974         * sysdeps/tile/tilegx/bits/atomic.h (__HAVE_64B_ATOMICS,
40975         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40976         * sysdeps/tile/tilepro/bits/atomic.h (__HAVE_64B_ATOMICS,
40977         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40978         * sysdeps/unix/sysv/linux/hppa/bits/atomic.h (__HAVE_64B_ATOMICS,
40979         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40980         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h
40981         (__HAVE_64B_ATOMICS, USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40982         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (__HAVE_64B_ATOMICS,
40983         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40984         * sysdeps/x86_64/bits/atomic.h (__HAVE_64B_ATOMICS,
40985         USE_ATOMIC_COMPILER_BUILTINS): Likewise.
40987 2014-11-19  Roland McGrath  <roland@hack.frob.com>
40989         * nptl/pthread_create.c (__pthread_create_2_1): Don't try to validate
40990         the sched_priority value here.  It was already checked when the user
40991         called pthread_attr_setschedparam.
40993         * nptl/tst-bad-schedattr.c: New file.
40994         * nptl/Makefile (tests): Add it.
40996 2014-11-19  Carlos O'Donell  <carlos@redhat.com>
40997             Florian Weimer  <fweimer@redhat.com>
40998             Joseph Myers  <joseph@codesourcery.com>
40999             Adam Conrad  <adconrad@0c3.net>
41000             Andreas Schwab  <schwab@suse.de>
41001             Brooks  <bmoses@google.com>
41003         [BZ #17625]
41004         * wordexp-test.c (__dso_handle): Add prototype.
41005         (__register_atfork): Likewise.
41006         (__app_register_atfork): New function.
41007         (registered_forks): New global.
41008         (register_fork): New function.
41009         (test_case): Add 3 new tests for WRDE_CMDSUB.
41010         (main): Call __app_register_atfork.
41011         (testit): If WRDE_NOCMD set registered_forks to zero, run test, and if
41012         fork count is non-zero fail the test.
41013         * posix/wordexp.c (exec_comm): Return WRDE_CMDSUB if WRDE_NOCMD flag
41014         is set.
41015         (parse_dollars): Remove check for WRDE_NOCMD.
41016         (parse_dquote): Likewise.
41018 2014-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
41020         * Makeconfig (built-modules): List non-library modules to be
41021         built.
41022         (module-cppflags): Include libc-modules.h for
41023         everything except shlib-versions.v.i.
41024         (CPPFLAGS): Use it.
41025         (before-compile): Add libc-modules.h.
41026         ($(common-objpfx)libc-modules.h,
41027         $(common-objpfx)libc-modules.stmp): New targets.
41028         (common-generated): Add libc-modules.h and libc-modules.stmp.
41029         ($(common-objpfx)Versions.v.i): Depend on libc-modules.h.
41030         * include/libc-symbols.h: Don't include libc-modules.h.
41031         * include/libc-modules.h: Remove file.
41032         * scripts/gen-libc-modules.awk: New script to generate
41033         libc-modules.h.
41034         * sysdeps/unix/Makefile ($(common-objpfx)sysd-syscalls):
41035         Depend on libc-modules.stmp.
41037         * include/shlib-compat.h (_SHLIB_COMPAT): Use IS_IN.
41039         * Makeconfig (in-module): Get value of libof set for the
41040         translation unit.
41041         (CPPFLAGS): Use $(in-module).
41042         * Makerules: Don't suffix routine names for nonlib.
41043         * include/libc-modules.h: New file.
41044         * include/libc-symbols.h: Include libc-modules.h
41045         (IS_IN): New macro to replace IS_IN_* macros.
41046         * elf/Makefile: Set libof-* for each routine.
41047         * elf/rtld-Rules: Likewise.
41048         * extra-modules.mk: Likewise.
41049         * iconv/Makefile: Likewise.
41050         * iconvdata/Makefile: Likewise.
41051         * locale/Makefile: Likewise.
41052         * malloc/Makefile: Likewise.
41053         * nss/Makefile: Likewise.
41054         * sysdeps/gnu/Makefile: Likewise.
41055         * sysdeps/ieee754/ldbl-opt/Makefile: Likewise.
41056         * sysdeps/unix/sysv/linux/Makefile: Likewise.
41057         * sysdeps/s390/s390-64/Makefile: Likewise.
41058         * nscd/Makefile: Set libof-* for each routine.  Set CFLAGS and
41059         CPPFLAGS for nscd instead of nonlib.
41061 2014-11-18  Roland McGrath  <roland@hack.frob.com>
41063         * nptl/createthread.c: New file.
41065         * nptl/createthread.c: Moved ...
41066         * sysdeps/unix/sysv/linux/createthread.c: ... here.
41068         * nptl/createthread.c: Add proper top-line comment.
41069         (do_clone): Folded into ...
41070         (create_thread): ... here.  Take new arguments STOPPED_START and
41071         THREAD_RAN.  Always set PD->stopped_start to something here.  Don't
41072         increment __nptl_threads, do event-reporting logic, do
41073         CHECK_THREAD_SYSINFO, or set THREAD_SELF->header.multiple_threads
41074         here.  Set *THREAD_RAN after ARCH_CLONE call succeeds.  Don't do any
41075         resource cleanup if sched_setaffinity or sched_setscheduler fails,
41076         just send SIGCANCEL.
41077         * nptl/pthread_create.c: Forward-declare create_thread before
41078         including createthread.c.
41079         (start_thread): Use new macro START_THREAD_DEFN to replace defining
41080         declaration, and new macro START_THREAD_SELF to replace argument.
41081         Remove return statement.
41082         (report_thread_creation): New function.
41083         (__pthread_create_2_1): Use it.  Do TD_CREATE reporting,
41084         synchronization logic, and __nptl_nthreads increment here, around
41085         calling create_thread.  Do CHECK_THREAD_SYSINFO and initialize
41086         PD->parent_cancelhandling here, before create_thread.  When
41087         create_thread fails, do __nptl_nthreads decrement, setxid_futex wake,
41088         __deallocate_stack, and ENOMEM translation here.
41090 2014-11-18  Joseph Myers  <joseph@codesourcery.com>
41092         [BZ #17616]
41093         * sysdeps/ieee754/dbl-64/mpa.c (mpone): Rename to __mpone.
41094         (mptwo): Rename to __mptwo.
41095         (__inv): Use __mptwo instead of mptwo.
41096         * sysdeps/ieee754/dbl-64/mpa.h (mpone): Rename to __mpone.
41097         (mptwo): Rename to __mptwo.
41098         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __mpone instead
41099         of mpone and __mptwo instead of mptwo.
41100         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Use __mpone
41101         instead of mpone.
41102         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
41103         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Likewise.
41104         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use __mpone instead
41105         of mpone and __mptwo instead of mptwo.
41106         (__mpranred): Use __mpone instead of mpone.
41107         * conform/Makefile (test-xfail-ISO/math.h/linknamespace): Remove
41108         variable.
41109         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
41110         (test-xfail-ISO99/math.h/linknamespace): Likewise.
41111         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
41112         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
41113         (test-xfail-ISO11/math.h/linknamespace): Likewise.
41114         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
41115         (test-xfail-XPG3/math.h/linknamespace): Likewise.
41116         (test-xfail-XPG4/math.h/linknamespace): Likewise.
41117         (test-xfail-POSIX/math.h/linknamespace): Likewise.
41118         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
41119         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
41120         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
41121         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
41122         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
41123         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
41124         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
41125         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
41126         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
41127         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
41129 2014-11-18  Tom de Vries  <tom@codesoucery.com>
41131         * manual/signal.texi (Primitives Interrupted by Signals): In section,
41132         replace BSD Handler xref with BSD Signal Handling.
41134 2014-11-17  Richard Henderson  <rth@redhat.com>
41136         * sysdeps/alpha/soft-fp/local-soft-fp.h (_FP_UNPACK_RAW_2): Remove.
41137         (_FP_PACK_RAW_2): Remove.
41138         (AXP_DECL_RETURN_Q): Rename from FP_DECL_RETURN, use _FP_UNION_Q.
41139         (AXP_RETURN_Q): Rename from FP_RETURN, use _FP_UNION_Q.
41140         (AXP_UNPACK_RAW_Q, AXP_UNPACK_SEMIRAW_Q, AXP_UNPACK_Q): New.
41141         (AXP_PACK_RAW_Q, AXP_PACK_SEMIRAW_Q, AXP_PACK_Q): New.
41142         * sysdeps/alpha/soft-fp/ots_add.c (_OtsAddX): Update to match.
41143         * sysdeps/alpha/soft-fp/ots_cmp.c (internal_equality): Likewise.
41144         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Likewise.
41145         * sysdeps/alpha/soft-fp/ots_cvtqux.c (_OtsCvtQUX): Likewise.
41146         * sysdeps/alpha/soft-fp/ots_cvtqx.c (_OtsCvtQX): Likewise.
41147         * sysdeps/alpha/soft-fp/ots_cvttx.c (_OtsConvertFloatTX): Likewise.
41148         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Likewise.
41149         * sysdeps/alpha/soft-fp/ots_cvtxt.c (_OtsConvertFloatXT): Likewise.
41150         * sysdeps/alpha/soft-fp/ots_div.c (_OtsDivX): Likewise.
41151         * sysdeps/alpha/soft-fp/ots_mul.c (_OtsMulX): Likewise.
41152         * sysdeps/alpha/soft-fp/ots_nintxq.c (_OtsNintXQ): Likewise.
41153         * sysdeps/alpha/soft-fp/ots_sub.c (_OtsSubX): Likewise.
41155 2014-11-14  Roland McGrath  <roland@hack.frob.com>
41157         * signal/signal.h [__USE_MISC]
41158         (struct sigvec): Remove type.
41159         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): Remove macros.
41160         (sigvec): Remove declaration.
41161         * sysdeps/posix/sigvec.c: Moved ...
41162         * signal/sigvec.c: ... here, replacing old file.
41163         (struct sigvec): New type, copied from old signal.h definition.
41164         (SV_ONSTACK, SV_INTERRUPT, SV_RESETHAND): New macros, likewise copied.
41165         (__sigvec): Convert definition to prototype.
41166         (sigvec): Replace weak_alias with compat_symbol.
41167         * signal/Versions (libc: GLIBC_2.21): New version set.
41168         * include/signal.h: Remove __sigvec declaration.
41169         * sysdeps/unix/bsd/sigvec.c: Remove file.
41170         * sysdeps/unix/bsd/syscalls.list: Remove sigvec.
41171         * manual/signal.texi (BSD Handler): Remove subsection.
41172         Move siginterrupt up to ...
41173         (BSD Signal Handling): ... here.  Mark it as XPG rather than BSD.
41174         (Blocking in BSD): Fold subsection into its parent.
41175         * NEWS: Mention sigvec removal.
41177 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
41179         * sysdeps/x86_64/fpu/dla.h [__FMA4__ && __GNUC_PREREQ (4, 6)]
41180         (DLA_FMS): Make definition conditional only on [__FMA4__].
41181         [__FMA4__ && !__GNUC_PREREQ (4, 6)] (DLA_FMS): Remove conditional
41182         definition.
41184         * sysdeps/arm/sysdep.h [PROF && __GNUC_PREREQ(4,4)] (CALL_MCOUNT):
41185         Make definition conditional only on [PROF].
41186         [PROF && !__GNUC_PREREQ(4,4)] (CALL_MCOUNT): Remove conditional
41187         definition.
41188         [__GNUC_PREREQ(4,4)] (mcount): Make definition unconditional.
41189         [!__GNUC_PREREQ(4,4)] (mcount): Remove conditional definition.
41191         * signal/signal.h (__sigpause): Only declare if [__USE_XOPEN &&
41192         !__GNUC__].
41193         * include/signal.h (__sigpause): Move declaration above call to
41194         libc_hidden_proto.
41195         * conform/Makefile (test-xfail-ISO/signal.h/linknamespace): Remove
41196         variable.
41197         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
41198         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
41200 2014-11-14  David S. Miller  <davem@davemloft.net>
41202         * sysdeps/sparc/sparc64/rtld-memcpy.c (NO_MEMPCPY_STPCPY_REDIRECT):
41203         Define before including <string/memcpy.c> and <string/mempcpy.c>.
41205 2014-11-14  Joseph Myers  <joseph@codesourcery.com>
41207         * configure.ac (libc_cv_compiler_ok): Require GCC 4.6 or later.
41208         * configure: Regenerated.
41209         * manual/install.texi (Tools for Compilation): Document a
41210         requirement of GCC 4.6 or later and that GCC 4.9 is the newest
41211         compiler verified to work.
41212         * INSTALL: Regenerated.
41214         * include/string.h [NO_MEMPCPY_STPCPY_REDIRECT] (mempcpy): Do not
41215         redeclare with asm name.
41216         [NO_MEMPCPY_STPCPY_REDIRECT] (stpcpy): Likewise.
41217         * string/mempcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Define before
41218         including <string.h>.
41219         * string/stpcpy.c (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
41220         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c
41221         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
41222         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c
41223         [!NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
41224         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c
41225         [SHARED && !NOT_IN_libc] (NO_MEMPCPY_STPCPY_REDIRECT): Likewise.
41227 2014-11-13  Joseph Myers  <joseph@codesourcery.com>
41229         * stdlib/strtol.c (__strtol): Use prototype definition.
41231         [BZ #17594]
41232         * stdlib/strtol.c (SYM__): New macro.
41233         (SYM__1): Likewise.
41234         (__strtol): Likewise.
41235         (strtol): Rename to __strtol and define as weak alias of
41236         __strtol.  Use libc_hidden_weak.
41238 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
41240         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START):
41241         Use numbered labels in inline assembly.
41243 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
41245         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp):
41246         Add setjmp LIBC_PROBE.
41247         * sysdeps/s390/s390-64/setjmp.S (__sigsetjmp):
41248         Likewise.
41249         * sysdeps/s390/s390-32/__longjmp.c (__longjmp):
41250         Add longjmp, longjmp_target LIBC_PROBE.
41251         * sysdeps/s390/s390-64/__longjmp.c (__longjmp):
41252         Likewise.
41254 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
41256         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
41257         Gate the definition of refsym additionally with !RTLD_BOOTSTRAP
41258         to get rid of unused variable warning.
41260 2014-11-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
41262         * sysdeps/s390/s390-32/backtrace.c (__backtrace):
41263         Check for unwind_backtrace ==  NULL only in SHARED case.
41264         (__backchain_backtrace): Compile only in SHARED case.
41265         * sysdeps/s390/s390-64/backtrace.c (__backtrace):
41266         Likewise.
41267         (__backchain_backtrace): Declare as static.
41269 2014-11-12  Roland McGrath  <roland@hack.frob.com>
41271         * nptl/createthread.c [!TLS_MULTIPLE_THREADS_IN_TCB]
41272         (__libc_multiple_threads_ptr): Variable moved ...
41273         * nptl/nptl-init.c [!TLS_MULTIPLE_THREADS_IN_TCB]: ... here.
41275 2014-11-12  Joseph Myers  <joseph@codesourcery.com>
41277         * conform/GlibcConform.pm: New file.
41278         * conform/conformtest.pl: Use GlibcConform module.
41279         * conform/linknamespace.pl: New file.
41280         * conform/list-header-symbols.pl: Likewise.
41281         * conform/Makefile (linknamespace-symlists-base): New variable.
41282         (linknamespace-symlists-tests): Likewise.
41283         (linknamespace-header-base): Likewise.
41284         (linknamespace-header-tests): Likewise.
41285         (tests-special): Add new tests.
41286         ($(linknamespace-symlists-tests)): New rule.
41287         (linknamespace-libs): New variable.
41288         ($(objpfx)symlist-stdlibs): New rule.
41289         ($(linknamespace-header-tests)): Likewise.
41290         (test-xfail-XPG3/varargs.h/linknamespace): New variable.
41291         (test-xfail-XPG4/varargs.h/linknamespace): Likewise.
41292         (test-xfail-UNIX98/varargs.h/linknamespace): Likewise.
41293         (test-xfail-XPG4/ndbm.h/linknamespace): Likewise.
41294         (test-xfail-UNIX98/ndbm.h/linknamespace): Likewise.
41295         (test-xfail-XOPEN2K/ndbm.h/linknamespace): Likewise.
41296         (test-xfail-XOPEN2K8/ndbm.h/linknamespace): Likewise.
41297         (test-xfail-ISO/math.h/linknamespace): Likewise.
41298         (test-xfail-ISO/signal.h/linknamespace): Likewise.
41299         (test-xfail-ISO/stdio.h/linknamespace): Likewise.
41300         (test-xfail-ISO/time.h/linknamespace): Likewise.
41301         (test-xfail-ISO99/complex.h/linknamespace): Likewise.
41302         (test-xfail-ISO99/ctype.h/linknamespace): Likewise.
41303         (test-xfail-ISO99/math.h/linknamespace): Likewise.
41304         (test-xfail-ISO99/signal.h/linknamespace): Likewise.
41305         (test-xfail-ISO99/stdio.h/linknamespace): Likewise.
41306         (test-xfail-ISO99/tgmath.h/linknamespace): Likewise.
41307         (test-xfail-ISO11/complex.h/linknamespace): Likewise.
41308         (test-xfail-ISO11/ctype.h/linknamespace): Likewise.
41309         (test-xfail-ISO11/math.h/linknamespace): Likewise.
41310         (test-xfail-ISO11/signal.h/linknamespace): Likewise.
41311         (test-xfail-ISO11/stdio.h/linknamespace): Likewise.
41312         (test-xfail-ISO11/tgmath.h/linknamespace): Likewise.
41313         (test-xfail-XPG3/ctype.h/linknamespace): Likewise.
41314         (test-xfail-XPG3/fnmatch.h/linknamespace): Likewise.
41315         (test-xfail-XPG3/glob.h/linknamespace): Likewise.
41316         (test-xfail-XPG3/math.h/linknamespace): Likewise.
41317         (test-xfail-XPG3/regex.h/linknamespace): Likewise.
41318         (test-xfail-XPG3/search.h/linknamespace): Likewise.
41319         (test-xfail-XPG3/stdio.h/linknamespace): Likewise.
41320         (test-xfail-XPG3/time.h/linknamespace): Likewise.
41321         (test-xfail-XPG3/unistd.h/linknamespace): Likewise.
41322         (test-xfail-XPG3/wordexp.h/linknamespace): Likewise.
41323         (test-xfail-XPG4/ctype.h/linknamespace): Likewise.
41324         (test-xfail-XPG4/fmtmsg.h/linknamespace): Likewise.
41325         (test-xfail-XPG4/fnmatch.h/linknamespace): Likewise.
41326         (test-xfail-XPG4/glob.h/linknamespace): Likewise.
41327         (test-xfail-XPG4/grp.h/linknamespace): Likewise.
41328         (test-xfail-XPG4/libgen.h/linknamespace): Likewise.
41329         (test-xfail-XPG4/math.h/linknamespace): Likewise.
41330         (test-xfail-XPG4/netdb.h/linknamespace): Likewise.
41331         (test-xfail-XPG4/pwd.h/linknamespace): Likewise.
41332         (test-xfail-XPG4/regex.h/linknamespace): Likewise.
41333         (test-xfail-XPG4/search.h/linknamespace): Likewise.
41334         (test-xfail-XPG4/stdio.h/linknamespace): Likewise.
41335         (test-xfail-XPG4/stdlib.h/linknamespace): Likewise.
41336         (test-xfail-XPG4/sys/mman.h/linknamespace): Likewise.
41337         (test-xfail-XPG4/sys/statvfs.h/linknamespace): Likewise.
41338         (test-xfail-XPG4/syslog.h/linknamespace): Likewise.
41339         (test-xfail-XPG4/time.h/linknamespace): Likewise.
41340         (test-xfail-XPG4/unistd.h/linknamespace): Likewise.
41341         (test-xfail-XPG4/wordexp.h/linknamespace): Likewise.
41342         (test-xfail-POSIX/aio.h/linknamespace): Likewise.
41343         (test-xfail-POSIX/fnmatch.h/linknamespace): Likewise.
41344         (test-xfail-POSIX/glob.h/linknamespace): Likewise.
41345         (test-xfail-POSIX/math.h/linknamespace): Likewise.
41346         (test-xfail-POSIX/mqueue.h/linknamespace): Likewise.
41347         (test-xfail-POSIX/pthread.h/linknamespace): Likewise.
41348         (test-xfail-POSIX/regex.h/linknamespace): Likewise.
41349         (test-xfail-POSIX/sched.h/linknamespace): Likewise.
41350         (test-xfail-POSIX/semaphore.h/linknamespace): Likewise.
41351         (test-xfail-POSIX/sys/mman.h/linknamespace): Likewise.
41352         (test-xfail-POSIX/time.h/linknamespace): Likewise.
41353         (test-xfail-POSIX/unistd.h/linknamespace): Likewise.
41354         (test-xfail-POSIX/wordexp.h/linknamespace): Likewise.
41355         (test-xfail-UNIX98/aio.h/linknamespace): Likewise.
41356         (test-xfail-UNIX98/ctype.h/linknamespace): Likewise.
41357         (test-xfail-UNIX98/fmtmsg.h/linknamespace): Likewise.
41358         (test-xfail-UNIX98/fnmatch.h/linknamespace): Likewise.
41359         (test-xfail-UNIX98/glob.h/linknamespace): Likewise.
41360         (test-xfail-UNIX98/grp.h/linknamespace): Likewise.
41361         (test-xfail-UNIX98/libgen.h/linknamespace): Likewise.
41362         (test-xfail-UNIX98/math.h/linknamespace): Likewise.
41363         (test-xfail-UNIX98/mqueue.h/linknamespace): Likewise.
41364         (test-xfail-UNIX98/netdb.h/linknamespace): Likewise.
41365         (test-xfail-UNIX98/pthread.h/linknamespace): Likewise.
41366         (test-xfail-UNIX98/pwd.h/linknamespace): Likewise.
41367         (test-xfail-UNIX98/regex.h/linknamespace): Likewise.
41368         (test-xfail-UNIX98/sched.h/linknamespace): Likewise.
41369         (test-xfail-UNIX98/search.h/linknamespace): Likewise.
41370         (test-xfail-UNIX98/semaphore.h/linknamespace): Likewise.
41371         (test-xfail-UNIX98/stdio.h/linknamespace): Likewise.
41372         (test-xfail-UNIX98/stdlib.h/linknamespace): Likewise.
41373         (test-xfail-UNIX98/sys/mman.h/linknamespace): Likewise.
41374         (test-xfail-UNIX98/sys/statvfs.h/linknamespace): Likewise.
41375         (test-xfail-UNIX98/syslog.h/linknamespace): Likewise.
41376         (test-xfail-UNIX98/time.h/linknamespace): Likewise.
41377         (test-xfail-UNIX98/unistd.h/linknamespace): Likewise.
41378         (test-xfail-UNIX98/wchar.h/linknamespace): Likewise.
41379         (test-xfail-UNIX98/wordexp.h/linknamespace): Likewise.
41380         (test-xfail-XOPEN2K/aio.h/linknamespace): Likewise.
41381         (test-xfail-XOPEN2K/complex.h/linknamespace): Likewise.
41382         (test-xfail-XOPEN2K/fcntl.h/linknamespace): Likewise.
41383         (test-xfail-XOPEN2K/fmtmsg.h/linknamespace): Likewise.
41384         (test-xfail-XOPEN2K/fnmatch.h/linknamespace): Likewise.
41385         (test-xfail-XOPEN2K/glob.h/linknamespace): Likewise.
41386         (test-xfail-XOPEN2K/grp.h/linknamespace): Likewise.
41387         (test-xfail-XOPEN2K/libgen.h/linknamespace): Likewise.
41388         (test-xfail-XOPEN2K/math.h/linknamespace): Likewise.
41389         (test-xfail-XOPEN2K/mqueue.h/linknamespace): Likewise.
41390         (test-xfail-XOPEN2K/net/if.h/linknamespace): Likewise.
41391         (test-xfail-XOPEN2K/netdb.h/linknamespace): Likewise.
41392         (test-xfail-XOPEN2K/pthread.h/linknamespace): Likewise.
41393         (test-xfail-XOPEN2K/pwd.h/linknamespace): Likewise.
41394         (test-xfail-XOPEN2K/regex.h/linknamespace): Likewise.
41395         (test-xfail-XOPEN2K/search.h/linknamespace): Likewise.
41396         (test-xfail-XOPEN2K/semaphore.h/linknamespace): Likewise.
41397         (test-xfail-XOPEN2K/signal.h/linknamespace): Likewise.
41398         (test-xfail-XOPEN2K/spawn.h/linknamespace): Likewise.
41399         (test-xfail-XOPEN2K/stdlib.h/linknamespace): Likewise.
41400         (test-xfail-XOPEN2K/sys/mman.h/linknamespace): Likewise.
41401         (test-xfail-XOPEN2K/sys/statvfs.h/linknamespace): Likewise.
41402         (test-xfail-XOPEN2K/sys/wait.h/linknamespace): Likewise.
41403         (test-xfail-XOPEN2K/syslog.h/linknamespace): Likewise.
41404         (test-xfail-XOPEN2K/tgmath.h/linknamespace): Likewise.
41405         (test-xfail-XOPEN2K/time.h/linknamespace): Likewise.
41406         (test-xfail-XOPEN2K/ucontext.h/linknamespace): Likewise.
41407         (test-xfail-XOPEN2K/unistd.h/linknamespace): Likewise.
41408         (test-xfail-XOPEN2K/wordexp.h/linknamespace): Likewise.
41409         (test-xfail-POSIX2008/aio.h/linknamespace): Likewise.
41410         (test-xfail-POSIX2008/complex.h/linknamespace): Likewise.
41411         (test-xfail-POSIX2008/ctype.h/linknamespace): Likewise.
41412         (test-xfail-POSIX2008/dirent.h/linknamespace): Likewise.
41413         (test-xfail-POSIX2008/fcntl.h/linknamespace): Likewise.
41414         (test-xfail-POSIX2008/grp.h/linknamespace): Likewise.
41415         (test-xfail-POSIX2008/math.h/linknamespace): Likewise.
41416         (test-xfail-POSIX2008/mqueue.h/linknamespace): Likewise.
41417         (test-xfail-POSIX2008/net/if.h/linknamespace): Likewise.
41418         (test-xfail-POSIX2008/netdb.h/linknamespace): Likewise.
41419         (test-xfail-POSIX2008/pthread.h/linknamespace): Likewise.
41420         (test-xfail-POSIX2008/regex.h/linknamespace): Likewise.
41421         (test-xfail-POSIX2008/semaphore.h/linknamespace): Likewise.
41422         (test-xfail-POSIX2008/spawn.h/linknamespace): Likewise.
41423         (test-xfail-POSIX2008/sys/mman.h/linknamespace): Likewise.
41424         (test-xfail-POSIX2008/sys/statvfs.h/linknamespace): Likewise.
41425         (test-xfail-POSIX2008/tgmath.h/linknamespace): Likewise.
41426         (test-xfail-POSIX2008/time.h/linknamespace): Likewise.
41427         (test-xfail-POSIX2008/unistd.h/linknamespace): Likewise.
41428         (test-xfail-XOPEN2K8/aio.h/linknamespace): Likewise.
41429         (test-xfail-XOPEN2K8/complex.h/linknamespace): Likewise.
41430         (test-xfail-XOPEN2K8/dirent.h/linknamespace): Likewise.
41431         (test-xfail-XOPEN2K8/fcntl.h/linknamespace): Likewise.
41432         (test-xfail-XOPEN2K8/fmtmsg.h/linknamespace): Likewise.
41433         (test-xfail-XOPEN2K8/grp.h/linknamespace): Likewise.
41434         (test-xfail-XOPEN2K8/libgen.h/linknamespace): Likewise.
41435         (test-xfail-XOPEN2K8/math.h/linknamespace): Likewise.
41436         (test-xfail-XOPEN2K8/mqueue.h/linknamespace): Likewise.
41437         (test-xfail-XOPEN2K8/net/if.h/linknamespace): Likewise.
41438         (test-xfail-XOPEN2K8/netdb.h/linknamespace): Likewise.
41439         (test-xfail-XOPEN2K8/pthread.h/linknamespace): Likewise.
41440         (test-xfail-XOPEN2K8/pwd.h/linknamespace): Likewise.
41441         (test-xfail-XOPEN2K8/regex.h/linknamespace): Likewise.
41442         (test-xfail-XOPEN2K8/search.h/linknamespace): Likewise.
41443         (test-xfail-XOPEN2K8/semaphore.h/linknamespace): Likewise.
41444         (test-xfail-XOPEN2K8/spawn.h/linknamespace): Likewise.
41445         (test-xfail-XOPEN2K8/sys/mman.h/linknamespace): Likewise.
41446         (test-xfail-XOPEN2K8/sys/statvfs.h/linknamespace): Likewise.
41447         (test-xfail-XOPEN2K8/syslog.h/linknamespace): Likewise.
41448         (test-xfail-XOPEN2K8/tgmath.h/linknamespace): Likewise.
41449         (test-xfail-XOPEN2K8/time.h/linknamespace): Likewise.
41450         (test-xfail-XOPEN2K8/unistd.h/linknamespace): Likewise.
41452         [BZ #17589]
41453         * intl/localealias.c [_LIBC] (FGETS): Use __fgets_unlocked instead
41454         of fgets_unlocked.
41456         [BZ #17585]
41457         * string/memmem.c [!_LIBC] (__memmem): Define to memmem.
41458         (memmem): Rename to __memmem and define as weak alias of
41459         __memmem.  Use libc_hidden_weak.
41460         (__memmem): Use libc_hidden_def.
41461         * include/string.h (__memmem): Declare.  Use libc_hidden_proto.
41462         * locale/findlocale.c (valid_locale_name): Use __memmem instead of
41463         memmem.
41465         [BZ #17582]
41466         * libio/iofgets.c [weak_alias && !_IO_MTSAFE_IO]
41467         (__fgets_unlocked): Add alias of _IO_fgets.  Use libc_hidden_def.
41468         * libio/iofgets_u.c (fgets_unlocked): Rename to __fgets_unlocked
41469         and define as weak alias of __fgets_unlocked.  Use
41470         libc_hidden_weak.
41471         (__fgets_unlocked): Use libc_hidden_def.
41472         * include/stdio.h (__fgets_unlocked): Declare.  Use
41473         libc_hidden_proto.
41474         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Use
41475         __fgets_unlocked instead of fgets_unlocked.
41476         * sysdeps/unix/sysv/linux/alpha/getsysstats.c
41477         (GET_NPROCS_CONF_PARSER): Likewise.
41478         * sysdeps/unix/sysv/linux/sparc/getsysstats.c
41479         (GET_NPROCS_CONF_PARSER): Likewise.
41481         [BZ #17574]
41482         * wcsmbs/wmemset.c (wmemset): Rename to __wmemset and define as
41483         weak alias of __wmemset.  Use libc_hidden_weak.
41484         (__wmemset): Use libc_hidden_def.
41485         * include/wchar.h (__wmemset): Declare.  Use libc_hidden_proto.
41486         * stdio-common/printf_fp.c (___printf_fp): Call __wmemset instead
41487         of wmemset.
41489         [BZ #17573]
41490         * include/string.h [NOT_IN_libc || !SHARED] (mempcpy): Declare
41491         with asm name __mempcpy.
41492         [NOT_IN_libc || !SHARED] (stpcpy): Declare with asm name __stpcpy.
41494         [BZ #17572]
41495         * sysdeps/x86_64/rawmemchr.S (rawmemchr): Rename to __rawmemchr
41496         and define as weak alias of __rawmemchr.
41497         (__rawmemchr): Do not define as strong alias of rawmemchr.
41499         [BZ #17571]
41500         * stdlib/msort.c (qsort_r): Rename to __qsort_r and define as weak
41501         alias of __qsort_r.
41502         (qsort): Call __qsort_r instead of qsort_r.
41503         * include/stdlib.h (qsort_r): Do not call libc_hidden_proto.
41504         (__qsort_r): Declare.  Call libc_hidden_proto.
41505         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Call __qsort_r
41506         instead of qsort_r.
41507         * nscd/gai.c (__qsort_r): Define to qsort_r.
41508         * posix/tst-rfc3484.c (__qsort_r): Likewise.
41509         * posix/tst-rfc3484-2.c (__qsort_r): Likewise.
41510         * posix/tst-rfc3484-3.c (__qsort_r): Likewise.
41512         [BZ #17570]
41513         * malloc/malloc.c (malloc_info): Rename to __malloc_info and
41514         define as weak alias of __malloc_info.
41516         [BZ #17584]
41517         * dirent/rewinddir.c (rewinddir): Rename to __rewinddir and define
41518         as weak alias of __rewinddir.  Don't use libc_hidden_def.
41519         (__rewinddir): Use libc_hidden_def.
41520         * sysdeps/mach/hurd/rewinddir.c: Rename to __rewinddir and define
41521         as weak alias of __rewinddir.  Don't use libc_hidden_def.
41522         (__rewinddir): Use libc_hidden_def.
41523         * sysdeps/posix/rewinddir.c: Rename to __rewinddir and define as
41524         weak alias of __rewinddir.  Don't use libc_hidden_def.
41525         (__rewinddir): Use libc_hidden_def.
41526         * include/dirent.h (rewinddir): Don't use libc_hidden_proto.
41527         (__rewinddir): Use libc_hidden_proto.
41528         * sysdeps/posix/getcwd.c [!_LIBC] (__rewinddir): Define to
41529         rewinddir.
41530         (__getcwd): Use __rewinddir instead of rewinddir.
41532         [BZ #17583]
41533         * libio/fileno.c (fileno): Rename to __fileno and define as weak
41534         alias of __fileno.  Use libc_hidden_weak.
41535         (__fileno): Use libc_hidden_def.
41536         [weak_alias] (fileno_unlocked): Define as weak alias of __fileno.
41537         * libio/ftello.c (ftello): Rename to __ftello and define as weak
41538         alias of __ftello.
41539         [__OFF_T_MATCHES_OFF64_T] (ftello64): Define as weak alias of
41540         __ftello.
41541         * libio/iofread.c [weak_alias && !_IO_MTSAFE_IO]
41542         (__fread_unlocked): Define as strong alias of _IO_fread.  Use
41543         libc_hidden_def.
41544         (fread_unlocked): Don't use libc_hidden_ver.
41545         * libio/iofread_u.c (fread_unlocked): Rename to __fread_unlocked
41546         and define as weak alias of __fread_unlocked.  Don't use
41547         libc_hidden_def.
41548         (__fread_unlocked): Use libc_hidden_def.
41549         * include/stdio.h (__fileno): Declare.  Use libc_hidden_proto.
41550         (ftello): Don't use libc_hidden_proto.
41551         (__ftello): Declare.  Use libc_hidden_proto.
41552         (fread_unlocked): Don't use libc_hidden_proto.
41553         (__fread_unlocked): Declare.  Use libc_hidden_proto.
41554         * time/tzfile.c (__tzfile_read): Use __fileno, __fread_unlocked
41555         and __ftello instead of fileno, fread_unlocked and ftello.
41557 2012-11-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
41559         * sysdeps/s390/s390-32/bcopy.S (__bcopy): Use GOT instead of
41560         GOT12.
41561         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_load_address):
41562         Likewise.
41563         (_dl_start_user): Likewise.
41564         * sysdeps/s390/s390-32/setjmp.S (__sigsetjmp): Likewise.
41566 2014-11-12  Carlos O'Donell  <carlos@redhat.com>
41567             Siddhesh Poyarekar  <siddhesh@redhat.com>
41569         * sysdeps/s390/s390-32/dl-machine.h (_dl_start_user):
41570         Move argv and envp down instead of moving argc up.
41571         * sysdeps/s390/s390-32/dl-sysdep.h: New file.
41573 2014-11-12  Leonhard Holz  <leonhard.holz@web.de>
41575         [BZ #17506]
41576         * test-skeleton.c (main): Return successful if one of
41577         EXPECTED_SIGNAL or EXPECTED_STATUS is met when both given.
41578         * string/tst-strcoll-overflow.c: Define expected status.
41580 2014-11-12  Tatiana Udalova  <t.udalova@samsung.com>
41582         [BZ #17475]
41583         * locale/iso-639.def: Define Bhili and Tulu language codes.
41585 2014-11-11  Alan Hayward  <alan.hayward@arm.com>
41587         * sysdeps/unix/sysv/linux/aarch64/bits/ipc.h: New file.
41589 2014-11-10  Renlin Li  <Renlin.Li@arm.com>
41591         [BZ #17555]
41592         * sysdeps/aarch64/start.S (_start): Delete x29 overwritten assignment.
41594 2014-11-10  Andrew Senkevich  <andrew.n.senkevich@gmail.com>
41596         * configure.ac: Updated check of minimal required version to
41597         2.22.
41598         * manual/install.texi (Tools for Compilation): Updated version
41599         number.
41600         * configure: Regenerated.
41601         * INSTALL: Likewise.
41603 2014-11-07  Andreas Schwab  <schwab@linux-m68k.org>
41605         * sysdeps/unix/sysv/linux/m68k/localplt.data (ld.so): Remove
41606         __tls_get_addr.
41608 2014-11-07  Joseph Myers  <joseph@codesourcery.com>
41610         * include/sys/wait.h (__libc_waitpid): Remove declaration.
41611         * posix/waitpid.c (__libc_waitpid): Rename to __waitpid.
41612         (__waitpid): Don't define as alias.  Use libc_hidden_def not
41613         libc_hidden_weak.
41614         (waitpid): Define as alias of __waitpid.
41615         * sysdeps/unix/bsd/waitpid.c (__libc_waitpid): Rename to
41616         __waitpid.
41617         (__waitpid): Don't define as alias.  Use libc_hidden_def not
41618         libc_hidden_weak.
41619         (waitpid): Define as alias of __waitpid.
41620         * sysdeps/unix/sysv/linux/i386/syscalls.list (waitpid): Remove
41621         __libc_waitpid alias.
41622         * sysdeps/unix/sysv/linux/m68k/syscalls.list (waitpid): Likewise.
41623         * sysdeps/unix/sysv/linux/powerpc/syscalls.list (waitpid):
41624         Likewise.
41625         * sysdeps/unix/sysv/linux/sh/syscalls.list (waitpid): Likewise.
41626         * sysdeps/unix/sysv/linux/sparc/syscalls.list (waitpid): Likewise.
41627         * sysdeps/unix/sysv/linux/tile/waitpid.S (__libc_waitpid): Remove
41628         alias.
41629         * sysdeps/unix/sysv/linux/waitpid.c (__libc_waitpid): Rename to
41630         __waitpid.
41631         (__waitpid): Don't define as alias.  Use libc_hidden_def not
41632         libc_hidden_weak.
41633         (waitpid): Define as alias of __waitpid.
41635 2014-11-06  Carlos O'Donell  <carlos@redhat.com>
41637         * manual/llio.texi: Add comment that write safety has been
41638         fixed in Linux.
41640         * elf/Makefile (all-built-dso): Add $(common-objpfx)elf/ld.so.
41641         (localplt-build-dso): Add elf/ld.so.
41642         * sysdeps/unix/sysv/linux/i386/localplt.data: Add ___tls_get_addr
41643         i.e. 3 underscore version, __libc_memalign, malloc, calloc, realloc,
41644         and free for ld.so.
41645         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: Add
41646         __libc_memalign, malloc, calloc, realloc, and free for ld.so.
41647         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data:
41648         Likewise.
41649         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
41650         Likewise.
41651         * sysdeps/unix/sysv/linux/s390/localplt.data: Likewise.
41652         * sysdeps/generic/localplt.data: Add __tls_get_addr i.e. 2 underscore
41653         version, __libc_memalign, malloc, calloc, realloc and free for ld.so.
41654         * sysdeps/unix/sysv/linux/aarch64/localplt.data: Likewise.
41655         * sysdeps/unix/sysv/linux/arm/localplt.data: Likewise.
41656         * sysdeps/unix/sysv/linux/alpha/localplt.data: Likewise.
41657         * sysdeps/unix/sysv/linux/ia64/localplt.data: Likewise.
41658         * sysdeps/unix/sysv/linux/m68k/localplt.data: Likewise.
41659         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Likewise.
41660         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: Likewise.
41661         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: Likewise.
41663 2014-11-05  Joseph Myers  <joseph@codesourcery.com>
41665         [BZ #14132]
41666         * include/libc-symbols.h (INTUSE): Remove macro.
41667         (INTDEF): Likewise.
41668         (INTVARDEF): Likewise.
41669         (_INTVARDEF): Likewise.
41670         (INTDEF2): Likewise.
41671         (INTVARDEF2): Likewise.
41672         * elf/rtld.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Use
41673         rtld_hidden_def instead of INTVARDEF.
41674         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]
41675         (_dl_starting_up_internal): Remove declaration.
41676         (_dl_starting_up): Use rtld_hidden_proto.
41677         * elf/dl-init.c [!HAVE_INLINED_SYSCALLS] (_dl_starting_up): Remove
41678         declaration.
41679         [!HAVE_INLINED_SYSCALLS] (_dl_starting_up_internal): Likewise.
41680         (_dl_init) [!HAVE_INLINED_SYSCALLS]: Don't use INTUSE with
41681         _dl_starting_up.
41682         * elf/dl-writev.h (_dl_writev): Likewise.
41683         * sysdeps/powerpc/powerpc64/dl-machine.h [!HAVE_INLINED_SYSCALLS]
41684         (DL_STARTING_UP_DEF): Use __GI__dl_starting_up instead of
41685         _dl_starting_up_internal.
41687 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41689         * stdio-common/tst-fmemopen.c (do_test): Refactor to use
41690         test-skeleton.c.
41692 2014-11-05  Will Newton  <will.newton@linaro.org>
41694         * benchtests/Makefile: (bench-malloc): Add malloc thread
41695         scalability benchmark.
41696         * benchtests/bench-malloc-threads.c: New file.
41698 2014-11-05  Richard Earnshaw  <rearnsha@arm.com>
41700         * sysdeps/aarch64/strchrnul.S: New file.
41702 2014-11-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41704         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Simplify
41705         definition.
41706         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
41707         Likewise.
41708         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
41709         Likewise.
41710         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
41711         Likewise.
41712         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
41713         Likewise.
41714         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
41715         Likewise.
41717 2014-11-05  Arjun Shankar  <arjun.is@lostca.se>
41719         * catgets/test-gencat.c: Use test-skeleton.c.
41720         * catgets/tst-catgets.c: Likewise.
41721         * csu/tst-empty.c: Likewise.
41722         * elf/tst-audit2.c: Likewise.
41723         * elf/tst-global1.c: Likewise.
41724         * elf/tst-pathopt.c: Likewise.
41725         * elf/tst-piemod1.c: Likewise.
41726         * elf/tst-tls10.c: Likewise.
41727         * elf/tst-tls11.c: Likewise.
41728         * elf/tst-tls12.c: Likewise.
41729         * gnulib/tst-gcc.c: Likewise.
41730         * iconvdata/tst-e2big.c: Likewise.
41731         * iconvdata/tst-loading.c: Likewise.
41732         * iconv/tst-iconv1.c: Likewise.
41733         * iconv/tst-iconv2.c: Likewise.
41734         * inet/test-inet6_opt.c: Likewise.
41735         * inet/tst-gethnm.c: Likewise.
41736         * inet/tst-network.c: Likewise.
41737         * inet/tst-ntoa.c: Likewise.
41738         * intl/tst-codeset.c: Likewise.
41739         * intl/tst-gettext2.c: Likewise.
41740         * intl/tst-gettext3.c: Likewise.
41741         * intl/tst-ngettext.c: Likewise.
41742         * intl/tst-translit.c: Likewise.
41743         * io/test-stat.c: Likewise.
41744         * libio/test-fmemopen.c: Likewise.
41745         * libio/tst-freopen.c: Likewise.
41746         * libio/tst-sscanf.c: Likewise.
41747         * libio/tst-ungetwc1.c: Likewise.
41748         * libio/tst-ungetwc2.c: Likewise.
41749         * libio/tst-widetext.c: Likewise.
41750         * localedata/tst-ctype.c: Likewise.
41751         * localedata/tst-digits.c: Likewise.
41752         * localedata/tst-leaks.c: Likewise.
41753         * localedata/tst-mbswcs1.c: Likewise.
41754         * localedata/tst-mbswcs2.c: Likewise.
41755         * localedata/tst-mbswcs3.c: Likewise.
41756         * localedata/tst-mbswcs4.c: Likewise.
41757         * localedata/tst-mbswcs5.c: Likewise.
41758         * localedata/tst-setlocale.c: Likewise.
41759         * localedata/tst-trans.c: Likewise.
41760         * localedata/tst-wctype.c: Likewise.
41761         * localedata/tst-xlocale1.c: Likewise.
41762         * login/tst-grantpt.c: Likewise.
41763         * malloc/tst-calloc.c: Likewise.
41764         * malloc/tst-malloc.c: Likewise.
41765         * malloc/tst-mallocstate.c: Likewise.
41766         * malloc/tst-mcheck.c: Likewise.
41767         * malloc/tst-mtrace.c: Likewise.
41768         * malloc/tst-obstack.c: Likewise.
41769         * math/atest-exp2.c: Likewise.
41770         * math/atest-exp.c: Likewise.
41771         * math/atest-sincos.c: Likewise.
41772         * math/test-matherr.c: Likewise.
41773         * math/test-misc.c: Likewise.
41774         * math/test-powl.c: Likewise.
41775         * math/tst-definitions.c: Likewise.
41776         * misc/tst-dirname.c: Likewise.
41777         * misc/tst-efgcvt.c: Likewise.
41778         * misc/tst-fdset.c: Likewise.
41779         * misc/tst-hsearch.c: Likewise.
41780         * misc/tst-mntent2.c: Likewise.
41781         * nptl/tst-sem7.c: Likewise.
41782         * nptl/tst-sem8.c: Likewise.
41783         * nptl/tst-sem9.c: Likewise.
41784         * nss/test-netdb.c: Likewise.
41785         * posix/tst-fnmatch.c: Likewise.
41786         * posix/tst-getlogin.c: Likewise.
41787         * posix/tst-gnuglob.c: Likewise.
41788         * posix/tst-mmap.c: Likewise.
41789         * pwd/tst-getpw.c: Likewise.
41790         * resolv/tst-inet_ntop.c: Likewise.
41791         * rt/tst-timer.c: Likewise.
41792         * stdio-common/test-fseek.c: Likewise.
41793         * stdio-common/test-popen.c: Likewise.
41794         * stdio-common/test-vfprintf.c: Likewise.
41795         * stdio-common/tst-cookie.c: Likewise.
41796         * stdio-common/tst-fileno.c: Likewise.
41797         * stdio-common/tst-gets.c: Likewise.
41798         * stdio-common/tst-obprintf.c: Likewise.
41799         * stdio-common/tst-perror.c: Likewise.
41800         * stdio-common/tst-sprintf2.c: Likewise.
41801         * stdio-common/tst-sprintf3.c: Likewise.
41802         * stdio-common/tst-sprintf.c: Likewise.
41803         * stdio-common/tst-swprintf.c: Likewise.
41804         * stdio-common/tst-tmpnam.c: Likewise.
41805         * stdio-common/tst-unbputc.c: Likewise.
41806         * stdio-common/tst-wc-printf.c: Likewise.
41807         * stdlib/tst-environ.c: Likewise.
41808         * stdlib/tst-fmtmsg.c: Likewise.
41809         * stdlib/tst-limits.c: Likewise.
41810         * stdlib/tst-rand48-2.c: Likewise.
41811         * stdlib/tst-rand48.c: Likewise.
41812         * stdlib/tst-random2.c: Likewise.
41813         * stdlib/tst-random.c: Likewise.
41814         * stdlib/tst-strtol.c: Likewise.
41815         * stdlib/tst-strtoll.c: Likewise.
41816         * stdlib/tst-tls-atexit.c: Likewise.
41817         * stdlib/tst-xpg-basename.c: Likewise.
41818         * string/test-ffs.c: Likewise.
41819         * string/tst-bswap.c: Likewise.
41820         * string/tst-inlcall.c: Likewise.
41821         * string/tst-strtok.c: Likewise.
41822         * string/tst-strxfrm.c: Likewise.
41823         * sysdeps/x86_64/tst-audit10.c: Likewise.
41824         * sysdeps/x86_64/tst-audit3.c: Likewise.
41825         * sysdeps/x86_64/tst-audit4.c: Likewise.
41826         * sysdeps/x86_64/tst-audit5.c: Likewise.
41827         * time/tst-ftime_l.c: Likewise.
41828         * time/tst-getdate.c: Likewise.
41829         * time/tst-mktime3.c: Likewise.
41830         * time/tst-mktime.c: Likewise.
41831         * time/tst-posixtz.c: Likewise.
41832         * time/tst-strptime2.c: Likewise.
41833         * time/tst-strptime3.c: Likewise.
41834         * wcsmbs/tst-btowc.c: Likewise.
41835         * wcsmbs/tst-mbrtowc.c: Likewise.
41836         * wcsmbs/tst-mbsrtowcs.c: Likewise.
41837         * wcsmbs/tst-wchar-h.c: Likewise.
41838         * wcsmbs/tst-wcpncpy.c: Likewise.
41839         * wcsmbs/tst-wcrtomb.c: Likewise.
41840         * wcsmbs/tst-wcsnlen.c: Likewise.
41841         * wcsmbs/tst-wcstof.c: Likewise.
41843 2014-11-04  Joseph Myers  <joseph@codesourcery.com>
41845         [BZ #14132]
41846         * elf/dl-profile.c (_dl_mcount): Use rtld_hidden_def instead of
41847         INTDEF.
41848         * sysdeps/generic/ldsodefs.h (_dl_mcount_internal): Remove
41849         declaration.
41850         (_dl_mcount): Use rtld_hidden_proto.
41851         * elf/dl-runtime.c (_dl_profile_fixup): Don't use INTUSE with
41852         _dl_mcount.
41853         * elf/rtld.c (_rtld_global_ro): Likewise.
41855         [BZ #14132]
41856         * elf/dl-init.c (_dl_init): Don't use INTDEF.
41857         * sysdeps/aarch64/dl-machine.h (RTLD_START): Use _dl_init instead
41858         of _dl_init_internal.
41859         * sysdeps/alpha/dl-machine.h (RTLD_START): Likewise.
41860         * sysdeps/arm/dl-machine.h (RTLD_START): Likewise.
41861         * sysdeps/hppa/dl-machine.h (RTLD_START): Likewise.
41862         * sysdeps/i386/dl-machine.h (RTLD_START): Likewise.
41863         * sysdeps/ia64/dl-machine.h (RTLD_START): Likewise.
41864         * sysdeps/m68k/dl-machine.h (RTLD_START): Likewise.
41865         * sysdeps/microblaze/dl-machine.h (RTLD_START): Likewise.
41866         * sysdeps/mips/dl-machine.h (RTLD_START): Likewise.
41867         * sysdeps/powerpc/powerpc32/dl-start.S (_start): Likewise.
41868         * sysdeps/s390/s390-32/dl-machine.h (RTLD_START): Likewise.
41869         * sysdeps/s390/s390-64/dl-machine.h (RTLD_START): Likewise.
41870         * sysdeps/sh/dl-machine.h (RTLD_START): Likewise.
41871         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
41872         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
41873         * sysdeps/tile/dl-start.S (_start): Likewise.
41874         * sysdeps/x86_64/dl-machine.h (RTLD_START): Likewise.
41875         * sysdeps/x86_64/x32/dl-machine.h (RTLD_START): Likewise.
41877         [BZ #14132]
41878         * sysdeps/generic/ldsodefs.h (_dl_argv): Use rtld_hidden_proto.
41879         [IS_IN_rtld] (_dl_argv_internal): Do not declare.
41880         (rtld_progname): Make macro definition unconditional.
41881         * elf/rtld.c (_dl_argv): Use rtld_hidden_data_def instead of
41882         INTDEF.
41883         (dlmopen_doit): Do not use INTUSE with _dl_argv.
41884         (dl_main): Likewise.
41885         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
41886         * sysdeps/alpha/dl-machine.h (RTLD_START): Use __GI__dl_argv
41887         instead of _dl_argv_internal.
41888         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
41889         __GI__dl_argv instead of INTUSE(_dl_argv).
41890         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Use
41891         __GI__dl_argv instead of _dl_argv_internal.
41893         * soft-fp/op-common.h (_FP_TO_INT_ROUND): New macro.
41894         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_D): New
41895         macro.
41896         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_D): Likewise.
41897         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_E):
41898         New macro.
41899         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_E): Likewise.
41900         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_ROUND_Q): New
41901         macro.
41902         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_ROUND_Q): Likewise.
41903         * soft-fp/single.h (FP_TO_INT_ROUND_S): New macro.
41905 2014-11-04  Andreas Schwab  <schwab@suse.de>
41907         * posix/regex_internal.h: Don't include <locale/elem-hash.h>.
41909 2014-11-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
41911         * sysdeps/powerpc/powerpc64/power8/memset.S (MTVSRD_V1_R4): Encode
41912         mtvsrd instruction in binary form.
41914 2014-11-03  Andreas Schwab  <schwab@suse.de>
41916         [BZ #17522]
41917         * libio/wfileops.c (_IO_wdo_write): If the file buffer has room
41918         for less than MB_LEN_MAX use a local buffer of that size.
41919         * libio/tst-fputws.c: New file.
41920         * libio/Makefile (tests): Add tst-fputws.
41922 2014-11-01  Jose E. Marchesi  <jose.marchesi@oracle.com>
41924         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu): fix
41925         the size of the fpu_fr.fpu_dregs[] array.
41927 2014-11-01  Joseph Myers  <joseph@codesourcery.com>
41929         * posix/nanosleep.c (__libc_nanosleep): Rename to __nanosleep.
41930         (__nanosleep): Do not define as alias.
41931         (nanosleep): Define as alias of __nanosleep.
41932         * sysdeps/unix/sysv/linux/syscalls.list (nanosleep): Remove
41933         __libc_nanosleep name.
41935 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
41937         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): Mention need to update
41938         install.texi in comment.
41940 2014-10-31  Torvald Riegel  <triegel@redhat.com>
41942         * sysdeps/powerpc/bits/atomic.h (atomic_write_barrier): Remove and...
41943         * sysdeps/powerpc/powerpc32/bits/atomic.h (atomic_write_barrier):
41944         ... add here and use lwsync or sync ...
41945         * sysdeps/powerpc/powerpc64/bits/atomic.h (atomic_write_barrier):
41946         ... and add here using lwsync.
41948 2014-10-31  Matthew Fortune  <matthew.fortune@imgtec.com>
41950         * elf/dl-machine-reject-phdr.h: New file.
41951         * elf/dl-load.c: #include that.
41952         (open_verify): Call elf_machine_reject_phdr_p and ignore the file
41953         if that returned true.
41955 2014-10-31  Roland McGrath  <roland@hack.frob.com>
41957         [BZ #17496]
41958         * Makerules: Move gnu/lib-names.h generation chunk up, to right after
41959         gen-as-const-headers chunk.  Add a big scare comment after the last
41960         safe place to touch before-compile.
41962 2014-10-31  Joseph Myers  <joseph@codesourcery.com>
41964         * manual/install.texi (Tools for Compilation): Update autoconf
41965         version requirements.
41966         * INSTALL: Regenerated.
41968         * misc/pselect.c [!__pselect] (__libc_pselect): Remove alias.
41969         * sysdeps/unix/sysv/linux/pselect.c [__NR_pselect6]
41970         (__libc_pselect): Likewise.
41972         [BZ #14138]
41973         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Remove file.
41974         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
41975         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
41976         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
41978 2014-10-31  Torvald Riegel  <triegel@redhat.com>
41980         * sysdeps/sparc/sparc32/bits/atomic.h (atomic_write_barrier): Use
41981         correct barrier instruction.
41982         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h (atomic_write_barrier):
41983         Likewise.
41984         * sysdeps/sparc/sparc64/bits/atomic.h (atomic_write_barrier):
41985         Likewise.
41987 2014-10-30  Roland McGrath  <roland@hack.frob.com>
41989         * include/ctype.h: Include <ctype/ctype.h> first thing rather than
41990         after defining inlines.  Instead, just use parens to defeat macro
41991         expansion of __isctype in its declaration.
41993 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
41995         * include/sys/uio.h (__libc_readv): Remove declaration.
41996         (__libc_writev): Likewise.
41997         * misc/readv.c (__libc_readv): Rename to __readv.
41998         (__readv): Do not define as alias.
41999         (readv): Define as alias of __readv.
42000         * misc/writev.c (__libc_writev): Rename to __writev.
42001         (__writev): Do not define as alias.
42002         (writev): Define as alias of __writev.
42003         * sysdeps/posix/readv.c (__libc_readv): Rename to __readv.
42004         (__readv): Do not define as alias.
42005         (readv): Define unconditionally as alias of __readv.
42006         * sysdeps/posix/writev.c (__libc_writev): Rename to __writev.
42007         (__writev): Do not define as alias.
42008         (writev): Define unconditionally as alias of __writev.
42009         * sysdeps/unix/syscalls.list (readv): Do not define __libc_readv
42010         name.
42011         (writev): Do not define __libc_writev name.
42013 2014-10-30  Roland McGrath  <roland@hack.frob.com>
42015         * iconv/iconv_charmap.c (add_bytes): Make IN argument pointer to const.
42016         (convert_charseq): New function, broken out of ...
42017         (use_from_charmap): ... here.  Call it.
42018         (use_to_charmap): Use convert_charseq and free instead of duplicating
42019         its code with a variable-length stack struct.
42021 2014-10-30  Joseph Myers  <joseph@codesourcery.com>
42023         * include/fcntl.h (__libc_creat): Remove declaration.
42024         * io/creat.c (__libc_creat): Rename to creat.
42025         (creat): Do not define as alias.
42026         * sysdeps/unix/sysv/linux/alpha/creat.c (creat64): Define as alias
42027         of creat instead of __libc_creat.
42028         * sysdeps/unix/sysv/linux/generic/creat.c (__libc_creat): Rename
42029         to creat.
42030         (creat): Do not define as alias.
42031         [__WORDSIZE == 64] (creat64): Define as alias of creat instead of
42032         __libc_creat.
42033         * sysdeps/unix/sysv/linux/syscalls.list (creat): Do not define
42034         __libc_creat name.
42035         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list (creat):
42036         Likewise.
42038 2014-10-29  Carlos O'Donell  <carlos@redhat.com>
42040         * manual/llio.texi: Add comments discussing why write() may be
42041         considered MT-unsafe on Linux.
42043 2014-10-28  Carlos O'Donell  <carlos@redhat.com>
42045         * dl-load.c (local_strdup): Remove.
42046         (expand_dynamic_string_token): Use __strdup.
42047         (decompose_rpath): Likewise.
42048         (_dl_map_object): Likewise.
42050 2014-10-28  Joseph Myers  <joseph@codesourcery.com>
42052         [BZ #14132]
42053         * sysdeps/generic/unwind-dw2-fde.c
42054         (__register_frame_info_bases_internal): Do not declare.
42055         (__register_frame_info_table_bases_internal): Likewise.
42056         (__deregister_frame_info_bases_internal): Likewise.
42057         (__register_frame_info_bases): Declare and use hidden_proto before
42058         definition.  Use hidden_def instead of INTDEF.
42059         (__register_frame_info_table_bases): Likewise.
42060         (__deregister_frame_info_bases): Likewise.
42061         (__register_frame_info): Do not use INTUSE.
42062         (__register_frame): Likewise.
42063         (__register_frame_info_table): Likewise.
42064         (__register_frame_table): Likewise.
42065         (__deregister_frame_info): Likewise.
42066         (__deregister_frame): Likewise.
42068 2014-10-27  Gratian Crisan  <gratian.crisan@ni.com>
42070         * sysdeps/unix/sysv/linux/arm/kernel-features.h
42071         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_FUTEX_LOCK_PI): Do
42072         not undefine.
42073         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_REQUEUE_PI):
42074         Likewise.
42075         [__LINUX_KERNEL_VERSION >= 0x030E03] (__ASSUME_SET_ROBUST_LIST):
42076         Likewise.
42078 2014-10-27  Joseph Myers  <joseph@codesourcery.com>
42080         [BZ #14138]
42081         * sysdeps/unix/sysv/linux/arm/setfsgid.c: Remove file.
42082         * sysdeps/unix/sysv/linux/arm/setfsuid.c: Likewise.
42083         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Likewise.
42084         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Likewise.
42085         * sysdeps/unix/sysv/linux/m68k/setfsgid.c: Likewise.
42086         * sysdeps/unix/sysv/linux/m68k/setfsuid.c: Likewise.
42087         * sysdeps/unix/sysv/linux/s390/s390-32/setfsgid.c: Likewise.
42088         * sysdeps/unix/sysv/linux/s390/s390-32/setfsuid.c: Likewise.
42089         * sysdeps/unix/sysv/linux/sh/setfsgid.c: Likewise.
42090         * sysdeps/unix/sysv/linux/sh/setfsuid.c: Likewise.
42091         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsgid.c: Likewise.
42092         * sysdeps/unix/sysv/linux/sparc/sparc32/setfsuid.c: Likewise.
42093         * sysdeps/unix/sysv/linux/arm/syscalls.list (setfsgid): Add
42094         syscall.
42095         (setfsuid): Likewise.
42096         * sysdeps/unix/sysv/linux/i386/syscalls.list (setfsgid): Likewise.
42097         (setfsuid): Likewise.
42098         * sysdeps/unix/sysv/linux/m68k/syscalls.list (setfsgid): Likewise.
42099         (setfsuid): Likewise.
42100         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setfsgid):
42101         Likewise.
42102         (setfsuid): Likewise.
42103         * sysdeps/unix/sysv/linux/sh/syscalls.list (setfsgid): Likewise.
42104         (setfsuid): Likewise.
42105         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (setfsgid):
42106         Likewise.
42107         (setfsuid): Likewise.
42109 2014-10-27  Andreas Schwab  <schwab@suse.de>
42111         [BZ #17501]
42112         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Fix
42113         check for Slow_SSE4_2 feature bit.
42114         * sysdeps/i386/i686/multiarch/strcmp.S (STRCMP): Likewise.
42115         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
42116         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP, __strcascmp):
42117         Likewise.  Fix check for Fast_Unaligned_Load feature bit.
42119 2014-10-24  Roland McGrath  <roland@hack.frob.com>
42121         * configure.ac: Validate compiler version with a empirical test of
42122         __GNUC__ and __GNUC_MINOR__ predefined values, rather than by grepping
42123         $CC -v output.
42124         * configure: Regenerated.
42126         * inet/htons.c (htons): Prototypify.
42127         * inet/htonl.c (htonl): Likewise.
42129 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
42131         * string/strncat.c (strncat): Improve performance by using strlen.
42133 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
42135         * string/strcat.c (strcat): Improve performance by using strlen/strcpy.
42137 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
42139         * sysdeps/aarch64/fpu/fgetexcptflg.c (fegetexceptflag):
42140         Call libc_fetestexcept_aarch64.
42142 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
42144         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept):
42145         Call libc_feholdexcept_aarch64.
42147 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
42149         * sysdeps/aarch64/fpu/fegetround.c (fegetround):
42150         Call get_rounding_mode.
42152 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
42154         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept):
42155         Simplify logic.
42157 2014-10-24  Wilco Dijkstra  <wdijkstr@arm.com>
42159         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept):
42160         Simplify logic.
42162 2014-10-24  Joseph Myers  <joseph@codesourcery.com>
42164         [BZ #14138]
42165         * sysdeps/unix/sysv/linux/arm/getegid.c: Remove file.
42166         * sysdeps/unix/sysv/linux/arm/geteuid.c: Likewise.
42167         * sysdeps/unix/sysv/linux/arm/getgid.c: Likewise.
42168         * sysdeps/unix/sysv/linux/arm/getgroups.c: Likewise.
42169         * sysdeps/unix/sysv/linux/arm/getresgid.c: Likewise.
42170         * sysdeps/unix/sysv/linux/arm/getresuid.c: Likewise.
42171         * sysdeps/unix/sysv/linux/arm/getuid.c: Likewise.
42172         * sysdeps/unix/sysv/linux/i386/getegid.c: Likewise.
42173         * sysdeps/unix/sysv/linux/i386/geteuid.c: Likewise.
42174         * sysdeps/unix/sysv/linux/i386/getgid.c: Likewise.
42175         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
42176         * sysdeps/unix/sysv/linux/i386/getresgid.c: Likewise.
42177         * sysdeps/unix/sysv/linux/i386/getresuid.c: Likewise.
42178         * sysdeps/unix/sysv/linux/i386/getuid.c: Likewise.
42179         * sysdeps/unix/sysv/linux/m68k/getegid.c: Likewise.
42180         * sysdeps/unix/sysv/linux/m68k/geteuid.c: Likewise.
42181         * sysdeps/unix/sysv/linux/m68k/getgid.c: Likewise.
42182         * sysdeps/unix/sysv/linux/m68k/getgroups.c: Likewise.
42183         * sysdeps/unix/sysv/linux/m68k/getresgid.c: Likewise.
42184         * sysdeps/unix/sysv/linux/m68k/getresuid.c: Likewise.
42185         * sysdeps/unix/sysv/linux/m68k/getuid.c: Likewise.
42186         * sysdeps/unix/sysv/linux/s390/s390-32/getegid.c: Likewise.
42187         * sysdeps/unix/sysv/linux/s390/s390-32/geteuid.c: Likewise.
42188         * sysdeps/unix/sysv/linux/s390/s390-32/getgid.c: Likewise.
42189         * sysdeps/unix/sysv/linux/s390/s390-32/getgroups.c: Likewise.
42190         * sysdeps/unix/sysv/linux/s390/s390-32/getresgid.c: Likewise.
42191         * sysdeps/unix/sysv/linux/s390/s390-32/getresuid.c: Likewise.
42192         * sysdeps/unix/sysv/linux/s390/s390-32/getuid.c: Likewise.
42193         * sysdeps/unix/sysv/linux/sh/getegid.c: Likewise.
42194         * sysdeps/unix/sysv/linux/sh/geteuid.c: Likewise.
42195         * sysdeps/unix/sysv/linux/sh/getgid.c: Likewise.
42196         * sysdeps/unix/sysv/linux/sh/getgroups.c: Likewise.
42197         * sysdeps/unix/sysv/linux/sh/getresgid.c: Likewise.
42198         * sysdeps/unix/sysv/linux/sh/getresuid.c: Likewise.
42199         * sysdeps/unix/sysv/linux/sh/getuid.c: Likewise.
42200         * sysdeps/unix/sysv/linux/sparc/sparc32/getegid.c: Likewise.
42201         * sysdeps/unix/sysv/linux/sparc/sparc32/geteuid.c: Likewise.
42202         * sysdeps/unix/sysv/linux/sparc/sparc32/getgid.c: Likewise.
42203         * sysdeps/unix/sysv/linux/sparc/sparc32/getgroups.c: Likewise.
42204         * sysdeps/unix/sysv/linux/sparc/sparc32/getuid.c: Likewise.
42205         * sysdeps/unix/sysv/linux/arm/syscalls.list (getegid): Add
42206         syscall.
42207         (geteuid): Likewise.
42208         (getgid): Likewise.
42209         (getuid): Likewise.
42210         (getresgid): Likewise.
42211         (getresuid): Likewise.
42212         (getgroups): Likewise.
42213         * sysdeps/unix/sysv/linux/i386/syscalls.list (getegid): Likewise.
42214         (geteuid): Likewise.
42215         (getgid): Likewise.
42216         (getuid): Likewise.
42217         (getresgid): Likewise.
42218         (getresuid): Likewise.
42219         (getgroups): Likewise.
42220         * sysdeps/unix/sysv/linux/m68k/syscalls.list (getegid): Likewise.
42221         (geteuid): Likewise.
42222         (getgid): Likewise.
42223         (getuid): Likewise.
42224         (getresgid): Likewise.
42225         (getresuid): Likewise.
42226         (getgroups): Likewise.
42227         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (getegid):
42228         Likewise.
42229         (geteuid): Likewise.
42230         (getgid): Likewise.
42231         (getuid): Likewise.
42232         (getresgid): Likewise.
42233         (getresuid): Likewise.
42234         (getgroups): Likewise.
42235         * sysdeps/unix/sysv/linux/sh/syscalls.list (getegid): Likewise.
42236         (geteuid): Likewise.
42237         (getgid): Likewise.
42238         (getuid): Likewise.
42239         (getresgid): Likewise.
42240         (getresuid): Likewise.
42241         (getgroups): Likewise.
42242         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (getegid):
42243         Likewise.
42244         (geteuid): Likewise.
42245         (getgid): Likewise.
42246         (getuid): Likewise.
42247         (getgroups): Likewise.
42249         [BZ #14138]
42250         * sysdeps/unix/sysv/linux/i386/chown.c: Remove file.
42251         * sysdeps/unix/sysv/linux/i386/fchown.c: Likewise.
42252         * sysdeps/unix/sysv/linux/i386/lchown.c: Likewise.
42253         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
42254         * sysdeps/unix/sysv/linux/s390/s390-32/fchown.c: Remove file.
42255         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Likewise.
42256         * sysdeps/unix/sysv/linux/sh/chown.c: Likewise.
42257         * sysdeps/unix/sysv/linux/sh/fchown.c: Likewise.
42258         * sysdeps/unix/sysv/linux/sh/lchown.c: Likewise.
42259         * sysdeps/unix/sysv/linux/sparc/sparc32/chown.c: Likewise.
42260         * sysdeps/unix/sysv/linux/sparc/sparc32/fchown.c: Likewise.
42261         * sysdeps/unix/sysv/linux/sparc/sparc32/lchown.c: Likewise.
42262         * sysdeps/unix/sysv/linux/s390/s390-32/Versions (GLIBC_2.1): Add
42263         __chown.
42264         * sysdeps/unix/sysv/linux/i386/syscalls.list (chown): Add syscall.
42265         (lchown): Likewise.
42266         (fchown): Likewise.
42267         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (chown):
42268         Likewise.
42269         (lchown): Likewise.
42270         (fchown): Likewise.
42271         * sysdeps/unix/sysv/linux/sh/syscalls.list (chown): Likewise.
42272         (lchown): Likewise.
42273         (fchown): Likewise.
42274         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list (chown):
42275         Likewise.
42276         (lchown): Likewise.
42277         (fchown): Likewise.
42279 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
42281         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept):
42282         Simplify logic.
42284 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
42286         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
42287         Cleanup logic.
42289 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
42291         * sysdeps/aarch64/fpu/fsetexcptflg.c (fsetexceptflag):
42292         Remove unused include.
42294 2014-10-23  Wilco Dijkstra  <wdijkstr@arm.com>
42296         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Remove spaces.
42297         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Remove spaces.
42298         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Remove spaces.
42299         * sysdeps/aarch64/fpu/fraiseexcpt.c (feraiseexcept): Remove spaces.
42301 2014-10-23  Carlos O'Donell  <carlos@systemhalted.org>
42302             Helge Deller <deller@gmx.de>
42304         [BZ #17508]
42305         * sysdeps/unix/sysv/linux/hppa/bits/signum.h: Remove SIGEMT.
42306         Define SIGSTKFLT as 7. Define SIGSYS as 31. Define SIGXCPU as 12.
42307         Remove SIGLOST. Define SIGXFSZ as 30. Define __SIGRTMIN as 32.
42309 2014-10-23  Joseph Myers  <joseph@codesourcery.com>
42311         [BZ #14132]
42312         * sysdeps/powerpc/powerpc32/libgcc-compat.S (__ashldi3_v_glibc20):
42313         Remove macro definition.
42314         (__ashrdi3_v_glibc20): Likewise.
42315         (__lshrdi3_v_glibc20): Likewise.
42316         (__cmpdi2_v_glibc20): Likewise.
42317         (__ucmpdi2_v_glibc20): Likewise.
42318         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixdfdi_v_glibc20): Likewise.
42319         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
42320         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
42321         [!_SOFT_FLOAT && !__NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
42322         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
42323         [!_SOFT_FLOAT && !__NO_FPRS__] (__floatdisf_v_glibc20): Likewise.
42325 2014-10-22  Roland McGrath  <roland@hack.frob.com>
42327         * inet/netgroup.h (struct name_list): Use C99 [] syntax rather than
42328         old GNU extension [0] syntax.
42329         * nscd/nscd_helper.c (open_socket): Use a flexible array member and
42330         alloca rather than an array member with variable length.
42331         * nscd/netgroupcache.c (addgetnetgrentX): Likewise.
42332         * nscd/nscd.c (invalidate_db): New function, broken out of ...
42333         (parse_opt): ... here.  Likewise use alloca there.
42334         Validate the -i argument before checking for rootness.
42335         (send_shutdown): New function, broken out of ...
42336         (parse_opt): ... here.
42338 2014-10-22  Roland McGrath  <roland@hack.frob.com>
42340         * sysdeps/arm/__longjmp.S [NEED_HWCAP] [IS_IN_rtld]: Use LDST_PCREL
42341         macro to get at the _rt_local_ro field.
42342         [NEED_HWCAP] [!IS_IN_rtld]: Use LDR_GLOBAL to get at _rtld_global_ro
42343         ([PIC] case) or _dl_hwcap ([!PIC] case).
42344         * sysdeps/arm/setjmp.S: Likewise.
42346         * config.h.in (ARM_PCREL_MOVW_OK): New macro.
42347         * sysdeps/arm/configure.ac: New check to define it.
42348         * sysdeps/arm/configure: Regenerated.
42349         * sysdeps/arm/sysdep.h [__ASSEMBLER__]: Include <arm-features.h>.
42350         (LDST_INDEXED_NOINDEX, LDST_INDEXED_INDEX): New macros.
42351         (LDST_INDEXED, LDST_PC_INDEXED): New macros, differing definitions
42352         depending on [ARM_NO_INDEX_REGISTER] and [__thumb2__].
42353         (LDST_PCREL) [!__thumb2__ && ARCH_HAS_T2 && ARM_PCREL_MOVW_OK]:
42354         Use move/movt pair instead of a load.
42355         (LDST_GLOBAL): Macro removed.
42356         (LDR_GLOBAL): New macro replaces it.
42357         (LDR_HIDDEN): New macro.
42358         (PTR_MANGLE_LOAD): Use LDR_GLOBAL rather than LDST_GLOBAL.
42359         Use LDR_HIDDEN instead for __pointer_chk_guard_local.
42361         * setjmp/tst-setjmp-static.c: New file.
42362         * setjmp/Makefile (tests): Add it.
42363         (tests-static): New variable.
42365 2014-10-22  Maciej W. Rozycki  <macro@codesourcery.com>
42367         [BZ #17485]
42368         * sysdeps/unix/sysv/linux/mips/vfork.S (__libc_vfork): Define.
42370 2014-10-21  Joseph Myers  <joseph@codesourcery.com>
42372         [BZ #14132]
42373         * math/s_ldexpf.c (__ldexpf): Do not use INTDEF.
42375 2014-10-21  Roland McGrath  <roland@hack.frob.com>
42377         * nptl/version.c (__nptl_main): Call __libc_write, not __write.
42379 2014-10-20  Roland McGrath  <roland@hack.frob.com>
42381         * io/fts.c (dirent_not_directory): New function.
42382         (fts_build): Call it.
42384 2014-10-20  Roland McGrath  <roland@hack.frob.com>
42386         * nptl/version.c (__nptl_main): Use normal __write rather than
42387         INTERNAL_SYSCALL.
42388         (banner): Update copyright years.
42390         * nptl/pthread_rwlock_timedrdlock.c: #include <sys/time.h> before using
42391         gettimeofday.
42392         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
42393         * nptl/pthread_cond_timedwait.c: Likewise.
42394         * nptl/pthread_mutex_timedlock.c: Likewise.
42395         * nptl/sem_timedwait.c: Likewise.
42397         * sysdeps/nptl/bits/libc-lock.h
42398         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
42399         (__libc_lock_init_recursive): Return void, not 0.
42400         * sysdeps/nptl/bits/libc-lockP.h (__libc_lock_init): Likewise.
42401         (__libc_rwlock_init): Likewise.
42402         * sysdeps/nptl/bits/stdio-lock.h (_IO_lock_init): Likewise.
42404 2014-10-20  Torvald Riegel  <triegel@redhat.com>
42406         [BZ #15215]
42407         * nptl/pthread_once.c (__pthread_once): Split out fast path to ...
42408         (__pthread_once_slow): ... here.
42409         * sysdeps/unix/sysv/linux/i386/pthread_once.S: Remove file.
42410         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Remove file.
42412 2014-10-20  Torvald Riegel  <triegel@redhat.com>
42414         [BZ #15215]
42415         * nptl/pthreadP.h (__PTHREAD_ONCE_INPROGRESS, __PTHREAD_ONCE_DONE,
42416         __PTHREAD_ONCE_FORK_GEN_INCR): New.
42417         * sysdeps/nptl/fork.c (__libc_fork): Use them.
42418         * nptl/pthread_once.c (__pthread_once): Likewise.
42419         Update comments.
42421 2014-10-20  Joseph Myers  <joseph@codesourcery.com>
42423         [BZ #14138]
42424         * sysdeps/unix/syscalls.list (readv): Use __libc_readv as strong
42425         name.
42426         (writev): Use __libc_writev as strong name.
42427         * sysdeps/unix/sysv/linux/readv.c: Remove file.
42428         * sysdeps/unix/sysv/linux/writev.c: Likewise.
42430 2014-10-17  Roland McGrath  <roland@hack.frob.com>
42432         * nptl/createthread.c (TLS_DEFINE_INIT_TP, TLS_VALUE): Macros removed.
42434         * sysdeps/i386/nptl/tls.h
42435         (THREAD_SELF_SYSINFO, THREAD_SYSINFO): Macros removed.
42436         [NEED_DL_SYSINFO] (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO):
42437         New macros.
42438         * sysdeps/ia64/nptl/tls.h [NEED_DL_SYSINFO]
42439         (SETUP_THREAD_SYSINFO, CHECK_THREAD_SYSINFO): New macros.
42440         * nptl/allocatestack.c (allocate_stack) [NEED_DL_SYSINFO]:
42441         Call SETUP_THREAD_SYSINFO instead of doing an assignment.
42442         * nptl/createthread.c (create_thread) [NEED_DL_SYSINFO]:
42443         Call CHECK_THREAD_SYSINFO instead of doing an assert.
42445         * nptl/nptl-init.c (__pthread_initialize_minimal_internal):
42446         Conditionalize FUTEX_PRIVATE_FLAG and FUTEX_CLOCK_REALTIME probes
42447         on [__NR_futex].
42448         * nptl/pthread_mutex_init.c (prio_inherit_missing): New function,
42449         broken out of ...
42450         (__pthread_mutex_init): ... here.  Call it.
42451         * nptl/pthread_mutex_lock.c (__pthread_mutex_lock_full):
42452         Conditionalize PI cases on [__NR_futex].
42453         * nptl/pthread_mutex_timedlock.c (pthread_mutex_timedlock): Likewise.
42454         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock): Likewise.
42455         * nptl/pthread_mutex_unlock.c (__pthread_mutex_unlock_full): Likewise.
42457         * nptl/nptl-init.c (sighandler_setxid, __xidcmd): Make definitions
42458         conditional on [SIGSETXID].
42459         (sigcancel_handler): Make definition conditional on [SIGCANCEL].
42460         (__pthread_initialize_minimal_internal): Set up SIGCANCEL only if it
42461         is defined.  Likewise for SIGSETXID.
42462         * nptl/allocatestack.c (setxid_mark_thread, setxid_unmark_thread):
42463         Conditionalize definitions on [SIGSETXID].
42464         (setxid_signal_thread, __nptl_setxid_error, __nptl_setxid): Likewise.
42465         * nptl/pthread_create.c (start_thread): Conditionalize SIGCANCEL
42466         unblocking on [SIGCANCEL].
42468         * nptl/nptl-init.c (__nptl_set_robust): Conditionalize body on
42469         [__NR_set_robust_list].
42471 2014-10-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
42473         * string/strcoll_l.c (get_next_seq): Fix up formatting.
42474         (do_compare): Likewise.
42476 2014-10-17  Leonhard Holz  <leonhard.holz@web.de>
42478         [BZ #15884]
42479         * string/strcoll_l.c: Don't include stdio.h.
42480         (coll_seq): Remove members idxarr and rulearr.
42481         (get_next_seq_cached): Remove function.
42482         (get_next_seq): Likewise.
42483         (get_next_seq_nocache): Rename to get_next_seq.
42484         (do_compare): Remove function.
42485         (do_compare_nocache): Rename to do_compare.
42486         (STRCOLL): Remove weight and rules cache.
42488 2014-10-16  Roland McGrath  <roland@hack.frob.com>
42490         * sysdeps/arm/soft-fp/sfp-machine.h: Filed moved ...
42491         * sysdeps/arm/sfp-machine.h: ... to here.
42492         * sysdeps/arm/Implies: Remove arm/soft-fp.
42494 2014-10-14  Joseph Myers  <joseph@codesourcery.com>
42496         * conform/data/sys/utsname.h-data (*_t): Allow.
42497         * conform/data/sys/wait.h-data [POSIX] (uid_t): Do not define.
42498         [POSIX] (WEXITED): Do not expect constant.
42499         [POSIX] (WSTOPPED): Likewise.
42500         [POSIX] (WNOHANG): Likewise.
42501         [POSIX] (WNOWAIT): Likewise.
42502         [POSIX] (siginfo_t): Do not expect type or elements.
42503         [POSIX] (pid_t): Do not expect type.
42504         [POSIX] (signal.h): Do not allow header.
42505         [POSIX] (sys/resource.h): Likewise.
42506         [POSIX] (si_*): Do not allow pattern.
42507         [POSIX] (W*): Likewise.
42508         [POSIX] (P_*): Likewise.
42509         [POSIX] (BUS_*): Likewise.
42510         [POSIX] (CLD_*): Likewise.
42511         [POSIX] (FPE_*): Likewise.
42512         [POSIX] (ILL_*): Likewise.
42513         [POSIX] (POLL_*): Likewise.
42514         [POSIX] (SEGV_*): Likewise.
42515         [POSIX] (SI_*): Likewise.
42516         [POSIX] (TRAP_*): Likewise.
42517         * conform/Makefile (test-xfail-POSIX/sys/wait.h/conform): New
42518         variable.
42520 2014-10-14  Paul Pluzhnikov  <ppluzhnikov@google.com>
42522         [BZ #12926]
42523         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Avoid
42524         infinite loop when __recvmsg returns 0.
42526 2014-10-10  Joseph Myers  <joseph@codesourcery.com>
42528         * CANCEL-FCT-WAIVE: Remove file.
42529         * CANCEL-FILE-WAIVE: Likewise.
42531         [BZ #14132]
42532         * elf/dl-sysdep.c (__libc_enable_secure): Use rtld_hidden_data_def
42533         instead of INTVARDEF.
42534         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
42535         * sysdeps/mach/hurd/dl-sysdep.c (__libc_enable_secure): Use
42536         rtld_hidden_data_def instead of INTVARDEF.
42537         (_dl_sysdep_start): Do not use INTUSE with __libc_enable_secure.
42538         * elf/dl-deps.c (expand_dst): Likewise.
42539         * elf/dl-load.c (_dl_dst_count): Likewise.
42540         (_dl_dst_substitute): Likewise.
42541         (decompose_rpath): Likewise.
42542         (_dl_init_paths): Likewise.
42543         (open_path): Likewise.
42544         (_dl_map_object): Likewise.
42545         * elf/rtld.c (dl_main): Likewise.
42546         (process_dl_audit): Likewise.
42547         (process_envvars): Likewise.
42548         * include/unistd.h [IS_IN_rtld] (__libc_enable_secure_internal):
42549         Remove declaration.
42550         (__libc_enable_secure): Use rtld_hidden_proto.
42552 2014-10-09  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
42554         * elf/dl-load.c
42555         (add_path): New function broken out of _dl_rtld_di_serinfo.
42556         (_dl_rtld_di_serinfo): Remove that nested function.  Update call sites.
42558 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
42560         * soft-fp/double.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_D): Use
42561         parentheses around macro arguments.
42562         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_DP): Likewise.
42563         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_D): Likewise.
42564         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_DP): Likewise.
42565         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_D): Likewise.
42566         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_DP): Likewise.
42567         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_D): Likewise.
42568         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
42569         [_FP_W_TYPE_SIZE < 64] (FP_PACK_D): Likewise.
42570         [_FP_W_TYPE_SIZE < 64] (FP_PACK_DP): Likewise.
42571         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_D): Likewise.
42572         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_DP): Likewise.
42573         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_D): Likewise.
42574         [_FP_W_TYPE_SIZE < 64] (FP_CMP_D): Likewise.
42575         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_D): Likewise.
42576         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_D): Likewise.
42577         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_D): Likewise.
42578         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_D): Likewise.
42579         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_D): Likewise.
42580         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_DP): Likewise.
42581         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_D): Likewise.
42582         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_DP): Likewise.
42583         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_D): Likewise.
42584         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_DP): Likewise.
42585         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_D): Likewise.
42586         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_DP): Likewise.
42587         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_D): Likewise.
42588         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_DP): Likewise.
42589         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_D): Likewise.
42590         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_DP): Likewise.
42591         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_D): Likewise.
42592         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_D): Likewise.
42593         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_D): Likewise.
42594         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_D): Likewise.
42595         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_D): Likewise.
42596         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_D): Likewise.
42597         * soft-fp/extended.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_E):
42598         Likewise.
42599         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_EP): Likewise.
42600         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_E): Likewise.
42601         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
42602         [_FP_W_TYPE_SIZE < 64] (FP_PACK_E): Likewise.
42603         [_FP_W_TYPE_SIZE < 64] (FP_PACK_EP): Likewise.
42604         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_E): Likewise.
42605         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_EP): Likewise.
42606         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_E): Likewise.
42607         [_FP_W_TYPE_SIZE < 64] (FP_CMP_E): Likewise.
42608         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_E): Likewise.
42609         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_E): Likewise.
42610         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_E): Likewise.
42611         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_E): Likewise.
42612         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_E): Likewise.
42613         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_EP): Likewise.
42614         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_E): Likewise.
42615         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_EP): Likewise.
42616         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_E): Likewise.
42617         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_EP): Likewise.
42618         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_E): Likewise.
42619         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_EP): Likewise.
42620         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_E): Likewise.
42621         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_E): Likewise.
42622         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_E): Likewise.
42623         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_E): Likewise.
42624         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_E): Likewise.
42625         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_E): Likewise.
42626         * soft-fp/op-1.h (_FP_FRAC_SRST_1): Likewise.
42627         (_FP_FRAC_SRS_1): Likewise.
42628         (_FP_FRAC_CLZ_1): Likewise.
42629         (_FP_MUL_MEAT_1_imm): Likewise.
42630         (_FP_MUL_MEAT_1_wide): Likewise.
42631         (_FP_MUL_MEAT_1_hard): Likewise.
42632         (_FP_SQRT_MEAT_1): Likewise.
42633         (_FP_FRAC_ASSEMBLE_1): Likewise.
42634         (_FP_FRAC_DISASSEMBLE_1): Likewise.
42635         * soft-fp/op-2.h (_FP_FRAC_CLZ_2): Likewise.
42636         (__FP_CLZ_2): Likewise.
42637         (_FP_MUL_MEAT_2_wide): Likewise.
42638         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
42639         (_FP_MUL_MEAT_2_gmp): Likewise.
42640         (_FP_MUL_MEAT_2_120_240_double): Likewise.
42641         (_FP_SQRT_MEAT_2): Likewise.
42642         (_FP_FRAC_ASSEMBLE_2): Likewise.
42643         (_FP_FRAC_DISASSEMBLE_2): Likewise.
42644         * soft-fp/op-4.h (_FP_FRAC_SRS_4): Likewise.
42645         (_FP_FRAC_CLZ_4): Likewise.
42646         (_FP_MUL_MEAT_4_wide): Likewise.
42647         (_FP_MUL_MEAT_4_gmp): Likewise.
42648         (_FP_SQRT_MEAT_4): Likewise.
42649         (_FP_FRAC_ASSEMBLE_4): Likewise.
42650         (_FP_FRAC_DISASSEMBLE_4): Likewise.
42651         * soft-fp/op-common.h (_FP_CMP): Likewise.
42652         (_FP_CMP_EQ): Likewise.
42653         (_FP_CMP_UNORD): Likewise.
42654         (_FP_TO_INT): Likewise.
42655         (_FP_FROM_INT): Likewise.
42656         [!__FP_CLZ] (__FP_CLZ): Likewise.
42657         (_FP_DIV_HELP_imm): Likewise.
42658         * soft-fp/quad.h [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_Q):
42659         Likewise.
42660         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_RAW_QP): Likewise.
42661         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_Q): Likewise.
42662         [_FP_W_TYPE_SIZE < 64] (FP_PACK_RAW_QP): Likewise.
42663         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_Q): Likewise.
42664         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_QP): Likewise.
42665         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
42666         [_FP_W_TYPE_SIZE < 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
42667         [_FP_W_TYPE_SIZE < 64] (FP_PACK_Q): Likewise.
42668         [_FP_W_TYPE_SIZE < 64] (FP_PACK_QP): Likewise.
42669         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_Q): Likewise.
42670         [_FP_W_TYPE_SIZE < 64] (FP_PACK_SEMIRAW_QP): Likewise.
42671         [_FP_W_TYPE_SIZE < 64] (_FP_SQRT_MEAT_Q): Likewise.
42672         [_FP_W_TYPE_SIZE < 64] (FP_CMP_Q): Likewise.
42673         [_FP_W_TYPE_SIZE < 64] (FP_CMP_EQ_Q): Likewise.
42674         [_FP_W_TYPE_SIZE < 64] (FP_CMP_UNORD_Q): Likewise.
42675         [_FP_W_TYPE_SIZE < 64] (FP_TO_INT_Q): Likewise.
42676         [_FP_W_TYPE_SIZE < 64] (FP_FROM_INT_Q): Likewise.
42677         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_Q): Likewise.
42678         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_RAW_QP): Likewise.
42679         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_Q): Likewise.
42680         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_RAW_QP): Likewise.
42681         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_Q): Likewise.
42682         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_QP): Likewise.
42683         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_Q): Likewise.
42684         [_FP_W_TYPE_SIZE >= 64] (FP_UNPACK_SEMIRAW_QP): Likewise.
42685         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_Q): Likewise.
42686         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_QP): Likewise.
42687         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_Q): Likewise.
42688         [_FP_W_TYPE_SIZE >= 64] (FP_PACK_SEMIRAW_QP): Likewise.
42689         [_FP_W_TYPE_SIZE >= 64] (_FP_SQRT_MEAT_Q): Likewise.
42690         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_Q): Likewise.
42691         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_EQ_Q): Likewise.
42692         [_FP_W_TYPE_SIZE >= 64] (FP_CMP_UNORD_Q): Likewise.
42693         [_FP_W_TYPE_SIZE >= 64] (FP_TO_INT_Q): Likewise.
42694         [_FP_W_TYPE_SIZE >= 64] (FP_FROM_INT_Q): Likewise.
42695         * soft-fp/single.h (FP_UNPACK_RAW_S): Likewise.
42696         (FP_UNPACK_RAW_SP): Likewise.
42697         (FP_PACK_RAW_S): Likewise.
42698         (FP_PACK_RAW_SP): Likewise.
42699         (FP_UNPACK_S): Likewise.
42700         (FP_UNPACK_SP): Likewise.
42701         (FP_UNPACK_SEMIRAW_S): Likewise.
42702         (FP_UNPACK_SEMIRAW_SP): Likewise.
42703         (FP_PACK_S): Likewise.
42704         (FP_PACK_SP): Likewise.
42705         (FP_PACK_SEMIRAW_S): Likewise.
42706         (FP_PACK_SEMIRAW_SP): Likewise.
42707         (_FP_SQRT_MEAT_S): Likewise.
42708         (FP_CMP_S): Likewise.
42709         (FP_CMP_EQ_S): Likewise.
42710         (FP_CMP_UNORD_S): Likewise.
42711         (FP_TO_INT_S): Likewise.
42712         (FP_FROM_INT_S): Likewise.
42714         * soft-fp/op-common.h (_FP_TO_INT): Handle rsigned == 2.
42716         * soft-fp/soft-fp.h (FP_EX_INVALID_SNAN): New macro.
42717         (FP_EX_INVALID_IMZ): Likewise.
42718         (FP_EX_INVALID_IMZ_FMA): Likewise.
42719         (FP_EX_INVALID_ISI): Likewise.
42720         (FP_EX_INVALID_ZDZ): Likewise.
42721         (FP_EX_INVALID_IDI): Likewise.
42722         (FP_EX_INVALID_SQRT): Likewise.
42723         (FP_EX_INVALID_CVI): Likewise.
42724         (FP_EX_INVALID_VC): Likewise.
42725         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Specify more precise
42726         "invalid" exceptions.
42727         (_FP_CHECK_SIGNAN_SEMIRAW): Likewise.
42728         (_FP_ADD_INTERNAL): Likewise.
42729         (_FP_MUL): Likewise.
42730         (_FP_FMA): Likewise.
42731         (_FP_DIV): Likewise.
42732         (_FP_CMP_CHECK_NAN): Likewise.
42733         (_FP_SQRT): Likewise.
42734         (_FP_TO_INT): Likewise.
42735         (FP_EXTEND): Likewise.
42737 2014-10-09  Allan McRae  <allan@archlinux.org>
42739         * po/fr.po: Update French translation from translation project.
42741 2014-10-09  Joseph Myers  <joseph@codesourcery.com>
42743         [BZ #14132]
42744         * stdlib/cxa_atexit.c (__cxa_atexit): Use libc_hidden_def instead
42745         of INTDEF.
42746         * include/stdlib.h (__cxa_atexit_internal): Remove declaration.
42747         (__cxa_atexit): Use libc_hidden_proto.
42748         [!NOT_IN_libc] (__cxa_atexit): Remove macro definition.
42750         [BZ #14132]
42751         * include/wctype.h [!_ISOMAC] (__iswalpha_l_internal): Remove
42752         declaration.
42753         [!_ISOMAC] (__iswdigit_l_internal): Likewise.
42754         [!_ISOMAC] (__iswspace_l_internal): Likewise.
42755         [!_ISOMAC] (__iswxdigit_l_internal): Likewise.
42756         [!_ISOMAC] (__iswctype_internal): Likewise.
42757         * stdio-common/siglist.c (_sys_siglist_internal): Remove alias.
42758         * sysdeps/unix/syscalls.list (chown): Remove __chown_internal
42759         alias.
42760         (fcntl): Remove __fcntl_internal alias.
42761         * sysdeps/unix/sysv/linux/hppa/syscalls.list (connect): Remove
42762         __connect_internal alias.
42763         * sysdeps/unix/sysv/linux/sparc/sparc64/syscalls.list (connect):
42764         Likewise.
42766         * soft-fp/soft-fp.h (FP_DENORM_ZERO): New macro.
42767         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Check
42768         FP_DENORM_ZERO.
42769         (_FP_CHECK_FLUSH_ZERO): New macro.
42770         (_FP_ADD_INTERNAL): Call _FP_CHECK_FLUSH_ZERO.
42771         (_FP_CMP): Likewise.
42772         (_FP_CMP_EQ): Likewise.
42773         (_FP_TO_INT): Do not set inexact for subnormal arguments if
42774         FP_DENORM_ZERO.
42775         (FP_EXTEND): Call _FP_CHECK_FLUSH_ZERO.
42776         (FP_TRUNC): Likewise.
42778         * soft-fp/op-common.h (_FP_TO_INT): Ensure maximum exponent is
42779         treated as invalid conversion, not as normal exponent.
42781         * soft-fp/op-common.h (_FP_CMP_CHECK_NAN): New macro.
42782         (_FP_CMP): Add extra argument EX.  Call _FP_CMP_CHECK_NAN.
42783         (_FP_CMP_EQ): Likewise.
42784         (_FP_CMP_UNORD): Likewise.
42785         * soft-fp/double.h (FP_CMP_D): Add extra argument EX.
42786         (FP_CMP_EQ_D): Likewise.
42787         (FP_CMP_UNORD_D): Likewise.
42788         * soft-fp/extended.h (FP_CMP_E): Likewise.
42789         (FP_CMP_EQ_E): Likewise.
42790         (FP_CMP_UNORD_E): Likewise.
42791         * soft-fp/quad.h (FP_CMP_Q): Likewise.
42792         (FP_CMP_EQ_Q): Likewise.
42793         (FP_CMP_UNORD_Q): Likewise.
42794         * soft-fp/single.h (FP_CMP_S): Likewise.
42795         (FP_CMP_EQ_S): Likewise.
42796         (FP_CMP_UNORD_S): Likewise.
42797         * soft-fp/eqdf2.c (__eqdf2): Update call to FP_CMP_EQ_D.
42798         * soft-fp/eqsf2.c (__eqsf2): Update call to FP_CMP_EQ_S.
42799         * soft-fp/eqtf2.c (__eqtf2): Update call to FP_CMP_EQ_Q.
42800         * soft-fp/gedf2.c (__gedf2): Update call to FP_CMP_D.
42801         * soft-fp/gesf2.c (__gesf2): Update call to FP_CMP_S.
42802         * soft-fp/getf2.c (__getf2): Update call to FP_CMP_Q.
42803         * soft-fp/ledf2.c (__ledf2): Update call to FP_CMP_D.
42804         * soft-fp/lesf2.c (__lesf2): Update call to FP_CMP_S.
42805         * soft-fp/letf2.c (__letf2): Update call to FP_CMP_Q.
42806         * soft-fp/unorddf2.c (__unorddf2): Update call to FP_CMP_UNORD_D.
42807         * soft-fp/unordsf2.c (__unordsf2): Update call to FP_CMP_UNORD_S.
42808         * soft-fp/unordtf2.c (__unordtf2): Update call to FP_CMP_UNORD_Q.
42809         * sysdeps/alpha/soft-fp/ots_cmpe.c (internal_compare): Update call
42810         to FP_CMP_Q.
42811         * sysdeps/sparc/sparc32/soft-fp/q_cmp.c (_Q_cmp): Update call to
42812         FP_CMP_Q.
42813         * sysdeps/sparc/sparc32/soft-fp/q_cmpe.c (_Q_cmpe): Likewise.
42814         * sysdeps/sparc/sparc32/soft-fp/q_feq.c (_Q_feq): Update call to
42815         FP_CMP_EQ_Q.
42816         * sysdeps/sparc/sparc32/soft-fp/q_fge.c (_Q_fge): Update call to
42817         FP_CMP_Q.
42818         * sysdeps/sparc/sparc32/soft-fp/q_fgt.c (_Q_fgt): Likewise.
42819         * sysdeps/sparc/sparc32/soft-fp/q_fle.c (_Q_fle): Likewise.
42820         * sysdeps/sparc/sparc32/soft-fp/q_flt.c (_Q_flt): Likewise.
42821         * sysdeps/sparc/sparc32/soft-fp/q_fne.c (_Q_fne): Update call to
42822         FP_CMP_EQ_Q.
42823         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c (_Qp_cmp): Update call to
42824         FP_CMP_Q.
42825         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c (_Qp_cmpe): Likewise.
42826         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c (_Qp_feq): Update call to
42827         FP_CMP_EQ_Q.
42828         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c (_Qp_fge): Update call to
42829         FP_CMP_Q.
42830         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c (_Qp_fgt): Likewise.
42831         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c (_Qp_fle): Likewise.
42832         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c (_Qp_flt): Likewise.
42833         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c (_Qp_fne): Update call to
42834         FP_CMP_EQ_Q.
42836         * soft-fp/op-common.h (FP_EXTEND): When a subnormal input produces
42837         a subnormal result, set the underflow exception if trapping on
42838         underflow is enabled.
42839         * soft-fp/soft-fp.h (FP_INIT_TRAPPING_EXCEPTIONS): New macro.
42840         (FP_INIT_EXCEPTIONS): Default to FP_INIT_TRAPPING_EXCEPTIONS.
42841         [FP_NO_EXACT_UNDERFLOW] (FP_TRAPPING_EXCEPTIONS): Undefine and
42842         redefine to 0.
42843         * soft-fp/extenddftf2.c (FP_NO_EXACT_UNDERFLOW): Define.
42844         * soft-fp/extendsfdf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
42845         * soft-fp/extendsftf2.c (FP_NO_EXACT_UNDERFLOW): Likewise.
42846         * soft-fp/extendxftf2.c (__extendxftf2): Use
42847         FP_INIT_TRAPPING_EXCEPTIONS instead of FP_INIT_ROUNDMODE.
42849         * soft-fp/soft-fp.h (FP_CLEAR_EXCEPTIONS): Remove macro.
42850         * sysdeps/sparc/sparc32/soft-fp/q_itoq.c: Define FP_NO_EXCEPTIONS.
42851         (_Q_itoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
42852         FP_HANDLE_EXCEPTIONS.
42853         * sysdeps/sparc/sparc32/soft-fp/q_lltoq.c: Define FP_NO_EXCEPTIONS.
42854         (_Q_lltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
42855         FP_HANDLE_EXCEPTIONS.
42856         * sysdeps/sparc/sparc32/soft-fp/q_ulltoq.c: Define FP_NO_EXCEPTIONS.
42857         (_Q_ulltoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
42858         FP_HANDLE_EXCEPTIONS.
42859         * sysdeps/sparc/sparc32/soft-fp/q_utoq.c: Define FP_NO_EXCEPTIONS.
42860         (_Q_utoq): Do not use FP_DECL_EX, FP_CLEAR_EXCEPTIONS or
42861         FP_HANDLE_EXCEPTIONS.
42863 2014-10-08  Joseph Myers  <joseph@codesourcery.com>
42865         [BZ #14132]
42866         * sysdeps/unix/sysv/linux/include/sys/timex.h: New file.
42867         * sysdeps/unix/sysv/linux/adjtime.c [!ADJTIMEX] (ADJTIMEX): Do not
42868         use INTUSE.
42869         [!ADJTIMEX] (INTUSE(__adjtimex)): Remove declaration.
42870         * sysdeps/unix/sysv/linux/alpha/adjtime.c (__adjtimex_internal):
42871         Remove alias.
42872         (__adjtimex): Define using libc_hidden_ver.
42873         * sysdeps/unix/sysv/linux/ntp_gettime.c (INTUSE(__adjtimex)):
42874         Remove declaration.
42875         (ntp_gettime): Call __adjtimex directly.
42876         * sysdeps/unix/sysv/linux/ntp_gettimex.c (INTUSE(__adjtimex)):
42877         Remove declaration.
42878         (ntp_gettimex): Call __adjtimex directly.
42879         * sysdeps/unix/sysv/linux/syscalls.list (adjtimex): Remove
42880         __adjtimex_internal alias.
42882 2014-10-08  Roland McGrath  <roland@hack.frob.com>
42884         [BZ #17460]
42885         * nscd/nscd.c (more_help): Rewrite list of tables collection
42886         using xstrdup and asprintf.
42888         * nscd/nscd_conf.c: Remove local xstrdup declaration.
42890 2014-10-08  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
42891             Roland McGrath  <roland@hack.frob.com>
42893         * elf/dl-lookup.c (enter_unique_sym): New function, broken out of ...
42894         (do_lookup_unique): ... local function 'enter' here; update callers.
42896 2014-10-06  Joseph Myers  <joseph@codesourcery.com>
42898         * sysdeps/unix/make-syscalls.sh (emit_weak_aliases): Condition
42899         compat_symbol calls on [SHARED].
42900         * sysdeps/unix/sysv/linux/powerpc/lchown.S: Remove file.
42901         * sysdeps/unix/sysv/linux/i386/syscalls.list (oldsetrlimit):
42902         Remove.
42903         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
42904         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list
42905         (oldsetrlimit): Remove.
42906         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
42907         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
42908         (lchown): New syscall entry.
42909         (oldsetrlimit): Remove.
42910         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
42911         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list
42912         (oldsetrlimit): Remove.
42913         (setrlimit): Add setrlimit@GLIBC_2.0 alias.
42915         [BZ #14138]
42916         * sysdeps/unix/sysv/linux/arm/fchown.c: Remove file.
42917         * sysdeps/unix/sysv/linux/arm/lchown.c: Likewise.
42918         * sysdeps/unix/sysv/linux/m68k/fchown.c: Likewise.
42919         * sysdeps/unix/sysv/linux/m68k/lchown.c: Likewise.
42920         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
42921         * sysdeps/unix/sysv/linux/arm/syscalls.list (lchown): Add syscall.
42922         (fchown): Likewise.
42923         * sysdeps/unix/sysv/linux/m68k/syscalls.list (lchown): Likewise.
42924         (fchown): Likewise.
42925         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list (chown):
42926         Likewise.
42928 2014-10-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
42930         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Remove file.
42931         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c
42932         (pthread_spin_unlock): Use __ARCH_REL_INSTR instead of
42933         __lll_rel_instr and __ARCH_ACQ_INSTR instead of __lll_acq_instr.
42934         * sysdeps/unix/sysv/linux/powerpc/sem_post.c (__new_sem_post):
42935         Likewise.
42936         (__old_sem_post): Likewise.
42938 2014-10-06  Chris Metcalf  <cmetcalf@tilera.com>
42940         * sysdeps/unix/sysv/linux/tile/sysdep.h (INLINE_VSYSCALL): Define
42941         INLINE_VSYSCALL, INTERNAL_VSYSCALL, and
42942         HAVE_CLOCK_GETTIME_VSYSCALL macros.
42943         * sysdeps/unix/sysv/linux/tile/gettimeofday.c (__gettimeofday):
42944         Use INLINE_VSYSCALL macro.
42945         * sysdeps/unix/sysv/linux/tile/bits/libc-vdso: Add declaration of
42946         __vdso_clock_gettime.
42947         * sysdeps/unix/sysv/linux/tile/init-first.c
42948         (_libc_vdso_platform_setup): Set new __vdso_clock_gettime global.
42949         * sysdeps/unix/sysv/linux/tile/Versions (GLIBC_PRIVATE): Add
42950         __vdso_clock_gettime.
42952         * sysdeps/unix/sysv/linux/tile/clone.S (__clone): Fix code
42953         to set up frame more cleanly.
42955         * sysdeps/tile/memcmp.c: New file.
42957         * sysdeps/unix/sysv/linux/tile/sysconf.c: New file.
42959         * sysdeps/tile/tilegx/string-endian.h (STRSHIFT): New macro.
42960         * sysdeps/tile/tilegx/strcasestr.c: New file.
42961         * sysdeps/tile/tilegx/strnlen.c: New file.
42962         * sysdeps/tile/tilegx/strstr.c: New file.
42964         * sysdeps/tile/tilegx/string-endian.h (copy_byte): Optimize.
42966 2014-10-06  Arjun Shankar  <arjun.is@lostca.se>
42968         * nptl/tst-setuid3.c: Write errors to stdout.
42970 2014-10-01  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
42972         * elf/dl-deps.c
42973         (preload): New functions broken out of _dl_map_object_deps.
42974         (_dl_map_object_deps):  Remove a nested function. Update call sites.
42976 2014-10-01  Joseph Myers  <joseph@codesourcery.com>
42978         [BZ #14138]
42979         * sysdeps/unix/sysv/linux/execve.c: Remove file.
42980         * sysdeps/unix/sysv/linux/syscalls.list (execve): Add syscall.
42982 2014-10-01  Steve Ellcey  <sellcey@mips.com>
42984         * sysdeps/mips/strcmp.S: New.
42986 2014-09-30  Joseph Myers  <joseph@codesourcery.com>
42988         [BZ #14138]
42989         * sysdeps/unix/sysv/linux/syscalls.list (fchownat): New syscall.
42990         (linkat): Likewise.
42991         (mkdirat): Likewise.
42992         (readlinkat): Likewise.
42993         (renameat): Likewise.
42994         (symlinkat): Likewise.
42995         (unlinkat): Likewise.
42996         * sysdeps/unix/sysv/linux/fchownat.c: Remove file.
42997         * sysdeps/unix/sysv/linux/linkat.c: Likewise.
42998         * sysdeps/unix/sysv/linux/mkdirat.c: Likewise.
42999         * sysdeps/unix/sysv/linux/readlinkat.c: Likewise.
43000         * sysdeps/unix/sysv/linux/renameat.c: Likewise.
43001         * sysdeps/unix/sysv/linux/symlinkat.c: Likewise.
43002         * sysdeps/unix/sysv/linux/unlinkat.c: Likewise.
43004 2014-09-30  Will Newton  <will.newton@linaro.org>
43006         * math/math.h: Define long double math functions if
43007         _LIBC_TEST is defined.
43008         * stdlib/tst-strtod-round.c: Define _LIBC_TEST.
43010         * localedata/Makefile: Move assignment to tests-special
43011         into an ifdef testing run-built-tests.
43012         * timezone/Makefile: Likewise.
43014 2014-09-29  Joseph Myers  <joseph@codesourcery.com>
43016         * sysdeps/x86/Makefile ($(objpfx)tst-ld-sse-use.out): Run script
43017         with $(BASH) not $(SHELL).
43019 2014-09-29  Carlos O'Donell  <carlos@redhat.com>
43020             Matthew LeGendre  <legendre1@llnl.gov>
43022         [BZ #17411]
43023         * elf/dl-reloc.c (_dl_relocate_object): Allocate correct amount for
43024         l_reloc_result.
43026 2014-09-29  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
43028         * stdio-common/printf_fp.c
43029         (hack_digit): New function, broken out of ...
43030         (__printf_fp): ... local function here.  Update call sites.
43031         hack_digit now takes an additional parameter that is a pointer
43032         to a struct of the referenced locals.  Those locals moved inside
43033         the struct and references updated.
43035 2014-09-29  H.J. Lu  <hongjiu.lu@intel.com>
43037         * aclocal.m4: Require autoconf 2.69.
43038         * configure: Regenerated.
43039         * sysdeps/aarch64/configure: Likewise.
43040         * sysdeps/alpha/configure: Likewise.
43041         * sysdeps/arm/armv7/configure: Likewise.
43042         * sysdeps/arm/configure: Likewise.
43043         * sysdeps/ia64/configure: Likewise.
43044         * sysdeps/mach/configure: Likewise.
43045         * sysdeps/mips/configure: Likewise.
43046         * sysdeps/s390/configure: Likewise.
43047         * sysdeps/unix/sysv/linux/mips/configure: Likewise.
43048         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Likewise.
43050         * sysdeps/alpha/configure.ac: Avoid empty lines at the end of
43051         file.
43052         * sysdeps/ia64/configure.ac: Likewise.
43054 2014-09-26  Joseph Myers  <joseph@codesourcery.com>
43056         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Do not
43057         specify symbol version for ld.so.  Do not include entry for
43058         libpthread.
43059         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
43060         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
43061         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
43063         [BZ #14171]
43064         * Makeconfig [$(build-shared) = yes]
43065         ($(common-objpfx)soversions.mk): Don't handle SONAMEs specified in
43066         makefiles.
43067         [$(build-shared) = yes && $(soversions.mk-done) = t]
43068         ($(common-objpfx)gnu/lib-names.h): Remove rule.
43069         [$(build-shared) = yes && $(soversions.mk-done) = t]
43070         ($(common-objpfx)gnu/lib-names.stmp): Likewise.  Split and moved
43071         to Makerules.
43072         [$(build-shared) = yes && $(soversions.mk-done) = t]
43073         (before-compile): Don't append $(common-objpfx)gnu/lib-names.h
43074         here.
43075         [$(build-shared) = yes && $(soversions.mk-done) = t]
43076         (common-generated): Don't append gnu/lib-names.h and
43077         gnu/lib-names.stmp here.
43078         * Makerules [$(build-shared) = yes && $(soversions.mk-done) = t]
43079         (lib-names-h-abi): New variable.
43080         [$(build-shared) = yes && $(soversions.mk-done) = t]
43081         (lib-names-stmp-abi): Likewise.
43082         [$(build-shared) = yes && $(soversions.mk-done) = t &&
43083         abi-variants] (before-compile): Append
43084         $(common-objpfx)$(lib-names-h-abi).
43085         [$(build-shared) = yes && $(soversions.mk-done) = t &&
43086         abi-variants] (common-generated): Append gnu/lib-names.h.
43087         [$(build-shared) = yes && $(soversions.mk-done) = t &&
43088         abi-variants] (install-others-nosubdir): Depend on
43089         $(inst_includedir)/$(lib-names-h-abi).
43090         [$(build-shared) = yes && $(soversions.mk-done) = t &&
43091         abi-variants] ($(common-objpfx)gnu/lib-names.h): New rule.
43092         [$(build-shared) = yes && $(soversions.mk-done) = t]
43093         ($(common-objpfx)$(lib-names-h-abi)): New rule.
43094         [$(build-shared) = yes && $(soversions.mk-done) = t]
43095         ($(common-objpfx)$(lib-names-stmp-abi)): Likewise.
43096         [$(build-shared) = yes && $(soversions.mk-done) = t]
43097         (common-generated): Append $(lib-names-h-abi) and
43098         $(lib-names-stmp-abi).
43099         * scripts/lib-names.awk: Do not handle multi being set.
43100         * sysdeps/unix/sysv/linux/aarch64/Makefile (abi-lp64-ld-soname):
43101         Remove variable.
43102         (abi-lp64_be-ld-soname): Likewise.
43103         * sysdeps/unix/sysv/linux/arm/Makefile (abi-soft-ld-soname):
43104         Likewise.
43105         (abi-hard-ld-soname): Likewise.
43106         * sysdeps/unix/sysv/linux/i386/shlib-versions: New file.
43107         * sysdeps/unix/sysv/linux/mips/Makefile (abi-o32_soft-ld-soname):
43108         Remove variable.
43109         (abi-o32_hard-ld-soname): Likewise.
43110         (abi-o32_soft_2008-ld-soname): Likewise.
43111         (abi-o32_hard_2008-ld-soname): Likewise.
43112         (abi-n32_soft-ld-soname): Likewise.
43113         (abi-n32_hard-ld-soname): Likewise.
43114         (abi-n32_soft_2008-ld-soname): Likewise.
43115         (abi-n32_hard_2008-ld-soname): Likewise.
43116         (abi-n64_soft-ld-soname): Likewise.
43117         (abi-n64_hard-ld-soname): Likewise.
43118         (abi-n64_soft_2008-ld-soname): Likewise.
43119         (abi-n64_hard_2008-ld-soname): Likewise.
43120         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-64-v1-ld-soname):
43121         Likewise.
43122         (abi-64-v2-ld-soname): Likewise.
43123         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: Add
43124         ld.so entries.
43125         * sysdeps/unix/sysv/linux/s390/Makefile (abi-64-ld-soname): Remove
43126         variable.
43127         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Add ld.so
43128         entry.
43129         * sysdeps/unix/sysv/linux/x86/Makefile (abi-32-ld-soname): Remove
43130         variable.
43131         (abi-64-ld-soname): Likewise.
43132         (abi-x32-ld-soname): Likewise.
43133         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Add ld.so
43134         entry.
43135         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
43137 2014-09-23  Joseph Myers  <joseph@codesourcery.com>
43139         [BZ #14138]
43140         * sysdeps/unix/sysv/linux/arm/setrlimit.c: Remove file.
43141         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Likewise.
43142         * sysdeps/unix/sysv/linux/m68k/setrlimit.c: Likewise.
43143         * sysdeps/unix/sysv/linux/powerpc/setrlimit.c: Likewise.
43144         * sysdeps/unix/sysv/linux/s390/s390-32/setrlimit.c: Likewise.
43145         * sysdeps/unix/sysv/linux/sh/setrlimit.c: Likewise.
43146         * sysdeps/unix/sysv/linux/i386/syscalls.list (setrlimit): Add
43147         syscall entry for GLIBC_2.2 symbol version.
43148         * sysdeps/unix/sysv/linux/m68k/m680x0/syscalls.list (setrlimit):
43149         Likewise.
43150         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list
43151         (setrlimit): Likewise.
43152         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list (setrlimit):
43153         Likewise.
43155 2014-09-23  Will Newton  <will.newton@linaro.org>
43157         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h: Check for
43158         _LINUX_ARM_SYSDEP_H include guard too.
43159         * sysdeps/unix/sysv/linux/arm/sysdep.h (_SYS_AUXV_H): Remove
43160         define.
43162 2014-09-20  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
43164         * sysdeps/unix/sysv/linux/eventfd.c:
43165         Make first argument unsigned.
43166         * sysdeps/unix/sysv/linux/hppa/sys/eventfd.h: Likewise.
43167         * sysdeps/unix/sysv/linux/sys/eventfd.h: Likewise.
43169 2014-09-20  Ondřej Bílka  <neleai@seznam.cz>
43171         [BZ #16852]
43172         * socket/recvmmsg.c (recvmmsg): Drop const argument.
43173         * socket/sys/socket.h: Likewise.
43174         * sysdeps/unix/sysv/linux/recvmmsg.c: Likewise.
43176 2014-09-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
43178         * stdlib/longlong.h: Add __udiv_w_sdiv prototype.
43180 2014-09-17  Arjun Shankar  <arjun.is@lostca.se>
43182         * time/tst-ftime.c: New test.
43183         * time/Makefile (tests): Add tst-ftime.
43185 2014-09-17  Joseph Myers  <joseph@codesourcery.com>
43187         * soft-fp/extended.h: Fix comment formatting.
43188         * soft-fp/op-1.h: Likewise.
43189         * soft-fp/op-2.h: Likewise.
43190         * soft-fp/op-4.h: Likewise.
43191         * soft-fp/op-8.h: Likewise.
43192         * soft-fp/op-common.h: Likewise.
43193         * soft-fp/soft-fp.h: Likewise.
43195         * soft-fp/op-common.h (_FP_TO_INT): Correct formatting.
43197 2014-09-16  Joseph Myers  <joseph@codesourcery.com>
43199         [BZ #6652]
43200         * Makeconfig (soversions-default-setname): Remove variable.
43201         ($(common-objpfx)soversions.i): Don't pass default_setname to
43202         soversions.awk.
43203         * Makerules ($(common-objpfx)abi-versions.h): Don't pass
43204         oldest_abi to abi-versions.awk.
43205         * config.h.in (GLIBC_OLDEST_ABI): Remove macro undefine.
43206         * config.make.in (oldest-abi): Remove variable.
43207         * configure.ac (--enable-oldest-abi): Remove configure option.
43208         * configure: Regenerated.
43209         * csu/version.c (banner) [GLIBC_OLDEST_ABI]: Remove conditional
43210         text.
43211         * scripts/abi-versions.awk: Do not handle oldest_abi variable.
43212         * scripts/soversions.awk: Do not handle default_setname variable.
43213         * sysdeps/mach/hurd/configure.ac: Do not handle oldest_abi
43214         variable.
43215         * sysdeps/mach/hurd/configure: Regenerated.
43216         * sysdeps/unix/sysv/linux/configure.ac: Do not handle oldest_abi
43217         variable.
43218         * sysdeps/unix/sysv/linux/configure: Regenerated.
43220 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
43222         * elf/Makefile (CFLAGS-interp.c): Remove.
43223         ($(elf-objpfx)runtime-linker.h): Generate header with linker
43224         path string.
43225         * elf/interp.c: Include generated runtime-linker.h
43227         * Makerules (lib%.so): Don't include $(+interp) in
43228         prerequisites.
43229         * elf/Makefile (CFLAGS-interp.c): Don't define NOT_IN_libc.
43230         * dlfcn/eval.c: Remove file.
43232         * posix/getconf.c (vars): Don't check for _[SP]C_* and _CS
43233         macros.
43235         [BZ #17266]
43236         * misc/sys/cdefs.h: Define __extern_always_inline for clang
43237         4.2 and newer.
43239         [BZ #17370]
43240         * libio/wfileops.c (do_ftell_wide): Free OUT on error path.
43242 2014-09-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
43243             Jakub Jelinek  <jakub@redhat.com>
43245         [BZ #17266]
43246         * libio/stdio.h: Check definition of __fortify_function
43247         instead of __extern_always_inline to include bits/stdio2.h.
43248         * math/bits/math-finite.h [__USE_XOPEN || __USE_ISOC99]: Also
43249         check if __extern_always_inline is defined.
43250         [__USE_MISC || __USE_XOPEN]: Likewise.
43251         [__USE_ISOC99] Likewise.
43252         * misc/sys/cdefs.h (__fortify_function): Define only if
43253         __extern_always_inline is defined.
43254         [!__cplusplus || __GNUC_PREREQ (4,3)]: Revert to defining
43255         __extern_always_inline and __extern_inline only for g++-4.3
43256         and newer or a compatible gcc.
43258 2014-09-15  Andreas Schwab  <schwab@linux-m68k.org>
43260         [BZ #17371]
43261         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
43262         last change to handle zero prefix length.
43264 2014-09-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
43266         * sysdeps/posix/sysconf.c (__sysconf): Return -1 for
43267         _SC_REGEX_VERSION.
43269         * posix/getconf.c (vars): Add _POSIX_IPV6 and
43270         _POSIX_RAW_SOCKETS.
43272 2014-09-13  Allan McRae  <allan@archlinux.org>
43274         * po/ru.po: Update Russian translation from translation project.
43276 2014-09-12  Roland McGrath  <roland@hack.frob.com>
43278         * locale/programs/locale.c (show_locale_vars): Inline local function
43279         into its sole call site.  Clean up some style nits.
43280         (print_item): New function, broken out of ...
43281         (show_info): ... local function here.  Clean up style nits.
43283         * locale/programs/ld-ctype.c (set_one_default): New function, broken
43284         out of ...
43285         (set_class_defaults): ... local function set_default here.
43286         Define set_default as a macro locally to pass constant parameters.
43287         (allocate_arrays, set_class_defaults): Use C99 for scope for each CNT,
43288         rather than a shared local.
43290         * stdlib/rpmatch.c (try): New function, broken out of ...
43291         (rpmatch): ... local function here.  Also, prototypify definition.
43293 2014-09-12  Joseph Myers  <joseph@codesourcery.com>
43295         * scripts/soversions.awk: Do not handle configuration names.
43296         * Makeconfig ($(common-objpfx)soversions.i): Do not pass cpu,
43297         vendor and os variables to soversions.awk.
43298         * configure.ac: Do not modify gnu-* host_os.
43299         * configure: Regenerated
43300         * shlib-versions: Remove first column with configuration names.
43301         * nptl/shlib-versions: Likewise.
43302         * nptl_db/shlib-versions: Likewise.
43303         * sysdeps/hppa/shlib-versions: Likewise.
43304         * sysdeps/m68k/shlib-versions: Likewise.
43305         * sysdeps/mach/hurd/shlib-versions: Likewise.
43306         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: Likewise.
43307         * sysdeps/unix/sysv/linux/alpha/shlib-versions: Likewise.
43308         * sysdeps/unix/sysv/linux/arm/shlib-versions: Likewise.
43309         * sysdeps/unix/sysv/linux/hppa/shlib-versions: Likewise.
43310         * sysdeps/unix/sysv/linux/ia64/shlib-versions: Likewise.
43311         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: Likewise.
43312         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: Likewise.
43313         * sysdeps/unix/sysv/linux/mips/shlib-versions: Likewise.
43314         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
43315         Likewise.
43316         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
43317         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
43318         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
43319         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
43320         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
43321         * sysdeps/unix/sysv/linux/tile/shlib-versions: Likewise.
43322         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Likewise.
43323         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Likewise.
43325         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
43326         (HAVE_ELFV2_ABI): AC_DEFINE in ELFv2 case.
43327         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
43328         Regenerated.
43329         * config.h.in (HAVE_ELFV2_ABI): New macro undefine.
43330         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions:
43331         Condition symbol version definitions on [HAVE_ELFV2_ABI].
43333         * shlib-versions: Remove OS-specific entries.  Moved to files in
43334         sysdeps.
43335         * sysdeps/mach/hurd/shlib-versions: New file.
43336         * sysdeps/unix/sysv/linux/shlib-versions: Likewise.
43338         * nptl/shlib-versions: Remove architecture-specific entries.
43339         Moved to files in sysdeps.
43340         * shlib-versions: Likewise.
43341         * sysdeps/unix/sysv/linux/powerpc/powerpc64/shlib-versions: New
43342         file.
43343         * sysdeps/unix/sysv/linux/s390/s390-64/shlib-versions: Likewise.
43344         * sysdeps/unix/sysv/linux/sh/shlib-versions: Likewise.
43345         * sysdeps/unix/sysv/linux/sparc/sparc32/shlib-versions: Likewise.
43346         * sysdeps/unix/sysv/linux/sparc/sparc64/shlib-versions: Likewise.
43348         * sysdeps/gnu/netinet/udp.h (UDP_NO_CHECK6_TX): New macro.
43349         (UDP_NO_CHECK6_RX): Likewise.
43351 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
43353         * sysdeps/posix/sysconf.c (__sysconf): Spell
43354         _POSIX_DEVICE_SPECIFIC and _POSIX_DEVICE_SPECIFIC_R correctly.
43356 2014-08-12  Florian Weimer  <fweimer@redhat.com>
43358         * iconv/gconv_open.c (__gconv_open): Remove transliteration module
43359         loading.
43360         * iconv/Versions (__gconv_transliterate): Export for use from
43361         gconv modules.
43362         * iconv/gconv.h (__GCONV_TRANSLIT): New flag.
43363         (struct __gconv_trans_data, __gconv_trans_fct,
43364         __gconv_trans_context_fct, __gconv_trans_query_fct,
43365         __gconv_trans_init_fct, __gconv_trans_end_fct): Remove type
43366         definitions.
43367         (struct __gconv_step_data): Remove __trans member.
43368         (__gconv_transliterate): Declaration moved from gconv_int.h.  No
43369         longer hidden.  Remove unused trans_data argument.
43370         * iconv/gconv_int.h (struct trans_struct): Remove definition.
43371         (__gconv_translit_find): Remove declaration.
43372         (__gconv_transliterate): Declaration moved to gconv.h.  Add hidden
43373         prototype.
43374         * iconv/gconv_close.c (__gconv_close): Remove __trans cleanup.
43375         * iconv/gconv_trans.c (__gconv_transliterate): Remove unused
43376         trans_data argument.  Add hidden definition.
43377         (__gconv_translit_find): Remove.
43378         * iconv/loop.c (STANDARD_TO_LOOP_ERR_HANDLER): Call
43379         __gconv_transliterate directly if __GCONV_TRANSLIT is set.
43380         * iconv/skeleton.c: Remove transliteration initialization.
43381         * libio/fileops.c (_IO_new_file_fopen): Adjust struct
43382         __gconv_step_data initialization.
43383         * libio/iofwide.c (__libio_translit_): Remove.
43384         (_IO_fwide): Adjust struct __gconv_step_data initialization.
43385         * wcsmbs/btowc.c (__btowc): Likewise.
43386         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
43387         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
43388         * wcsmbs/mbsnrtowcs.c (__mbsnrtowcs): Likewise.
43389         * wcsmbs/mbsrtowcs_l.c (__mbsrtowcs_l): Likewise.
43390         * wcsmbs/wcrtomb.c (__wcrtomb): Likewise.
43391         * wcsmbs/wcsnrtombs.c (__wcsnrtombs): Likewise.
43392         * wcsmbs/wcsrtombs.c (__wcsrtombs): Likewise.
43393         * wcsmbs/wctob.c (wctob): Likewise.
43395 2014-09-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
43397         [BZ #16194]
43398         * sysdeps/x86/tst-xmmymm.sh: Rename file to...
43399         * sysdeps/x86/tst-ld-sse-use.sh: ... this.  Check for zmm
43400         register usage.
43401         * sysdeps/x86/Makefile: Adjust.
43403 2014-09-11  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
43404             Roland McGrath  <roland@hack.frob.com>
43406         * locale/weight.h: Add include guard.
43407         (findidx): Make static rather than auto; take new parameters
43408         TABLE, INDIRECT, and EXTRA instead of getting them as outer locals.
43409         * locale/weightwc.h: Likewise.
43410         * posix/fnmatch_loop.c
43411         (FCT): Change type of EXTRA from int32_t to wint_t.
43412         Don't include either header inside the function.
43413         Call FINDIDX rather than findidx, and pass new arguments.
43414         #undef FINDIDX at the end of the file.
43415         * posix/fnmatch.c [_LIBC]: #include <locale/weight.h> and define
43416         FINDIDX before including fnmatch_loop.c for the non-wide version.
43417         [_LIBC] [HANDLE_MULTIBYTE]: #define findidx to findidxwc around
43418         #include <locale/weightwc.h>, and define FINDIDX to findidxwc
43419         for the wide version.
43420         * posix/regcomp.c [_LIBC]: #include <locale/weight.h>.
43421         (build_equiv_class) [_LIBC]: Don't #include it inside the function.
43422         Pass new arguments to findidx.
43423         * posix/regexec.c [RE_ENABLE_I18N] [_LIBC]: #include <locale/weight.h>.
43424         [RE_ENABLE_I18N] (check_node_accept_bytes) [_LIBC]:
43425         Don't #include it inside the function.  Pass new arguments to findidx.
43426         * posix/regex_internal.h
43427         [!NOT_IN_libc] [_LIBC]: #include <locale/weight.h>.
43428         (re_string_elem_size_at): Don't #include it inside the function.
43429         Pass new arguments to findidx.
43430         * string/strcoll_l.c: #include WEIGHT_H at top level.
43431         (get_next_seq): Don't #include it inside the function.
43432         Pass new arguments to findidx.
43433         (get_next_seq_nocache): Likewise.
43434         * string/strxfrm_l.c: #include WEIGHT_H at top level.
43435         (STRXFRM): Don't #include it inside the function.
43436         Pass new arguments to findidx.
43438 2014-09-11  Florian Weimer  <fweimer@redhat.com>
43440         [BZ #17344]
43441         * malloc/malloc.c (unlink): Turn asserts into a call to
43442         malloc_printerr.
43444 2014-09-11  Tim Lammens  <tim.lammens@gmail.com>
43446         [BZ #17370]
43447         * libio/wfileops (do_ftell_wide): Free OUT.
43449 2014-09-10  Chris Metcalf  <cmetcalf@tilera.com>
43451         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Remove file.
43453 2014-09-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
43455         [BZ #17363]
43456         * inet/getnetgrent_r.c (__internal_getnetgrent_r): Try next
43457         group if the current group is empty.
43459 2014-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43461         * benchtests/bench-memset.c (test_main): Add more test from size
43462         from 32 to 512 bytes.
43463         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
43464         Add POWER8 memset object.
43465         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
43466         (__libc_ifunc_impl_list): Add POWER8 memset and bzero implementations.
43467         * sysdeps/powerpc/powerpc64/multiarch/bzero.c (__bzero): Add POWER8
43468         implementation.
43469         * sysdeps/powerpc/powerpc64/multiarch/memset.c (__libc_memset):
43470         Likewise.
43471         * sysdeps/powerpc/powerpc64/multiarch/memset-power8.S: New file:
43472         multiarch POWER8 memset optimization.
43473         * sysdeps/powerpc/powerpc64/power8/memset.S: New file: optimized
43474         POWER8 memset optimization.
43476         * sysdeps/powerpc/powerpc64/multiarch/Makefile [sysdep_routines]:
43477         Remove bzero multiarch objects.
43478         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: Remove file.
43479         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: Likewise.
43480         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: Likewise.
43481         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S [NO_BZERO_IMPL]:
43482         Remove define.
43483         [__bzero]: Redefine to specific name.
43484         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: Likewise.
43485         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: Likewise.
43486         * sysdeps/powerpc/powerpc64/power4/memset.S [NO_BZERO_IMPL]: Remove
43487         define.
43488         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
43489         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
43491 2014-09-10  Florian Weimer  <fweimer@redhat.com>
43493         * Makeconfig (gccwarn-c): Turn implicit-function-declaration
43494         warnings into errors.
43496         * stdlib/tst-tls-atexit-lib.c: Include <stdlib.h>, for the
43497         __cxa_thread_atexit_impl prototype.
43499 2014-09-09  Steve Ellcey  <sellcey@mips.com>
43501         * sysdeps/mips/preconfigure: Put code inside mips* case statement.
43502         Fix capitalization of error message.
43504 2014-09-09  Steve Ellcey  <sellcey@mips.com>
43506         * sysdeps/mips/preconfigure: Modify ABI tests.
43508 2014-09-07  Carlos O'Donell  <carlos@systemhalted.org>
43510         * sysdeps/unix/sysv/linux/hppa/c++-types.data: New file.
43512 2014-09-07  Roland McGrath  <roland@hack.frob.com>
43513             Carlos O'Donell  <carlos@systemhalted.org>
43515         * sysdeps/unix/sysv/linux/hppa/nptl/libc-lowlevellock.c: File removed.
43516         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Moved ...
43517         * sysdeps/unix/sysv/linux/hppa/lowlevellock.h: ... here.
43518         * sysdeps/unix/sysv/linux/hppa/nptl/pt-vfork.S: Moved ...
43519         * sysdeps/unix/sysv/linux/hppa/pt-vfork.S: ... here.
43520         * sysdeps/unix/sysv/linux/hppa/nptl/pthread.h: Moved ...
43521         * sysdeps/unix/sysv/linux/hppa/pthread.h: ... here.
43522         * sysdeps/unix/sysv/linux/hppa/nptl/pthreadP.h: Moved ...
43523         * sysdeps/unix/sysv/linux/hppa/pthreadP.h: ... here.
43524         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_broadcast.c: Moved ...
43525         * sysdeps/unix/sysv/linux/hppa/pthread_cond_broadcast.c: ... here.
43526         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_destroy.c: Moved ...
43527         * sysdeps/unix/sysv/linux/hppa/pthread_cond_destroy.c: ... here.
43528         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_init.c: Moved ...
43529         * sysdeps/unix/sysv/linux/hppa/pthread_cond_init.c: ... here.
43530         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_signal.c: Moved ...
43531         * sysdeps/unix/sysv/linux/hppa/pthread_cond_signal.c: ... here.
43532         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_timedwait.c: Moved ...
43533         * sysdeps/unix/sysv/linux/hppa/pthread_cond_timedwait.c: ... here.
43534         * sysdeps/unix/sysv/linux/hppa/nptl/pthread_cond_wait.c: Moved ...
43535         * sysdeps/unix/sysv/linux/hppa/pthread_cond_wait.c: ... here.
43536         * sysdeps/unix/sysv/linux/hppa/nptl/sysdep-cancel.h: Moved ...
43537         * sysdeps/unix/sysv/linux/hppa/sysdep-cancel.h: ... here.
43538         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h: Moved ...
43539         * sysdeps/hppa/nptl/bits/pthreadtypes.h: ... here.
43540         * sysdeps/unix/sysv/linux/hppa/nptl/bits/semaphore.h: Moved ...
43541         * sysdeps/hppa/nptl/bits/semaphore.h: ... here.
43542         * sysdeps/unix/sysv/linux/hppa/clone.S: Include <tcb-offsets.h>.
43543         Deconditionalize the code that was previously under [RESET_PID].
43544         * sysdeps/unix/sysv/linux/hppa/nptl/clone.S: File removed.
43545         * sysdeps/unix/sysv/linux/hppa/arch-fork.h: New file.
43546         * sysdeps/unix/sysv/linux/hppa/nptl/fork.c: File removed.
43547         * sysdeps/hppa/nptl/tcb-offsets.sym: Include pthread.h and don't
43548         include sysdep.h.
43550 2014-09-08  Allan McRae  <allan@archlinux.org>
43552         * version.h (RELEASE): Set to "development".
43553         (VERSION): Set to "2.20.90"
43555 2014-09-07  Allan McRae  <allan@archlinux.org
43557         * version.h (RELEASE): Set to "stable".
43558         (VERSION): Set to "2.20"
43559         * include/features.h (__GLIBC_MINOR__): Set to 20.
43561         * manual/contrib.texi: Add entries for Wilco Dijkstra and Stefan
43562         Liebler.
43564         * po/ko.po: Update Korean translation from translation project.
43566 2014-09-06  Chris Metcalf  <cmetcalf@tilera.com>
43568         [BZ #17354]
43569         * sysdeps/tile/dl-machine.h (elf_machine_rela): Add a MUNGE_SIGNED
43570         macro for handling signed relocations.
43572 2014-09-03  Florian Weimer  <fweimer@redhat.com>
43574         [BZ #17325]
43575         * iconvdata/ibm1364.c (BODY): Fix check for sentinel.
43576         * iconvdata/ibm932.c (BODY): Replace invalid sentinel check with
43577         assert.
43578         * iconvdata/ibm933.c (BODY): Fix check for sentinel.
43579         * iconvdata/ibm935.c (BODY): Likewise.
43580         * iconvdata/ibm937.c (BODY): Likewise.
43581         * iconvdata/ibm939.c (BODY): Likewise.
43582         * iconvdata/ibm943.c (BODY): Replace invalid sentinel check with
43583         assert.
43584         * iconvdata/Makefile (iconv-test.out): Pass module list to test
43585         script.
43586         * iconvdata/run-iconv-test.sh: New test loop for checking for
43587         decoder crashers.
43589 2014-09-02  Khem Raj  <raj.khem@gmail.com>
43591         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c (fegetenv): Add
43592         libm_hidden_ver.
43594 2014-09-01  Allan McRae  <allan@archlinux.org>
43596         * po/eo.po: Update Esperanto translation from translation project.
43598         * po/ca.po: Update Catalan translation from translation project.
43600 2014-08-28  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43602         * sysdeps/mach/hurd/fork.c (__fork): Lock SS->lock around
43603         __proc_dostop call.
43605 2014-08-27  Mark Wielaard  <mjw@redhat.com>
43607         [BZ #17319]
43608         * sysdeps/i386/nptl/tls.h (TLS_INIT_TP): Use INTERNAL_SYSCALL
43609         to call set_thread_area instead of hand written asm.
43610         (__NR_set_thread_area): Removed define.
43611         (TLS_FLAG_WRITABLE): Likewise.
43612         (__ASSUME_SET_THREAD_AREA): Remove check.
43613         (TLS_EBX_ARG): Remove define.
43614         (TLS_LOAD_EBX): Likewise.
43616 2014-08-27  Samuel Thibault  <samuel.thibault@ens-lyon.org>
43618         Simplify atomicity of socket creation in bind.
43620         * sysdeps/mach/hurd/bind.c (__bind): Use dir_lookup(node, "") instead of
43621         looking up the name after linking the file.
43623 2014-08-27  Allan McRae  <allan@archlinux.org>
43625         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
43627 2014-08-26  Florian Weimer  <fweimer@redhat.com>
43629         [BZ #17187]
43630         * iconv/gconv_trans.c (struct known_trans, search_tree, lock,
43631         trans_compare, open_translit, __gconv_translit_find):
43632         Remove module loading code.
43634 2014-08-26  Allan McRae  <allan@archlinux.org>
43636         * po/vi.po: Update Vietnamese translation from translation project.
43638         * po/uk.po: Update Ukrainian translation from translation project.
43640         * po/fr.po: Update French translation from translation project.
43642         * po/ru.po: Update Russian translation from translation project.
43644         * po/pl.po: Update Polish translation from translation project.
43646         * po/cs.po: Update Czech translation from translation project.
43648         * po/de.po: Update German translation from translation project.
43650         * po/bg.po: Update Bulgarian translation from translation project.
43652         * po/sv.po: Update Sweedish translation from translation project.
43654         * po/nl.po: Update Dutch translation from translation project.
43656         * po/es.po: Update Spanish translation from translation project.
43658 2014-08-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
43660         * nptl/Makefile (CFLAGS-pthread_atfork.c): Remove.
43662         * catgets/Makefile (CPPFLAGS-gencat): Remove.
43663         * iconv/Makefile (CPPFLAGS-iconv_prog): Likewise.
43664         (CPPFLAGS-iconvconfig): Likewise.
43665         * timezone/Makefile (CPPFLAGS-zic): Likewise.
43667         * include/libc-symbols.h: Remove unnecessary check for
43668         NOT_IN_libc.
43669         * nptl/pthreadP.h: Likewise.
43670         * sysdeps/aarch64/setjmp.S: Likewise.
43671         * sysdeps/alpha/setjmp.S: Likewise.
43672         * sysdeps/arm/sysdep.h: Likewise.
43673         * sysdeps/i386/setjmp.S: Likewise.
43674         * sysdeps/m68k/setjmp.c: Likewise.
43675         * sysdeps/posix/getcwd.c: Likewise.
43676         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
43677         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise.
43678         * sysdeps/s390/s390-32/setjmp.S: Likewise.
43679         * sysdeps/s390/s390-64/setjmp.S: Likewise.
43680         * sysdeps/sh/sh3/setjmp.S: Likewise.
43681         * sysdeps/sh/sh4/setjmp.S: Likewise.
43682         * sysdeps/unix/alpha/sysdep.h: Likewise.
43683         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Likewise.
43684         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
43685         * sysdeps/unix/sysv/linux/ia64/setjmp.S: Likewise.
43686         * sysdeps/unix/sysv/linux/ia64/sysdep.h: Likewise.
43687         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
43688         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
43689         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
43690         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
43691         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
43692         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
43693         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
43694         * sysdeps/unix/sysv/linux/tile/sysdep.h: Likewise.
43695         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
43696         * sysdeps/x86_64/setjmp.S: Likewise.
43698 2014-08-13  Joseph Myers  <joseph@codesourcery.com>
43700         [BZ #17263]
43701         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Include
43702         <stdint.h>.
43703         (__get_clockfreq): Use uint64_t instead of hp_timing_t in
43704         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK call.
43706 2014-08-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
43708         * sysdeps/x86/fpu/bits/mathinline.h: Fix typo in comment.
43710         [BZ #17262]
43711         * sysdeps/x86/fpu/bits/mathinline.h: Check both __SSE2_MATH__
43712         and __x86_64__ when disabling x87 inline functions.
43714 2014-08-12  H.J. Lu  <hongjiu.lu@intel.com>
43716         [BZ #17259]
43717         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Replace cpuid
43718         asm statement with __cpuid_count.
43720 2014-08-12  Mike Frysinger  <vapier@gentoo.org>
43722         * configure.ac: Change __ehdr_start code to dereference the struct.
43723         Run readelf on the output to look for relocations.
43724         * configure: Regenerated.
43726 2014-08-12  Joseph Myers  <joseph@codesourcery.com>
43728         [BZ #17261]
43729         * sysdeps/powerpc/nofpu/fenv_const.c (__fe_enabled_env): Change
43730         value to 0.
43731         (__fe_nonieee_env): Define as an alias for __fe_dfl_env.
43733 2014-08-12  Roland McGrath  <roland@hack.frob.com>
43735         * NEWS: Mention x86-64 ld.so use of Intel MPX instructions.
43737 2014-08-12  Bernard Ogden  <bernie.ogden@linaro.org>
43739         [BZ #16892]
43740         * sysdeps/nptl/lowlevellock.h (__lll_timedlock): Use
43741         atomic_compare_and_exchange_bool_acq rather than atomic_exchange_acq.
43743 2014-08-12  Sean Anderson  <seanga2@gmail.com>
43745         * malloc/malloc.c: Fix typo in comment.
43747 2014-08-09  Allan McRae  <allan@archlinux.org>
43749         * Regenerate libc.po.
43751 2014-08-08  Mike Frysinger  <vapier@gentoo.org>
43753         * intl/tst-gettext2.sh: Check every lang file for creation.
43755 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
43757         * sysdeps/aarch64/fpu/math_private.h
43758         (libc_feholdsetround_noex_aarch64_ctx): New function.
43760 2014-08-07  Wilco Dijkstra  <wdijkstr@arm.com>
43762         * sysdeps/arm/armv6/strcpy.S (strcpy):
43763         Fix performance issue in misaligned cases.
43765 2014-08-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
43767         * sysdeps/unix/sysv/linux/powerpc/bits/ioctl-types.h (struct winsize):
43768         Move definition from termios.h.
43769         (struct termio): Likewise.
43770         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
43771         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
43772         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
43773         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
43774         Likewise.
43775         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h (struct winsize):
43776         Move definition to ioctl-types.h
43777         (struct termio): Likewise.
43778         (NCC, TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
43779         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI, N_TTY, N_SLIP,
43780         N_MOUSE, N_PPP, N_STRIP, N_AX25, N_X25, N_6PACK, N_MASC, N_R3964,
43781         N_PROFIBUS_FDL, N_IRDA, N_SMSBLOCK, N_HDLC, N_SYNC_PPP, N_HCI):
43782         Likewise.
43784 2014-08-05  Richard Henderson  <rth@redhat.com>
43786         * sysdeps/alpha/soft-fp/ots_cvtxq.c (_OtsCvtXQ): Always raise
43787         exceptions.
43788         * sysdeps/alpha/soft-fp/Makefile [soft-fp] (sysdep_routines):
43789         Add fraiseexcpt.
43790         * sysdeps/alpha/soft-fp/sfp-machine.h (FP_HANDLE_EXCEPTIONS):
43791         Use __feraiseexcept.
43792         * sysdeps/unix/sysv/linux/alpha/fraiseexcpt.S (feraiseexcept):
43793         Protect libm symbols with IS_IN_libm.
43795         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Remove file.
43797 2014-08-04  Bernard Ogden  <bernie.ogden@linaro.org>
43799         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Remove file.
43801 2014-08-04  Will Newton  <will.newton@linaro.org>
43803         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Remove
43804         file.
43806 2014-08-04  Mike Frysinger  <vapier@gentoo.org>
43808         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h (PSEUDO): Add nocancel
43809         variants for each function.
43811 2014-08-04  Roland McGrath  <roland@hack.frob.com>
43813         * sysdeps/unix/sysv/linux/ia64/nptl/Makefile: File removed, contents
43814         appended ...
43815         * sysdeps/unix/sysv/linux/ia64/Makefile: ... here.
43816         * sysdeps/unix/sysv/linux/ia64/nptl/Versions: File removed, contents
43817         appended ...
43818         * sysdeps/unix/sysv/linux/ia64/Versions: ... here.
43819         * sysdeps/unix/sysv/linux/ia64/nptl/__ia64_longjmp.S: Moved ...
43820         * sysdeps/unix/sysv/linux/ia64/__ia64_longjmp.S: ... here.
43821         * sysdeps/unix/sysv/linux/ia64/nptl/__sigstack_longjmp.c: Moved ...
43822         * sysdeps/unix/sysv/linux/ia64/__sigstack_longjmp.c: ... here.
43823         * sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data: Moved ...
43824         * sysdeps/unix/sysv/linux/ia64/c++-types.data: ... here.
43825         * sysdeps/unix/sysv/linux/ia64/nptl/dl-sysdep.h: Moved ...
43826         * sysdeps/unix/sysv/linux/ia64/dl-sysdep.h: ... here.
43827         * sysdeps/unix/sysv/linux/ia64/nptl/ld.abilist: Moved ...
43828         * sysdeps/unix/sysv/linux/ia64/ld.abilist: ... here.
43829         * sysdeps/unix/sysv/linux/ia64/nptl/libBrokenLocale.abilist: Moved ...
43830         * sysdeps/unix/sysv/linux/ia64/libBrokenLocale.abilist: ... here.
43831         * sysdeps/unix/sysv/linux/ia64/nptl/libanl.abilist: Moved ...
43832         * sysdeps/unix/sysv/linux/ia64/libanl.abilist: ... here.
43833         * sysdeps/unix/sysv/linux/ia64/nptl/libc.abilist: Moved ...
43834         * sysdeps/unix/sysv/linux/ia64/libc.abilist: ... here.
43835         * sysdeps/unix/sysv/linux/ia64/nptl/libcrypt.abilist: Moved ...
43836         * sysdeps/unix/sysv/linux/ia64/libcrypt.abilist: ... here.
43837         * sysdeps/unix/sysv/linux/ia64/nptl/libdl.abilist: Moved ...
43838         * sysdeps/unix/sysv/linux/ia64/libdl.abilist: ... here.
43839         * sysdeps/unix/sysv/linux/ia64/nptl/libm.abilist: Moved ...
43840         * sysdeps/unix/sysv/linux/ia64/libm.abilist: ... here.
43841         * sysdeps/unix/sysv/linux/ia64/nptl/libnsl.abilist: Moved ...
43842         * sysdeps/unix/sysv/linux/ia64/libnsl.abilist: ... here.
43843         * sysdeps/unix/sysv/linux/ia64/nptl/libpthread.abilist: Moved ...
43844         * sysdeps/unix/sysv/linux/ia64/libpthread.abilist: ... here.
43845         * sysdeps/unix/sysv/linux/ia64/nptl/libresolv.abilist: Moved ...
43846         * sysdeps/unix/sysv/linux/ia64/libresolv.abilist: ... here.
43847         * sysdeps/unix/sysv/linux/ia64/nptl/librt.abilist: Moved ...
43848         * sysdeps/unix/sysv/linux/ia64/librt.abilist: ... here.
43849         * sysdeps/unix/sysv/linux/ia64/nptl/libthread_db.abilist: Moved ...
43850         * sysdeps/unix/sysv/linux/ia64/libthread_db.abilist: ... here.
43851         * sysdeps/unix/sysv/linux/ia64/nptl/libutil.abilist: Moved ...
43852         * sysdeps/unix/sysv/linux/ia64/libutil.abilist: ... here.
43853         * sysdeps/unix/sysv/linux/ia64/nptl/localplt.data: Moved ...
43854         * sysdeps/unix/sysv/linux/ia64/localplt.data: ... here.
43855         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Moved ...
43856         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h: ... here.
43857         * sysdeps/unix/sysv/linux/ia64/nptl/sysdep-cancel.h: Moved ...
43858         * sysdeps/unix/sysv/linux/ia64/sysdep-cancel.h: ... here.
43859         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Moved ...
43860         * sysdeps/unix/sysv/linux/ia64/timer_create.c: ... here.
43861         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Moved ...
43862         * sysdeps/unix/sysv/linux/ia64/timer_delete.c: ... here.
43863         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Moved ...
43864         * sysdeps/unix/sysv/linux/ia64/timer_getoverr.c: ... here.
43865         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c: Moved ...
43866         * sysdeps/unix/sysv/linux/ia64/timer_gettime.c: ... here.
43867         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c: Moved ...
43868         * sysdeps/unix/sysv/linux/ia64/timer_settime.c: ... here.
43869         * sysdeps/unix/sysv/linux/ia64/nptl/unwind-forcedunwind.c: Moved ...
43870         * sysdeps/unix/sysv/linux/ia64/unwind-forcedunwind.c: ... here.
43871         Update #include.
43872         * sysdeps/unix/sysv/linux/ia64/nptl/unwind_longjmp.c: Moved ...
43873         * sysdeps/unix/sysv/linux/ia64/unwind_longjmp.c: ... here.
43875 2014-08-04  Roland McGrath  <roland@hack.frob.com>
43877         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h: Moved ...
43878         * sysdeps/ia64/nptl/bits/pthreadtypes.h: ... here.
43879         * sysdeps/unix/sysv/linux/ia64/nptl/bits/semaphore.h: Moved ...
43880         * sysdeps/ia64/nptl/bits/semaphore.h: ... here.
43881         * sysdeps/unix/sysv/linux/ia64/nptl/bits/local_lim.h: Moved ...
43882         * sysdeps/unix/sysv/linux/ia64/bits/local_lim.h: ... here.
43884 2014-08-04  Roland McGrath  <roland@hack.frob.com>
43886         * nptl/sysdeps/pthread/createthread.c: Include <arch-fork.h>.
43887         * sysdeps/unix/sysv/linux/ia64/arch-fork.h (ARCH_CLONE): New macro.
43888         * sysdeps/ia64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
43889         * sysdeps/unix/sysv/linux/ia64/nptl/createthread.c: File removed.
43891 2014-08-04  Roland McGrath  <roland@hack.frob.com>
43893         * sysdeps/unix/sysv/linux/ia64/nptl/vfork.S: Moved ...
43894         * sysdeps/unix/sysv/linux/ia64/vfork.S: ... here.
43895         (__libc_vfork): Define function under this name.
43896         (__vfork): Define as an alias.
43897         * sysdeps/unix/sysv/linux/ia64/pt-vfork.S: New file.
43898         * sysdeps/unix/sysv/linux/ia64/nptl/pt-vfork.S: File removed.
43900 2014-08-04  Roland McGrath  <roland@hack.frob.com>
43902         * sysdeps/unix/sysv/linux/ia64/clone2.S: Deconditionalize the code
43903         that was previously under [RESET_PID].
43904         * sysdeps/unix/sysv/linux/ia64/nptl/clone2.S: File removed.
43906 2014-08-04  Andreas Schwab  <schwab@suse.de>
43908         * sysdeps/ieee754/ldbl-96/s_fma.c: Include <math_private.h>.
43910 2014-08-03  Mike Frysinger  <vapier@gentoo.org>
43912         * stdlib/tst-setcontext.c (test_stack): Fix coding style.
43913         (main): Likewise.
43915 2014-08-01  Roland McGrath  <roland@hack.frob.com>
43917         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: File removed.
43919 2014-08-01  Richard Henderon  <rth@redhat.com>
43921         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use math_force_eval before
43922         feclearexcept; use math_opt_barrier instead of open-coded asm; fix
43923         typo in exact zero test.
43924         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
43925         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
43926         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
43928 2014-08-01  Roland McGrath  <roland@hack.frob.com>
43930         * sysdeps/unix/sysv/linux/arm/sysdep.h (PTR_MANGLE_LOAD, PTR_MANGLE)
43931         (PTR_MANGLE2, PTR_DEMANGLE, PTR_DEMANGLE2): Move these macros...
43932         * sysdeps/arm/sysdep.h: ... here.
43933         [!__ASSEMBLER__]: Include <stdint.h>.
43935 2014-08-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
43937         * include/libc-symbols.h (HAVE_LIBINTL_H): Define macro.
43938         (HAVE_WCTYPE_H): Likewise.
43939         (HAVE_ISWCTYPE): Likewise.
43940         (ENABLE_NLS): Likewise.
43941         * posix/regex_internal.h [(defined MB_CUR_MAX && HAVE_WCTYPE_H
43942         && HAVE_ISWCTYPE) || _LIBC]: Sync up with gnulib.
43944         * posix/regex_internal.c: Check if DEBUG is defined and is
43945         set.
43947         * include/libc-symbols.h (HAVE_MBSTATE_T): Define macro.
43948         (HAVE_MBSRTOWCS): Likewise.
43949         * posix/fnmatch.c: Include string.h unconditionally.
43951 2014-08-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
43953         * NEWS: Explain the s390 jmp_buf / ucontext_t ABI change
43954         reversal.
43956 2014-07-31  Roland McGrath  <roland@hack.frob.com>
43958         * sysdeps/generic/safe-fatal.h: New file.
43959         * sysdeps/unix/sysv/linux/safe-fatal.h: New file.
43960         * nptl/forward.c: Include it.
43961         (__pthread_unwind): Use __safe_fatal as default action, rather
43962         than a bogus use of INTERNAL_SYSCALL that could never work.
43964         * config.h.in (HAVE_BUILTIN_TRAP): New #define to 0.
43965         * configure.ac (libc_cv_builtin_trap): New test.
43966         * configure: Regenerated.
43967         * sysdeps/generic/abort-instr.h [HAVE_BUILTIN_TRAP]
43968         (ABORT_INSTRUCTION): Define using __builtin_trap.
43970         * nptl/pthreadP.h (SIGCANCEL, SIGTIMER, SIGSETXID, __xidcmd): Moved ...
43971         * sysdeps/unix/sysv/linux/nptl-signals.h: ... to this new file.
43972         * sysdeps/nptl/nptl-signals.h: New file.
43973         * nptl/pthreadP.h: Include <nptl-signals.h>.
43975 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
43977         * sysdeps/s390/s390-64/utf16-utf32-z9.c
43978         (ONE_DIRECTION): Define.
43979         * sysdeps/s390/s390-64/utf8-utf16-z9.c
43980         (ONE_DIRECTION): Define.
43981         * sysdeps/s390/s390-64/utf8-utf32-z9.c
43982         (ONE_DIRECTION): Define.
43984 2014-07-31  Stefan Liebler  <stli@linux.vnet.ibm.com>
43986         * sysdeps/s390/Makefile: Delete file.
43987         * sysdeps/s390/Versions (GLIBC_2.19): Remove __setjmp.
43988         * sysdeps/s390/__longjmp.c: Delete file.
43989         * sysdeps/s390/bits/setjmp.h (__s390_jmp_buf):
43990         Remove fields __flags and __reserved.
43991         * sysdeps/s390/longjmp.c: Include setjmp/longjmp.c
43992         and add versioning.
43993         * sysdeps/s390/rtld-__longjmp.c: Delete file.
43994         * sysdeps/s390/rtld-global-offsets.sym: Likewise.
43995         * sysdeps/s390/rtld-setjmp.S: Likewise.
43996         * sysdeps/s390/s390-32/__longjmp-common.c: Move to ...
43997         * sysdeps/s390/s390-32/__longjmp.c: ... here.
43998         * sysdeps/s390/s390-32/setjmp-common.S: Move to ...
43999         * sysdeps/s390/s390-32/setjmp.S: ... here.
44000         Add versioning.
44001         (__sigsetjmp): Remove setting __flags field.
44002         * sysdeps/s390/s390-64/__longjmp-common.c:Move to ...
44003         * sysdeps/s390/s390-64/__longjmp.c: ... here.
44004         * sysdeps/s390/s390-64/setjmp-common.S: Move to ...
44005         * sysdeps/s390/s390-64/setjmp.S: ... here.
44006         Add versioning.
44007         (__sigsetjmp): Remove setting __flags field.
44008         * sysdeps/s390/setjmp.S: Delete file.
44009         * sysdeps/s390/sigjmp.c: Likewise.
44010         * sysdeps/s390/v1-longjmp.c: Likewise.
44011         * sysdeps/s390/v1-setjmp.h: Likewise.
44012         * sysdeps/s390/v1-sigjmp.c: Likewise.
44013         * sysdeps/unix/sysv/linux/s390/Makefile (sysdep_routines):
44014         Remove v1-longjmp_chk.
44015         * sysdeps/unix/sysv/linux/s390/getcontext.S: Delete file.
44016         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c:
44017         Include debug/longjmp_chk.c and add versioning.
44018         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c:
44019         Include nptl/pt-longjmp.c and add versioning.
44020         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: Delete file.
44021         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c:
44022         Include __longjmp.c.
44023         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
44024         Move to ...
44025         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: ... here.
44026         (__getcontext): Remove setting __flags field.
44027         Add versioning.
44028         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
44029         Don't restore upper high grps.
44030         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S:
44031         Likewise.
44032         (__swapcontext): Remove setting uc_flags field.
44033         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym:
44034         Delete file.
44035         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
44036         Include __longjmp.c.
44037         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
44038         Move to ...
44039         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: ... here.
44040         (__getcontext): Remove setting __flags field.
44041         Add versioning.
44042         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S:
44043         (__swapcontext): Remove setting uc_flags field.
44044         * unix/sysv/linux/s390/s390-64/ucontext_i.sym: Delete file.
44045         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (ucontext):
44046         Remove fields uc_high_gprs and __reserved.
44047         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym:
44048         New file with reverted content.
44049         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: Delete file.
44050         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist:
44051         Regenerated.
44052         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist:
44053         Regenerated.
44055 2014-07-31  Andreas Schwab  <schwab@suse.de>
44057         * config.h.in (HAVE_IFUNC): Define to 0.
44058         * rt/clock-compat.c [HAVE_IFUNC]: Check for value, not
44059         definedness.
44061 2014-07-30  Ling Ma  <ling.ml@alibaba-inc.com>
44063         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44064         memmove-avx-unaligned, memcpy-avx-unaligned and
44065         mempcpy-avx-unaligned.
44066         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
44067         Add tests for AVX memcpy functions.
44068         * sysdeps/x86_64/multiarch/memcpy.S: Add support for AVX memcpy.
44069         * sysdeps/x86_64/multiarch/memcpy_chk.S: Add support for AVX
44070         memcpy_chk.
44071         * sysdeps/x86_64/multiarch/memmove.c: Add support for AVX memmove.
44072         * sysdeps/x86_64/multiarch/memmove_chk.c: Add support for AVX
44073         memmove_chk.
44074         * sysdeps/x86_64/multiarch/mempcpy.S: Add support for AVX mempcpy.
44075         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Add support for AVX
44076         mempcpy_chk.
44077         * sysdeps/x86_64/multiarch/memcpy-avx-unaligned.S: New file.
44078         * sysdeps/x86_64/multiarch/mempcpy-avx-unaligned.S: New file.
44079         * sysdeps/x86_64/multiarch/memmove-avx-unaligned.S: New file.
44081 2013-07-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44083         [BZ #17213]
44084         * sysdeps/powerpc/powerpc64/entry.h: Fix TEXT_START definition for
44085         powerpc64le.
44087 2014-07-29  Jeff Layton  <jlayton@poochiereds.net>
44089         [BZ #16839]
44090         * manual/llio.texi: Add section about open file description locks.
44091         * manual/examples/ofdlocks.c: Example of open file description
44092         lock usage.
44093         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Define F_OFD_GETLK,
44094         F_OFD_SETLK, and F_OFD_SETLKW.
44096 2014-07-23  Allan McRae  <allan@archlinux.org>
44098         * po/es.po: Update Spanish translation from translation project.
44100 2014-07-18  Andreas Schwab  <schwab@linux-m68k.org>
44102         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Removed.
44104 2014-07-17  Maciej W. Rozycki  <macro@codesourcery.com>
44106         [BZ #17078]
44107         * sysdeps/arm/dl-machine.h (elf_machine_rela)
44108         [RESOLVE_CONFLICT_FIND_MAP]: Handle R_ARM_TLS_DESC relocation.
44109         (elf_machine_lazy_rel): Handle prelinked R_ARM_TLS_DESC entries.
44111 2014-07-17  Joseph Myers  <joseph@codesourcery.com>
44113         [BZ #17088]
44114         * math/fesetenv.c (__fesetenv)
44115         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Return 1 for FE_NOMASK_ENV.
44116         * math/feupdateenv.c (__feupdateenv)
44117         [FE_NOMASK_ENV && FE_ALL_EXCEPT != 0]: Likewise.
44119         * sysdeps/unix/sysv/linux/s390/kernel-features.h: New file.
44120         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
44121         (__ASSUME_SOCKETCALL): Do not define.
44123         * sysdeps/unix/sysv/linux/sh/kernel-features.h: New file.
44124         * sysdeps/unix/sysv/linux/kernel-features.h [__sh__]
44125         (__ASSUME_SOCKETCALL): Do not define.
44126         (__ASSUME_ST_INO_64_BIT): Define unconditionally.
44127         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
44128         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
44129         [__LINUX_KERNEL_VERSION >= 0x020625 && __sh__]
44130         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
44131         [__LINUX_KERNEL_VERSION >= 0x030000 && __sh__]
44132         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
44133         [__sh__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
44135         * sysdeps/unix/sysv/linux/powerpc/kernel-features.h: New file.
44136         * sysdeps/unix/sysv/linux/kernel-features.h [__powerpc__]
44137         (__ASSUME_SOCKETCALL): Do not define.
44138         (__ASSUME_IPC64): Define unconditionally.
44139         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
44140         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
44141         [__LINUX_KERNEL_VERSION >= 0x020625 && __powerpc__]
44142         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
44143         [__LINUX_KERNEL_VERSION >= 0x030000 && __powerpc__]
44144         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
44145         [__powerpc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL):
44146         Likewise.
44148         * sysdeps/unix/sysv/linux/sparc/kernel-features.h: New file.
44149         * sysdeps/unix/sysv/linux/kernel-features.h [__sparc__]
44150         (__ASSUME_SOCKETCALL): Do not define.
44151         (__ASSUME_SET_ROBUST_LIST): Define unconditionally.
44152         (__ASSUME_FUTEX_LOCK_PI): Likewise.
44153         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL): Do not define.
44154         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
44155         (__ASSUME_REQUEUE_PI): Define unconditionally.
44156         [__LINUX_KERNEL_VERSION >= 0x020621 && __sparc__]
44157         (__ASSUME_RECVMMSG_SYSCALL): Do not define.
44158         [__sparc__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
44159         [__LINUX_KERNEL_VERSION >= 0x030000 && __sparc__]
44160         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
44161         [__sparc__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
44163         * sysdeps/unix/sysv/linux/i386/kernel-features.h: New file.
44164         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__]
44165         (__ASSUME_SOCKETCALL): Do not define.
44166         [__LINUX_KERNEL_VERSION >= 0x020621 && __i386__]
44167         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
44168         [__i386__] (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
44169         [__LINUX_KERNEL_VERSION >= 0x030000 && __i386__]
44170         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
44171         [__i386__] (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
44173         * sysdeps/unix/sysv/linux/x86_64/kernel-features.h: New file.
44174         * sysdeps/unix/sysv/linux/kernel-features.h [__x86_64__]
44175         (__ASSUME_ACCEPT4_SYSCALL): Do not define.
44176         [__LINUX_KERNEL_VERSION >= 0x020621 && __x86_64__]
44177         (__ASSUME_RECVMMSG_SYSCALL): Likewise.
44178         [__LINUX_KERNEL_VERSION >= 0x030000 && __x86_64__]
44179         (__ASSUME_SENDMMSG_SYSCALL): Likewise.
44180         [__x86_64__ && __LINUX_KERNEL_VERSION >= 0x030100]
44181         (__ASSUME_GETCPU_SYSCALL): Likewise.
44183         * aclocal.m4 (LIBC_SLIBDIR_RTLDDIR): New macro.
44184         * sysdeps/gnu/configure.ac: Use LIBC_SLIBDIR_RTLDDIR.  Remove
44185         cases for individual architectures.
44186         * sysdeps/gnu/configure: Regenerated.
44187         * sysdeps/unix/sysv/linux/aarch64/configure.ac: Use
44188         LIBC_SLIBDIR_RTLDDIR.
44189         * sysdeps/unix/sysv/linux/aarch64/configure: Regenerated.
44190         * sysdeps/unix/sysv/linux/mips/configure.ac: Use
44191         LIBC_SLIBDIR_RTLDDIR.
44192         * sysdeps/unix/sysv/linux/mips/configure: Regenerated.
44193         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: Use
44194         LIBC_SLIBDIR_RTLDDIR.
44195         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure:
44196         Regenerated.
44197         * sysdeps/unix/sysv/linux/s390/s390-64/configure.ac: New file.
44198         * sysdeps/unix/sysv/linux/s390/s390-64/configure: New generated
44199         file.
44200         * sysdeps/unix/sysv/linux/sparc/sparc64/configure.ac: New file.
44201         * sysdeps/unix/sysv/linux/sparc/sparc64/configure: New generated
44202         file.
44203         * sysdeps/unix/sysv/linux/x86_64/64/configure.ac: New file.
44204         * sysdeps/unix/sysv/linux/x86_64/64/configure: New generated file.
44205         * sysdeps/unix/sysv/linux/x86_64/x32/configure.ac: New file.
44206         * sysdeps/unix/sysv/linux/x86_64/x32/configure: Generate.
44208         * sysdeps/aarch64/shlib-versions: Move to ...
44209         * sysdeps/unix/sysv/linux/aarch64/shlib-versions: ... here.
44210         * sysdeps/alpha/shlib-versions: Move to ...
44211         * sysdeps/unix/sysv/linux/alpha/shlib-versions: ... here.
44212         * sysdeps/arm/shlib-versions: Move to ...
44213         * sysdeps/unix/sysv/linux/arm/shlib-versions: ... here.
44214         * sysdeps/hppa/shlib-versions: Move all contents except for
44215         libgcc_s entry to ...
44216         * sysdeps/unix/sysv/linux/hppa/shlib-versions: ... here.  Merge in
44217         entry from ...
44218         * sysdeps/hppa/nptl/shlib-versions: ... here.  Remove file.
44219         * sysdeps/ia64/shlib-versions: Move to ...
44220         * sysdeps/unix/sysv/linux/ia64/shlib-versions: ... here.  Merge in
44221         entry from ...
44222         * sysdeps/ia64/nptl/shlib-versions: ... here.  Remove file.
44223         * sysdeps/m68k/coldfire/shlib-versions: Move to ...
44224         * sysdeps/unix/sysv/linux/m68k/coldfire/shlib-versions: ... here.
44225         * sysdeps/microblaze/shlib-versions: Move to ...
44226         * sysdeps/unix/sysv/linux/microblaze/shlib-versions: ... here.
44227         * sysdeps/mips/shlib-versions: Move to ...
44228         * sysdeps/unix/sysv/linux/mips/shlib-versions: ... here.  Merge in
44229         entry from ...
44230         * sysdeps/mips/nptl/shlib-versions: ... here.  Remove file.
44231         * sysdeps/tile/shlib-versions: Move to ...
44232         * sysdeps/unix/sysv/linux/tile/shlib-versions: ... here.
44233         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: Merge in entry
44234         from ...
44235         * sysdeps/x86_64/64/shlib-versions: ... here.  Remove file.
44236         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: Merge in
44237         entry from ...
44238         * sysdeps/x86_64/x32/shlib-versions: ... here.  Remove file.
44240 2014-07-17  Will Newton  <will.newton@linaro.org>
44242         * sysdeps/arm/bits/atomic.h
44243         (__arch_compare_and_exchange_bool_8_int): Evaluate to zero.
44244         (__arch_compare_and_exchange_bool_16_int): Likewise.
44245         (__arch_compare_and_exchange_bool_64_int): Likewise.
44247         * iconv/loop.c: Move definition of LOOPFCT and gconv_btowc
44248         into an #else block.
44250 2014-07-16  Roland McGrath  <roland@hack.frob.com>
44252         * sysdeps/arm/preconfigure.ac: Apply EABI sanity check to arm*, not
44253         just Linux configurations.  Test empirically that the compiler sets
44254         __ARM_EABI__, rather than using the tuple to decide.
44255         * sysdeps/arm/preconfigure: Regenerated.
44256         * sysdeps/unix/sysv/linux/arm/configure: File removed.
44257         * sysdeps/unix/sysv/linux/arm/configure.ac: File removed,
44258         contents appended ...
44259         * sysdeps/arm/configure.ac: ... here.
44260         * sysdeps/arm/configure: Regenerated.
44262 2014-07-15  Roland McGrath  <roland@hack.frob.com>
44264         * nptl/pthread_kill.c: New file.
44265         * nptl/pthread_sigmask.c: New file.
44266         * nptl/pthread_sigqueue.c: New file.
44268         * sysdeps/nptl/lowlevellock.h: New file.
44269         * sysdeps/unix/sysv/linux/lowlevellock-futex.h: New file.
44270         * sysdeps/nptl/lowlevellock-futex.h: New file.
44272         * nptl/pthreadP.h (__current_sigrtmin, __current_sigrtmax):
44273         Remove dead declarations.
44275 2014-07-14  H.J. Lu  <hongjiu.lu@intel.com>
44277         * config.h.in (HAVE_AVX2_SUPPORT): New #undef.
44278         * sysdeps/i386/configure.ac: Set HAVE_AVX2_SUPPORT and
44279         config-cflags-avx2.
44280         * sysdeps/x86_64/configure.ac: Likewise.
44281         * sysdeps/i386/configure: Regenerated.
44282         * sysdeps/x86_64/configure: Likewise.
44283         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
44284         memset-avx2 only if config-cflags-avx2 is yes.
44285         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
44286         Tests for memset_chk and memset only if HAVE_AVX2_SUPPORT is
44287         defined.
44288         * sysdeps/x86_64/multiarch/memset.S: Define multiple versions
44289         only if HAVE_AVX2_SUPPORT is defined.
44290         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
44292 2014-07-14  Alan Modra  <amodra@gmail.com>
44294         [BZ #17153]
44295         * elf/elf.h (DT_PPC64_NUM): Correct value.
44296         * NEWS: Add to fixed bug list.
44298 2014-07-13  Jim Meyering  <meyering@fb.com>
44300         [BZ 17150]
44301         regex: don't deref NULL upon heap allocation failure
44302         * posix/regcomp.c: (parse_dup_op): Handle duplicate_tree
44303         failure in one more place.
44304         To trigger the segfault, configure grep -with-included-regex,
44305         build it, and run these commands:
44306         ( ulimit -v 300000; echo a|src/grep -E a+++++++++++++++++++++ )
44308 2014-07-13  Andreas Schwab  <schwab@linux-m68k.org>
44310         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
44312 2014-07-11  Richard Henderson  <rth@redhat.com>
44314         * sysdeps/aarch64/libm-test-ulps: Update.
44316 2014-07-10  Florian Weimer  <fweimer@redhat.com>
44318         [BZ #17135]
44319         * nptl/pthreadP.h (__nptl_setxid_error): Declare function.
44320         * nptl/allocatestack.c (__nptl_setxid_error): New function.
44321         (__nptl_setxid): Initialize error member.  Call
44322         __nptl_setxid_error.
44323         * nptl/nptl-init.c (sighandler_setxid): Call __nptl_setxid_error.
44324         * nptl/descr.h (struct xid_command): Add error member.
44325         * nptl/tst-setuid3.c: New file.
44326         * nptl/Makefile (tests): Add it.
44328 2014-07-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44330         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h (__lll_base_trylock):
44331         New define.
44332         (__lll_trylock): Use __lll_base_trylock.
44333         (__lll_cond_trylock): Likewise.
44335 2014-07-10  Roland McGrath  <roland@hack.frob.com>
44337         * nptl/pthread_create.c (start_thread): Use atomic_or and
44338         lll_futex_wake directly rather than lll_robust_dead.
44339         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
44340         (lll_robust_dead): Macro removed.
44341         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: Likewise.
44342         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
44343         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
44344         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
44345         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
44346         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
44347         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
44348         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
44349         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
44350         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
44351         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
44352         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
44353         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
44354         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
44355         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
44357         * nptl/pthread_mutex_trylock.c (__pthread_mutex_trylock):
44358         Use atomic_compare_and_exchange_val_acq directly rather than
44359         lll_robust_trylock.
44360         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h
44361         (__lll_robust_trylock, lll_robust_trylock): Removed.
44362         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: Likewise.
44363         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: Likewise.
44364         * sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.h: Likewise.
44365         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: Likewise.
44366         * sysdeps/unix/sysv/linux/ia64/nptl/lowlevellock.h: Likewise.
44367         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: Likewise.
44368         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Likewise.
44369         * sysdeps/unix/sysv/linux/mips/lowlevellock.h: Likewise.
44370         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Likewise.
44371         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: Likewise.
44372         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: Likewise.
44373         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Likewise.
44374         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: Likewise.
44375         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Likewise.
44377 2014-07-02  Florian Weimer  <fweimer@redhat.com>
44379         * manual/locale.texi (Locale Names): New section documenting
44380         locale name syntax.  Adjust menu and node chaining accordingly.
44381         (Choosing Locale): Reference Locale Names, Locale Categories.
44382         Mention setting LC_ALL=C.  Reflect that name syntax is now
44383         documented.
44384         (Locale Categories): New section title.  Reference Locale Names.
44385         LC_ALL is an environment variable, but not a category.
44386         (Setting the Locale): Remove "locale -a" invocation and LOCPATH
44387         description, now in Locale Name.  Reference that section.  Locale
44388         name syntax is now documented.
44390 2014-07-02  Florian Weimer  <fweimer@redhat.com>
44392         [BZ #17137]
44393         * locale/findlocale.c (name_present, valid_locale_name): New
44394         functions.
44395         (_nl_find_locale): Use the loc_name variable to store name
44396         candidates.  Call name_present and valid_locale_name to check and
44397         validate locale names.  Return an error if the locale is invalid.
44399 2014-07-02  Florian Weimer  <fweimer@redhat.com>
44401         * locale/setlocale.c (setlocale): Use strdup for allocating
44402         composite name copy.
44404 2014-07-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
44406         Sync up with gnulib.
44407         * misc/error.c: Use !_LIBC instead of HAVE_CONFIG_H.
44408         [!_LIBC && ENABLE_NLS]: Include gettext.h.
44409         [_LIBC]: Define USE_UNLOCKED_IO, _GL_ATTRIBUTE_FORMAT_PRINTF
44410         and _GL_ARG_NONNULL.
44411         [USE_UNLOCKED_IO]: Include unlocked-io.h.
44412         [!_LIBC]: Include code for Windows and Cygwin.
44413         [!_LIBC && !HAVE_DECL_STRERROR_R && !STRERROR_R_CHAR_P]:
44414         Include prototype for int strerror_r.
44415         [!_LIBC] (is_open): New function.
44416         (flush_stdout): New function.
44417         (print_errno_message): Use it.
44418         (error): Likewise.
44419         (error_at_line): Likewise.
44420         (error_tail) Add function attribute macros.  Use
44421         __builtin_expect.
44423         * time/strptime_l.c [_LIBC]: Define HAVE_LOCALTIME_R.
44425         * time/strftime_l.c [_LIBC]: Define HAVE_STRFTIME.
44427         * io/ftw.c: Include sys/param.h unconditionally.
44429         * locale/programs/simple-hash.c [!HAVE_OBSTACK]: Remove code.
44431         [BZ #17125]
44432         * sysdeps/unix/sysv/linux/check_pf.c (cache): Don't use
44433         libc_freeres_ptr.
44434         (freecache): New function to free CACHE on exit.
44436         * sunrpc/xdr.c (xdr_string): Add comment about SIZE
44437         initialization.
44439 2014-07-09  David S. Miller  <davem@davemloft.net>
44441         * sysdeps/sparc/fpu/libm-test-ulps: Update.
44443         * sysdeps/sparc/nptl/internaltypes.h: Delete.
44444         * sysdeps/sparc/nptl/sparc-nptl.h: New file.
44445         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: Include it.
44446         * sysdeps/sparc/nptl/pthread_barrier_init.c: Likewise.
44447         * sysdeps/sparc/nptl/pthread_barrier_wait.c: Likewise.
44448         * sysdeps/sparc/nptl/sem_init.c: Likewise.
44449         * sysdeps/sparc/nptl/sem_post.c: Likewise.
44450         * sysdeps/sparc/nptl/sem_timedwait.c: Likewise.
44451         * sysdeps/sparc/nptl/sem_wait.c: Likewise.
44452         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Likewise.
44453         * sysdeps/sparc/sparc32/nptl/sem_post.c: Likewise.
44454         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Likewise.
44455         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Likewise.
44457 2014-07-09  Andreas Schwab  <schwab@suse.de>
44459         * sysdeps/powerpc/test-gettimebase.c (do_test): Add newline to
44460         output.
44461         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c
44462         (do_test): Likewise.
44464         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
44466 2014-07-09  Will Newton  <will.newton@linaro.org>
44468         * sysdeps/aarch64/tlsdesc.c (_dl_unmap): Test SHARED with #ifdef.
44469         * sysdeps/arm/tlsdesc.c (_dl_unmap): Likewise.
44470         * sysdeps/i386/tlsdesc.c (_dl_unmap): Likewise.
44471         * sysdeps/x86_64/tlsdesc.c (_dl_unmap): Likewise.
44472         * sysdeps/hppa/start.S (_start): Likewise.
44474 2014-07-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
44476         * sunrpc/xdr.c (xdr_string): Initialize SIZE to 0.
44478         * sysdeps/generic/unwind-pe.h: Only check if __cplusplus is
44479         defined.
44481 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
44483         * resolv/res_query.c (__libc_res_nsearch): Dereference resplen2
44484         after checking that it is non-NULL.
44486         * sysdeps/i386/dl-machine.h: Define ELF_MACHINE_NO_REL.
44488 2014-07-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44490         * sysdeps/powerpc/memmove.c: Remove file.
44491         * sysdeps/powerpc/powerpc32/power4/memcopy.h
44492         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Define it to 1.
44493         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c
44494         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Remove define.
44495         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c:
44496         [MEMCPY_OK_FOR_FWD_MEMMOVE]: Likewise.
44497         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: Include default
44498         string memmove instead of removed powerpc one.
44500         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
44501         [weak_alias]: Fix compiler warning due trailing data.
44502         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S:
44503         [weak_alias]: Likewise.
44504         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: Fix compile
44505         warnigs due missing definition of __strcpy_power7 and __strlen_power7.
44507         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
44508         (__libc_ifunc_impl_list): Add memmove functions.
44510 2014-07-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
44512         * localedata/tests-mbwc/dat_iswalnum.c [SHOJI_IS_RIGHT]:
44513         Remove code.
44514         * localedata/tests-mbwc/dat_iswalpha.c [SHOJI_IS_RIGHT]:
44515         Likewise.
44516         * localedata/tests-mbwc/dat_iswctype.c [SHOJI_IS_RIGHT]:
44517         Likewise.
44518         * localedata/tests-mbwc/dat_iswgraph.c [SHOJI_IS_RIGHT]:
44519         Likewise.
44520         * localedata/tests-mbwc/dat_iswprint.c [SHOJI_IS_RIGHT]:
44521         Likewise.
44522         * localedata/tests-mbwc/dat_iswpunct.c [SHOJI_IS_RIGHT]:
44523         Likewise.
44524         * localedata/tests-mbwc/dat_mbrlen.c [SHOJI_IS_RIGHT]:
44525         Likewise.
44526         * localedata/tests-mbwc/dat_mbstowcs.c [SHOJI_IS_RIGHT]:
44527         Likewise.
44528         * localedata/tests-mbwc/dat_mbtowc.c [SHOJI_IS_RIGHT]:
44529         Likewise.
44530         * localedata/tests-mbwc/dat_strcoll.c [SHOJI_IS_RIGHT]:
44531         Likewise.
44532         * localedata/tests-mbwc/dat_swscanf.c [SHOJI_IS_RIGHT]:
44533         Likewise.
44534         * localedata/tests-mbwc/dat_towctrans.c [SHOJI_IS_RIGHT]:
44535         Likewise.
44536         * localedata/tests-mbwc/dat_wcscoll.c [SHOJI_IS_RIGHT]:
44537         Likewise.
44538         * localedata/tests-mbwc/dat_wcswidth.c [SHOJI_IS_RIGHT]:
44539         Likewise.
44540         * localedata/tests-mbwc/dat_wctob.c [SHOJI_IS_RIGHT]:
44541         Likewise.
44542         * localedata/tests-mbwc/dat_wcwidth.c [SHOJI_IS_RIGHT]:
44543         Likewise.
44544         * localedata/tests-mbwc/tst_towctrans.c [SHOJI_IS_RIGHT]:
44545         Likewise.
44547 2014-07-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44549         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Align VSX copies to 16B
44550         to avoid alignment traps in non-cacheable memory.
44551         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
44553         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memmove
44554         multiarch objects.
44555         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-power7.c: New
44556         file: multiarch power7 memmove.
44557         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove-ppc.c: New file:
44558         multiarch default memmove.
44559         * sysdeps/powerpc/powerpc32/power4/multiarch/memmove.c: New file:
44560         multiarch memove for powerpc32/power4.
44562         * string/bcopy.c: Use full path to include memmove.c.
44563         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memmove and bcopy
44564         multiarch objects.
44565         * sysdeps/powerpc/powerpc64/multiarch/bcopy-ppc64.c: New file: default
44566         bcopy for powerpc64.
44567         * sysdeps/powerpc/powerpc64/multiarch/bcopy.c: New file: multiarch
44568         bcopy for powerpc64.
44569         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Add bcopy
44570         and memmove implementations.
44571         * sysdeps/powerpc/powerpc64/multiarch/memmove-power7.S: New file:
44572         optimized multiarch memmove for POWER7/powerpc64.
44573         * sysdeps/powerpc/powerpc64/multiarch/memmove-ppc64.c: New file:
44574         default multiarch memmove for powerpc64.
44575         * sysdeps/powerpc/powerpc64/multiarch/memmove.c: New file: memmove
44576         multiarch for powerpc64.
44577         * sysdeps/powerpc/powerpc64/power7/bcopy.c: New file: optimized bcopy
44578         for POWER7/powerpc64.
44579         * sysdeps/powerpc/powerpc64/power7/memmove.S: New file: optimized
44580         memmove for POWER7/powerpc64.
44582         * sysdeps/powerpc/memmove.c (memmove): Cleanup impplementation to use
44583         glibc default one.
44585         * sysdeps/powerpc/bits/link.h [_CALL_ELF]: Guard check for
44586         __ELF_NATIVE_CLASS equal to 64.
44588 2014-07-07  Roland McGrath  <roland@hack.frob.com>
44590         * sysdeps/nptl/lowlevellock.h: File removed.
44592         * NEWS: NPTL is no longer an add-on!
44593         * nptl/internaltypes.h: Moved ...
44594         * sysdeps/nptl/internaltypes.h: ... here.
44595         * sysdeps/nptl/aio_misc.h: Use <nptl/pthreadP.h> in #include.
44596         * sysdeps/nptl/fork.c: Likewise.
44597         * sysdeps/nptl/gai_misc.h: Likewise.
44598         * sysdeps/nptl/librt-cancellation.c: Likewise.
44599         * sysdeps/nptl/jmp-unwind.c: Likewise.
44600         * sysdeps/nptl/setxid.h: Likewise.
44601         * sysdeps/unix/sysv/linux/aarch64/Implies: New file.
44602         * sysdeps/unix/sysv/linux/alpha/Implies: Add alpha/nptl.
44603         * sysdeps/unix/sysv/linux/arm/Implies: New file.
44604         * sysdeps/unix/sysv/linux/hppa/Implies: New file.
44605         * sysdeps/unix/sysv/linux/i386/Implies: Add i386/nptl.
44606         * sysdeps/unix/sysv/linux/i386/i686/Implies: New file.
44607         * sysdeps/unix/sysv/linux/ia64/Implies: Add ia64/nptl.
44608         * sysdeps/unix/sysv/linux/m68k/Implies: New file.
44609         * sysdeps/unix/sysv/linux/microblaze/Implies: New file.
44610         * sysdeps/unix/sysv/linux/mips/Implies: New file.
44611         * sysdeps/unix/sysv/linux/powerpc/Implies: New file.
44612         * sysdeps/unix/sysv/linux/s390/Implies: Add s390/nptl.
44613         * sysdeps/unix/sysv/linux/sh/Implies: New file.
44614         * sysdeps/unix/sysv/linux/sparc/Implies: New file.
44615         * sysdeps/unix/sysv/linux/tile/Implies: New file.
44616         * sysdeps/unix/sysv/linux/x86_64/Implies: Add x86_64/nptl.
44617         * sysdeps/unix/sysv/linux/x86_64/x32/Implies: New file.
44618         * nptl/Makeconfig: Moved ...
44619         * sysdeps/nptl/Makeconfig: ... here.
44620         * nptl/configure: File removed.
44621         * nptl/ANNOUNCE: File removed.
44622         * sysdeps/unix/sysv/linux/configure.ac: Remove nptl sanity check.
44623         * sysdeps/unix/sysv/linux/configure: Regenerated.
44625         * nptl/Makefile (routines): Add libc_pthread_init,
44626         libc_multiple_threads, register-atfork and unregister-atfork.
44627         (libpthread-routines): Add pthread_mutex_cond_lock and pt-fork here.
44628         (gen-as-const-headers): Add lowlevelcond.sym, lowlevelrwlock.sym,
44629         lowlevelbarrier.sym, unwindbuf.sym, lowlevelrobustlock.sym,
44630         pthread-pi-defines.sym, structsem.sym.
44631         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = posix]
44632         (CFLAGS-fork.c, CFLAGS-getpid.o, CFLAGS-getpid.os): New variables.
44633         [$(subdir) = nptl] (tests): Add tst-setgetname.
44634         * nptl/sysdeps/unix/sysv/linux/Makefile: File removed.
44635         * sysdeps/unix/sysv/linux/sigaction.c: Just include
44636         <nptl/sigaction.c> directly here, instead of WRAPPER_INCLUDE.
44637         [!LIBC_SIGACTION]: Remove aliases.
44638         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
44639         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
44640         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
44641         * sysdeps/unix/sysv/linux/ia64/sigaction.c: Likewise.
44642         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
44643         * sysdeps/unix/sysv/linux/s390/s390-64/sigaction.c: Likewise.
44644         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
44645         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
44646         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
44647         * nptl/Versions (libc: GLIBC_2.3.2): Add __register_atfork.
44648         (libc: GLIBC_PRIVATE): Add __libc_pthread_init,
44649         __libc_current_sigrtmin_private, __libc_current_sigrtmax_private,
44650         __libc_allocate_rtsig_private.
44651         * nptl/sysdeps/unix/sysv/linux/Versions: File removed.
44652         * sysdeps/unix/sysv/linux/sigtimedwait.c: Include <nptl/pthreadP.h>.
44653         * sysdeps/unix/sysv/linux/sigwait.c: Likewise.
44654         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Likewise.
44655         * sysdeps/unix/sysv/linux/sleep.c: Likewise.
44656         * nptl/sysdeps/unix/sysv/linux/sigwait.c: File removed.
44657         * nptl/sysdeps/unix/sysv/linux/sigtimedwait.c: File removed.
44658         * nptl/sysdeps/unix/sysv/linux/sigwaitinfo.c: File removed.
44659         * nptl/sysdeps/unix/sysv/linux/sleep.c: File removed.
44660         * nptl/sysdeps/unix/sysv/linux/createthread.c: File removed.
44661         * sysdeps/unix/sysv/linux/ia64/fork.S: File removed.
44662         * nptl/sysdeps/unix/sysv/linux/internaltypes.h: Moved ...
44663         * nptl/internaltypes.h: ... here.
44664         * nptl/sysdeps/unix/sysv/linux/jmp-unwind.c: Moved ...
44665         * sysdeps/nptl/jmp-unwind.c: ... here.
44666         * nptl/sysdeps/unix/sysv/linux/libc-lowlevellock.c: Moved ...
44667         * nptl/libc-lowlevellock.c: ... here.
44668         * nptl/sysdeps/unix/sysv/linux/libc_multiple_threads.c: Moved ...
44669         * nptl/libc_multiple_threads.c: ... here.
44670         * nptl/sysdeps/unix/sysv/linux/libc_pthread_init.c: Moved ...
44671         * nptl/libc_pthread_init.c: ... here.
44672         * nptl/sysdeps/unix/sysv/linux/lowlevelbarrier.sym: Moved ...
44673         * nptl/lowlevelbarrier.sym: ... here.
44674         * nptl/sysdeps/unix/sysv/linux/lowlevelcond.sym: Moved ...
44675         * nptl/lowlevelcond.sym: ... here.
44676         * nptl/sysdeps/unix/sysv/linux/lowlevellock.c: Moved ...
44677         * nptl/lowlevellock.c: ... here.
44678         * nptl/lowlevellock.h: Moved ...
44679         * sysdeps/nptl/lowlevellock.h: ... here.
44680         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Moved ...
44681         * nptl/lowlevelrobustlock.c: ... here.
44682         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.sym: Moved ...
44683         * nptl/lowlevelrobustlock.sym: ... here.
44684         * nptl/sysdeps/unix/sysv/linux/lowlevelrwlock.sym: Moved ...
44685         * nptl/lowlevelrwlock.sym: ... here.
44686         * nptl/sysdeps/unix/sysv/linux/pt-fork.c: Moved ...
44687         * nptl/pt-fork.c: ... here.
44688         * nptl/sysdeps/unix/sysv/linux/pthread-pi-defines.sym: Moved ...
44689         * nptl/pthread-pi-defines.sym: ... here.
44690         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Moved ...
44691         * nptl/pthread_attr_getaffinity.c: ... here.
44692         * nptl/sysdeps/unix/sysv/linux/pthread_attr_setaffinity.c: Moved ...
44693         * nptl/pthread_attr_setaffinity.c: ... here.
44694         * nptl/sysdeps/unix/sysv/linux/pthread_mutex_cond_lock.c: Moved ...
44695         * nptl/pthread_mutex_cond_lock.c: ... here.
44696         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
44697         Update #include.
44698         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Likewise.
44699         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: Moved ...
44700         * nptl/pthread_once.c: ... here, replacing old file.
44701         * nptl/sysdeps/unix/sysv/linux/pthread_yield.c: Moved ...
44702         * nptl/pthread_yield.c: ... here.
44703         * nptl/sysdeps/unix/sysv/linux/register-atfork.c: Moved ...
44704         * nptl/register-atfork.c: ... here.
44705         * nptl/sysdeps/unix/sysv/linux/sem_post.c: Moved ...
44706         * nptl/sem_post.c: ... here.
44707         * sysdeps/unix/sysv/linux/alpha/sem_post.c: Update #include.
44708         * nptl/sysdeps/unix/sysv/linux/sem_timedwait.c: Moved ...
44709         * nptl/sem_timedwait.c: ... here.
44710         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Moved ...
44711         * nptl/sem_trywait.c: ... here.
44712         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: Update #include.
44713         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Moved ...
44714         * nptl/sem_wait.c: ... here.
44715         * nptl/sysdeps/unix/sysv/linux/structsem.sym: Moved ...
44716         * nptl/structsem.sym: ... here.
44717         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Moved ...
44718         * sysdeps/unix/sysv/linux/mq_notify.c: ... here, replacing old file.
44719         * nptl/sysdeps/unix/sysv/linux/unregister-atfork.c: Moved ...
44720         * nptl/unregister-atfork.c: ... here.
44721         * nptl/sysdeps/unix/sysv/linux/unwindbuf.sym: Moved ...
44722         * nptl/unwindbuf.sym: ... here.
44723         * nptl/sysdeps/unix/sysv/linux/fork.c: Moved ...
44724         * sysdeps/nptl/fork.c: ... here.
44725         * nptl/sysdeps/unix/sysv/linux/fork.h: Moved ...
44726         * sysdeps/nptl/fork.h: ... here.
44727         * sysdeps/unix/sysv/linux/syscalls.list: Remove fork.
44728         * nptl/sysdeps/unix/sysv/linux/aio_misc.h: Moved ...
44729         * sysdeps/unix/sysv/linux/aio_misc.h: ... here.
44730         * nptl/sysdeps/unix/sysv/linux/allocrtsig.c: Moved ...
44731         * sysdeps/unix/sysv/linux/allocrtsig.c: ... here.
44732         * nptl/sysdeps/unix/sysv/linux/getpid.c: Moved ...
44733         * sysdeps/unix/sysv/linux/getpid.c: ... here.
44734         * nptl/sysdeps/unix/sysv/linux/kernel-posix-timers.h: Moved ...
44735         * sysdeps/unix/sysv/linux/kernel-posix-timers.h: ... here.
44736         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Moved ...
44737         * sysdeps/unix/sysv/linux/pt-raise.c: ... here.
44738         * nptl/sysdeps/unix/sysv/linux/pthread_getaffinity.c: Moved ...
44739         * sysdeps/unix/sysv/linux/pthread_getaffinity.c: ... here.
44740         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Moved ...
44741         * sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: ... here.
44742         * nptl/sysdeps/unix/sysv/linux/pthread_getname.c: Moved ...
44743         * sysdeps/unix/sysv/linux/pthread_getname.c: ... here.
44744         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Moved ...
44745         * sysdeps/unix/sysv/linux/pthread_kill.c: ... here.
44746         * nptl/sysdeps/unix/sysv/linux/pthread_setaffinity.c: Moved ...
44747         * sysdeps/unix/sysv/linux/pthread_setaffinity.c: ... here.
44748         * nptl/sysdeps/unix/sysv/linux/pthread_setname.c: Moved ...
44749         * sysdeps/unix/sysv/linux/pthread_setname.c: ... here.
44750         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Moved ...
44751         * sysdeps/unix/sysv/linux/pthread_sigqueue.c: ... here.
44752         * nptl/sysdeps/unix/sysv/linux/raise.c: Moved ...
44753         * sysdeps/unix/sysv/linux/raise.c: ... here.
44754         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Moved ...
44755         * sysdeps/unix/sysv/linux/timer_create.c: ... here.
44756         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Moved ...
44757         * sysdeps/unix/sysv/linux/timer_delete.c: ... here.
44758         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Moved ...
44759         * sysdeps/unix/sysv/linux/timer_getoverr.c: ... here.
44760         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Moved ...
44761         * sysdeps/unix/sysv/linux/timer_gettime.c: ... here.
44762         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Moved ...
44763         * sysdeps/unix/sysv/linux/timer_routines.c: ... here.
44764         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Moved ...
44765         * sysdeps/unix/sysv/linux/timer_settime.c: ... here.
44766         * nptl/sysdeps/unix/sysv/linux/tst-setgetname.c: Moved ...
44767         * sysdeps/unix/sysv/linux/tst-setgetname.c: ... here.
44768         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Update #include.
44770 2014-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
44772         * sysdeps/generic/memcopy.h: Add comment for
44773         MEMCPY_OK_FOR_FWD_MEMMOVE.
44775 2014-07-04  Will Newton  <will.newton@linaro.org>
44777         * string/memchr.c: Merge from gnulib.
44778         [_LIBC]: Remove conditionals.
44779         (__ptr_t): Remove define.
44780         (LONG_MAX_32_BITS): Likewise.
44781         (LONG_MAX): Likewise.
44782         (MEMCHR): Use ANSI prototype and optimize algorithm.
44784         * sysdeps/arm/dl-machine.h (ELF_MACHINE_NO_REL): Define.
44786 2014-07-03  Roland McGrath  <roland@hack.frob.com>
44788         * sysdeps/unix/sysv/linux/ia64/lowlevellock.h
44789         (lll_futex_timed_wait_bitset): Fix syscall argument count.
44791         * sysdeps/nptl/configure.ac (libc_cv_forced_unwind):
44792         Use -Dinhibit_libc=1 for unwind.h check to prevent false failure
44793         in a bare environment with no <stdlib.h> installed.
44794         * sysdeps/nptl/configure: Regenerated.
44796         * sysdeps/alpha/fpu/s_nearbyint.c: Include <math_ldbl_opt.h>.
44798         * sysdeps/unix/sysv/linux/configure.ac: Use AC_TRY_COMPILE rather than
44799         AC_EGREP_CPP for kernel header checks, so they only succeed if
44800         including <linux/version.h> actually works right.
44801         * sysdeps/unix/sysv/linux/configure: Regenerated.
44803         * sysdeps/s390/nptl/tls.h (THREAD_SET_POINTER_GUARD): Refer to the
44804         value so it's not diagnosed as unused.
44806         * sysdeps/pthread/Makefile: Conditionalize tst-timer bits (the only
44807         thing) with "ifeq ($(subdir),rt)".
44809 2014-07-03  Richard Henderson  <rth@redhat.com>
44811         * sysdeps/alpha/fpu/s_nearbyintf.c: Remove file.
44812         * sysdeps/alpha/fpu/s_nearbyint.c (__nearbyint): Remove;
44813         include sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c.
44815         * sysdeps/alpha/fpu/math_private.h (math_opt_barrier): New.
44816         (math_force_eval): New.
44818         * sysdeps/alpha/fpu/s_lround.c: Add 0.5 with chopped rounding.
44819         * sysdeps/alpha/fpu/s_lroundf.c: Likewise.
44821         * sysdeps/alpha/fpu/s_round.c: Remove file.
44822         * sysdeps/alpha/fpu/s_roundf.c: Remove file.
44824         * elf/dl-support.c (HP_TIMING_AVAIL): Do not redefine.
44825         (_dl_non_dynamic_init): Check HP_SMALL_TIMING_AVAIL instead.
44826         * elf/rtld.c (HP_TIMING_AVAIL): Do not redefine.
44827         (_dl_start_final): Check HP_SMALL_TIMING_AVAIL instead.
44828         (_dl_start, print_statistics): Likewise.
44829         * sysdeps/generic/ldsodefs.h (struct rtld_global): Only check
44830         HP_SMALL_TIMING_AVAIL in defining _dl_cpuclock_offset.
44832         * sysdeps/aarch64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
44833         * sysdeps/generic/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
44834         * sysdeps/i386/i686/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
44835         * sysdeps/ia64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
44836         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
44837         (HP_SMALL_TIMING_AVAIL): Define.
44838         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
44839         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
44840         (HP_SMALL_TIMING_AVAIL): Define.
44841         * sysdeps/sparc/sparc64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
44842         * sysdeps/x86_64/hp-timing.h (HP_SMALL_TIMING_AVAIL): Define.
44844         * sysdeps/aarch64/hp-timing.h: New file.
44846         * sysdeps/generic/hp-timing.h: Remove dead comment.
44847         * sysdeps/generic/hp-timing-common.h: New file.
44848         * sysdeps/alpha/hp-timing.h: Include it.
44849         (HP_TIMING_DIFF, HP_TIMING_ACCUM_NT, HP_TIMING_PRINT): Remove.
44850         * sysdeps/i386/i686/hp-timing.h: Likewise.
44851         * sysdeps/ia64/hp-timing.h: Likewise.
44852         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
44853         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
44854         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
44855         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
44856         * sysdeps/x86_64/hp-timing.h: Don't include the i686 version.
44857         (HP_TIMING_AVAIL, HP_TIMING_INLINE): Define.
44858         (hp_timing_t): New.
44860         * benchtests/bench-string.h (_dl_hp_timing_overhead): Remove.
44861         * benchtests/bench-timing.h (_dl_hp_timing_overhead): Remove.
44862         (TIMING_INIT): Remove call to HP_TIMING_DIFF_INIT.
44863         * elf/rtld.c (_dl_start_final): Likewise.
44864         * sysdeps/generic/ldsodefs.h (_dl_hp_timing_overhead): Remove.
44865         * sysdeps/alpha/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
44866         * sysdeps/generic/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
44867         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
44868         * sysdeps/ia64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
44869         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
44870         (HP_TIMING_DIFF_INIT): Remove.
44871         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
44872         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h
44873         (HP_TIMING_DIFF_INIT): Remove.
44874         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_DIFF_INIT): Remove.
44875         * sysdeps/i386/i686/hp-timing.c: Remove file.
44876         * sysdeps/x86_64/hp-timing.c: Remove file.
44877         * sysdeps/ia64/hp-timing.c: Remove file.
44878         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Remove file.
44879         * sysdeps/powerpc/powerpc64/hp-timing.c: Remove file.
44880         * sysdeps/sparc/sparc32/sparcv9/hp-timing.c: Remove file.
44881         * sysdeps/sparc/sparc64/hp-timing.c: Remove file.
44883         * sysdeps/alpha/hp-timing.h (HP_TIMING_ACCUM): Remove.
44884         * sysdeps/generic/hp-timing.h (HP_TIMING_ACCUM): Remove.
44885         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ACCUM): Remove.
44886         * sysdeps/ia64/hp-timing.h (HP_TIMING_ACCUM): Remove.
44887         * sysdeps/powerpc/powerpc32/power4/hp-timing.h
44888         (HP_TIMING_ACCUM): Remove.
44889         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
44890         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ACCUM): Remove.
44891         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ACCUM): Remove.
44893         * sysdeps/alpha/hp-timing.h (HP_TIMING_ZERO): Remove.
44894         * sysdeps/generic/hp-timing.h (HP_TIMING_ZERO): Remove.
44895         * sysdeps/i386/i686/hp-timing.h (HP_TIMING_ZERO): Remove.
44896         * sysdeps/ia64/hp-timing.h (HP_TIMING_ZERO): Remove.
44897         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_ZERO): Remove.
44898         * sysdeps/powerpc/powerpc64/hp-timing.h (HP_TIMING_ZERO): Remove.
44899         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h (HP_TIMING_ZERO): Remove.
44900         * sysdeps/sparc/sparc64/hp-timing.h (HP_TIMING_ZERO): Remove.
44902         * sysdeps/powerpc/powerpc32/hp-timing.h: Remove file.
44904 2014-07-03  Maciej W. Rozycki  <macro@codesourcery.com>
44906         * stdlib/tst-strtod-overflow.c (TIMEOUT): Bump up to 30.
44908 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
44910         Sync up with gettext.
44911         * intl/loadmsgcat.c: Define O_BINARY if not defined.
44912         [_MSC_VER]: Include malloc.h
44913         [_LIBC]: Define PRI_MACROS_BROKEN if it is not defined.
44914         (get_sysdep_segment_value) [!__UCLIBC__]: Return "I" flag.
44915         (_nl_load_domain): Open DOMAIN_FILE in binary mode.  Don't use
44916         TEMP_FAILURE_RETRY.  Cast return of alloca.
44917         [!_LIBC] Call gl_rwlock_init.
44918         [IN_LIBGLOCALE]: Call _nl_find_msg with one less argument.
44920 2014-07-02  Roland McGrath  <roland@hack.frob.com>
44922         * misc/sys/cdefs.h: Check if __STDC_VERSION__ is defined
44923         before checking its value.
44925 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
44927         * intl/loadmsgcat.c (_nl_load_domain): Use __builtin_expect.
44929         * debug/memcpy_chk.c: Don't include pagecopy.h.
44930         * debug/mempcpy_chk.c: Likewise.
44931         * string/memcpy.c: Likewise.
44932         * string/memmove.c: Likewise.
44933         * sysdeps/powerpc/memmove.c: Likewise.
44934         * sysdeps/generic/memcopy.h: Include pagecopy.h.  Move
44935         definition of PAGE_COPY_FWD_MAYBE here...
44936         * sysdeps/generic/pagecopy.h: ... from here.
44937         * sysdeps/mach/pagecopy.h: Don't include generic pagecopy.h.
44939 2014-07-02  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
44940             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
44942         * sysdeps/powerpc/strcat.c: Using macro to redefine symbol name.
44943         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcat multiarch
44944         optimizations.
44945         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
44946         (__libc_ifunc_impl_list): Likewise.
44947         * sysdeps/powerpc/powerpc64/multiarch/strcat.c: New file:
44948         multiarch strcat for PPC64.
44949         * sysdeps/powerpc/powerpc64/multiarch/strcat-ppc64.c: New file/
44950         * sysdeps/powerpc/powerpc64/multiarch/strcat-power7.c: New file.
44952 2014-07-02  Roland McGrath  <roland@hack.frob.com>
44954         * sysdeps/unix/sysv/linux/dl-sysdep.c: Include <sys/param.h>.
44956 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
44958         * intl/loadmsgcat.c: Remove declaration of
44959         get_sysdep_segment_value.
44960         (get_sysdep_segment_value): Use ISO C style.
44961         (_nl_load_domain): Use ISO C style.  Get rid of redundant
44962         semicolon.  Fix typo and formatting in comment.
44963         (_nl_unload_domain): Use ISO C style.
44965         * sysdeps/posix/sysconf.c (__sysconf): Fix typo in macro name.
44967 2014-07-02  Will Newton  <will.newton@linaro.org>
44969         * malloc/obstack.c: Merge from gnulib master.
44970         [HAVE_CONFIG_H]: Remove conditional code.
44971         [!_LIBC]: Include config.h.
44972         [!ELIDE_CODE]: Don't include inttypes.h, include
44973         stdint.h unconditionally.
44974         (print_and_abort): Mark as _Noreturn.
44975         (_obstack_allocated_p): Mark as __attribute_pure__.
44976         (obstack_free): Rename to __obstack_free.
44977         [!__attribute__]: Remove conditional code.
44978         * malloc/obstack.h: Merge from gnulib master.
44979         [__cplusplus]: Move conditional down.
44980         [!__attribute_pure__]: Define __attribute_pure__ here
44981         if it is not already defined.
44982         (_obstack_memory_used): Mark as __attribute_pure__.
44983         [!__obstack_free]: Define as obstack_free.
44984         [__GNUC__]: Remove check for ancient NeXT gcc.
44986 2014-07-02  Will Newton  <will.newton@linaro.org>
44987             Paul Eggert  <eggert@cs.ucla.edu>
44989         * misc/sys/cdefs.h (_Noreturn): New macro, for pre-C11 compilers.
44991 2014-07-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
44993         * resolv/gethnamaddr.c: Add comment warning that the file is
44994         not maintained.
44996 2014-07-01  Carlos O'Donell  <carlos@redhat.com>
44998         * sysdeps/unix/sysv/linux/hppa/librt.abilist: Remove GLIBC_2.3
44999         entries.
45001         * sysdeps/unix/sysv/linux/hppa/Versions: Remove librt GLIBC_2.3
45002         entry for aio_cancel and aio_cancel64.
45003         * sysdeps/unix/sysv/linux/hppa/ld.abilist: New file.
45004         * sysdeps/unix/sysv/linux/hppa/libBrokenLocale.abilist: New file.
45005         * sysdeps/unix/sysv/linux/hppa/libanl.abilist: New file.
45006         * sysdeps/unix/sysv/linux/hppa/libc.abilist: New file.
45007         * sysdeps/unix/sysv/linux/hppa/libcrypt.abilist: New file.
45008         * sysdeps/unix/sysv/linux/hppa/libdl.abilist: New file.
45009         * sysdeps/unix/sysv/linux/hppa/libm.abilist: New file.
45010         * sysdeps/unix/sysv/linux/hppa/libnsl.abilist: New file.
45011         * sysdeps/unix/sysv/linux/hppa/libpthread.abilist: New file.
45012         * sysdeps/unix/sysv/linux/hppa/libresolv.abilist: New file.
45013         * sysdeps/unix/sysv/linux/hppa/librt.abilist: New file.
45014         * sysdeps/unix/sysv/linux/hppa/libthread_db.abilist: New file.
45015         * sysdeps/unix/sysv/linux/hppa/libutil.abilist: New file.
45017 2014-07-01  Roland McGrath  <roland@hack.frob.com>
45019         * sysdeps/unix/sysv/linux/sysconf.c: Include <sys/param.h>.
45020         * nptl/pthread_mutex_lock.c: Likewise.
45021         * nptl/pthread_mutex_timedlock.c: Likewise.
45022         * nptl/sysdeps/unix/sysv/linux/pthread_attr_getaffinity.c: Likewise.
45024 2014-07-01  Richard henderson  <rth@redhat.com>
45026         * sysdeps/alpha/fpu/bits/mathinline.h (__isnanf): Remove.
45027         (__isnan, __isnanl): Remove.
45028         * sysdeps/alpha/fpu/s_isnan.c (__isnan): Use integer arithmetic.
45030         * sysdeps/alpha/fpu/libm-test-ulps: Update.
45032 2014-07-01  Stefan Liebler  <stli@linux.vnet.ibm.com>
45034         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
45036 2014-07-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
45038         * resolv/nss_dns/dns-host.c (getanswer_r)
45039         [MULTI_PTRS_ARE_ALIASES]: Remove code.
45041 2014-07-01  Joseph Myers  <joseph@codesourcery.com>
45043         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
45044         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PSELECT): Do not
45045         undefine.
45046         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PREADV): Likewise.
45047         [__LINUX_KERNEL_VERSION >= 0x030f00] (__ASSUME_PWRITEV): Likewise.
45049 2014-07-01  Roland McGrath <roland@hack.frob.com>
45051         * sysdeps/unix/sysv/linux/microblaze/arch-fork.h: New file.
45052         * sysdeps/unix/sysv/linux/microblaze/nptl/fork.c: File removed.
45054         * sysdeps/microblaze/nptl/tls.h: Define TLS_DEFINE_INIT_TP.
45055         * sysdeps/unix/sysv/linux/microblaze/nptl/createthread.c: File removed.
45057         * sysdeps/microblaze/nptl/bits/pthreadtypes.h: Moved ...
45058         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h:
45059         ... here.
45060         * sysdeps/microblaze/nptl/bits/semaphore.h: Moved ...
45061         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/semaphore.h: ... here.
45063         * sysdeps/unix/sysv/linux/microblaze/pt-vfork.S: Moved ...
45064         * sysdeps/unix/sysv/linux/microblaze/nptl/pt-vfork.S: ... here.
45065         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Moved ...
45066         * sysdeps/unix/sysv/linux/microblaze/vfork.S: ... here.
45068         * sysdeps/unix/sysv/linux/microblaze/c++-types.data: Moved ...
45069         * sysdeps/unix/sysv/linux/microblaze/nptl/c++-types.data: ... here.
45070         * sysdeps/unix/sysv/linux/microblaze/ld.abilist: Moved ...
45071         * sysdeps/unix/sysv/linux/microblaze/nptl/ld.abilist: ... here.
45072         * sysdeps/unix/sysv/linux/microblaze/libBrokenLocale.abilist:
45073         Moved ...
45074         * sysdeps/unix/sysv/linux/microblaze/nptl/libBrokenLocale.abilist:
45075         ... here.
45076         * sysdeps/unix/sysv/linux/microblaze/libanl.abilist: Moved ...
45077         * sysdeps/unix/sysv/linux/microblaze/nptl/libanl.abilist: ... here.
45078         * sysdeps/unix/sysv/linux/microblaze/libc.abilist: Moved ...
45079         * sysdeps/unix/sysv/linux/microblaze/nptl/libc.abilist: ... here.
45080         * sysdeps/unix/sysv/linux/microblaze/libcrypt.abilist: Moved ...
45081         * sysdeps/unix/sysv/linux/microblaze/nptl/libcrypt.abilist: ... here.
45082         * sysdeps/unix/sysv/linux/microblaze/libdl.abilist: Moved ...
45083         * sysdeps/unix/sysv/linux/microblaze/nptl/libdl.abilist: ... here.
45084         * sysdeps/unix/sysv/linux/microblaze/libm.abilist: Moved ...
45085         * sysdeps/unix/sysv/linux/microblaze/nptl/libm.abilist: ... here.
45086         * sysdeps/unix/sysv/linux/microblaze/libnsl.abilist: Moved ...
45087         * sysdeps/unix/sysv/linux/microblaze/nptl/libnsl.abilist: ... here.
45088         * sysdeps/unix/sysv/linux/microblaze/libpthread.abilist: Moved ...
45089         * sysdeps/unix/sysv/linux/microblaze/nptl/libpthread.abilist: ... here.
45090         * sysdeps/unix/sysv/linux/microblaze/libresolv.abilist: Moved ...
45091         * sysdeps/unix/sysv/linux/microblaze/nptl/libresolv.abilist: ... here.
45092         * sysdeps/unix/sysv/linux/microblaze/librt.abilist: Moved ...
45093         * sysdeps/unix/sysv/linux/microblaze/nptl/librt.abilist: ... here.
45094         * sysdeps/unix/sysv/linux/microblaze/libthread_db.abilist: Moved ...
45095         * sysdeps/unix/sysv/linux/microblaze/nptl/libthread_db.abilist:
45096         ... here.
45097         * sysdeps/unix/sysv/linux/microblaze/libutil.abilist: Moved ...
45098         * sysdeps/unix/sysv/linux/microblaze/nptl/libutil.abilist: ... here.
45099         * sysdeps/unix/sysv/linux/microblaze/localplt.data: Moved ...
45100         * sysdeps/unix/sysv/linux/microblaze/nptl/localplt.data: ... here.
45101         * sysdeps/unix/sysv/linux/microblaze/lowlevellock.h: Moved ...
45102         * sysdeps/unix/sysv/linux/microblaze/nptl/lowlevellock.h: ... here.
45103         * sysdeps/unix/sysv/linux/microblaze/nptl/pthread_once.c: Moved ...
45104         * sysdeps/unix/sysv/linux/microblaze/pthread_once.c: ... here.
45106 2014-07-01  David Holsgrove  <david.holsgrove@xilinx.com>
45108         * sysdeps/unix/sysv/linux/microblaze/sysdep-cancel.h: New file.
45109         * sysdeps/unix/sysv/linux/microblaze/socket.S: Update SINGLE_THREAD_P use.
45110         * sysdeps/unix/sysv/linux/microblaze/Makefile(libpthread-routines):
45111         Add sysdep.
45113 2014-06-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
45115         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
45117 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
45119         * sysdeps/mips/mips32/libm-test-ulps: Regenerated.
45120         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
45122         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
45124         * sysdeps/arm/libm-test-ulps: Regenerated.
45126 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
45127             Roland McGrath <roland@hack.frob.com>
45129         * test-skeleton.c (signal_handler): Kill the whole process group
45130         before killing the child individually.
45131         (main): Report any failure on `setpgid'.
45133 2014-06-30  Roland McGrath  <roland@hack.frob.com>
45135         * sysdeps/arm/nptl/tls.h: Rename the multiple inclusion guard
45136         from _TLS_H to _ARM_NPTL_TLS_H.
45137         (TLS_INIT_TP): Move macro, and #include of <sysdep.h>, to ...
45138         * sysdeps/unix/sysv/linux/arm/tls.h: ... this new file.
45140 2014-06-30  Joseph Myers  <joseph@codesourcery.com>
45142         [BZ #16539]
45143         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Include <float.h>.
45144         (__expm1l): Return argument unchanged when small but not
45145         subnormal.
45147         * soft-fp/op-1.h (_FP_UNPACK_RAW_1): Rename local variables to
45148         include macro name.
45149         (_FP_UNPACK_RAW_1_P): Likewise.
45150         (_FP_PACK_RAW_1): Likewise.
45151         (_FP_PACK_RAW_1_P): Likewise.
45152         (_FP_MUL_MEAT_1_wide): Likewise.
45153         (_FP_MUL_MEAT_DW_1_hard): Likewise.
45154         (_FP_MUL_MEAT_1_hard): Likewise.
45155         (_FP_DIV_MEAT_1_imm): Likewise.
45156         (_FP_DIV_MEAT_1_udiv_norm): Likewise.
45157         (_FP_DIV_MEAT_1_udiv): Likewise.
45158         * soft-fp/op-2.h (__FP_FRAC_DEC_2): Likewise.
45159         (_FP_UNPACK_RAW_2): Likewise.
45160         (_FP_UNPACK_RAW_2_P): Likewise.
45161         (_FP_PACK_RAW_2): Likewise.
45162         (_FP_PACK_RAW_2_P): Likewise.
45163         (_FP_MUL_MEAT_DW_2_wide): Likewise.
45164         (_FP_MUL_MEAT_2_wide): Likewise.
45165         (_FP_MUL_MEAT_DW_2_wide_3mul): Likewise.
45166         (_FP_MUL_MEAT_2_wide_3mul): Likewise.
45167         (_FP_MUL_MEAT_DW_2_gmp): Likewise.
45168         (_FP_MUL_MEAT_2_gmp): Likewise.
45169         (_FP_DIV_MEAT_2_udiv): Likewise.
45170         * soft-fp/op-4.h (_FP_FRAC_SLL_4): Likewise.
45171         (_FP_FRAC_SRL_4): Likewise.
45172         (_FP_FRAC_SRST_4): Likewise.
45173         (_FP_FRAC_SRS_4): Likewise.
45174         (_FP_UNPACK_RAW_4): Likewise.
45175         (_FP_UNPACK_RAW_4_P): Likewise.
45176         (_FP_PACK_RAW_4): Likewise.
45177         (_FP_PACK_RAW_4_P): Likewise.
45178         (_FP_MUL_MEAT_DW_4_wide): Likewise.
45179         (_FP_MUL_MEAT_4_wide): Likewise.
45180         (_FP_MUL_MEAT_4_gmp): Likewise.
45181         (umul_ppppmnnn): Likewise.
45182         (_FP_DIV_MEAT_4_udiv): Likewise.
45183         (__FP_FRAC_ADD_4): Likewise.
45184         (__FP_FRAC_SUB_3): Likewise.
45185         (__FP_FRAC_SUB_4): Likewise.
45186         (__FP_FRAC_DEC_3): Likewise.
45187         (__FP_FRAC_DEC_4): Likewise.
45188         (__FP_FRAC_ADDI_4): Likewise.
45189         * soft-fp/op-8.h (_FP_FRAC_SLL_8): Likewise.
45190         (_FP_FRAC_SRL_8): Likewise.
45191         (_FP_FRAC_SRS_8): Likewise.
45193         * soft-fp/extended.h (FP_UNPACK_RAW_E): Rename local variables to
45194         include macro name.
45195         (FP_UNPACK_RAW_EP): Likewise.
45196         (FP_PACK_RAW_E): Likewise.
45197         (FP_PACK_RAW_EP): Likewise.
45198         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Likewise.
45199         (_FP_ISSIGNAN): Likewise.
45200         (_FP_ADD_INTERNAL): Likewise.
45201         (_FP_FMA): Likewise.
45202         (_FP_CMP): Likewise.
45203         (_FP_SQRT): Likewise.
45204         (_FP_TO_INT): Likewise.
45205         (_FP_FROM_INT): Likewise.
45206         (FP_EXTEND): Likewise.
45207         (_FP_DIV_MEAT_N_loop): Likewise.
45209 2014-06-30  Maciej W. Rozycki  <macro@codesourcery.com>
45211         * sysdeps/unix/sysv/linux/bits/socket.h: Adjust macro formatting
45212         throughout.
45214 2014-06-29  Joseph Myers  <joseph@codesourcery.com>
45216         [BZ #17097]
45217         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Return
45218         result with correct sign in case of exponents that produce
45219         overflow except for X very close to 1.
45221 2014-06-28  Paul Eggert  <eggert@cs.ucla.edu>
45223         mktime: merge #if/#ifdef usage from glibc
45224         * lib/mktime.c: Use "#if defined DEBUG && DEBUG", not "#if DEBUG",
45225         as that works with both Glibc's and Gnulib's style.
45226         See thread starting at Siddhesh Poyarekar's bug report at:
45227         http://lists.gnu.org/archive/html/bug-gnulib/2014-06/msg00102.html
45229 2014-06-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
45231         * sysdeps/generic/memcopy.h: Define MEMCPY_OK_FOR_FWD_MEMMOVE.
45232         * sysdeps/tile/memcopy.h: Redefine MEMCPY_OK_FOR_FWD_MEMMOVE.
45233         * sysdeps/tile/tilegx/memmove.c: Remove file.
45235 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
45237         * Makeconfig ($(common-objpfx)soversions.mk): Do not generate
45238         abi-name definition.
45239         * scripts/soversions.awk: Do not handle or generate ABI lines.
45240         * shlib-versions: Remove ABI entries.
45241         * sysdeps/powerpc/nofpu/shlib-versions: Remove file.
45242         * sysdeps/x86_64/x32/shlib-versions: Remove ABI entry.
45244 2014-06-27  Roland McGrath  <roland@hack.frob.com>
45246         * sysdeps/unix/sysv/linux/mips/mips32/nptl/c++-types.data: Moved ...
45247         * sysdeps/unix/sysv/linux/mips/mips32/c++-types.data: ... here.
45248         * sysdeps/unix/sysv/linux/mips/mips32/fpu/nptl/libc.abilist: Moved ...
45249         * sysdeps/unix/sysv/linux/mips/mips32/fpu/libc.abilist: ... here.
45250         * sysdeps/unix/sysv/linux/mips/mips32/nptl/ld.abilist: Moved ...
45251         * sysdeps/unix/sysv/linux/mips/mips32/ld.abilist: ... here.
45252         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libBrokenLocale.abilist:
45253         Moved ...
45254         * sysdeps/unix/sysv/linux/mips/mips32/libBrokenLocale.abilist:
45255         ... here.
45256         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libanl.abilist: Moved ...
45257         * sysdeps/unix/sysv/linux/mips/mips32/libanl.abilist: ... here.
45258         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcidn.abilist: Moved ...
45259         * sysdeps/unix/sysv/linux/mips/mips32/libcidn.abilist: ... here.
45260         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libcrypt.abilist: Moved ...
45261         * sysdeps/unix/sysv/linux/mips/mips32/libcrypt.abilist: ... here.
45262         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libdl.abilist: Moved ...
45263         * sysdeps/unix/sysv/linux/mips/mips32/libdl.abilist: ... here.
45264         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libm.abilist: Moved ...
45265         * sysdeps/unix/sysv/linux/mips/mips32/libm.abilist: ... here.
45266         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnsl.abilist: Moved ...
45267         * sysdeps/unix/sysv/linux/mips/mips32/libnsl.abilist: ... here.
45268         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_compat.abilist:
45269         Moved ...
45270         * sysdeps/unix/sysv/linux/mips/mips32/libnss_compat.abilist: ... here.
45271         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_db.abilist: Moved ...
45272         * sysdeps/unix/sysv/linux/mips/mips32/libnss_db.abilist: ... here.
45273         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_dns.abilist: Moved ...
45274         * sysdeps/unix/sysv/linux/mips/mips32/libnss_dns.abilist: ... here.
45275         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_files.abilist:
45276         Moved ...
45277         * sysdeps/unix/sysv/linux/mips/mips32/libnss_files.abilist: ... here.
45278         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_hesiod.abilist:
45279         Moved ...
45280         * sysdeps/unix/sysv/linux/mips/mips32/libnss_hesiod.abilist: ... here.
45281         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nis.abilist: Moved ...
45282         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nis.abilist: ... here.
45283         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libnss_nisplus.abilist:
45284         Moved ...
45285         * sysdeps/unix/sysv/linux/mips/mips32/libnss_nisplus.abilist: ... here.
45286         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libpthread.abilist: Moved ...
45287         * sysdeps/unix/sysv/linux/mips/mips32/libpthread.abilist: ... here.
45288         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libresolv.abilist: Moved ...
45289         * sysdeps/unix/sysv/linux/mips/mips32/libresolv.abilist: ... here.
45290         * sysdeps/unix/sysv/linux/mips/mips32/nptl/librt.abilist: Moved ...
45291         * sysdeps/unix/sysv/linux/mips/mips32/librt.abilist: ... here.
45292         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libthread_db.abilist:
45293         Moved ...
45294         * sysdeps/unix/sysv/linux/mips/mips32/libthread_db.abilist: ... here.
45295         * sysdeps/unix/sysv/linux/mips/mips32/nptl/libutil.abilist: Moved ...
45296         * sysdeps/unix/sysv/linux/mips/mips32/libutil.abilist: ... here.
45297         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/nptl/libc.abilist:
45298         Moved ...
45299         * sysdeps/unix/sysv/linux/mips/mips32/nofpu/libc.abilist: ... here.
45300         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/c++-types.data:
45301         Moved ...
45302         * sysdeps/unix/sysv/linux/mips/mips64/n32/c++-types.data: ... here.
45303         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/ld.abilist: Moved ...
45304         * sysdeps/unix/sysv/linux/mips/mips64/n32/ld.abilist: ... here.
45305         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libBrokenLocale.abilist:
45306         Moved ...
45307         * sysdeps/unix/sysv/linux/mips/mips64/libBrokenLocale.abilist:
45308         ... here.
45309         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libBrokenLocale.abilist:
45310         Identical file removed.
45311         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libanl.abilist:
45312         Moved ...
45313         * sysdeps/unix/sysv/linux/mips/mips64/libanl.abilist: ... here.
45314         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libanl.abilist:
45315         Identical file removed.
45316         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libc.abilist: Moved ...
45317         * sysdeps/unix/sysv/linux/mips/mips64/n32/libc.abilist: ... here.
45318         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libcrypt.abilist:
45319         Moved ...
45320         * sysdeps/unix/sysv/linux/mips/mips64/libcrypt.abilist: ... here.
45321         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libcrypt.abilist:
45322         Identical file removed.
45323         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libdl.abilist: Moved ...
45324         * sysdeps/unix/sysv/linux/mips/mips64/libdl.abilist: ... here.
45325         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libdl.abilist:
45326         Identical file removed.
45327         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libm.abilist: Moved ...
45328         * sysdeps/unix/sysv/linux/mips/mips64/libm.abilist: ... here.
45329         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libm.abilist:
45330         Identical file removed.
45331         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libnsl.abilist: Moved ...
45332         * sysdeps/unix/sysv/linux/mips/mips64/libnsl.abilist: ... here.
45333         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libnsl.abilist:
45334         Identical file removed.
45335         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libpthread.abilist:
45336         Moved ...
45337         * sysdeps/unix/sysv/linux/mips/mips64/libpthread.abilist: ... here.
45338         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libpthread.abilist:
45339         Identical file removed.
45340         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libresolv.abilist:
45341         Moved ...
45342         * sysdeps/unix/sysv/linux/mips/mips64/n32/libresolv.abilist: ... here.
45343         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/librt.abilist: Moved ...
45344         * sysdeps/unix/sysv/linux/mips/mips64/librt.abilist: ... here.
45345         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/librt.abilist:
45346         Identical file removed.
45347         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libthread_db.abilist:
45348         Moved ...
45349         * sysdeps/unix/sysv/linux/mips/mips64/libthread_db.abilist:
45350         ... here.
45351         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libthread_db.abilist:
45352         Identical file removed.
45353         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libutil.abilist:
45354         Moved ...
45355         * sysdeps/unix/sysv/linux/mips/mips64/libutil.abilist: ... here.
45356         * sysdeps/unix/sysv/linux/mips/mips64/n32/nptl/libutil.abilist:
45357         Identical file removed.
45358         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/c++-types.data:
45359         Moved ...
45360         * sysdeps/unix/sysv/linux/mips/mips64/n64/c++-types.data: ... here.
45361         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/ld.abilist: Moved ...
45362         * sysdeps/unix/sysv/linux/mips/mips64/n64/ld.abilist: ... here.
45363         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libc.abilist: Moved ...
45364         * sysdeps/unix/sysv/linux/mips/mips64/n64/libc.abilist: ... here.
45365         * sysdeps/unix/sysv/linux/mips/mips64/n64/nptl/libresolv.abilist:
45366         Moved ...
45367         * sysdeps/unix/sysv/linux/mips/mips64/n64/libresolv.abilist: ... here.
45368         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h: Moved ...
45369         * sysdeps/unix/sysv/linux/mips/mips64/sysdep-cancel.h: ... here.
45371         * sysdeps/unix/sysv/linux/mips/vfork.S: Incorporate
45372         SAVE_PID and RESTORE_PID blocks from nptl/pt-vfork.S.
45373         * sysdeps/unix/sysv/linux/mips/nptl/vfork.S: File removed.
45374         * sysdeps/unix/sysv/linux/mips/nptl/pt-vfork.S: File removed.
45375         * sysdeps/unix/sysv/linux/mips/pt-vfork.S: New file.
45377 2014-06-27  Arjun Shankar  <arjun.is@lostca.se>
45379         [BZ #17092]
45380         * nscd/nscd.c (monitor_child): Return exit status of child
45381         instead of return value from wait syscall.
45383 2014-06-27  Joseph Myers  <joseph@codesourcery.com>
45385         * configure.ac (libc_commonpagesize): Remove variable.
45386         (libc_relro_required): Likewise.
45387         (libc_cv_z_relro): Remove configure test.
45388         * configure: Regenerated.
45389         * sysdeps/aarch64/preconfigure (libc_commonpagesize): Do not set
45390         variable.
45391         (libc_relro_required): Likewise.
45392         * sysdeps/alpha/preconfigure (libc_commonpagesize): Likewise.
45393         (libc_relro_required): Likewise.
45394         * sysdeps/arm/preconfigure.ac (libc_commonpagesize): Likewise.
45395         (libc_relro_required): Likewise.
45396         * sysdeps/arm/preconfigure: Regenerated.
45397         * sysdeps/ia64/preconfigure: Remove file.
45398         * sysdeps/tile/preconfigure (libc_commonpagesize): Do not set
45399         variable.
45400         (libc_relro_required): Likewise.
45402         [BZ #16561]
45403         [BZ #16562]
45404         * sysdeps/ieee754/dbl-64/e_jn.c: Include <float.h>.
45405         (__ieee754_yn): Set FE_TONEAREST mode internally and then
45406         recompute overflowing results in original rounding mode.
45407         * sysdeps/ieee754/flt-32/e_jnf.c: Include <float.h>.
45408         (__ieee754_ynf): Set FE_TONEAREST mode internally and then
45409         recompute overflowing results in original rounding mode.
45410         * sysdeps/ieee754/ldbl-128/e_jnl.c: Include <float.h>.
45411         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
45412         recompute overflowing results in original rounding mode.
45413         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Include <float.h>.
45414         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
45415         recompute overflowing results in original rounding mode.
45416         * sysdeps/ieee754/ldbl-96/e_jnl.c: Include <float.h>.
45417         (__ieee754_ynl): Set FE_TONEAREST mode internally and then
45418         recompute overflowing results in original rounding mode.
45419         * sysdeps/i386/fpu/fenv_private.h [!__SSE2_MATH__]
45420         (libc_feholdsetround_ctx): New macro.
45421         * math/libm-test.inc (yn_test): Use ALL_RM_TEST.
45422         * sysdeps/i386/fpu/libm-test-ulps: Update.
45423         * sysdeps/x86_64/fpu/libm-test-ulps : Likewise.
45425 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
45427         * sysdeps/unix/sysv/linux/mips/mips64/nptl/sysdep-cancel.h
45428         [__PIC__] (PSEUDO): Use name of _nocancel entry point in
45429         corresponding .cpsetup call.
45431 2014-06-26  Roland McGrath  <roland@hack.frob.com>
45433         * sysdeps/unix/sysv/linux/arm/libc-aeabi_read_tp.S: Moved ...
45434         * sysdeps/arm/libc-aeabi_read_tp.S: ... here.
45435         * sysdeps/arm/Makefile [$(subdir) = csu]
45436         (aeabi_routines): Add aeabi_read_tp and libc-aeabi_read_tp here.
45437         (static-only-routines): Add aeabi_read_tp here.
45438         (shared-only-routines): Add libc-aeabi_read_tp here.
45439         (CFLAGS-libc-start.c): Add -fexceptions here.
45440         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = csu]
45441         (sysdep_routines, static-only-routines, shared-only-routines):
45442         Don't add to these here.
45443         (CFLAGS-libc-start.c): Likewise.
45445         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: Moved ...
45446         * sysdeps/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
45447         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: Moved ...
45448         * sysdeps/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
45449         * sysdeps/arm/Makefile [$(subdir) = rt]
45450         (librt-sysdep_routines, librt-shared-only-routines):
45451         Append rt-aeabi_unwind_cpp_pr1 here.
45452         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = rt]
45453         (librt-sysdep_routines, librt-shared-only-routines): Don't do it here.
45454         * sysdeps/arm/nptl/Makefile [$(subdir) = nptl]
45455         (libpthread-sysdep_routines, libpthread-shared-only-routines):
45456         Append nptl-aeabi_unwind_cpp_pr1 here.
45457         (tests): Filter out tst-cleanupx4 here.
45458         * sysdeps/unix/sysv/linux/arm/Makefile [$(subdir) = nptl]
45459         (libpthread-sysdep_routines, libpthread-shared-only-routines, tests):
45460         Don't do those here.
45462 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
45464         * scripts/list-sources.sh: Do not handle ports specially.
45466 2014-06-26  Roland McGrath  <roland@hack.frob.com>
45468         * sysdeps/arm/fesetenv.c: Include <fpu_control.h>.
45469         * sysdeps/arm/feupdateenv.c: Likewise.
45471         * posix/spawn_faction_addopen.c: Include <stdlib.h> for free decl.
45473 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
45475         * manual/texinfo.tex: Update to version 2014-05-05.10 with
45476         trailing whitespace removed.
45477         * scripts/config.guess: Update to version 2014-03-23.
45478         * scripts/config.sub: Update to version 2014-05-01
45479         * scripts/install-sh: Update to version 2013-12-25.23.
45480         * scripts/move-if-change: Update from gnulib.
45482 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
45484         * debug/memmove_chk.c: Remove pagecopy.h include.
45486 2014-06-26  Paul Eggert  <eggert@cs.ucla.edu>
45488         * time/mktime.c (leapyear): Remove inline keyword.  The code is now
45489         identical to gnulib mktime.
45491 2014-06-26  Joseph Myers  <joseph@codesourcery.com>
45493         * configure.ac: Do not test for machine being rs6000.  Do not test
45494         for powerpc*-*soft.
45495         * configure: Regenerated.
45497         [BZ #11505]
45498         * configure.ac (libc_cv_asm_cfi_directives): Remove configure
45499         test.
45500         * configure: Regenerated.
45501         * config.h.in (HAVE_ASM_CFI_DIRECTIVES): Remove macro undefine.
45502         * sysdeps/arm/configure.ac (libc_cv_asm_cfi_directive_sections):
45503         Remove configure test.
45504         * sysdeps/arm/configure: Regenerated.
45505         * sysdeps/nptl/configure.ac: Do not check
45506         libc_cv_asm_cfi_directives.
45507         * sysdeps/nptl/configure: Regenerated.
45508         * sysdeps/x86_64/nptl/configure.ac: Remove file.
45509         * sysdeps/x86_64/nptl/configure: Remove generated file.
45510         * b/sysdeps/generic/sysdep.h [HAVE_ASM_CFI_DIRECTIVES]: Make code
45511         unconditional.
45512         [!HAVE_ASM_CFI_DIRECTIVES]: Remove conditional code.
45514 2014-06-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
45516         * posix/fnmatch.c: Define WIDE_CHAR_VERSION.
45517         * posix/fnmatch_loop.c: Undefine WIDE_CHAR_VERSION.
45518         (FCT): Check value of WIDE_CHAR_VERSION instead of checking if
45519         it is defined.
45521         * elf/dl-runtime.c: Check for value of ELF_MACHINE_NO_RELA
45522         instead of whether it is defined.
45523         * sysdeps/aarch64/dl-machine.h: Define ELF_MACHINE_NO_RELA.
45524         * sysdeps/hppa/dl-machine.h: Likewise.
45525         * sysdeps/ia64/dl-machine.h: Likewise.
45526         * sysdeps/m68k/dl-machine.h: Likewise.
45527         * sysdeps/microblaze/dl-machine.h: Likewise.
45528         * sysdeps/mips/dl-machine.: Likewise.
45529         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
45530         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
45531         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
45532         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
45533         * sysdeps/sh/dl-machine.h: Likewise.
45534         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
45535         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
45536         * sysdeps/tile/dl-machine.h: Likewise.
45537         * sysdeps/x86_64/dl-machine.h: Likewise.
45539         * nscd/connections.c (enum usekey) [SEPARATE_KEY]: Remove
45540         code.
45541         (verify_persistent_db): Likewise.
45543 2014-06-26  Roland McGrath  <roland@hack.frob.com>
45545         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data: Moved ...
45546         * sysdeps/unix/sysv/linux/s390/s390-32/c++-types.data: ... here.
45547         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Moved ...
45548         * sysdeps/unix/sysv/linux/s390/s390-32/ld.abilist: ... here.
45549         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
45550         Moved ...
45551         * sysdeps/unix/sysv/linux/s390/s390-32/libBrokenLocale.abilist:
45552         ... here.
45553         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: Moved ...
45554         * sysdeps/unix/sysv/linux/s390/libanl.abilist: ... here.
45555         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist:
45556         Identical file removed.
45557         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Moved ...
45558         * sysdeps/unix/sysv/linux/s390/s390-32/libc.abilist: ... here.
45559         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: Moved ...
45560         * sysdeps/unix/sysv/linux/s390/s390-32/libcrypt.abilist: ... here.
45561         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: Moved ...
45562         * sysdeps/unix/sysv/linux/s390/s390-32/libdl.abilist: ... here.
45563         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Moved ...
45564         * sysdeps/unix/sysv/linux/s390/s390-32/libm.abilist: ... here.
45565         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: Moved ...
45566         * sysdeps/unix/sysv/linux/s390/s390-32/libnsl.abilist: ... here.
45567         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
45568         Moved ...
45569         * sysdeps/unix/sysv/linux/s390/s390-32/libpthread.abilist: ... here.
45570         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: Moved ...
45571         * sysdeps/unix/sysv/linux/s390/s390-32/libresolv.abilist: ... here.
45572         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Moved ...
45573         * sysdeps/unix/sysv/linux/s390/s390-32/librt.abilist: ... here.
45574         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
45575         Moved ...
45576         * sysdeps/unix/sysv/linux/s390/s390-32/libthread_db.abilist: ... here.
45577         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Moved ...
45578         * sysdeps/unix/sysv/linux/s390/s390-32/libutil.abilist: ... here.
45579         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data: Moved ...
45580         * sysdeps/unix/sysv/linux/s390/localplt.data: ... here.
45581         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
45582         Identical file removed.
45583         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data: Moved ...
45584         * sysdeps/unix/sysv/linux/s390/s390-64/c++-types.data: ... here.
45585         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Moved ...
45586         * sysdeps/unix/sysv/linux/s390/s390-64/ld.abilist: ... here.
45587         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
45588         Moved ...
45589         * sysdeps/unix/sysv/linux/s390/s390-64/libBrokenLocale.abilist:
45590         ... here.
45591         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Moved ...
45592         * sysdeps/unix/sysv/linux/s390/s390-64/libc.abilist: ... here.
45593         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: Moved ...
45594         * sysdeps/unix/sysv/linux/s390/s390-64/libcrypt.abilist: ... here.
45595         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: Moved ...
45596         * sysdeps/unix/sysv/linux/s390/s390-64/libdl.abilist: ... here.
45597         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Moved ...
45598         * sysdeps/unix/sysv/linux/s390/s390-64/libm.abilist: ... here.
45599         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: Moved ...
45600         * sysdeps/unix/sysv/linux/s390/s390-64/libnsl.abilist: ... here.
45601         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
45602         Moved ...
45603         * sysdeps/unix/sysv/linux/s390/s390-64/libpthread.abilist: ... here.
45604         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist:
45605         Moved ...
45606         * sysdeps/unix/sysv/linux/s390/s390-64/libresolv.abilist: ... here.
45607         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: Moved ...
45608         * sysdeps/unix/sysv/linux/s390/s390-64/librt.abilist: ... here.
45609         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
45610         Moved ...
45611         * sysdeps/unix/sysv/linux/s390/s390-64/libthread_db.abilist: ... here.
45612         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: Moved ...
45613         * sysdeps/unix/sysv/linux/s390/s390-64/libutil.abilist: ... here.
45615         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: File removed, contents
45616         folded into ...
45617         * sysdeps/unix/sysv/linux/s390/Makefile [$(subdir) = nptl]: ... here.
45618         * sysdeps/unix/sysv/linux/s390/Versions
45619         (libpthread: GLIBC_2.19): New version set.
45620         * nptl/sysdeps/unix/sysv/linux/s390/Versions: File removed.
45621         * sysdeps/unix/sysv/linux/s390/s390-64/Versions
45622         (librt: GLIBC_2.3.3): New version set.
45623         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/Versions: File removed.
45624         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: Moved ...
45625         * sysdeps/unix/sysv/linux/s390/elision-conf.c: ... here.
45626         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Moved ...
45627         * sysdeps/unix/sysv/linux/s390/elision-conf.h: ... here.
45628         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Moved ...
45629         * sysdeps/unix/sysv/linux/s390/elision-lock.c: ... here.
45630         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Moved ...
45631         * sysdeps/unix/sysv/linux/s390/elision-timed.c: ... here.
45632         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Moved ...
45633         * sysdeps/unix/sysv/linux/s390/elision-trylock.c: ... here.
45634         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Moved ...
45635         * sysdeps/unix/sysv/linux/s390/elision-unlock.c: ... here.
45636         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Moved ...
45637         * sysdeps/unix/sysv/linux/s390/force-elision.h: ... here.
45638         * nptl/sysdeps/unix/sysv/linux/s390/jmp-unwind.c: Moved ...
45639         * sysdeps/unix/sysv/linux/s390/jmp-unwind.c: ... here.
45640         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h: Moved ...
45641         * sysdeps/unix/sysv/linux/s390/lowlevellock.h: ... here.
45642         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: Moved ...
45643         * sysdeps/unix/sysv/linux/s390/pt-longjmp.c: ... here.
45644         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: Moved ...
45645         * sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c: ... here.
45646         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: Moved ...
45647         * sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c: ... here.
45648         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: Moved ...
45649         * sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c: ... here.
45650         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: Moved ...
45651         * sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c: ... here.
45652         * nptl/sysdeps/unix/sysv/linux/s390/pthread_once.c: Moved ...
45653         * sysdeps/unix/sysv/linux/s390/pthread_once.c: ... here.
45654         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: Moved ...
45655         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep-cancel.h: ... here.
45656         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: Moved ...
45657         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep-cancel.h: ... here.
45658         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Moved ...
45659         * sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: ... here.
45660         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Moved ...
45661         * sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: ... here.
45662         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Moved ...
45663         * sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: ... here.
45664         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Moved ...
45665         * sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: ... here.
45666         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Moved ...
45667         * sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: ... here.
45669         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Moved ...
45670         * sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: ... here.
45671         (__libc_vfork): Define the function under this name.
45672         [!NOT_IN_libc] (__vfork): Make this an alias.
45673         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
45674         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Moved ...
45675         * sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: ... here.
45676         (__libc_vfork): Define the function under this name.
45677         [!NOT_IN_libc] (__vfork): Make this an alias.
45678         [!NOT_IN_libc] (vfork): Conditionalize the weak_alias.
45679         * sysdeps/unix/sysv/linux/s390/pt-vfork.S: New file.
45680         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: File removed.
45681         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: File removed.
45682         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Remove vfork.
45683         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
45685         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Deconditionalize the
45686         code that was previously under [RESET_PID].
45687         * sysdeps/unix/sysv/linux/s390/s390-64/clone.S: Likewise.
45688         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/clone.S: File removed.
45689         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/clone.S: File removed.
45691         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h: Moved ...
45692         * sysdeps/aarch64/nptl/bits/pthreadtypes.h: ... here.
45693         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/semaphore.h: Moved ...
45694         * sysdeps/aarch64/nptl/bits/semaphore.h: ... here.
45695         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/local_lim.h: Moved ...
45696         * sysdeps/unix/sysv/linux/aarch64/bits/local_lim.h: ... here.
45697         * sysdeps/unix/sysv/linux/aarch64/nptl/c++-types.data: Moved ...
45698         * sysdeps/unix/sysv/linux/aarch64/c++-types.data: ... here.
45699         * sysdeps/unix/sysv/linux/aarch64/nptl/ld.abilist: Moved ...
45700         * sysdeps/unix/sysv/linux/aarch64/ld.abilist: ... here.
45701         * sysdeps/unix/sysv/linux/aarch64/nptl/libBrokenLocale.abilist:
45702         Moved ...
45703         * sysdeps/unix/sysv/linux/aarch64/libBrokenLocale.abilist: ... here.
45704         * sysdeps/unix/sysv/linux/aarch64/nptl/libanl.abilist: Moved ...
45705         * sysdeps/unix/sysv/linux/aarch64/libanl.abilist: ... here.
45706         * sysdeps/unix/sysv/linux/aarch64/nptl/libc.abilist: Moved ...
45707         * sysdeps/unix/sysv/linux/aarch64/libc.abilist: ... here.
45708         * sysdeps/unix/sysv/linux/aarch64/nptl/libcrypt.abilist: Moved ...
45709         * sysdeps/unix/sysv/linux/aarch64/libcrypt.abilist: ... here.
45710         * sysdeps/unix/sysv/linux/aarch64/nptl/libdl.abilist: Moved ...
45711         * sysdeps/unix/sysv/linux/aarch64/libdl.abilist: ... here.
45712         * sysdeps/unix/sysv/linux/aarch64/nptl/libm.abilist: Moved ...
45713         * sysdeps/unix/sysv/linux/aarch64/libm.abilist: ... here.
45714         * sysdeps/unix/sysv/linux/aarch64/nptl/libnsl.abilist: Moved ...
45715         * sysdeps/unix/sysv/linux/aarch64/libnsl.abilist: ... here.
45716         * sysdeps/unix/sysv/linux/aarch64/nptl/libpthread.abilist: Moved ...
45717         * sysdeps/unix/sysv/linux/aarch64/libpthread.abilist: ... here.
45718         * sysdeps/unix/sysv/linux/aarch64/nptl/libresolv.abilist: Moved ...
45719         * sysdeps/unix/sysv/linux/aarch64/libresolv.abilist: ... here.
45720         * sysdeps/unix/sysv/linux/aarch64/nptl/librt.abilist: Moved ...
45721         * sysdeps/unix/sysv/linux/aarch64/librt.abilist: ... here.
45722         * sysdeps/unix/sysv/linux/aarch64/nptl/libthread_db.abilist: Moved ...
45723         * sysdeps/unix/sysv/linux/aarch64/libthread_db.abilist: ... here.
45724         * sysdeps/unix/sysv/linux/aarch64/nptl/libutil.abilist: Moved ...
45725         * sysdeps/unix/sysv/linux/aarch64/libutil.abilist: ... here.
45726         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data: Moved ...
45727         * sysdeps/unix/sysv/linux/aarch64/localplt.data: ... here.
45728         * sysdeps/unix/sysv/linux/aarch64/nptl/lowlevellock.h: Moved ...
45729         * sysdeps/unix/sysv/linux/aarch64/lowlevellock.h: ... here.
45730         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Moved ...
45731         * sysdeps/unix/sysv/linux/aarch64/sysdep-cancel.h: ... here.
45733 2014-06-25  Roland McGrath  <roland@hack.frob.com>
45735         * sysdeps/unix/sysv/linux/mips/clone.S: Deconditionalize the code
45736         that was previously under [RESET_PID].
45737         * sysdeps/unix/sysv/linux/mips/nptl/clone.S: File removed.
45739 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
45741         * sysdeps/unix/sysv/linux/dl-opendir.c (__ASSUME_O_CLOEXEC): Do
45742         not undefine and redefine.
45743         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs)
45744         [O_CLOEXEC]: Make code unconditional.
45745         (__get_nprocs) [!O_CLOEXEC]: Remove conditional code.
45746         * sysdeps/unix/sysv/linux/shm_open.c: Do not include
45747         <kernel-features.h>.
45748         [O_CLOEXEC && !__ASSUME_O_CLOEXEC] (have_o_cloexec): Remove
45749         conditional variable definition.
45750         (shm_open) [O_CLOEXEC]: Make code unconditional.
45751         (shm_open) [!O_CLOEXEC || !__ASSUME_O_CLOEXEC]: Remove conditional
45752         code.
45754         * configure.ac (USE_REGPARMS): Don't define here.
45755         * configure: Regenerated.
45756         * sysdeps/i386/configure.ac (USE_REGPARMS): Define here.
45757         * sysdeps/i386/configure: Regenerated.
45759         * nptl/createthread.c: Don't include kernel-features.h.
45760         * nptl/pthread_cancel.c: Likewise.
45761         * nptl/pthread_condattr_setclock.c: Likewise.
45762         * nptl/sysdeps/unix/sysv/linux/pt-raise.c: Likewise.
45763         * nptl/sysdeps/unix/sysv/linux/pthread_getcpuclockid.c: Likewise.
45764         * nptl/sysdeps/unix/sysv/linux/pthread_kill.c: Likewise.
45765         * nptl/sysdeps/unix/sysv/linux/pthread_sigqueue.c: Likewise.
45766         * nptl/sysdeps/unix/sysv/linux/raise.c: Likewise.
45767         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/pt-vfork.S: Likewise.
45768         * nptl/sysdeps/unix/sysv/linux/s390/s390-32/vfork.S: Likewise.
45769         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/pt-vfork.S: Likewise.
45770         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/vfork.S: Likewise.
45771         * nptl/sysdeps/unix/sysv/linux/timer_create.c: Likewise.
45772         * nptl/sysdeps/unix/sysv/linux/timer_delete.c: Likewise.
45773         * nptl/sysdeps/unix/sysv/linux/timer_getoverr.c: Likewise.
45774         * nptl/sysdeps/unix/sysv/linux/timer_gettime.c: Likewise.
45775         * nptl/sysdeps/unix/sysv/linux/timer_routines.c: Likewise.
45776         * nptl/sysdeps/unix/sysv/linux/timer_settime.c: Likewise.
45777         * nscd/gai.c: Likewise.
45778         * nss/nss_db/db-open.c: Likewise.
45779         * sysdeps/generic/ldsodefs.h: Likewise.
45780         * sysdeps/sh/nptl/tls.h: Likewise.
45781         * sysdeps/unix/sysv/linux/aarch64/sigaction.c: Likewise.
45782         * sysdeps/unix/sysv/linux/aarch64/sigcontextinfo.h: Likewise.
45783         * sysdeps/unix/sysv/linux/aarch64/vfork.S: Likewise.
45784         * sysdeps/unix/sysv/linux/adjtime.c: Likewise.
45785         * sysdeps/unix/sysv/linux/alpha/xstatconv.h: Likewise.
45786         * sysdeps/unix/sysv/linux/arm/sigaction.c: Likewise.
45787         * sysdeps/unix/sysv/linux/arm/sigcontextinfo.h: Likewise.
45788         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
45789         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
45790         * sysdeps/unix/sysv/linux/clock_getres.c: Likewise.
45791         * sysdeps/unix/sysv/linux/clock_gettime.c: Likewise.
45792         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
45793         * sysdeps/unix/sysv/linux/clock_settime.c: Likewise.
45794         * sysdeps/unix/sysv/linux/dl-execstack.c: Likewise.
45795         * sysdeps/unix/sysv/linux/dl-osinfo.h: Likewise.
45796         * sysdeps/unix/sysv/linux/dl-sysdep.c: Likewise.
45797         * sysdeps/unix/sysv/linux/generic/futimesat.c: Likewise.
45798         * sysdeps/unix/sysv/linux/generic/poll.c: Likewise.
45799         * sysdeps/unix/sysv/linux/generic/wordsize-32/fcntl.c: Likewise.
45800         * sysdeps/unix/sysv/linux/generic/wordsize-32/fxstatat.c: Likewise.
45801         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread.c: Likewise.
45802         * sysdeps/unix/sysv/linux/generic/wordsize-32/pread64.c: Likewise.
45803         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv.c: Likewise.
45804         * sysdeps/unix/sysv/linux/generic/wordsize-32/preadv64.c: Likewise.
45805         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite.c: Likewise.
45806         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwrite64.c: Likewise.
45807         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev.c: Likewise.
45808         * sysdeps/unix/sysv/linux/generic/wordsize-32/pwritev64.c: Likewise.
45809         * sysdeps/unix/sysv/linux/getcwd.c: Likewise.
45810         * sysdeps/unix/sysv/linux/getpagesize.c: Likewise.
45811         * sysdeps/unix/sysv/linux/getsysstats.c: Likewise.
45812         * sysdeps/unix/sysv/linux/i386/fxstat.c: Likewise.
45813         * sysdeps/unix/sysv/linux/i386/lxstat.c: Likewise.
45814         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
45815         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
45816         * sysdeps/unix/sysv/linux/i386/sigaction.c: Likewise.
45817         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
45818         * sysdeps/unix/sysv/linux/i386/xstat.c: Likewise.
45819         * sysdeps/unix/sysv/linux/ia64/system.c: Likewise.
45820         * sysdeps/unix/sysv/linux/if_index.c: Likewise.
45821         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
45822         * sysdeps/unix/sysv/linux/ifreq.c: Likewise.
45823         * sysdeps/unix/sysv/linux/ldsodefs.h: Likewise.
45824         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
45825         * sysdeps/unix/sysv/linux/m68k/vfork.S: Likewise.
45826         * sysdeps/unix/sysv/linux/microblaze/nptl/vfork.S: Likewise.
45827         * sysdeps/unix/sysv/linux/mips/mips32/accept4.c: Likewise.
45828         * sysdeps/unix/sysv/linux/mips/mips32/recvmmsg.c: Likewise.
45829         * sysdeps/unix/sysv/linux/mips/mips32/sendmmsg.c: Likewise.
45830         * sysdeps/unix/sysv/linux/mips/pread.c: Likewise.
45831         * sysdeps/unix/sysv/linux/mips/pread64.c: Likewise.
45832         * sysdeps/unix/sysv/linux/mips/pwrite.c: Likewise.
45833         * sysdeps/unix/sysv/linux/mips/pwrite64.c: Likewise.
45834         * sysdeps/unix/sysv/linux/mips/sigaction.c: Likewise.
45835         * sysdeps/unix/sysv/linux/mmap64.c: Likewise.
45836         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
45837         * sysdeps/unix/sysv/linux/powerpc/chown.c: Likewise.
45838         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c: Likewise.
45839         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
45840         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c: Likewise.
45841         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c: Likewise.
45842         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Likewise.
45843         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Likewise.
45844         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Likewise.
45845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Likewise.
45846         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Likewise.
45847         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
45848         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
45849         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Likewise.
45850         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c: Likewise.
45851         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c: Likewise.
45852         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S: Likewise.
45853         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
45854         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
45855         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
45856         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
45857         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
45858         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S: Likewise.
45859         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S: Likewise.
45860         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Likewise.
45861         * sysdeps/unix/sysv/linux/pread.c: Likewise.
45862         * sysdeps/unix/sysv/linux/pread64.c: Likewise.
45863         * sysdeps/unix/sysv/linux/prof-freq.c: Likewise.
45864         * sysdeps/unix/sysv/linux/pwrite.c: Likewise.
45865         * sysdeps/unix/sysv/linux/pwrite64.c: Likewise.
45866         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S: Likewise.
45867         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S: Likewise.
45868         * sysdeps/unix/sysv/linux/s390/system.c: Likewise.
45869         * sysdeps/unix/sysv/linux/sh/pread.c: Likewise.
45870         * sysdeps/unix/sysv/linux/sh/pread64.c: Likewise.
45871         * sysdeps/unix/sysv/linux/sh/pwrite.c: Likewise.
45872         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Likewise.
45873         * sysdeps/unix/sysv/linux/sigaction.c: Likewise.
45874         * sysdeps/unix/sysv/linux/sigpending.c: Likewise.
45875         * sysdeps/unix/sysv/linux/sigprocmask.c: Likewise.
45876         * sysdeps/unix/sysv/linux/sigsuspend.c: Likewise.
45877         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
45878         * sysdeps/unix/sysv/linux/sparc/system.c: Likewise.
45879         * sysdeps/unix/sysv/linux/syslog.c: Likewise.
45880         * sysdeps/unix/sysv/linux/system.c: Likewise.
45881         * sysdeps/unix/sysv/linux/testrtsig.h: Likewise.
45882         * sysdeps/unix/sysv/linux/timespec_get.c: Likewise.
45883         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
45884         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
45885         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
45886         * sysdeps/unix/sysv/linux/x86_64/sigaction.c: Likewise.
45887         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
45889         * configure.ac (libc_cv_c_asmcr0_bug): Remove configure test.
45890         * configure: Regenerated.
45891         * config.h.in (BROKEN_PPC_ASM_CR0): Remove macro.
45893         * configure.ac (base_machine): Do not set specially for particular
45894         machines here.
45895         * configure: Regenerated.
45896         * sysdeps/powerpc/preconfigure: Move machine and base_machine
45897         settings from configure.ac.
45898         * sysdeps/i386/preconfigure: New file.
45899         * sysdeps/s390/preconfigure: Likewise.
45900         * sysdeps/sh/preconfigure: Likewise.
45901         * sysdeps/sparc/preconfigure: Likewise.
45903 2014-06-25  Roland McGrath  <roland@hack.frob.com>
45905         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: Moved ...
45906         * sysdeps/sparc/sparc64/cpu_relax.S: ... here.
45907         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: Moved ...
45908         * sysdeps/sparc/sparc64/pthread_spin_init.c: ... here.
45909         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: Moved ...
45910         * sysdeps/sparc/sparc64/pthread_spin_lock.S: ... here.
45911         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: Moved ...
45912         * sysdeps/sparc/sparc64/pthread_spin_trylock.S: ... here.
45913         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: Moved ...
45914         * sysdeps/sparc/sparc64/pthread_spin_unlock.S: ... here.
45915         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: Moved ...
45916         * sysdeps/sparc/sparc64/pthreaddef.h: ... here.
45917         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: Update #include.
45918         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Likewise.
45919         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Likewise.
45920         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Likewise.
45921         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Likewise.
45922         * sysdeps/sparc/sparc64/nptl/Makefile: File removed, its contents ...
45923         * sysdeps/sparc/sparc64/Makefile: ... appended here.
45925         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: Moved ...
45926         * sysdeps/sparc/sparc32/lowlevellock.c: ... here.
45927         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: Moved ...
45928         * sysdeps/sparc/sparc32/pthread_barrier_wait.c: ... here.
45929         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: Moved ...
45930         * sysdeps/sparc/sparc32/pthread_spin_lock.S: ... here.
45931         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: Moved ...
45932         * sysdeps/sparc/sparc32/pthread_spin_trylock.S: ... here.
45933         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: Moved ...
45934         * sysdeps/sparc/sparc32/pthreaddef.h: ... here.
45935         * sysdeps/sparc/sparc32/nptl/sem_post.c: Moved ...
45936         * sysdeps/sparc/sparc32/sem_post.c: ... here.
45937         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: Moved ...
45938         * sysdeps/sparc/sparc32/sem_timedwait.c: ... here.
45939         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: Moved ...
45940         * sysdeps/sparc/sparc32/sem_trywait.c: ... here.
45941         * sysdeps/sparc/sparc32/nptl/sem_wait.c: Moved ...
45942         * sysdeps/sparc/sparc32/sem_wait.c: ... here.
45943         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: Moved ...
45944         * sysdeps/sparc/sparc32/sparcv9/cpu_relax.S: ... here.
45945         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: Moved ...
45946         * sysdeps/sparc/sparc32/sparcv9/pthread_barrier_wait.c: ... here.
45947         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: Moved ...
45948         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: ... here.
45949         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: Moved ...
45950         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: ... here.
45951         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: Moved ...
45952         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: ... here.
45953         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: Moved ...
45954         * sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: ... here.
45955         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: Moved ...
45956         * sysdeps/sparc/sparc32/sparcv9/sem_post.c: ... here.
45957         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: Moved ...
45958         * sysdeps/sparc/sparc32/sparcv9/sem_timedwait.c: ... here.
45959         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: Moved ...
45960         * sysdeps/sparc/sparc32/sparcv9/sem_trywait.c: ... here.
45961         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: Moved ...
45962         * sysdeps/sparc/sparc32/sparcv9/sem_wait.c: ... here.
45964         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data: Moved ...
45965         * sysdeps/unix/sysv/linux/sparc/sparc32/c++-types.data: ... here.
45966         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: Moved ...
45967         * sysdeps/unix/sysv/linux/sparc/sparc32/ld.abilist: ... here.
45968         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
45969         Moved ...
45970         * sysdeps/unix/sysv/linux/sparc/sparc32/libBrokenLocale.abilist:
45971         ... here.
45972         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: Moved ...
45973         * sysdeps/unix/sysv/linux/sparc/sparc32/libanl.abilist: ... here.
45974         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Moved ...
45975         * sysdeps/unix/sysv/linux/sparc/sparc32/libc.abilist: ... here.
45976         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist:
45977         Moved ...
45978         * sysdeps/unix/sysv/linux/sparc/sparc32/libcrypt.abilist: ... here.
45979         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: Moved ...
45980         * sysdeps/unix/sysv/linux/sparc/sparc32/libdl.abilist: ... here.
45981         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: Moved ...
45982         * sysdeps/unix/sysv/linux/sparc/sparc32/libm.abilist: ... here.
45983         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: Moved ...
45984         * sysdeps/unix/sysv/linux/sparc/sparc32/libnsl.abilist: ... here.
45985         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
45986         Moved ...
45987         * sysdeps/unix/sysv/linux/sparc/sparc32/libpthread.abilist: ... here.
45988         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
45989         Moved ...
45990         * sysdeps/unix/sysv/linux/sparc/sparc32/libresolv.abilist: ... here.
45991         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: Moved ...
45992         * sysdeps/unix/sysv/linux/sparc/sparc32/librt.abilist: ... here.
45993         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
45994         Moved ...
45995         * sysdeps/unix/sysv/linux/sparc/sparc32/libthread_db.abilist: ... here.
45996         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: Moved ...
45997         * sysdeps/unix/sysv/linux/sparc/sparc32/libutil.abilist: ... here.
45998         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data: Moved ...
45999         * sysdeps/unix/sysv/linux/sparc/sparc32/localplt.data: ... here.
46000         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data: Moved ...
46001         * sysdeps/unix/sysv/linux/sparc/sparc64/c++-types.data: ... here.
46002         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: Moved ...
46003         * sysdeps/unix/sysv/linux/sparc/sparc64/ld.abilist: ... here.
46004         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
46005         Moved ...
46006         * sysdeps/unix/sysv/linux/sparc/sparc64/libBrokenLocale.abilist:
46007         ... here.
46008         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: Moved ...
46009         * sysdeps/unix/sysv/linux/sparc/sparc64/libanl.abilist: ... here.
46010         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Moved ...
46011         * sysdeps/unix/sysv/linux/sparc/sparc64/libc.abilist: ... here.
46012         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist:
46013         Moved ...
46014         * sysdeps/unix/sysv/linux/sparc/sparc64/libcrypt.abilist: ... here.
46015         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: Moved ...
46016         * sysdeps/unix/sysv/linux/sparc/sparc64/libdl.abilist: ... here.
46017         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: Moved ...
46018         * sysdeps/unix/sysv/linux/sparc/sparc64/libm.abilist: ... here.
46019         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: Moved ...
46020         * sysdeps/unix/sysv/linux/sparc/sparc64/libnsl.abilist: ... here.
46021         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
46022         Moved ...
46023         * sysdeps/unix/sysv/linux/sparc/sparc64/libpthread.abilist: ... here.
46024         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
46025         Moved ...
46026         * sysdeps/unix/sysv/linux/sparc/sparc64/libresolv.abilist: ... here.
46027         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: Moved ...
46028         * sysdeps/unix/sysv/linux/sparc/sparc64/librt.abilist: ... here.
46029         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
46030         Moved ...
46031         * sysdeps/unix/sysv/linux/sparc/sparc64/libthread_db.abilist: ... here.
46032         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: Moved ...
46033         * sysdeps/unix/sysv/linux/sparc/sparc64/libutil.abilist: ... here.
46034         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data: Moved ...
46035         * sysdeps/unix/sysv/linux/sparc/sparc64/localplt.data: ... here.
46037 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
46039         * timezone/checktab.awk: Update from tzcode 2014e.
46040         * timezone/private.h: Likewise.
46041         * timezone/tzfile.h: Likewise.
46042         * timezone/zdump.c: Likewise.
46043         * timezone/zic.c: Likewise.
46045         * sysdeps/unix/sysv/linux/kernel-features.h
46046         (__ASSUME_XFS_RESTRICTED_CHOWN): Remove macro.
46047         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_chown_restricted)
46048         [__ASSUME_XFS_RESTRICTED_CHOWN]: Make code unconditional.
46049         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
46050         Remove conditional code.
46052 2014-06-25  Will Newton  <will.newton@linaro.org>
46054         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c
46055         (_dl_arm_cap_flags): Add HWCAP2 values.
46056         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h
46057         (_DL_HWCAP_COUNT): Increase to 37.
46058         (_DL_HWCAP_LAST): New define.
46059         (_DL_HWCAP2_LAST): New define.
46060         (_dl_procinfo): Add support for printing
46061         AT_HWCAP2 entries.
46062         (_dl_string_hwcap): Use _dl_hwcap_string.
46064 2014-06-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46066         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
46068 2014-06-25  Joseph Myers  <joseph@codesourcery.com>
46070         * README: Do not mention ports directory.
46072         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMENSAT):
46073         Remove macro.
46074         * sysdeps/unix/sysv/linux/futimes.c: Do not include
46075         <kernel-features.h>.
46076         [__NR_utimensat && !__ASSUME_UTIMENSAT] (miss_utimensat): Remove
46077         conditional variable definition.
46078         (__futimes): Update comment.
46079         (__futimes) [__ASSUME_UTIMENSAT]: Make code unconditional.
46080         (__futimes) [!__ASSUME_UTIMENSAT]: Remove conditional code.
46082         [BZ #16560]
46083         * sysdeps/ieee754/dbl-64/e_exp10.c (__ieee754_exp10): Return 1 for
46084         arguments close to 0.
46085         * sysdeps/ieee754/ldbl-128/e_exp10l.c (__ieee754_exp10l):
46086         Likewise.
46087         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c (__ieee754_exp10l):
46088         Likewise.
46089         * math/auto-libm-test-in: Add more tests of exp10.
46090         * math/auto-libm-test-out: Regenerated.
46091         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
46093         * sysdeps/unix/sysv/linux/kernel-features.h
46094         (__ASSUME_COMPLETE_READV_WRITEV): Remove macro.
46095         * sysdeps/unix/sysv/linux/readv.c: Do not include
46096         <kernel-features.h>.
46097         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
46098         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
46099         (__libc_readv) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
46100         unconditional.
46101         (__libc_readv) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
46102         conditional code.
46103         * sysdeps/unix/sysv/linux/writev.c: Do not include
46104         <kernel-features.h>.
46105         [!__ASSUME_COMPLETE_READV_WRITEV]: Remove conditional code.
46106         [!UIO_FASTIOV] (UIO_FASTIOV): Remove macro.
46107         (__libc_writev) [__ASSUME_COMPLETE_READV_WRITEV]: Make code
46108         unconditional.
46109         (__libc_writev) [!__ASSUME_COMPLETE_READV_WRITEV]: Remove
46110         conditional code.
46112 2014-06-25  Will Newton  <will.newton@linaro.org>
46114         * sysdeps/posix/tempname.c: Merge from gnulib, cosmetic
46115         comment changes throughout the file.  Remove checks
46116         for HAVE_*_H definitions that are not required.
46117         (__gen_tempname): Call abort if an unknown kind value is
46118         passed.
46120 2014-06-25  Andreas Schwab  <schwab@suse.de>
46122         [BZ #17086]
46123         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Add compat symbols for
46124         scalbln, scalblnf, scalblnl in libc.
46126 2014-06-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
46128         [BZ #17086]
46129         * sysdeps/i386/fpu/s_scalbn.S: Add compat symbol for libc.so.
46130         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
46131         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
46133 2014-06-24  Roland McGrath  <roland@hack.frob.com>
46135         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: Moved ...
46136         * sysdeps/i386/i486/pthread_spin_trylock.S: ... here.
46137         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: Moved ...
46138         * sysdeps/i386/i586/pthread_spin_trylock.S: ... here.
46139         Update #include.
46140         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: Moved ...
46141         * sysdeps/i386/i686/pthread_spin_trylock.S: ... here.
46142         Update #include.
46143         * sysdeps/x86_64/64/nptl/shlib-versions: Moved ...
46144         * sysdeps/unix/sysv/linux/x86_64/64/shlib-versions: ... here.
46145         * sysdeps/x86_64/x32/nptl/shlib-versions: Moved ...
46146         * sysdeps/unix/sysv/linux/x86_64/x32/shlib-versions: ... here.
46147         * sysdeps/x86/nptl/bits/pthreadtypes.h: Moved ...
46148         * sysdeps/x86/bits/pthreadtypes.h: ... here.
46149         * sysdeps/x86/nptl/bits/semaphore.h: Moved ...
46150         * sysdeps/x86/bits/semaphore.h: ... here.
46151         * sysdeps/x86/nptl/elide.h: Moved ...
46152         * sysdeps/x86/elide.h: ... here.
46153         * sysdeps/x86_64/nptl/Implies: File removed.
46154         * sysdeps/i386/nptl/Implies: File removed.
46156 2014-06-24  Joseph Myers  <joseph@codesourcery.com>
46158         [BZ #16539]
46159         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Just
46160         return the argument for normal arguments with exponent below -64.
46161         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
46162         Likewise.
46163         * math/auto-libm-test-in: Add another test of expm1.
46164         * math/auto-libm-test-out: Regenerated.
46166         [BZ #16287]
46167         * sysdeps/ieee754/ldbl-128/s_erfl.c (__erfl): Return 1 without
46168         calling __erfcl for arguments at least 16.
46169         * math/auto-libm-test-in: Add more tests of erf.
46170         * math/auto-libm-test-out: Regenerated.
46172         * sysdeps/unix/sysv/linux/configure.ac: Remove cases for
46173         individual architectures.
46174         * sysdeps/unix/sysv/linux/configure: Regenerated.
46175         * sysdeps/unix/sysv/linux/i386/configure.ac: New file.
46176         * sysdeps/unix/sysv/linux/i386/configure: New generated file.
46177         * sysdeps/unix/sysv/linux/powerpc/configure.ac
46178         (ldd_rewrite_script): Define variable.
46179         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
46180         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure.ac: New
46181         file.
46182         * sysdeps/unix/sysv/linux/powerpc/powerpc32/configure: New
46183         generated file.
46184         * sysdeps/unix/sysv/linux/s390/configure.ac: New file.
46185         * sysdeps/unix/sysv/linux/s390/configure: New generated file.
46186         * sysdeps/unix/sysv/linux/sh/configure.ac: New file.
46187         * sysdeps/unix/sysv/linux/sh/configure: New generated file.
46188         * sysdeps/unix/sysv/linux/sparc/configure.ac: New file.
46189         * sysdeps/unix/sysv/linux/sparc/configure: New generated file.
46190         * sysdeps/unix/sysv/linux/x86_64/configure.ac: New file.
46191         * sysdeps/unix/sysv/linux/x86_64/configure: New generated file.
46193 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
46195         [BZ #17084]
46196         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_mutex_t):
46197         Rename member __data.d to __data.__elision_data.
46199 2014-06-24  Wilco  <wdijkstr@arm.com>
46201         * NEWS: Add 16918 to fixed bug list.
46203 2014-06-24  Wilco  <wdijkstr@arm.com>
46205         * sysdeps/arm/fesetenv.c (fesetenv): Optimize implementation.
46207 2014-06-24  Wilco  <wdijkstr@arm.com>
46209         * sysdeps/arm/fpu_control.h (_FPU_MASK_RM): Define.
46210         * sysdeps/arm/fenv_private.h (libc_fesetround_vfp)
46211         (libc_feholdexcept_setround_vfp) (libc_feholdsetround_vfp)
46212         (libc_feresetround_vfp) (libc_feholdsetround_vfp_ctx)
46213         (libc_feresetround_vfp_ctx): Use _FPU_MASK_RM.
46214         * sysdeps/arm/fesetround.c (fesetround): Use _FPU_MASK_RM.
46215         * sysdeps/arm/get-rounding-mode.h (get_rounding_mode):
46216         Use _FPU_MASK_RM.
46218 2014-06-24  Wilco  <wdijkstr@arm.com>
46220         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Remove unused include.
46222 2014-06-24  Wilco  <wdijkstr@arm.com>
46224         * sysdeps/arm/feholdexcpt.c (feholdexcept): Remove space.
46225         * sysdeps/arm/fesetenv.c (fesetenv): Remove space.
46226         * sysdeps/arm/fesetround.c (fesetround): Remove space.
46227         * sysdeps/arm/fraiseexcpt.c (feraiseexcept): Remove space.
46229 2014-06-24  Wilco  <wdijkstr@arm.com>
46231         [BZ #16918]
46232         * sysdeps/arm/feupdateenv.c (feupdateenv):
46233         Rewrite to reduce FPSCR accesses and fix return value.
46235 2014-06-24  Wilco  <wdijkstr@arm.com>
46237         * sysdeps/arm/fclrexcpt.c (feclearexcept):
46238         Optimize to avoid unnecessary FPSCR writes.
46239         * sysdeps/arm/fedisblxcpt.c (fedisableexcept): Likewise.
46240         * sysdeps/arm/feenablxcpt.c (feenableexcept): Likewise.
46241         * sysdeps/arm/fsetexcptflg.c (fesetexceptflag): Likewise.
46242         * sysdeps/arm/setfpucw.c (__setfpucw): Likewise.
46244 2014-06-24  Wilco  <wdijkstr@arm.com>
46246         * sysdeps/arm/fegetround.c (fegetround): Call get_rounding_mode.
46247         * sysdeps/arm/feholdexcpt.c (feholdexcept): Call libc_feholdexcept_vfp.
46248         * sysdeps/arm/fesetround.c (fesetround): Call libc_fesetround_vfp.
46249         * sysdeps/arm/fgetexcptflg.c (fegetexceptflag):
46250         Call libc_fetestexcept_vfp.
46251         * sysdeps/arm/ftestexcept.c (fetestexcept): Call libc_fetestexcept_vfp.
46252         * sysdeps/arm/fenv_private.h: Move libc_*_vfp functions outside of
46253         __SOFTFP__ ifdef so that they can be built for softfp.
46255 2014-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
46257         * sysdeps/x86/nptl/elide.h (elision_adapt): Make first
46258         argument type signed char.
46260         * Makerules (check-abi): Dump diff of symlist if the test
46261         fails.
46263 2014-06-23  Roland McGrath  <roland@hack.frob.com>
46265         * sysdeps/generic/get-rounding-mode.h: Include <stdlib.h> before
46266         using abort.
46268         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
46269         Remove unused variable ST.
46271 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
46273         [BZ #16354]
46274         [BZ #17061]
46275         * sysdeps/ieee754/dbl-64/e_cosh.c (__ieee754_cosh): Check for
46276         small arguments before calling __expm1.
46277         * sysdeps/ieee754/flt-32/e_coshf.c (__ieee754_coshf): Check for
46278         small arguments before calling __expm1f.
46279         * sysdeps/ieee754/ldbl-128/e_coshl.c (__ieee754_coshl): Check for
46280         small arguments before calling __expm1l.
46281         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
46282         Likewise.
46283         * sysdeps/ieee754/ldbl-96/e_coshl.c (__ieee754_coshl): Likewise.
46284         * math/auto-libm-test-in: Add more cosh tests.  Do not allow
46285         spurious underflow for some cosh tests.
46286         * math/auto-libm-test-out: Regenerated.
46287         * sysdeps/i386/fpu/libm-test-ulps: Update.
46289         [BZ #17050]
46290         * sysdeps/ieee754/dbl-64/e_j1.c: Include <errno.h>.
46291         (__ieee754_y1): Set errno if return value overflows.
46292         * sysdeps/ieee754/flt-32/e_j1f.c: Include <errno.h>.
46293         (__ieee754_y1f): Set errno if return value overflows.
46294         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <errno.h>.
46295         (__ieee754_y1l): Set errno if return value overflows.
46296         * sysdeps/ieee754/ldbl-96/e_j1l.c: Include <errno.h>.
46297         (__ieee754_y1l): Set errno if return value overflows.
46298         * math/auto-libm-test-in: Add more tests of y0, y1 and yn.
46299         * math/auto-libm-test-out: Regenerated.
46301         * math/gen-auto-libm-tests.c: Document use of
46302         ignore-zero-inf-sign.
46303         (input_flag_type): Add value flag_ignore_zero_inf_sign.
46304         (input_flags): Add ignore-zero-inf-sign.
46305         (output_for_one_input_case): Handle flag_ignore_zero_inf_sign.
46306         * math/gen-libm-test.pl (generate_testfile): Handle
46307         ignore-zero-inf-sign.
46308         * math/auto-libm-test-in: Mark some cpow tests with
46309         ignore-zero-inf-sign and some with xfail-rounding.
46310         * math/auto-libm-test-out: Regenerated.
46311         * math/libm-test.inc (cpow_test): Use ALL_RM_TEST.
46312         * sysdeps/i386/fpu/libm-test-ulps: Update.
46313         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46315         [BZ #16315]
46316         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Ensure possibly
46317         overflowing or underflowing operations take place with sign of
46318         result.
46319         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
46320         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
46321         * sysdeps/ieee754/dbl-64/e_pow.c: Include <math.h>.
46322         (__ieee754_pow): Recompute overflowing and underflowing results in
46323         original rounding mode.
46324         * sysdeps/x86/fpu/powl_helper.c: Include <stdbool.h>.
46325         (__powl_helper): Allow negative argument X and scale negated value
46326         as needed.  Avoid passing value outside [-1, 1] to f2xm1.
46327         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Ensure possibly
46328         overflowing or underflowing operations take place with sign of
46329         result.
46330         * sysdeps/x86_64/fpu/multiarch/e_pow.c [HAVE_FMA4_SUPPORT]:
46331         Include <math.h>.
46332         * math/auto-libm-test-in: Add more tests of pow.
46333         * math/auto-libm-test-out: Regenerated.
46334         * math/libm-test.inc (pow_test): Use ALL_RM_TEST.
46335         (pow_tonearest_test_data): Remove.
46336         (pow_test_tonearest): Likewise.
46337         (pow_towardzero_test_data): Likewise.
46338         (pow_test_towardzero): Likewise.
46339         (pow_downward_test_data): Likewise.
46340         (pow_test_downward): Likewise.
46341         (pow_upward_test_data): Likewise.
46342         (pow_test_upward): Likewise.
46343         (main): Don't call removed functions.
46344         * sysdeps/i386/fpu/libm-test-ulps: Update.
46345         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
46347 2014-06-23  Roland McGrath  <roland@hack.frob.com>
46349         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/c++-types.data:
46350         Moved ...
46351         * sysdeps/unix/sysv/linux/powerpc/powerpc32/c++-types.data: ... here.
46352         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
46353         Moved ...
46354         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libc.abilist: ... here.
46355         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
46356         Moved ...
46357         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/libm.abilist: ... here.
46358         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
46359         Moved ...
46360         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/localplt.data: ... here.
46361         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
46362         File removed.
46363         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
46364         File removed.
46365         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libBrokenLocale.abilist:
46366         File removed.
46367         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libanl.abilist:
46368         File removed.
46369         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libcrypt.abilist:
46370         File removed.
46371         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libdl.abilist:
46372         File removed.
46373         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libnsl.abilist:
46374         File removed.
46375         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
46376         File removed.
46377         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libresolv.abilist:
46378         File removed.
46379         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
46380         File removed.
46381         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libthread_db.abilist:
46382         File removed.
46383         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libutil.abilist:
46384         File removed.
46385         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/ld.abilist:
46386         Moved ...
46387         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ld.abilist: ... here.
46388         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libBrokenLocale.abilist:
46389         Moved ...
46390         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libBrokenLocale.abilist:
46391         ... here.
46392         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libanl.abilist:
46393         Moved ...
46394         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libanl.abilist: ... here.
46395         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libcrypt.abilist:
46396         Moved ...
46397         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libcrypt.abilist: ... here.
46398         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libdl.abilist:
46399         Moved ...
46400         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libdl.abilist: ... here.
46401         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libnsl.abilist:
46402         Moved ...
46403         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libnsl.abilist: ... here.
46404         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libpthread.abilist:
46405         Moved ...
46406         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libpthread.abilist: ... here.
46407         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libresolv.abilist:
46408         Moved ...
46409         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libresolv.abilist: ... here.
46410         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/librt.abilist:
46411         Moved ...
46412         * sysdeps/unix/sysv/linux/powerpc/powerpc32/librt.abilist: ... here.
46413         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libthread_db.abilist: Moved ...
46414         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libthread_db.abilist:
46415         ... here.
46416         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libutil.abilist:
46417         Moved ...
46418         * sysdeps/unix/sysv/linux/powerpc/powerpc32/libutil.abilist: ... here.
46419         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
46420         Moved ...
46421         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libc.abilist:
46422         ... here.
46423         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libm.abilist:
46424         Moved ...
46425         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/libm.abilist:
46426         ... here.
46427         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
46428         Moved ...
46429         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/localplt.data:
46430         ... here.
46431         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
46432         Moved ...
46433         * sysdeps/unix/sysv/linux/powerpc/powerpc64/c++-types.data: ... here.
46434         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
46435         Moved ...
46436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld-le.abilist: ... here.
46437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: Moved ...
46438         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ld.abilist: ... here.
46439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
46440         Moved ...
46441         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale-le.abilist:
46442         ... here.
46443         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
46444         Moved ...
46445         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libBrokenLocale.abilist:
46446         ... here.
46447         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
46448         Moved ...
46449         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl-le.abilist: ... here.
46450         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
46451         Moved ...
46452         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libanl.abilist: ... here.
46453         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
46454         Moved ...
46455         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc-le.abilist: ... here.
46456         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
46457         Moved ...
46458         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libc.abilist: ... here.
46459         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
46460         Moved ...
46461         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt-le.abilist:
46462         ... here.
46463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
46464         Moved ...
46465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libcrypt.abilist: ... here.
46466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
46467         Moved ...
46468         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl-le.abilist: ... here.
46469         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
46470         Moved ...
46471         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libdl.abilist: ... here.
46472         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
46473         Moved ...
46474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm-le.abilist: ... here.
46475         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: Moved ...
46476         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libm.abilist: ... here.
46477         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
46478         Moved ...
46479         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl-le.abilist: ... here.
46480         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
46481         Moved ...
46482         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libnsl.abilist: ... here.
46483         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
46484         Moved ...
46485         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread-le.abilist:
46486         ... here.
46487         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
46488         Moved ...
46489         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libpthread.abilist:
46490         ... here.
46491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
46492         Moved ...
46493         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv-le.abilist:
46494         ... here.
46495         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
46496         Moved ...
46497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libresolv.abilist: ... here.
46498         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
46499         Moved ...
46500         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt-le.abilist: ... here.
46501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
46502         Moved ...
46503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/librt.abilist: ... here.
46504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
46505         Moved ...
46506         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db-le.abilist:
46507         ... here.
46508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
46509         Moved ...
46510         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libthread_db.abilist:
46511         ... here.
46512         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
46513         Moved ...
46514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil-le.abilist:
46515         ... here.
46516         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
46517         Moved ...
46518         * sysdeps/unix/sysv/linux/powerpc/powerpc64/libutil.abilist: ... here.
46519         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
46520         Moved ...
46521         * sysdeps/unix/sysv/linux/powerpc/powerpc64/localplt.data: ... here.
46523 2014-06-23  Will Newton  <will.newton@linaro.org>
46524             Wilco  <wdijkstr@arm.com>
46526         * sysdeps/generic/math_private.h: Add generic HAVE_RM_CTX
46527         implementation.  Include get-rounding-mode.h.
46528         [!HAVE_RM_CTX]: Define HAVE_RM_CTX to zero.
46529         [!libc_feholdsetround_noex_ctx]: Define
46530         libc_feholdsetround_noex_ctx.
46531         [!libc_feholdsetround_noexf_ctx]: Define
46532         libc_feholdsetround_noexf_ctx.
46533         [!libc_feholdsetround_noexl_ctx]: Define
46534         libc_feholdsetround_noexl_ctx.
46535         (libc_feholdsetround_ctx): New function.
46536         (libc_feresetround_ctx): New function.
46537         (libc_feholdsetround_noex_ctx): New function.
46538         (libc_feresetround_noex_ctx): New function.
46540 2014-06-23  Roland McGrath  <roland@hack.frob.com>
46542         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h: Moved ...
46543         * sysdeps/mips/nptl/bits/pthreadtypes.h: ... here.
46544         * sysdeps/unix/sysv/linux/mips/nptl/bits/semaphore.h: Moved ...
46545         * sysdeps/mips/nptl/bits/semaphore.h: ... here.
46546         * sysdeps/unix/sysv/linux/mips/nptl/bits/local_lim.h: Moved ...
46547         * sysdeps/unix/sysv/linux/mips/bits/local_lim.h: ... here.
46549         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h: Moved ...
46550         * sysdeps/m68k/nptl/bits/pthreadtypes.h: ... here.
46551         * sysdeps/unix/sysv/linux/m68k/nptl/bits/semaphore.h: Moved ...
46552         * sysdeps/m68k/nptl/bits/semaphore.h: ... here.
46553         * sysdeps/unix/sysv/linux/m68k/nptl/c++-types.data: Moved ...
46554         * sysdeps/unix/sysv/linux/m68k/c++-types.data: ... here.
46555         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/bits/atomic.h: Moved ...
46556         * sysdeps/unix/sysv/linux/m68k/coldfire/bits/atomic.h: ... here.
46557         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/ld.abilist: Moved ...
46558         * sysdeps/unix/sysv/linux/m68k/coldfire/ld.abilist: ... here.
46559         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libBrokenLocale.abilist:
46560         Moved ...
46561         * sysdeps/unix/sysv/linux/m68k/coldfire/libBrokenLocale.abilist:
46562         ... here.
46563         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libanl.abilist: Moved ...
46564         * sysdeps/unix/sysv/linux/m68k/coldfire/libanl.abilist: ... here.
46565         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libc.abilist: Moved ...
46566         * sysdeps/unix/sysv/linux/m68k/coldfire/libc.abilist: ... here.
46567         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libcrypt.abilist:
46568         Moved ...
46569         * sysdeps/unix/sysv/linux/m68k/coldfire/libcrypt.abilist: ... here.
46570         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libdl.abilist: Moved ...
46571         * sysdeps/unix/sysv/linux/m68k/coldfire/libdl.abilist: ... here.
46572         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libm.abilist: Moved ...
46573         * sysdeps/unix/sysv/linux/m68k/coldfire/libm.abilist: ... here.
46574         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libnsl.abilist: Moved ...
46575         * sysdeps/unix/sysv/linux/m68k/coldfire/libnsl.abilist: ... here.
46576         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libpthread.abilist:
46577         Moved ...
46578         * sysdeps/unix/sysv/linux/m68k/coldfire/libpthread.abilist: ... here.
46579         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libresolv.abilist:
46580         Moved ...
46581         * sysdeps/unix/sysv/linux/m68k/coldfire/libresolv.abilist: ... here.
46582         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/librt.abilist: Moved ...
46583         * sysdeps/unix/sysv/linux/m68k/coldfire/librt.abilist: ... here.
46584         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libthread_db.abilist:
46585         Moved ...
46586         * sysdeps/unix/sysv/linux/m68k/coldfire/libthread_db.abilist: ... here.
46587         * sysdeps/unix/sysv/linux/m68k/coldfire/nptl/libutil.abilist: Moved ...
46588         * sysdeps/unix/sysv/linux/m68k/coldfire/libutil.abilist: ... here.
46589         * sysdeps/unix/sysv/linux/m68k/nptl/localplt.data: Moved ...
46590         * sysdeps/unix/sysv/linux/m68k/localplt.data: ... here.
46591         * sysdeps/unix/sysv/linux/m68k/nptl/lowlevellock.h: Moved ...
46592         * sysdeps/unix/sysv/linux/m68k/lowlevellock.h: ... here.
46593         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/ld.abilist: Moved ...
46594         * sysdeps/unix/sysv/linux/m68k/m680x0/ld.abilist: ... here.
46595         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libBrokenLocale.abilist:
46596         Moved ...
46597         * sysdeps/unix/sysv/linux/m68k/m680x0/libBrokenLocale.abilist:
46598         ... here.
46599         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libanl.abilist: Moved ...
46600         * sysdeps/unix/sysv/linux/m68k/m680x0/libanl.abilist: ... here.
46601         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libc.abilist: Moved ...
46602         * sysdeps/unix/sysv/linux/m68k/m680x0/libc.abilist: ... here.
46603         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libcrypt.abilist: Moved ...
46604         * sysdeps/unix/sysv/linux/m68k/m680x0/libcrypt.abilist: ... here.
46605         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libdl.abilist: Moved ...
46606         * sysdeps/unix/sysv/linux/m68k/m680x0/libdl.abilist: ... here.
46607         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libm.abilist: Moved ...
46608         * sysdeps/unix/sysv/linux/m68k/m680x0/libm.abilist: ... here.
46609         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libnsl.abilist: Moved ...
46610         * sysdeps/unix/sysv/linux/m68k/m680x0/libnsl.abilist: ... here.
46611         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libpthread.abilist:
46612         Moved ...
46613         * sysdeps/unix/sysv/linux/m68k/m680x0/libpthread.abilist: ... here.
46614         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libresolv.abilist: Moved ...
46615         * sysdeps/unix/sysv/linux/m68k/m680x0/libresolv.abilist: ... here.
46616         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/librt.abilist: Moved ...
46617         * sysdeps/unix/sysv/linux/m68k/m680x0/librt.abilist: ... here.
46618         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libthread_db.abilist:
46619         Moved ...
46620         * sysdeps/unix/sysv/linux/m68k/m680x0/libthread_db.abilist: ... here.
46621         * sysdeps/unix/sysv/linux/m68k/m680x0/nptl/libutil.abilist: Moved ...
46622         * sysdeps/unix/sysv/linux/m68k/m680x0/libutil.abilist: ... here.
46623         * sysdeps/unix/sysv/linux/m68k/nptl/sysdep-cancel.h: Moved ...
46624         * sysdeps/unix/sysv/linux/m68k/sysdep-cancel.h: ... here.
46626         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: Moved ...
46627         * sysdeps/unix/sysv/linux/sh/c++-types.data: ... here.
46628         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: Moved ...
46629         * sysdeps/unix/sysv/linux/sh/ld.abilist: ... here.
46630         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: Moved ...
46631         * sysdeps/unix/sysv/linux/sh/libBrokenLocale.abilist: ... here.
46632         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: Moved ...
46633         * sysdeps/unix/sysv/linux/sh/libanl.abilist: ... here.
46634         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Moved ...
46635         * sysdeps/unix/sysv/linux/sh/libc.abilist: ... here.
46636         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: Moved ...
46637         * sysdeps/unix/sysv/linux/sh/libcrypt.abilist: ... here.
46638         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: Moved ...
46639         * sysdeps/unix/sysv/linux/sh/libdl.abilist: ... here.
46640         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Moved ...
46641         * sysdeps/unix/sysv/linux/sh/libm.abilist: ... here.
46642         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: Moved ...
46643         * sysdeps/unix/sysv/linux/sh/libnsl.abilist: ... here.
46644         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: Moved ...
46645         * sysdeps/unix/sysv/linux/sh/libpthread.abilist: ... here.
46646         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: Moved ...
46647         * sysdeps/unix/sysv/linux/sh/libresolv.abilist: ... here.
46648         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Moved ...
46649         * sysdeps/unix/sysv/linux/sh/librt.abilist: ... here.
46650         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: Moved ...
46651         * sysdeps/unix/sysv/linux/sh/libthread_db.abilist: ... here.
46652         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: Moved ...
46653         * sysdeps/unix/sysv/linux/sh/libutil.abilist: ... here.
46655 2014-06-23  Joseph Myers  <joseph@codesourcery.com>
46657         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_GNU]
46658         (FALLOC_FL_COLLAPSE_RANGE): New macro.
46659         [__USE_GNU] (FALLOC_FL_ZERO_RANGE): Likewise.
46660         * sysdeps/unix/sysv/linux/bits/in.h (IP_PMTUDISC_OMIT): Likewise.
46661         (IPV6_PMTUDISC_INTERFACE): Likewise.
46662         (IPV6_PMTUDISC_OMIT): Likewise.
46664 2014-06-23  Andreas Schwab  <schwab@suse.de>
46666         * nptl/sysdeps/unix/sysv/linux/mq_notify.c (init_mq_netlink):
46667         Remove unused errout label.
46669 2014-06-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
46671         * sysdeps/powerpc/bits/hwcap.h [PPC_FEATURE2_HAS_VEC_CRYPTO]: New
46672         macro: hardware supports Vector Crypto instructions.
46674 2014-06-23  Will Newton  <will.newton@linaro.org>
46676         * elf/dl-lookup.c: Use __glibc_unlikely and __glibc_likely
46677         rather than __builtin_expect.
46679         * elf/dl-lookup.c (undefined_msg): Remove variable.
46680         (_dl_lookup_symbol_x): Replace undefined_msg with string
46681         literal.
46683         * elf/dl-lookup.c (do_lookup_unique): New function.
46684         (do_lookup_x): Move STB_GNU_UNIQUE handling code
46685         to a separate function.
46687 2014-06-23  Andreas Schwab  <schwab@suse.de>
46689         [BZ #17079]
46690         * nss/nss_files/files-XXX.c (get_contents): Store overflow marker
46691         before reading the next line.
46693 2014-06-23  Will Newton  <will.newton@linaro.org>
46695         * test-skeleton.c (signal_handler): Use printf and %m
46696         rather than perror.  Use printf rather than fprintf to
46697         stderr.  Use puts rather than fputs to stderr.
46698         (main): Likewise.
46700 2014-06-22  Ludovic Courtès  <ludo@gnu.org>
46702         * nscd/nscd.c (thread_info_t): Remove typedef.
46703         (thread_info): Remove variable.
46705 2014-06-21  Allan McRae  <allan@archlinux.org>
46707         * NEWS: Mention CVE-2014-4043.
46709 2014-06-20  Roland McGrath  <roland@hack.frob.com>
46711         * nptl/sysdeps/unix/sysv/linux/smp.h: Moved ...
46712         * nptl/smp.h: ... here.
46714         * nptl/sysdeps/unix/sysv/linux/rtld-lowlevel.h: File removed.
46716         * include/libc-symbols.h (HAVE_CONFIG_H, STDC_HEADERS): New macros.
46717         * catgets/Makefile (catgets-CPPFLAGS): Remove -DHAVE_CONFIG_H.
46718         * locale/Makefile (CPPFLAGS-locale-programs): Likewise.
46719         * stdlib/strtol_l.c [_LIBC] (STDC_HEADERS): Don't define it.
46721         * nptl/allocatestack.c: Include <stack-aliasing.h>.
46722         * nptl/stack-aliasing.h: New file.
46723         * sysdeps/i386/i686/stack-aliasing.h: New file.
46724         * sysdeps/i386/i686/nptl/Makefile: File removed.
46725         * sysdeps/x86_64/stack-aliasing.h: New file.
46726         * sysdeps/x86_64/nptl/Makefile
46727         (CFLAGS-pthread_create.c): Variable removed.
46729         * nptl/sysdeps/unix/sysv/linux/bits/local_lim.h: Moved ...
46730         * sysdeps/unix/sysv/linux/bits/local_lim.h: ... here, replacing the
46731         old file.
46732         * nptl/sysdeps/unix/sysv/linux/bits/posix_opt.h: Moved ...
46733         * sysdeps/unix/sysv/linux/bits/posix_opt.h: ... here, replacing the
46734         old file.
46736 2014-06-21  Joseph Myers  <joseph@codesourcery.com>
46738         * sysdeps/unix/sysv/linux/arm/kernel-features.h
46739         (__ASSUME_SIGFRAME_V2): Remove macro.
46740         * sysdeps/unix/sysv/linux/arm/sigrestorer.S: Update comment.
46741         [!__ASSUME_SIGFRAME_V2]: Remove conditional code.
46742         (__default_sa_restorer_v2): Rename to __default_sa_restorer.
46743         (__default_rt_sa_restorer_v2): Rename to __default_rt_sa_restorer.
46744         * sysdeps/unix/sysv/linux/arm/sigaction.c (__default_sa_restorer):
46745         Declare as function.  Remove conditional macro definitions.
46746         (__default_rt_sa_restorer): Likewise.
46747         (__default_sa_restorer_v1): Remove declaration.
46748         (__default_sa_restorer_v2): Likewise.
46749         (__default_rt_sa_restorer_v1): Likewise.
46750         (__default_rt_sa_restorer_v2): Likewise.
46751         * sysdeps/unix/sysv/linux/arm/Versions (GLIBC_PRIVATE): Remove
46752         __default_sa_restorer_v1, __default_rt_sa_restorer_v1,
46753         __default_sa_restorer_v2 and __default_rt_sa_restorer_v2.
46755 2014-06-20  Roland McGrath  <roland@hack.frob.com>
46757         * sysdeps/unix/sysv/linux/sparc/Makefile [$(subdir) = nptl]
46758         (libpthread-routines): Add sysdep.
46759         * nptl/sysdeps/unix/sysv/linux/sparc/Makefile: File removed.
46760         * sysdeps/unix/sysv/linux/sparc/Versions
46761         (libpthread: GLIBC_2.3.3): New version set.
46762         * nptl/sysdeps/unix/sysv/linux/sparc/Versions: File removed.
46763         * nptl/sysdeps/unix/sysv/linux/sparc/aio_cancel.c: Moved ...
46764         * sysdeps/unix/sysv/linux/sparc/aio_cancel.c: ... here.
46765         * nptl/sysdeps/unix/sysv/linux/sparc/internaltypes.h: Moved ...
46766         * sysdeps/sparc/nptl/internaltypes.h: ... here.  Use #include_next.
46767         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_destroy.c:
46768         Moved ...
46769         * sysdeps/sparc/nptl/pthread_barrier_destroy.c: ... here.
46770         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_init.c: Moved ...
46771         * sysdeps/sparc/nptl/pthread_barrier_init.c: ... here.
46772         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_barrier_wait.c: Moved ...
46773         * sysdeps/sparc/nptl/pthread_barrier_wait.c: ... here.
46774         * nptl/sysdeps/unix/sysv/linux/sparc/sem_init.c: Moved ...
46775         * sysdeps/sparc/nptl/sem_init.c: ... here.
46776         * nptl/sysdeps/unix/sysv/linux/sparc/sem_post.c: Moved ...
46777         * sysdeps/sparc/nptl/sem_post.c: ... here.
46778         * nptl/sysdeps/unix/sysv/linux/sparc/sem_timedwait.c: Moved ...
46779         * sysdeps/sparc/nptl/sem_timedwait.c: ... here.
46780         * nptl/sysdeps/unix/sysv/linux/sparc/sem_wait.c: Moved ...
46781         * sysdeps/sparc/nptl/sem_wait.c: ... here.
46782         * nptl/sysdeps/unix/sysv/linux/sparc/lowlevellock.h: Moved ...
46783         * sysdeps/unix/sysv/linux/sparc/lowlevellock.h: ... here.
46784         * sysdeps/sparc/sparc32/sparcv9/Makefile [$(subdir) = nptl]
46785         (libpthread-routines): Add cpu_relax.
46786         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/Makefile:
46787         File removed.
46788         * sysdeps/unix/sysv/linux/sparc/sparc64/Versions
46789         (librt: GLIBC_2.3.3): New version set.
46790         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Versions: File removed.
46791         * sysdeps/sparc/sparc64/nptl/Makefile: New file.
46792         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile [$(subdir) = nptl]
46793         (CFLAGS-pause.c, CFLAGS-sigsuspend.c): New variables.
46794         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/Makefile: File removed.
46795         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/lowlevellock.c: Moved ...
46796         * sysdeps/sparc/sparc32/nptl/lowlevellock.c: ... here.
46797         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pthread_barrier_wait.c:
46798         Moved ...
46799         * sysdeps/sparc/sparc32/nptl/pthread_barrier_wait.c: ... here.
46800         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_post.c: Moved ...
46801         * sysdeps/sparc/sparc32/nptl/sem_post.c: ... here.
46802         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_timedwait.c: Moved ...
46803         * sysdeps/sparc/sparc32/nptl/sem_timedwait.c: ... here.
46804         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_trywait.c: Moved ...
46805         * sysdeps/sparc/sparc32/nptl/sem_trywait.c: ... here.
46806         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sem_wait.c: Moved ...
46807         * sysdeps/sparc/sparc32/nptl/sem_wait.c: ... here.
46808         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/cpu_relax.S:
46809         Moved ...
46810         * sysdeps/sparc/sparc32/sparcv9/nptl/cpu_relax.S: ... here.
46811         Update #include.
46812         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/pthread_barrier_wait.c:
46813         Moved ...
46814         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_barrier_wait.c: ... here.
46815         Update #include.
46816         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_post.c:
46817         Moved ...
46818         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_post.c: ... here.
46819         Update #include.
46820         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_timedwait.c:
46821         Moved ...
46822         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_timedwait.c: ... here.
46823         Update #include.
46824         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_trywait.c:
46825         Moved ...
46826         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_trywait.c: ... here.
46827         Update #include.
46828         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/sem_wait.c:
46829         Moved ...
46830         * sysdeps/sparc/sparc32/sparcv9/nptl/sem_wait.c: ... here.
46831         Update #include.
46832         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/cpu_relax.S: Moved ...
46833         * sysdeps/sparc/sparc64/nptl/cpu_relax.S: ... here.
46834         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: Moved ...
46835         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep-cancel.h: ... here.
46836         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: Moved ...
46837         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep-cancel.h: ... here.
46838         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: Moved ...
46839         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c: ... here.
46840         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: Moved ...
46841         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c: ... here.
46842         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
46843         Moved ...
46844         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c: ... here.
46845         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: Moved ...
46846         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c: ... here.
46847         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: Moved ...
46848         * sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c: ... here.
46850 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
46852         * nptl/pthread_cond_wait.c: Include <kernel-features.h>.
46853         * nptl/pthread_rwlock_timedrdlock.c: Likewise.
46854         * nptl/pthread_rwlock_timedwrlock.c: Likewise.
46855         * nptl/sysdeps/unix/sysv/linux/lowlevelrobustlock.c: Likewise.
46856         * nscd/nscd.c: Likewise.
46857         * sysdeps/i386/nptl/tcb-offsets.sym: Likewise.
46858         * sysdeps/powerpc/nptl/tcb-offsets.sym: Likewise.
46859         * sysdeps/sh/nptl/tcb-offsets.sym: Likewise.
46860         * sysdeps/x86_64/nptl/tcb-offsets.sym: Likewise.
46862         * nptl/sysdeps/unix/sysv/linux/mq_notify.c: Do not include
46863         <kernel-features.h>.
46864         (init_mq_netlink): Remove conditional have_sock_cloexec
46865         definitions.  Remove code conditional on have_sock_cloexec < 0.
46866         (init_mq_netlink) [!SOCK_CLOEXEC]: Remove conditional code.
46867         (init_mq_netlink) [!__ASSUME_SOCK_CLOEXEC]: Likewise.
46868         * sysdeps/unix/sysv/linux/opensock.c: Do not include
46869         <kernel-features.h>.
46870         (__opensock) [SOCK_CLOEXEC]: Make code unconditional.
46871         (__opensock) [!__ASSUME_SOCK_CLOEXEC]: Remove conditional code.
46873 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
46875         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
46876         Add tests for memset_chk and memset.
46878         * sysdeps/x86_64/multiarch/init-arch.h (HAS_AVX2): Defined
46879         with AVX2_Usable.
46881 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
46883         [BZ #16046]
46884         * elf/tst-dl-iter-static.c: New file.
46885         * elf/Makefile (tests-static): Add tst-dl-iter-static.
46887         * stdlib/tst-qsort2.c (main): Fix off-by-one argc interpretation
46888         error.
46890 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
46892         * sysdeps/unix/sysv/linux/kernel-features.h
46893         (__ASSUME_F_GETOWN_EX): Remove macro.
46894         * sysdeps/unix/sysv/linux/fcntl.c: Do not include
46895         <kernel-features.h>.
46896         (miss_F_GETOWN_EX): Remove variable or macro.
46897         (do_fcntl): Do not check miss_F_GETOWN_EX.
46898         (do_fcntl) [!__ASSUME_F_GETOWN_EX]: Remove conditional code.
46900         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_RANDOM):
46901         Remove macro.
46902         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard)
46903         [!__ASSUME_AT_RANDOM]: Remove conditional code.
46904         (_dl_setup_pointer_guard) [!__ASSUME_AT_RANDOM]: Likewise.
46906         * sysdeps/unix/sysv/linux/kernel-features.h
46907         (__ASSUME_ADJ_OFFSET_SS_READ): Remove macro.
46908         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME)
46909         [ADJ_OFFSET_SS_READ]: Make code unconditional.
46910         (ADJTIME) [!ADJ_OFFSET_SS_READ]: Remove conditional code.
46912 2014-06-20  Maciej W. Rozycki  <macro@codesourcery.com>
46914         [BZ #17075]
46915         * sysdeps/arm/dl-machine.h (elf_machine_rel) <R_ARM_TLS_DESC>:
46916         Fix calculation of the symbol's value.
46917         * sysdeps/arm/tst-armtlsdescloc.c: New file.
46918         * sysdeps/arm/tst-armtlsdesclocmod.c: New file.
46919         * sysdeps/arm/tst-armtlsdescextnow.c: New file.
46920         * sysdeps/arm/tst-armtlsdescextlazymod.c: New file.
46921         * sysdeps/arm/tst-armtlsdescextlazy.c: New file.
46922         * sysdeps/arm/tst-armtlsdescextnowmod.c: New file.
46923         * sysdeps/arm/Makefile (tests): Add `tst-armtlsdesc',
46924         `tst-armtlsdescextnow' and `tst-armtlsdescextlazy'.
46925         (modules-names): Add `tst-armtlsdescmod',
46926         `tst-armtlsdescextlazymod' and `tst-armtlsdescextnowmod'.
46927         (CPPFLAGS-tst-armtlsdescextnowmod.c): New variable.
46928         (CPPFLAGS-tst-armtlsdescextlazymod.c): Likewise.
46929         (CFLAGS-tst-armtlsdesclocmod.c): Likewise.
46930         (CFLAGS-tst-armtlsdescextnowmod.c): Likewise.
46931         (CFLAGS-tst-armtlsdescextlazymod.c): Likewise.
46932         (LDFLAGS-tst-armtlsdescextnowmod.so): Likewise.
46933         ($(objpfx)tst-armtlsdescloc): New dependency.
46934         ($(objpfx)tst-armtlsdescextnow): Likewise.
46935         ($(objpfx)tst-armtlsdescextlazy): Likewise.
46936         * sysdeps/arm/configure.ac: Add a check for tools' GNU descriptor
46937         TLS scheme support.
46938         * sysdeps/arm/configure: Regenerate.
46940 2014-06-20  Joseph Myers  <joseph@codesourcery.com>
46942         * include/fcntl.h (__atfct_seterrno): Remove prototype.
46943         (__atfct_seterrno_2): Likewise.
46944         * sysdeps/unix/sysv/linux/alpha/dl-fxstatat64.c: Do not include
46945         <kernel-features.h>.
46946         (__ASSUME_ATFCTS): Do not undefine and redefine.
46947         * sysdeps/unix/sysv/linux/alpha/fxstatat.c [__ASSUME_ATFCTS]
46948         (__have_atfcts): Remove conditional definition.
46949         (__fxstatat([__NR_fstatat64]: Make code unconditional.
46950         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code and code
46951         unreachable if [__ASSUME_ATFCTS].
46952         * sysdeps/unix/sysv/linux/dl-fxstatat64.c (__ASSUME_ATFCTS): Do
46953         not undefine and redefine.
46954         * sysdeps/unix/sysv/linux/faccessat.c: Do not include
46955         <kernel-features.h>.
46956         (faccessat) [__NR_faccessat]: Make code unconditional.
46957         (faccessat) [!__ASSUME_ATFCTS]: Remove conditional code.
46958         * sysdeps/unix/sysv/linux/fchmodat.c: Do not include
46959         <kernel-features.h>.
46960         (fchmodat) [__NR_fchmodat]: Make code unconditional.
46961         (fchmodat) [!__ASSUME_ATFCTS]: Remove conditional code.
46962         * sysdeps/unix/sysv/linux/fchownat.c: Do not include
46963         <kernel-features.h>.
46964         (fchownat) [__NR_fchownat]: Make code unconditional.
46965         (fchownat) [!__ASSUME_ATFCTS]: Remove conditional code.
46966         * sysdeps/unix/sysv/linux/futimesat.c: Do not include
46967         <kernel-features.h>.
46968         (futimesat) [__NR_futimesat]: Make code unconditional.
46969         (futimesat) [!__ASSUME_ATFCTS]: Remove conditional code.
46970         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
46971         <kernel-features.h>.
46972         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
46973         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
46974         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
46975         <kernel-features.h>.
46976         (__fxstatat64) [__NR_fstatat64]: Make code unconditional.
46977         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
46978         * sysdeps/unix/sysv/linux/i386/fchownat.c: Remove file.
46979         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
46980         <kernel-features.h>.
46981         (__fxstatat) [__NR_fstatat64]: Make code unconditional.
46982         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
46983         * sysdeps/unix/sysv/linux/linkat.c: Do not include
46984         <kernel-features.h>.
46985         (linkat) [__NR_linkat]: Make code unconditional.
46986         (linkat) [!__ASSUME_ATFCTS]: Remove conditional code.
46987         * sysdeps/unix/sysv/linux/m68k/fchownat.c: Remove file.
46988         * sysdeps/unix/sysv/linux/mips/mips64/fxstatat64.c: Do not include
46989         <kernel-features.h>.
46990         (__fxstatat64) [__NR_newfstatat]: Make code unconditional.
46991         (__fxstatat64) [!__ASSUME_ATFCTS]: Remove conditional code.
46992         * sysdeps/unix/sysv/linux/mkdirat.c: Do not include
46993         <kernel-features.h>.
46994         (mkdirat) [__NR_mkdirat]: Make code unconditional.
46995         (mkdirat) [!__ASSUME_ATFCTS]: Remove conditional code.
46996         * sysdeps/unix/sysv/linux/openat.c: Do not include
46997         <kernel-features.h>.
46998         [!__ASSUME_ATFCTS] (__atfct_seterrno): Remove function.
46999         [!__ASSUME_ATFCTS] (__have_atfcts): Remove variable.
47000         (OPENAT_NOT_CANCEL) [__NR_openat]: Make code unconditional.
47001         (OPENAT_NOT_CANCEL) [!__ASSUME_ATFCTS]: Remove conditional code.
47002         * sysdeps/unix/sysv/linux/powerpc/fchownat.c: Remove file.
47003         * sysdeps/unix/sysv/linux/readlinkat.c: Do not include
47004         <kernel-features.h>.
47005         (readlinkat) [__NR_readlinkat]: Make code unconditional.
47006         (readlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.  Return
47007         result of INLINE_SYSCALL directly, not via int variable.
47008         * sysdeps/unix/sysv/linux/renameat.c: Do not include
47009         <kernel-features.h>.
47010         [!__ASSUME_ATFCTS] (__atfct_seterrno_2): Remove function.
47011         (renameat) [__NR_renameat]: Make code unconditional.
47012         (renameat) [!__ASSUME_ATFCTS]: Remove conditional code.
47013         * sysdeps/unix/sysv/linux/s390/s390-32/fchownat.c: Remove file.
47014         * sysdeps/unix/sysv/linux/sh/fchownat.c: Remove file.
47015         * sysdeps/unix/sysv/linux/sparc/sparc32/fchownat.c: Remove file.
47016         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c
47017         (__ASSUME_ATFCTS): Do not undefine and redefine.
47018         * sysdeps/unix/sysv/linux/symlinkat.c: Do not include
47019         <kernel-features.h>.
47020         (symlinkat) [__NR_symlinkat]: Make code unconditional.
47021         (symlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
47022         * sysdeps/unix/sysv/linux/unlinkat.c: Do not include
47023         <kernel-features.h>.
47024         (unlinkat) [__NR_unlinkat]: Make code unconditional.
47025         (unlinkat) [!__ASSUME_ATFCTS]: Remove conditional code.
47026         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c
47027         (__ASSUME_ATFCTS): Do not undefine and redefine.
47028         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
47029         <kernel-features.h>.
47030         (__fxstatat) [__NR_newfstatat]: Make code unconditional.
47031         (__fxstatat) [!__ASSUME_ATFCTS]: Remove conditional code.
47032         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
47033         <kernel-features.h>.
47034         (__xmknodat) [__NR_mknodat]: Make code unconditional.
47035         (__xmknodat) [!__ASSUME_ATFCTS]: Remove conditional code.
47037 2014-06-20  H.J. Lu  <hongjiu.lu@intel.com>
47039         * sysdeps/x86_64/multiarch/rtld-strlen.S: Removed.
47041 2014-06-20  Andreas Schwab  <schwab@linux-m68k.org>
47043         [BZ #17069]
47044         * posix/regcomp.c (parse_reg_exp): Deallocate partially
47045         constructed tree before returning error.
47046         * posix/bug-regexp36.c: Expand test case.
47048 2014-06-20  Stefan Liebler  <stli@linux.vnet.ibm.com>
47050         [BZ #6803]
47051         * math/libm-test.inc (scalbln_test_date):
47052         Add errno expectations.
47053         * math/w_scalblnf.c: New File.
47054         Add wrapper which checks for setting errno to ERANGE.
47055         Add weak_alias for corresponding scalbln function.
47056         * math/w_scalbln.c: Likewise.
47057         * math/w_scalblnl.c: Likewise.
47058         * math/Makefile (libm-calls): Add w_scalbln.
47059         * sysdeps/ieee754/flt-32/s_scalblnf.c:
47060         Remove weak_alias for corresponding scalbln function.
47061         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
47062         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
47063         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
47064         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
47065         * sysdeps/sparc/sparc64/soft-fp/s_scalblnl.c: Likewise.
47066         * sysdeps/i386/fpu/s_scalbnf.S: Likewise.
47067         * sysdeps/i386/fpu/s_scalbn.S: Likewise.
47068         * sysdeps/i386/fpu/s_scalbnl.S: Likewise.
47069         * sysdeps/m68k/m680x0/fpu/s_scalbn.c: Likewise.
47070         * sysdeps/ieee754/ldbl-64-128/s_scalblnl.c:
47071         Remove long_double_symbol for scalblnl function in libm, libc.
47072         * sysdeps/ieee754/ldbl-64-128/w_scalblnl.c: New File.
47073         Add wrapper which checks for setting errno to ERANGE.
47074         Add long_double_symbol for scalblnl function in libm, libc.
47075         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c:
47076         Remove long_double_symbol for scalblnl in libm.
47077         * sysdeps/ieee754/ldbl-128ibm/w_scalblnl.c: New File.
47078         Add wrapper which checks for setting errno to ERANGE.
47079         Add long_double_symbol for scalblnl function in libm.
47080         * sysdeps/ia64/fpu/w_scalblnf.c: New File.
47081         Do not use wrapper because of own implementation.
47083 2014-06-19  H.J. Lu  <hongjiu.lu@intel.com>
47085         * sysdeps/x86/nptl/bits/pthreadtypes.h (pthread_rwlock_t): Use
47086         3 bytes for __pad1 for x32.
47087         (__PTHREAD_RWLOCK_ELISION_EXTRA): Likewise.
47089 2014-06-19  Ling Ma  <ling.ml@alibaba-inc.com>
47090             H.J. Lu  <hongjiu.lu@intel.com>
47092         * sysdeps/x86_64/multiarch/Makefile: Add memset-avx2.
47093         * sysdeps/x86_64/multiarch/memset-avx2.S: New file.
47094         * sysdeps/x86_64/multiarch/memset.S: Likewise.
47095         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
47096         * sysdeps/x86_64/multiarch/rtld-memset.S: Likewise.
47098 2014-06-19  Andreas Schwab  <schwab@linux-m68k.org>
47100         [BZ #17069]
47101         * posix/regcomp.c (parse_expression): Deallocate partially
47102         constructed tree before returning error.
47103         * posix/Makefile.c (tests): Add bug-regex36.
47104         (generated): Add bug-regex36.mtrace.
47105         (tests-special): Add $(objpfx)bug-regex36-mem.out
47106         (bug-regex36-ENV): New variable.
47107         ($(objpfx)bug-regex36-mem.out): New rule.
47108         * posix/bug-regex36.c: New file.
47110 2014-06-19  Will Newton  <will.newton@linaro.org>
47112         * malloc/malloc.c (systrim): If extra is zero then return
47113         early.
47115 2014-06-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
47117         * benchtests/Makefile ($(objpfx)bench-%.c): Remove $(.).
47119 2014-06-19  Richard Earnshaw  <rearnsha@arm.com>
47121         * sysdeps/aarch64/strchr.S: New file.
47123 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
47125         [BZ #17022]
47126         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Do not subtract 1
47127         from arguments -2 or below.
47128         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
47129         * sysdeps/x86_64/fpu/e_logl.S (__ieee754_logl): Likewise.
47131 2014-06-18  Andreas Schwab  <schwab@suse.de>
47133         [BZ #17062]
47134         * posix/fnmatch_loop.c (FCT): Rerrange loop for skipping over rest
47135         of a bracket expr not to run off the end of the string.
47136         * posix/Makefile (tests): Add tst-fnmatch3.
47137         * posix/tst-fnmatch3.c: New file.
47139 2014-06-18  Joseph Myers  <joseph@codesourcery.com>
47141         * elf/Makefile ($(objpfx)tst-unused-dep.out): Use $(rtld-prefix).
47142         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
47143         [$(cross-compiling) = no]: Likewise.
47144         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
47145         [$(cross-compiling) = no]: Likewise.
47147 2014-16-17  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
47149         [BZ #17031]
47150         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Consider the low
47151         double, adjusted for any remainder from the high double.
47152         * math/libm-test.inc (nearbyint): Add tests.
47153         (rint): Likewise.
47155 2014-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47157         * nptl/sysdeps/powerpc/Makefile: Moved ...
47158         * sysdeps/powerpc/nptl/Makefile: ... here.
47159         * nptl/sysdeps/powerpc/pthread_spin_lock.c: Moved ...
47160         * sysdeps/powerpc/nptl/pthread_spin_lock.c: .. here.
47161         * nptl/sysdeps/powerpc/pthread_spin_trylock.c: Moved ...
47162         * sysdeps/powerpc/nptl/pthread_spin_trylock.c: ... here.
47163         * nptl/sysdeps/powerpc/pthreaddef.h: Moved ...
47164         * sysdeps/powerpc/nptl/pthreaddef.h: ... here.
47165         * nptl/sysdeps/powerpc/tcb-offsets.sym: Moved ...
47166         * sysdeps/powerpc/nptl/tcb-offsets.sym: ... here.
47167         * nptl/sysdeps/powerpc/tls.h: Moved ...
47168         * sysdeps/powerpc/nptl/tls.h: ... here.
47170 2014-06-16  Joseph Myers  <joseph@codesourcery.com>
47172         [BZ #16681]
47173         * sysdeps/i386/fpu/s_ceil.S (__ceil): Add CFI.
47174         * sysdeps/i386/fpu/s_ceilf.S (__ceilf): Likewise.
47175         * sysdeps/i386/fpu/s_ceill.S (__ceill): Likewise.
47176         * sysdeps/i386/fpu/s_floor.S (__floor): Likewise.
47177         * sysdeps/i386/fpu/s_floorf.S (__floorf): Likewise.
47178         * sysdeps/i386/fpu/s_floorl.S (__floorl): Likewise.
47179         * sysdeps/i386/fpu/s_trunc.S (__trunc): Likewise.
47180         * sysdeps/i386/fpu/s_truncf.S (__truncf): Likewise.
47181         * sysdeps/i386/fpu/s_truncl.S (__truncl): Likewise.
47183 2014-06-17  Andreas Schwab  <schwab@linux-m68k.org>
47185         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Update.
47187 2014-06-16  Andreas Schwab  <schwab@linux-m68k.org>
47189         * sysdeps/m68k/m680x0/bits/huge_vall.h: Fix missing space after
47190         defined operator.
47192         * scripts/cross-test-ssh.sh (timeoutfactor): Default to
47193         $TIMEOUTFACTOR.
47195 2014-06-16  Florian Weimer  <fweimer@redhat.com>
47197         [BZ #17058]
47198         * nptl/tst-setuid2.c (do_test): Fix tautological comparison in
47199         non-executed part of the test.
47201 2014-06-16  Andreas Schwab  <schwab@suse.de>
47203         * string/bits/string2.h (strdup, strndup): Update feature guard.
47205 2014-06-14  David S. Miller  <davem@davemloft.net>
47207         * sysdeps/sparc/fpu/libm-test-ulps: Update.
47209 2014-06-14  Andreas Schwab  <schwab@linux-m68k.org>
47211         * sysdeps/unix/sysv/linux/m68k/clone.S: Deconditionalize the code
47212         that was previously under [RESET_PID].
47213         * sysdeps/unix/sysv/linux/m68k/nptl/clone.S: Remove file.
47215         * sysdeps/unix/sysv/linux/m68k/pt-vfork.c: New file.
47216         * sysdeps/unix/sysv/linux/m68k/nptl/pt-vfork.S: Remove file.
47217         * sysdeps/unix/sysv/linux/m68k/vfork.S: Include <tcb-offsets.h>.
47218         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
47219         (__libc_vfork): New strong alias.
47220         * sysdeps/unix/sysv/linux/m68k/nptl/vfork.S: Remove file.
47222 2014-06-14 Andi Kleen  <ak@linux.intel.com>
47224         * sysdeps/generic/elide.h: New file.
47226 2014-06-13  Stefan Liebler  <stli@linux.vnet.ibm.com>
47228         * Makefile (installed-headers): Adjust path of pthread.h header.
47230 2014-06-13  Roland McGrath  <roland@hack.frob.com>
47232         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h: Moved ...
47233         * sysdeps/s390/nptl/bits/pthreadtypes.h: ... here.
47234         * nptl/sysdeps/unix/sysv/linux/s390/bits/semaphore.h: Moved ...
47235         * sysdeps/s390/nptl/bits/semaphore.h: ... here.
47237         * nptl/sysdeps/s390/Makefile: Moved ...
47238         * sysdeps/s390/nptl/Makefile: ... here.
47239         * nptl/sysdeps/s390/pthread_spin_init.c: Moved ...
47240         * sysdeps/s390/nptl/pthread_spin_init.c: ... here.
47241         * nptl/sysdeps/s390/pthread_spin_lock.c: Moved ...
47242         * sysdeps/s390/nptl/pthread_spin_lock.c: ... here.
47243         * nptl/sysdeps/s390/pthread_spin_trylock.c: Moved ...
47244         * sysdeps/s390/nptl/pthread_spin_trylock.c: ... here.
47245         * nptl/sysdeps/s390/pthread_spin_unlock.c: Moved ...
47246         * sysdeps/s390/nptl/pthread_spin_unlock.c: ... here.
47247         * nptl/sysdeps/s390/pthreaddef.h: Moved ...
47248         * sysdeps/s390/nptl/pthreaddef.h: ... here.
47249         * nptl/sysdeps/s390/tcb-offsets.sym: Moved ...
47250         * sysdeps/s390/nptl/tcb-offsets.sym: ... here.
47251         * nptl/sysdeps/s390/tls.h: Moved ...
47252         * sysdeps/s390/nptl/tls.h: ... here.
47254         * sysdeps/unix/sysv/linux/s390/arch-fork.h: New file.
47255         * nptl/sysdeps/unix/sysv/linux/s390/fork.c: File removed.
47257 2014-06-13  David S. Miller  <davem@davemloft.net>
47259         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/clone.S: Delete.
47260         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/pt-vfork.S: Delete.
47261         * nptl/sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: Moved ...
47262         * sysdeps/unix/sysv/linux/sparc/sparc32/vfork.S: ... here.
47263         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/clone.S: Delete.
47264         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/pt-vfork.S: Delete.
47265         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: Moved ...
47266         * sysdeps/unix/sysv/linux/sparc/sparc64/vfork.S: ... here.
47267         * sysdeps/unix/sysv/linux/sparc/fork.S: Delete.
47268         * sysdeps/unix/sysv/linux/sparc/pt-vfork.S: New file.
47269         * sysdeps/unix/sysv/linux/sparc/sparc32/clone.S (__thread_start):
47270         Remove RESET_PID cpp guards.
47271         * sysdeps/unix/sysv/linux/sparc/sparc64/clone.S (__thread_start):
47272         Remove RESET_PID cpp guards.
47273         * sysdeps/unix/sysv/linux/sparc/vfork.S: Delete.
47275 2014-06-13  Andreas Schwab  <schwab@linux-m68k.org>
47277         * sysdeps/m68k/jmpbuf-unwind.h (_JMPBUF_UNWINDS, _jmpbuf_sp): Cast
47278         __sp to uintptr_t.
47280 2014-06-13  Andi Kleen  <ak@linux.intel.com>
47282         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: Remove.
47283         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S: dito.
47284         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S: dito.
47285         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: dito.
47286         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: dito.
47287         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: dito.
47288         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S: dito.
47289         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S: dito.
47290         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: dito.
47291         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: dito.
47292         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: dito.
47293         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S: dito.
47294         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S: dito.
47295         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: dito.
47296         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: dito.
47297         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: dito.
47298         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: dito.
47299         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: dito.
47300         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: dito.
47301         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: dito.
47303         * nptl/pthread_rwlock_rdlock.c: Include elide.h.
47304         (pthread_rwlock_rdlock): Add elision.
47305         * nptl/pthread_rwlock_wrlock.c: Include elide.h.
47306         (pthread_rwlock_wrlock): Add elision.
47307         * nptl/pthread_rwlock_trywrlock.c: Include elide.h.
47308         (pthread_rwlock_trywrlock): Add elision.
47309         * nptl/pthread_rwlock_tryrdlock.c: Include elide.h.
47310         (pthread_rwlock_tryrdlock): Add elision.
47311         * nptl/pthread_rwlock_unlock.c: Include elide.h.
47312         (pthread_rwlock_tryrdlock): Add elision unlock.
47313         * nptl/sysdeps/pthread/pthread.h:
47314         (__PTHREAD_RWLOCK_ELISION_EXTRA): Handle new define
47315         (PTHREAD_RWLOCK_INITIALIZER,
47316         PTHREAD_RWLOCK_WRITER_NONRECURSIVE_INITIALIZER_NP):
47317         Handle new elision field.
47318         * sysdeps/x86/nptl/elide.h: New file. Add generic elision macros.
47319         * sysdeps/arm/nptl/bits/pthreadtypes.h
47320         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
47321         * sysdeps/sh/nptl/bits/pthreadtypes.h
47322         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
47323         * sysdeps/tile/nptl/bits/pthreadtypes.h
47324         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
47325         * sysdeps/a/nptl/bits/pthreadtypes.h
47326         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
47327         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
47328         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
47329         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
47330         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
47331         * sysdeps/unix/sysv/linux/hppa/nptl/bits/pthreadtypes.h
47332         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
47333         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
47334         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
47335         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
47336         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
47337         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
47338         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
47339         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
47340         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
47341         * sysdeps/unix/sysv/linux/powerpc/nptl/bits/pthreadtypes.h
47342         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
47343         * sysdeps/unix/sysv/linux/x86/elision-conf.c:
47344         (elision_init): Set try_xbegin to zero when no RTM.
47345         * sysdeps/x86/nptl/bits/pthreadtypes.h
47346         (pthread_rwlock_t): Change __pad1 to __rwelision.
47347         (__PTHREAD_RWLOCK_ELISION_EXTRA): Add.
47349 2014-06-13  Andi Kleen  <ak@linux.intel.com>
47351         * nptl/pthread_rwlock_rdlock (__pthread_rwlock_rdlock):
47352         Split into __do_pthread_rwlock_rdlock and __pthread_rwlock_rdlock.
47353         * nptl/pthread_rwlock_wrlock (__pthread_rwlock_wrlock):
47354         Split into __do_pthread_rwlock_wrlock and __pthread_wrlock_rdlock.
47356 2014-06-13  Meador Inge  <meadori@codesourcery.com>
47358         [BZ #16996]
47359         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Ensure
47360         that the cached result has been set before returning it.
47362 2014-06-12  Roland McGrath  <roland@hack.frob.com>
47364         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h: Moved ...
47365         * sysdeps/sparc/nptl/bits/pthreadtypes.h: ... here.
47366         * nptl/sysdeps/unix/sysv/linux/sparc/bits/semaphore.h: Moved ...
47367         * sysdeps/sparc/nptl/bits/semaphore.h: ... here.
47368         * nptl/sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: Moved ...
47369         * sysdeps/unix/sysv/linux/sparc/bits/local_lim.h: ... here.
47371         * nptl/sysdeps/sparc/Makefile: Moved ...
47372         * sysdeps/sparc/nptl/Makefile: ... here.
47373         * nptl/sysdeps/sparc/tcb-offsets.sym: Moved ...
47374         * sysdeps/sparc/nptl/tcb-offsets.sym: ... here.
47375         * nptl/sysdeps/sparc/tls.h: Moved ...
47376         * sysdeps/sparc/nptl/tls.h: ... here.
47377         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S: Moved ...
47378         * sysdeps/sparc/sparc32/nptl/pthread_spin_lock.S: ... here.
47379         * nptl/sysdeps/sparc/sparc32/pthread_spin_trylock.S: Moved ...
47380         * sysdeps/sparc/sparc32/nptl/pthread_spin_trylock.S: ... here.
47381         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Moved ...
47382         * sysdeps/sparc/sparc32/nptl/pthreaddef.h: ... here.
47383         * nptl/sysdeps/sparc/sparc64/pthread_spin_init.c: Moved ...
47384         * sysdeps/sparc/sparc64/nptl/pthread_spin_init.c: ... here.
47385         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S: Moved ...
47386         * sysdeps/sparc/sparc64/nptl/pthread_spin_lock.S: ... here.
47387         * nptl/sysdeps/sparc/sparc64/pthread_spin_trylock.S: Moved ...
47388         * sysdeps/sparc/sparc64/nptl/pthread_spin_trylock.S: ... here.
47389         * nptl/sysdeps/sparc/sparc64/pthread_spin_unlock.S: Moved ...
47390         * sysdeps/sparc/sparc64/nptl/pthread_spin_unlock.S: ... here.
47391         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Moved ...
47392         * sysdeps/sparc/sparc64/nptl/pthreaddef.h: ... here.
47393         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_init.c: Moved ...
47394         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_init.c: ... here.
47395         Update #include.
47396         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_lock.S: Moved ...
47397         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_lock.S: ... here.
47398         Update #include.
47399         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_trylock.S: Moved ...
47400         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_trylock.S: ... here.
47401         Update #include.
47402         * nptl/sysdeps/sparc/sparc32/sparcv9/pthread_spin_unlock.S: Moved ...
47403         * sysdeps/sparc/sparc32/sparcv9/nptl/pthread_spin_unlock.S: ... here.
47404         Update #include.
47406         * nptl/sysdeps/sparc/tls.h (TLS_DEFINE_INIT_TP): New macro.
47408         * sysdeps/unix/sysv/linux/sparc/arch-fork.h: New file.
47409         * nptl/sysdeps/unix/sysv/linux/sparc/fork.c: File removed.
47411         * sysdeps/pthread/posix-timer.h: Include <list.h>.
47412         (struct list_links): Type removed.
47413         (struct thread_node, struct timer_node): Replace struct list_links
47414         with struct list_head.
47415         (list_unlink_ip): Likewise.
47416         * sysdeps/pthread/timer_routines.c
47417         (timer_free_list, thread_free_list, thread_active_list): Likewise.
47418         (list_append, list_insbefore): Likewise.
47419         (list_init): Function removed.
47420         (thread_init, init_module): Use INIT_LIST_HEAD instead.
47421         * sysdeps/nptl/Makefile: Move tst-timer bits to ...
47422         * sysdeps/pthread/Makefile: ... here, new file.
47424         * nptl/sysdeps/unix/sysv/linux/Implies: Moved ...
47425         * sysdeps/nptl/Implies: ... here.
47426         * sysdeps/unix/sysv/linux/Implies: Add nptl.
47427         * nptl/sysdeps/pthread/list.h: Moved ...
47428         * include/list.h: ... here.
47429         * nptl/sysdeps/pthread/createthread.c: Moved ...
47430         * nptl/createthread.c: ... here.
47431         * nptl/sysdeps/unix/sysv/linux/createthread.c: Update #include.
47432         * nptl/sysdeps/pthread/pt-longjmp.c: Moved ...
47433         * nptl/pt-longjmp.c: ... here.
47434         * nptl/sysdeps/pthread/Makefile: Moved ...
47435         * sysdeps/nptl/Makefile: ... here.
47436         * nptl/sysdeps/pthread/Subdirs: Moved ...
47437         * sysdeps/nptl/Subdirs: ... here.
47438         * nptl/sysdeps/pthread/aio_misc.h: Moved ...
47439         * sysdeps/nptl/aio_misc.h: ... here.
47440         * nptl/sysdeps/pthread/bits/libc-lock.h: Moved ...
47441         * sysdeps/nptl/bits/libc-lock.h: ... here.
47442         * nptl/sysdeps/pthread/bits/libc-lockP.h: Moved ...
47443         * sysdeps/nptl/bits/libc-lockP.h: ... here.
47444         * nptl/sysdeps/pthread/bits/stdio-lock.h: Moved ...
47445         * sysdeps/nptl/bits/stdio-lock.h: ... here.
47446         * nptl/sysdeps/pthread/configure: Moved ...
47447         * sysdeps/nptl/configure: ... here.
47448         * nptl/sysdeps/pthread/configure.ac: Moved ...
47449         * sysdeps/nptl/configure.ac: ... here.
47450         * nptl/sysdeps/pthread/gai_misc.h: Moved ...
47451         * sysdeps/nptl/gai_misc.h: ... here.
47452         * nptl/sysdeps/pthread/librt-cancellation.c: Moved ...
47453         * sysdeps/nptl/librt-cancellation.c: ... here.
47454         * nptl/sysdeps/pthread/malloc-machine.h: Moved ...
47455         * sysdeps/nptl/malloc-machine.h: ... here.
47456         * nptl/sysdeps/pthread/pthread-functions.h: Moved ...
47457         * sysdeps/nptl/pthread-functions.h: ... here.
47458         * nptl/sysdeps/pthread/pthread.h: Moved ...
47459         * sysdeps/nptl/pthread.h: ... here.
47460         * nptl/sysdeps/pthread/setxid.h: Moved ...
47461         * sysdeps/nptl/setxid.h: ... here.
47462         * nptl/sysdeps/pthread/sigfillset.c: Moved ...
47463         * sysdeps/nptl/sigfillset.c: ... here.
47464         * nptl/sysdeps/pthread/tcb-offsets.h: Moved ...
47465         * sysdeps/nptl/tcb-offsets.h: ... here.
47466         * nptl/sysdeps/pthread/tst-mqueue8x.c: Moved ...
47467         * sysdeps/nptl/tst-mqueue8x.c: ... here.
47468         * nptl/sysdeps/pthread/unwind-forcedunwind.c: Moved ...
47469         * sysdeps/nptl/unwind-forcedunwind.c: ... here.
47470         * nptl/sysdeps/pthread/allocalim.h: Moved ...
47471         * sysdeps/pthread/allocalim.h: ... here.
47472         * nptl/sysdeps/pthread/bits/sigthread.h: Moved ...
47473         * sysdeps/pthread/bits/sigthread.h: ... here.
47474         * nptl/sysdeps/pthread/flockfile.c: Moved ...
47475         * sysdeps/pthread/flockfile.c: ... here.
47476         * nptl/sysdeps/pthread/ftrylockfile.c: Moved ...
47477         * sysdeps/pthread/ftrylockfile.c: ... here.
47478         * nptl/sysdeps/pthread/funlockfile.c: Moved ...
47479         * sysdeps/pthread/funlockfile.c: ... here.
47480         * nptl/sysdeps/pthread/posix-timer.h: Moved ...
47481         * sysdeps/pthread/posix-timer.h: ... here.
47482         * nptl/sysdeps/pthread/timer_create.c: Moved ...
47483         * sysdeps/pthread/timer_create.c: ... here.
47484         * nptl/sysdeps/pthread/timer_delete.c: Moved ...
47485         * sysdeps/pthread/timer_delete.c: ... here.
47486         * nptl/sysdeps/pthread/timer_getoverr.c: Moved ...
47487         * sysdeps/pthread/timer_getoverr.c: ... here.
47488         * nptl/sysdeps/pthread/timer_gettime.c: Moved ...
47489         * sysdeps/pthread/timer_gettime.c: ... here.
47490         * nptl/sysdeps/pthread/timer_routines.c: Moved ...
47491         * sysdeps/pthread/timer_routines.c: ... here.
47492         * nptl/sysdeps/pthread/timer_settime.c: Moved ...
47493         * sysdeps/pthread/timer_settime.c: ... here.
47494         * nptl/sysdeps/pthread/tst-timer.c: Moved ...
47495         * sysdeps/pthread/tst-timer.c: ... here.
47496         * nptl/sysdeps/pthread/pthread_sigmask.c: Moved ...
47497         * sysdeps/unix/sysv/linux/pthread_sigmask.c: ... here.
47499         * sysdeps/unix/sysv/linux/sigprocmask.c: Include <nptl/pthreadP.h>.
47500         * nptl/sysdeps/pthread/sigprocmask.c: File removed.
47502         * nptl/sysdeps/i386/i486/pthread_spin_trylock.S: Moved ...
47503         * sysdeps/i386/i486/nptl/pthread_spin_trylock.S: ... here.
47504         * nptl/sysdeps/i386/i586/pthread_spin_trylock.S: Moved ...
47505         * sysdeps/i386/i586/nptl/pthread_spin_trylock.S: ... here.
47506         Update #include target.
47507         * nptl/sysdeps/i386/i686/Makefile: Moved ...
47508         * sysdeps/i386/i686/nptl/Makefile: ... here.
47509         * nptl/sysdeps/i386/i686/pthread_spin_trylock.S: Moved ...
47510         * sysdeps/i386/i686/nptl/pthread_spin_trylock.S: ... here.
47511         Update #include target.
47512         * nptl/sysdeps/i386/i686/tls.h: Moved ...
47513         * sysdeps/i386/i686/nptl/tls.h: ... here.  Use #include_next.
47514         * nptl/sysdeps/i386/Makefile: Moved ...
47515         * sysdeps/i386/nptl/Makefile: ... here.
47516         * nptl/sysdeps/i386/pthread_spin_init.c: Moved ...
47517         * sysdeps/i386/nptl/pthread_spin_init.c: ... here.
47518         * sysdeps/x86_64/nptl/pthread_spin_init.c: Update #include target.
47519         * nptl/sysdeps/i386/pthread_spin_lock.S: Moved ...
47520         * sysdeps/i386/nptl/pthread_spin_lock.S: ... here.
47521         * nptl/sysdeps/i386/pthread_spin_unlock.S: Moved ...
47522         * sysdeps/i386/nptl/pthread_spin_unlock.S: ... here.
47523         * nptl/sysdeps/i386/pthreaddef.h: Moved ...
47524         * sysdeps/i386/nptl/pthreaddef.h: ... here.
47525         * nptl/sysdeps/i386/tcb-offsets.sym: Moved ...
47526         * sysdeps/i386/nptl/tcb-offsets.sym: ... here.
47527         * nptl/sysdeps/i386/tls.h: Moved ...
47528         * sysdeps/i386/nptl/tls.h: ... here.
47530         * sysdeps/sh/Makefile [$(subdir) = csu]
47531         (gen-as-const-headers): Add tcb-offsets.sym.
47532         * nptl/sysdeps/sh/Makefile: File removed.
47533         * nptl/sysdeps/sh/pthread_spin_init.c: Moved ...
47534         * sysdeps/sh/nptl/pthread_spin_init.c: ... here.
47535         * nptl/sysdeps/sh/pthread_spin_lock.c: Moved ...
47536         * sysdeps/sh/nptl/pthread_spin_lock.c: ... here.
47537         * nptl/sysdeps/sh/pthread_spin_trylock.S: Moved ...
47538         * sysdeps/sh/nptl/pthread_spin_trylock.S: ... here.
47539         * nptl/sysdeps/sh/pthread_spin_unlock.S: Moved ...
47540         * sysdeps/sh/nptl/pthread_spin_unlock.S: ... here.
47541         * nptl/sysdeps/sh/pthreaddef.h: Moved ...
47542         * sysdeps/sh/nptl/pthreaddef.h: ... here.
47543         * nptl/sysdeps/sh/tcb-offsets.sym: Moved ...
47544         * sysdeps/sh/nptl/tcb-offsets.sym: ... here.
47545         * nptl/sysdeps/sh/tls.h: Moved ...
47546         * sysdeps/sh/nptl/tls.h: ... here.
47547         * nptl/sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: Moved ...
47548         * sysdeps/unix/sysv/linux/sh/libc-lowlevellock.S: ... here.
47549         * nptl/sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: Moved ...
47550         * sysdeps/unix/sysv/linux/sh/lowlevel-atomic.h: ... here.
47551         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.S: Moved ...
47552         * sysdeps/unix/sysv/linux/sh/lowlevellock.S: ... here.
47553         * nptl/sysdeps/unix/sysv/linux/sh/lowlevellock.h: Moved ...
47554         * sysdeps/unix/sysv/linux/sh/lowlevellock.h: ... here.
47555         * nptl/sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: Moved ...
47556         * sysdeps/unix/sysv/linux/sh/lowlevelrobustlock.S: ... here.
47557         * nptl/sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: Moved ...
47558         * sysdeps/unix/sysv/linux/sh/pthread_barrier_wait.S: ... here.
47559         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: Moved ...
47560         * sysdeps/unix/sysv/linux/sh/pthread_cond_broadcast.S: ... here.
47561         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: Moved ...
47562         * sysdeps/unix/sysv/linux/sh/pthread_cond_signal.S: ... here.
47563         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: Moved ...
47564         * sysdeps/unix/sysv/linux/sh/pthread_cond_timedwait.S: ... here.
47565         * nptl/sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: Moved ...
47566         * sysdeps/unix/sysv/linux/sh/pthread_cond_wait.S: ... here.
47567         * nptl/sysdeps/unix/sysv/linux/sh/pthread_once.S: Moved ...
47568         * sysdeps/unix/sysv/linux/sh/pthread_once.S: ... here.
47569         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: Moved ...
47570         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_rdlock.S: ... here.
47571         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S:
47572         Moved ...
47573         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedrdlock.S: ... here.
47574         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S:
47575         Moved ...
47576         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_timedwrlock.S: ... here.
47577         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: Moved ...
47578         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_unlock.S: ... here.
47579         * nptl/sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: Moved ...
47580         * sysdeps/unix/sysv/linux/sh/pthread_rwlock_wrlock.S: ... here.
47581         * nptl/sysdeps/unix/sysv/linux/sh/sem_post.S: Moved ...
47582         * sysdeps/unix/sysv/linux/sh/sem_post.S: ... here.
47583         * nptl/sysdeps/unix/sysv/linux/sh/sem_timedwait.S: Moved ...
47584         * sysdeps/unix/sysv/linux/sh/sem_timedwait.S: ... here.
47585         * nptl/sysdeps/unix/sysv/linux/sh/sem_trywait.S: Moved ...
47586         * sysdeps/unix/sysv/linux/sh/sem_trywait.S: ... here.
47587         * nptl/sysdeps/unix/sysv/linux/sh/sem_wait.S: Moved ...
47588         * sysdeps/unix/sysv/linux/sh/sem_wait.S: ... here.
47589         * nptl/sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: Moved ...
47590         * sysdeps/unix/sysv/linux/sh/sh4/lowlevellock.h: ... here.
47591         * nptl/sysdeps/unix/sysv/linux/sh/smp.h: Moved ...
47592         * sysdeps/unix/sysv/linux/sh/smp.h: ... here.
47593         * nptl/sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: Moved ...
47594         * sysdeps/unix/sysv/linux/sh/sysdep-cancel.h: ... here.
47596 2014-06-12  Stefan Liebler  <stli@linux.vnet.ibm.com>
47598         * posix/spawn_faction_addopen.c: Include string.h.
47600 2014-06-11  Roland McGrath  <roland@hack.frob.com>
47602         * nptl/sysdeps/x86_64/64/shlib-versions: Moved ...
47603         * sysdeps/x86_64/64/nptl/shlib-versions: ... here.
47604         * nptl/sysdeps/x86_64/Makefile: Moved ...
47605         * sysdeps/x86_64/nptl/Makefile: ... here.
47606         * nptl/sysdeps/x86_64/configure: Moved ...
47607         * sysdeps/x86_64/nptl/configure: ... here.
47608         * nptl/sysdeps/x86_64/configure.ac: Moved ...
47609         * sysdeps/x86_64/nptl/configure.ac: ... here.
47610         * nptl/sysdeps/x86_64/pthread_spin_init.c: Moved ...
47611         * sysdeps/x86_64/nptl/pthread_spin_init.c: ... here.
47612         * nptl/sysdeps/x86_64/pthread_spin_lock.S: Moved ...
47613         * sysdeps/x86_64/nptl/pthread_spin_lock.S: ... here.
47614         * nptl/sysdeps/x86_64/pthread_spin_trylock.S: Moved ...
47615         * sysdeps/x86_64/nptl/pthread_spin_trylock.S: ... here.
47616         * nptl/sysdeps/x86_64/pthread_spin_unlock.S: Moved ...
47617         * sysdeps/x86_64/nptl/pthread_spin_unlock.S: ... here.
47618         * nptl/sysdeps/x86_64/pthreaddef.h: Moved ...
47619         * sysdeps/x86_64/nptl/pthreaddef.h: ... here.
47620         * nptl/sysdeps/x86_64/tcb-offsets.sym: Moved ...
47621         * sysdeps/x86_64/nptl/tcb-offsets.sym: ... here.
47622         * nptl/sysdeps/x86_64/tls.h: Moved ...
47623         * sysdeps/x86_64/nptl/tls.h: ... here.
47624         * nptl/sysdeps/x86_64/x32/shlib-versions: Moved ...
47625         * sysdeps/x86_64/x32/nptl/shlib-versions: ... here.
47626         * nptl/sysdeps/x86_64/x32/tls.h: Moved ...
47627         * sysdeps/x86_64/x32/nptl/tls.h: ... here.
47629         * sysdeps/x86_64/x32/nptl/tls.h: Use #include_next.
47631 2014-06-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
47633         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
47635 2014-06-11  Joseph Myers  <joseph@codesourcery.com>
47637         * conform/data/sys/mman.h-data [POSIX] (size_t): Do not require
47638         type.
47639         [POSIX] (off_t): Likewise.
47640         * conform/data/sys/stat.h-data (S_IRGRP): Require constant.
47641         [POSIX] (S_ISBLK): Require macro.
47642         [POSIX] (S_ISCHR): Likewise.
47643         [POSIX] (S_ISDIR): Likewise.
47644         [POSIX] (S_ISFIFO): Likewise.
47645         [POSIX] (S_ISREG): Likewise.
47646         [POSIX || XPG3 || XPG4 || UNIX98] (S_TYPEISTMO): Do not list
47647         optional-macro.
47648         * conform/data/sys/types.h-data [POSIX] (blkcnt_t): Do not require
47649         type.
47650         [POSIX] (time_t): Likewise.
47651         [POSIX] (timer_t): Likewise.
47653 2014-06-11  Florian Weimer  <fweimer@redhat.com>
47655         [BZ #17048]
47656         * posix/spawn_int.h (struct __spawn_action): Make the path string
47657         non-const to support deallocation.
47658         * posix/spawn_faction_addopen.c
47659         (posix_spawn_file_actions_addopen): Make a copy of the pathname.
47660         * posix/spawn_faction_destroy.c
47661         (posix_spawn_file_actions_destroy): Adjust comment.  Deallocate
47662         path in all spawn_do_open actions.
47663         * posix/tst-spawn.c (do_test): Exercise the copy operation in
47664         posix_spawn_file_actions_addopen.
47666 2014-06-11  Chris Metcalf  <cmetcalf@tilera.com>
47668         * sysdeps/unix/sysv/linux/tile/pt-vfork.c: New file.
47669         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: Remove file.
47670         * sysdeps/unix/sysv/linux/tile/vfork.S (__vfork): Make PT_VFORK
47671         conditional code always true.
47672         (__libc_vfork): New alias.
47674 2014-06-11  Roland McGrath  <roland@hack.frob.com>
47676         * sysdeps/tile/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
47677         * sysdeps/unix/sysv/linux/tile/createthread.c: File removed.
47679         * nptl/sysdeps/s390/tls.h (TLS_DEFINE_INIT_TP): New macro.
47681         * sysdeps/alpha/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
47682         * sysdeps/unix/sysv/linux/alpha/createthread.c: File removed.
47684         * nptl/sysdeps/powerpc/tls.h (TLS_DEFINE_INIT_TP): New macro.
47685         * sysdeps/unix/sysv/linux/powerpc/createthread.c: File removed.
47687         * sysdeps/aarch64/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
47688         * sysdeps/unix/sysv/linux/aarch64/nptl/createthread.c: File removed.
47690 2014-06-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
47692         * sysdeps/powerpc/powerpc64/power7/strcmp.S: New file: Optimization.
47693         * sysdeps/powerpc/powerpc64/multiarch/strcmp.c: New file:
47694         multiarch strcmp for PPC64.
47695         * sysdeps/powerpc/powerpc64/multiarch/strcmp-ppc64.S: New file.
47696         * sysdeps/powerpc/powerpc64/multiarch/strcmp-power7.S: New file.
47697         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcmp
47698         multiarch optimizations.
47699         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
47700         (__libc_ifunc_impl_list): Likewise.
47702 2014-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
47704         * benchtests/scripts/validate_benchout.py: New script.
47705         * benchtests/Makefile (bench-func): Call it.
47706         * benchtests/scripts/benchout.schema.json: New file.
47708 2014-06-10  Chris Metcalf  <cmetcalf@tilera.com>
47710         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h: Moved ...
47711         * sysdeps/tile/nptl/bits/pthreadtypes.h: ... here.
47712         * sysdeps/unix/sysv/linux/tile/nptl/bits/semaphore.h: Moved ...
47713         * sysdeps/tile/nptl/bits/semaphore.h: ... here.
47714         * sysdeps/unix/sysv/linux/tile/nptl/Makefile: Removed, merged into ...
47715         * sysdeps/unix/sysv/linux/tile/Makefile: ... here.
47716         * sysdeps/unix/sysv/linux/tile/nptl/clone.S: Moved ...
47717         * sysdeps/unix/sysv/linux/tile/clone.S: ... here.
47718         * sysdeps/unix/sysv/linux/tile/nptl/createthread.c: Moved ...
47719         * sysdeps/unix/sysv/linux/tile/createthread.c: ... here.
47720         * sysdeps/unix/sysv/linux/tile/nptl/lowlevellock.h: Moved ...
47721         * sysdeps/unix/sysv/linux/tile/lowlevellock.h: ... here.
47722         * sysdeps/unix/sysv/linux/tile/nptl/pt-vfork.S: Moved ...
47723         * sysdeps/unix/sysv/linux/tile/pt-vfork.S: ... here.
47724         * sysdeps/unix/sysv/linux/tile/nptl/sysdep-cancel.h: Moved ...
47725         * sysdeps/unix/sysv/linux/tile/sysdep-cancel.h: ... here.
47726         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/c++-types.data:
47727         Moved ...
47728         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/c++-types.data:
47729         ... here.
47730         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/ld.abilist:
47731         Moved ...
47732         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/ld.abilist: ... here.
47733         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libBrokenLocale.abilist:
47734         Moved ...
47735         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libBrokenLocale.abilist:
47736         ... here.
47737         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libanl.abilist:
47738         Moved ...
47739         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libanl.abilist:
47740         ... here.
47741         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libc.abilist:
47742         Moved ...
47743         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libc.abilist: ... here.
47744         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libcrypt.abilist:
47745         Moved ...
47746         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libcrypt.abilist:
47747         ... here.
47748         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libdl.abilist:
47749         Moved ...
47750         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libdl.abilist:
47751         ... here.
47752         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libm.abilist:
47753         Moved ...
47754         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libm.abilist: ... here.
47755         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libnsl.abilist:
47756         Moved ...
47757         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libnsl.abilist:
47758         ... here.
47759         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libpthread.abilist:
47760         Moved ...
47761         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libpthread.abilist:
47762         ... here.
47763         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libresolv.abilist:
47764         Moved ...
47765         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libresolv.abilist:
47766         ... here.
47767         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/librt.abilist:
47768         Moved ...
47769         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/librt.abilist: ... here.
47770         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libthread_db.abilist:
47771         Moved ...
47772         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libthread_db.abilist:
47773         ... here.
47774         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/nptl/libutil.abilist:
47775         Moved ...
47776         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx32/libutil.abilist:
47777         ... here.
47778         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/c++-types.data:
47779         Moved ...
47780         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/c++-types.data:
47781         ... here.
47782         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/ld.abilist:
47783         Moved ...
47784         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/ld.abilist: ... here.
47785         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libBrokenLocale.abilist:
47786         Moved ...
47787         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libBrokenLocale.abilist:
47788         ... here.
47789         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libanl.abilist:
47790         Moved ...
47791         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libanl.abilist:
47792         ... here.
47793         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libc.abilist:
47794         Moved ...
47795         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libc.abilist: ... here.
47796         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libcrypt.abilist:
47797         Moved ...
47798         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libcrypt.abilist:
47799         ... here.
47800         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libdl.abilist:
47801         Moved ...
47802         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libdl.abilist: ... here.
47803         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libm.abilist:
47804         Moved ...
47805         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libm.abilist: ... here.
47806         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libnsl.abilist:
47807         Moved ...
47808         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libnsl.abilist:
47809         ... here.
47810         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libpthread.abilist:
47811         Moved ...
47812         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libpthread.abilist:
47813         ... here.
47814         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libresolv.abilist:
47815         Moved ...
47816         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libresolv.abilist:
47817         ... here.
47818         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/librt.abilist:
47819         Moved ...
47820         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/librt.abilist: ... here.
47821         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libthread_db.abilist:
47822         Moved ...
47823         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libthread_db.abilist:
47824         ... here.
47825         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/nptl/libutil.abilist:
47826         Moved ...
47827         * sysdeps/unix/sysv/linux/tile/tilegx/tilegx64/libutil.abilist:
47828         ... here.
47829         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/c++-types.data: Moved ...
47830         * sysdeps/unix/sysv/linux/tile/tilepro/c++-types.data: ... here.
47831         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/ld.abilist: Moved ...
47832         * sysdeps/unix/sysv/linux/tile/tilepro/ld.abilist: ... here.
47833         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libBrokenLocale.abilist:
47834         Moved ...
47835         * sysdeps/unix/sysv/linux/tile/tilepro/libBrokenLocale.abilist:
47836         ... here.
47837         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libanl.abilist: Moved ...
47838         * sysdeps/unix/sysv/linux/tile/tilepro/libanl.abilist: ... here.
47839         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libc.abilist: Moved ...
47840         * sysdeps/unix/sysv/linux/tile/tilepro/libc.abilist: ... here.
47841         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libcrypt.abilist: Moved ...
47842         * sysdeps/unix/sysv/linux/tile/tilepro/libcrypt.abilist: ... here.
47843         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libdl.abilist: Moved ...
47844         * sysdeps/unix/sysv/linux/tile/tilepro/libdl.abilist: ... here.
47845         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libm.abilist: Moved ...
47846         * sysdeps/unix/sysv/linux/tile/tilepro/libm.abilist: ... here.
47847         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libnsl.abilist: Moved ...
47848         * sysdeps/unix/sysv/linux/tile/tilepro/libnsl.abilist: ... here.
47849         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libpthread.abilist:
47850         Moved ...
47851         * sysdeps/unix/sysv/linux/tile/tilepro/libpthread.abilist: ... here.
47852         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libresolv.abilist:
47853         Moved ...
47854         * sysdeps/unix/sysv/linux/tile/tilepro/libresolv.abilist: ... here.
47855         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/librt.abilist: Moved ...
47856         * sysdeps/unix/sysv/linux/tile/tilepro/librt.abilist: ... here.
47857         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libthread_db.abilist:
47858         Moved ...
47859         * sysdeps/unix/sysv/linux/tile/tilepro/libthread_db.abilist: ... here.
47860         * sysdeps/unix/sysv/linux/tile/tilepro/nptl/libutil.abilist: Moved ...
47861         * sysdeps/unix/sysv/linux/tile/tilepro/libutil.abilist: ... here.
47862         * sysdeps/unix/sysv/linux/tile/nptl/vfork.S: Moved ...
47863         * sysdeps/unix/sysv/linux/tile/vfork.S: ... here.
47864         * sysdeps/unix/sysv/linux/tile/nptl/waitpid.S: Moved ...
47865         * sysdeps/unix/sysv/linux/tile/waitpid.S: ... here.
47867 2014-06-10  Wilco  <wdijkstr@arm.com>
47869         * math/test-fenv-return.c: New file.
47870         * math/Makefile: Add new test test-fenv-return.
47872 2014-06-10  Joseph Myers  <joseph@codesourcery.com>
47874         [BZ #17042]
47875         * sysdeps/i386/fpu/e_log2.S (__ieee754_log2): Take absolete value
47876         when x - 1 is zero.
47877         * sysdeps/i386/fpu/e_log2f.S (__ieee754_log2f): Likewise.
47878         * sysdeps/i386/fpu/e_log2l.S (__ieee754_log2l): Likewise.
47879         * sysdeps/ieee754/ldbl-128/e_log2l.c (__ieee754_log2l): Return
47880         0.0L for an argument of 1.0L.
47881         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l):
47882         Likewise.
47883         * sysdeps/x86_64/fpu/e_log2l.S (__ieee754_log2l): Take absolute
47884         value when x - 1 is zero.
47885         * math/libm-test.inc (log2_test): Use ALL_RM_TEST.
47886         * sysdeps/i386/fpu/libm-test-ulps: Update.
47887         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
47889 2014-06-09  Bernard Ogden  <bernie.ogden@linaro.org>
47891         [BZ #15119]
47892         * ports/sysdeps/unix/sysv/linux/hppa/nptl/lowlevellock.c: Remove file.
47894 2014-06-09  Roland McGrath  <roland@hack.frob.com>
47896         * nptl/sysdeps/sh/tls.h (TLS_DEFINE_INIT_TP): New macro.
47897         * nptl/sysdeps/unix/sysv/linux/sh/createthread.c: File removed.
47899 2014-06-09  Roland McGrath  <roland@hack.frob.com>
47901         * sysdeps/m68k/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
47902         * sysdeps/unix/sysv/linux/m68k/nptl/createthread.c: File removed.
47904         * sysdeps/hppa/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
47905         * sysdeps/unix/sysv/linux/hppa/nptl/createthread.c: File removed.
47907         * sysdeps/mips/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
47908         * sysdeps/unix/sysv/linux/mips/nptl/createthread.c: File removed.
47910         * sysdeps/arm/nptl/tls.h (TLS_DEFINE_INIT_TP): New macro.
47911         * sysdeps/unix/sysv/linux/arm/createthread.c: File removed.
47913         * nptl/sysdeps/pthread/createthread.c (TLS_DEFINE_INIT_TP): New macro,
47914         if not already defined.
47915         (do_clone): Use that in place of PREPARE_CREATE and TLS_VALUE.
47916         * nptl/sysdeps/x86_64/tls.h (TLS_DEFINE_INIT_TP): New macro.
47917         * nptl/sysdeps/i386/tls.h (tls_fill_user_desc): New function.
47918         (TLS_INIT_TP): Use it.
47919         (TLS_DEFINE_INIT_TP): New macro.
47920         * sysdeps/unix/sysv/linux/i386/createthread.c: File removed.
47922 2014-06-09  Joseph Myers  <joseph@codesourcery.com>
47924         * conform/data/termios.h-data [POSIX] (IUCLC): Do not expect
47925         constant.
47926         [POSIX] (IXANY): Likewise.
47927         [POSIX] (OLCUC): Likewise.
47928         [POSIX || POSIX2008] (CBAUD): Do not allow.
47929         [POSIX || POSIX2008] (DEFECHO): Likewise.
47930         [POSIX || POSIX2008] (ECHOCTL): Likewise.
47931         [POSIX || POSIX2008] (ECHOKE): Likewise.
47932         [POSIX || POSIX2008] (ECHOPRT): Likewise.
47933         [POSIX || POSIX2008] (EXTA): Likewise.
47934         [POSIX || POSIX2008] (EXTB): Likewise.
47935         [POSIX || POSIX2008] (FLUSHO): Likewise.
47936         [POSIX || POSIX2008] (LOBLK): Likewise.
47937         [POSIX || POSIX2008] (PENDIN): Likewise.
47938         [POSIX || POSIX2008] (SWTCH): Likewise.
47939         [POSIX || POSIX2008] (VDISCARD): Likewise.
47940         [POSIX || POSIX2008] (VDSUSP): Likewise.
47941         [POSIX || POSIX2008] (VLNEXT): Likewise.
47942         [POSIX || POSIX2008] (VREPRINT): Likewise.
47943         [POSIX || POSIX2008] (VSTATUS): Likewise.
47944         [POSIX || POSIX2008] (VWERASE): Likewise.
47945         (B*): Change to B[0123456789]*.
47946         * conform/data/time.h-data [POSIX || UNIX98]
47947         (CLOCK_PROCESS_CPUTIME_ID): Do not expect constant.
47948         [POSIX || UNIX98] (CLOCK_THREAD_CPUTIME_ID): Likewise.
47949         [POSIX || UNIX98] (CLOCK_MONOTONIC): Likewise.
47950         [POSIX] (tm_*): Do not allow.
47952 2014-06-07  Joseph Myers  <joseph@codesourcery.com>
47954         * Makefile (install): Don't set LANGUAGE.
47955         * Makefile.in (install): Likewise.
47956         * assert/Makefile (test-assert-ENV): Remove variable.
47957         (test-assert-perr-ENV): Likewise.
47958         * elf/Makefile (neededtest4-ENV): Likewise.
47959         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
47960         [$(cross-compiling) = no]: Don't set LANGUAGE.
47961         * io/ftwtest-sh (LANG): Remove variable.
47962         * libio/Makefile (tst-widetext-ENV): Likewise.
47963         * manual/install.texi (Running make install): Don't refer to
47964         environment settings for make install.
47965         * INSTALL: Regenerated.
47966         * nptl/tst-tls6.sh: Don't set LANG.
47967         * posix/globtest.sh (LANG): Remove variable.
47968         * string/Makefile (tester-ENV): Likewise.
47969         (inl-tester-ENV): Likewise.
47970         (noinl-tester-ENV): Likewise.
47971         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
47972         [$(cross-compiling) = no]: Don't set LANGUAGE.
47973         * timezone/Makefile (build-testdata): Use $(built-program-cmd)
47974         without explicit environment settings.
47976 2014-06-06  Roland McGrath  <roland@hack.frob.com>
47978         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h: Moved ...
47979         * sysdeps/sh/nptl/bits/pthreadtypes.h: ... here.
47980         * nptl/sysdeps/unix/sysv/linux/sh/bits/semaphore.h: Moved ...
47981         * sysdeps/sh/nptl/bits/semaphore.h: ... here.
47983 2014-06-06  Chris Metcalf  <cmetcalf@tilera.com>
47985         * crypt/crypt-private.h [DOS]: Add some includes taken from the
47986         other files in the crypt directory.
47987         * crypt/crypt.c: Remove duplicate includes.
47988         * crypt/crypt-entry.c: Likewise.
47989         * crypt/crypt_util.c: Likewise.
47991 2014-06-06  Joseph Myers  <joseph@codesourcery.com>
47993         * Makeconfig (run-program-env): New variable.
47994         (run-program-prefix-before-env): Likewise.
47995         (run-program-prefix-after-env): Likewise.
47996         (run-program-prefix): Define in terms of new variables.
47997         (built-program-cmd-before-env): New variable.
47998         (built-program-cmd-after-env): Likewise.
47999         (built-program-cmd): Define in terms of new variables.
48000         (test-program-prefix-before-env): New variable.
48001         (test-program-prefix-after-env): Likewise.
48002         (test-program-prefix): Define in terms of new variables.
48003         (test-program-cmd-before-env): New variable.
48004         (test-program-cmd-after-env): Likewise.
48005         (test-program-cmd): Define in terms of new variables.
48006         * Rules (make-test-out): Use $(run-program-env).
48007         * scripts/cross-test-ssh.sh (env_blacklist): Remove variable.
48008         (help): Do not mention environment variables.  Mention
48009         --timeoutfactor option.
48010         (timeoutfactor): New variable.
48011         (blacklist_exports): Remove function.
48012         (exports): Remove variable.
48013         (command): Do not include ${exports}.
48014         * manual/install.texi (Configuring and compiling): Do not mention
48015         test wrappers preserving environment variables.  Mention that last
48016         assignment to a variable must take precedence.
48017         * INSTALL: Regenerated.
48018         * benchtests/Makefile (run-bench): Use $(run-program-env).
48019         * catgets/Makefile ($(objpfx)test1.cat): Use
48020         $(built-program-cmd-before-env), $(run-program-env) and
48021         $(built-program-cmd-after-env).
48022         ($(objpfx)test2.cat): Do not specify environment variables
48023         explicitly.
48024         ($(objpfx)de/libc.cat): Use $(built-program-cmd-before-env),
48025         $(run-program-env) and $(built-program-cmd-after-env).
48026         ($(objpfx)test-gencat.out): Use $(test-program-cmd-before-env),
48027         $(run-program-env) and $(test-program-cmd-after-env).
48028         ($(objpfx)sample.SJIS.cat): Do not specify environment variables
48029         explicitly.
48030         * catgets/test-gencat.sh: Use test_program_cmd_before_env,
48031         run_program_env and test_program_cmd_after_env arguments.
48032         * elf/Makefile ($(objpfx)tst-pathopt.out): Use $(run-program-env).
48033         * elf/tst-pathopt.sh: Use run_program_env argument.
48034         * iconvdata/Makefile ($(objpfx)iconv-test.out): Use
48035         $(test-wrapper-env) and $(run-program-env).
48036         * iconvdata/run-iconv-test.sh: Use test_wrapper_env and
48037         run_program_env arguments.
48038         * iconvdata/tst-table.sh: Do not set GCONV_PATH explicitly.
48039         * intl/Makefile ($(objpfx)tst-gettext.out): Use
48040         $(test-program-prefix-before-env), $(run-program-env) and
48041         $(test-program-prefix-after-env).
48042         ($(objpfx)tst-gettext2.out): Likewise.
48043         * intl/tst-gettext.sh: Use test_program_prefix_before_env,
48044         run_program_env and test_program_prefix_after_env arguments.
48045         * intl/tst-gettext2.sh: Likewise.
48046         * intl/tst-gettext4.sh: Do not set environment variables
48047         explicitly.
48048         * intl/tst-gettext6.sh: Likewise.
48049         * intl/tst-translit.sh: Likewise.
48050         * malloc/Makefile ($(objpfx)tst-mtrace.out): Use
48051         $(test-program-prefix-before-env), $(run-program-env) and
48052         $(test-program-prefix-after-env).
48053         * malloc/tst-mtrace.sh: Use test_program_prefix_before_env,
48054         run_program_env and test_program_prefix_after_env arguments.
48055         * math/Makefile (run-regen-ulps): Use $(run-program-env).
48056         * nptl/Makefile ($(objpfx)tst-tls6.out): Use $(run-program-env).
48057         * nptl/tst-tls6.sh: Use run_program_env argument.  Set LANG=C
48058         explicitly with each use of ${test_wrapper_env}.
48059         * posix/Makefile ($(objpfx)wordexp-tst.out): Use
48060         $(test-program-prefix-before-env), $(run-program-env) and
48061         $(test-program-prefix-after-env).
48062         * posix/tst-getconf.sh: Do not set environment variables
48063         explicitly.
48064         * posix/wordexp-tst.sh: Use test_program_prefix_before_env,
48065         run_program_env and test_program_prefix_after_env arguments.
48066         * stdio-common/tst-printf.sh: Do not set environment variables
48067         explicitly.
48068         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Use
48069         $(test-program-prefix-before-env), $(run-program-env) and
48070         $(test-program-prefix-after-env).
48071         * stdlib/tst-fmtmsg.sh: Use test_program_prefix_before_env,
48072         run_program_env and test_program_prefix_after_env arguments.
48073         Split $test calls into $test_pre and $test.
48074         * timezone/Makefile (build-testdata): Use
48075         $(built-program-cmd-before-env), $(run-program-env) and
48076         $(built-program-cmd-after-env).
48078 2014-06-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48080         * sysdeps/powerpc/powerpc64/power7/strncat.S [STRLEN]: Define it as
48081         strlen for non SHARED builds.
48083 2014-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
48085         * nptl/allocatestack.c (check_list): Inlined function...
48086         (__reclaim_stacks): ... here.
48088 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
48090         [BZ #15698]
48091         * sysdeps/unix/sysv/linux/ifaddrs.c (getifaddrs_internal): Fix
48092         memory overrun.
48094 2014-06-05  Joseph Myers  <joseph@codesourcery.com>
48096         * Rules (make-test-out): Include
48097         LOCPATH=$(common-objpfx)localedata in default environment.
48098         * debug/Makefile (tst-chk1-ENV): Remove variable.
48099         (tst-chk2-ENV): Likewise.
48100         (tst-chk3-ENV): Likewise.
48101         (tst-chk4-ENV): Likewise.
48102         (tst-chk5-ENV): Likewise.
48103         (tst-chk6-ENV): Likewise.
48104         (tst-lfschk1-ENV): Likewise.
48105         (tst-lfschk2-ENV): Likewise.
48106         (tst-lfschk3-ENV): Likewise.
48107         (tst-lfschk4-ENV): Likewise.
48108         (tst-lfschk5-ENV): Likewise.
48109         (tst-lfschk6-ENV): Likewise.
48110         * iconvdata/Makefile (bug-iconv6-ENV): Likewise.
48111         (tst-iconv7-ENV): Likewise.
48112         * intl/Makefile (LOCPATH-ENV): Likewise.
48113         (tst-codeset-ENV): Likewise.
48114         (tst-gettext3-ENV): Likewise.
48115         (tst-gettext5-ENV): Likewise.
48116         * libio/Makefile (tst-widetext-ENV): Don't set LOCPATH.
48117         (tst-fopenloc-ENV): Likewise.
48118         (tst-fgetws-ENV): Remove variable.
48119         (tst-ungetwc1-ENV): Likewise.
48120         (tst-ungetwc2-ENV): Likewise.
48121         (bug-ungetwc2-ENV): Likewise.
48122         (tst-swscanf-ENV): Likewise.
48123         (bug-ftell-ENV): Likewise.
48124         (tst-fgetwc-ENV): Likewise.
48125         (tst-fseek-ENV): Likewise.
48126         (tst-ftell-partial-wide-ENV): Likewise.
48127         (tst-ftell-active-handler-ENV): Likewise.
48128         (tst-ftell-append-ENV): Likewise.
48129         * posix/Makefile (tst-fnmatch-ENV): Likewise.
48130         (tst-regexloc-ENV): Likewise.
48131         (bug-regex1-ENV): Likewise.
48132         (tst-regex-ENV): Likewise.
48133         (tst-regex2-ENV): Likewise.
48134         (bug-regex5-ENV): Likewise.
48135         (bug-regex6-ENV): Likewise.
48136         (bug-regex17-ENV): Likewise.
48137         (bug-regex18-ENV): Likewise.
48138         (bug-regex19-ENV): Likewise.
48139         (bug-regex20-ENV): Likewise.
48140         (bug-regex22-ENV): Likewise.
48141         (bug-regex23-ENV): Likewise.
48142         (bug-regex25-ENV): Likewise.
48143         (bug-regex26-ENV): Likewise.
48144         (bug-regex30-ENV): Likewise.
48145         (bug-regex32-ENV): Likewise.
48146         (bug-regex33-ENV): Likewise.
48147         (bug-regex34-ENV): Likewise.
48148         (bug-regex35-ENV): Likewise.
48149         (tst-rxspencer-ENV): Likewise.
48150         (tst-rxspencer-no-utf8-ENV): Likewise.
48151         * stdio-common/Makefile (tst-sprintf-ENV): Likewise.
48152         (tst-sscanf-ENV): Likewise.
48153         (tst-swprintf-ENV): Likewise.
48154         (tst-swscanf-ENV): Likewise.
48155         (test-vfprintf-ENV): Likewise.
48156         (scanf13-ENV): Likewise.
48157         (bug14-ENV): Likewise.
48158         (tst-grouping-ENV): Likewise.
48159         * stdlib/Makefile (tst-strtod-ENV): Likewise.
48160         (tst-strtod3-ENV): Likewise.
48161         (tst-strtod4-ENV): Likewise.
48162         (tst-strtod5-ENV): Likewise.
48163         (testmb2-ENV): Likewise./
48164         * string/Makefile (tst-strxfrm-ENV): Likewise.
48165         (tst-strxfrm2-ENV): Likewise.
48166         (bug-strcoll1-ENV): Likewise.
48167         (test-strcasecmp-ENV): Likewise.
48168         (test-strncasecmp-ENV): Likewise.
48169         * time/Makefile (tst-strptime-ENV): Likewise.
48170         (tst-ftime_l-ENV): Likewise.
48171         * wcsmbs/Makefile (tst-btowc-ENV): Likewise.
48172         (tst-mbrtowc-ENV): Likewise.
48173         (tst-wcrtomb-ENV): Likewise.
48174         (tst-mbrtowc2-ENV): Likewise.
48175         (tst-c16c32-1-ENV): Likewise.
48176         (tst-mbsnrtowcs-ENV): Likewise.
48178 2014-06-05  Ondřej Bílka  <neleai@seznam.cz>
48180         * manual/resource.texi (How to get information about the memory
48181         subsystem?): Fix typo.
48182         Reported by Peon de la Parra Ivan <peon@keba.com>
48184 2014-06-03  Guo Yixuan  <culu.gyx@gmail.com>
48186         [BZ #16882]
48187         * nptl/sysdeps/sparc/sparc32/pthread_spin_lock.S
48188         (pthread_spin_lock): Branch out of spin loop to proper location.
48189         * nptl/sysdeps/sparc/sparc64/pthread_spin_lock.S
48190         (pthread_spin_lock): Likewise.
48192         * nptl/tst-spin4.c: New test.
48193         * nptl/Makefile (tests): Add tst-spin4.
48195 2014-06-03  Andreas Schwab  <schwab@suse.de>
48197         [BZ #15946]
48198         * resolv/res_send.c (send_dg): Reload file descriptor after
48199         calling reopen.
48201 2014-06-03  Stefan Liebler  <stli@linux.vnet.ibm.com>
48203         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
48205 2014-06-03  Richard Henderson  <rth@redhat.com>
48207         * sysdeps/unix/sysv/linux/aarch64/pt-vfork.c: New file.
48208         * sysdeps/unix/sysv/linux/aarch64/nptl/pt-vfork.S: Remove file.
48209         * sysdeps/unix/sysv/linux/aarch64/vfork.S (__vfork): Incorporate
48210         SAVE_PID and RESTORE_PID blocks from pt-vfork.S.  Map 0 to INT_MIN
48211         in the SAVE_PID block.
48212         (__libc_vfork): New alias.
48213         * sysdeps/unix/sysv/linux/aarch64/nptl/vfork.S: Remove file.
48215         * sysdeps/unix/sysv/linux/aarch64/clone.S (__clone): Save args for
48216         child in registers, not on the stack.  Remove RESET_PID conditionals.
48217         * sysdeps/unix/sysv/linux/aarch64/nptl/clone.S: Remove file.
48219 2014-06-03  Marcus Shawcroft  <marcus.shawcroft@arm.com>
48221         * sysdeps/aarch64/libm-test-ulps: Regenerate.
48223 2014-06-03  Wilco  <wdijkstr@arm.com>
48225         * sysdeps/aarch64/fpu/math_private.h (libc_fesetround_aarch64)
48226         (libc_feholdexcept_setround_aarch64) (libc_feholdsetround_aarch64)
48227         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
48228         Use _FPU_FPCR_RM_MASK for rounding mask rather than FE_TOWARDZERO.
48229         * sysdeps/aarch64/fpu/get-rounding-mode.h (get_rounding_mode):
48230         Likewise.
48232 2014-06-03  Wilco  <wdijkstr@arm.com>
48234         * sysdeps/aarch64/fpu/math_private.h
48235         (libc_feholdexcept_aarch64) (libc_feholdexcept_setround_aarch64)
48236         (libc_fetestexcept_aarch64) (libc_fesetenv_aarch64)
48237         (libc_feupdateenv_test_aarch64) (libc_feholdsetround_aarch64)
48238         (libc_feresetround_aarch64) (libc_feholdsetround_aarch64_ctx):
48239         Fix declarations.
48241 2014-06-03  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
48243         * crypt/crypt-private.h: Include ufc-crypt.h.
48244         (__b64_from_24bit): Declare extern.
48245         * crypt/crypt_util.c(__b64_from_24bit): New function.
48246         (b64t): New static const variable.
48247         * crypt/md5-crypt.c (b64_from_24bit): Remove function.
48248         (b64t): Remove variable.
48249         (__md5_crypt_r): Replace b64_from_24bit with __b64_from_24bit.
48250         * crypt/sha256-crypt.c: Include crypt-private.h.
48251         (b64t): Remove variable.
48252         (__sha256_crypt_r): Remove b64_from_24bit and replace
48253         with __b64_from_24bit.
48254         * crypt/sha512-crypt.c: Likewise.
48256 2014-06-02  Roland McGrath  <roland@hack.frob.com>
48258         * nptl/sysdeps/unix/sysv/linux/sh/vfork.S: Moved ...
48259         * sysdeps/unix/sysv/linux/sh/vfork.S: ... here.
48260         Label the code __libc_vfork rather than __vfork.
48261         [!NOT_IN_libc] (vfork): Define as weak alias.
48262         [!NOT_IN_libc] (__vfork): Define as strong alias, and libc_hidden_def.
48263         * sysdeps/unix/sysv/linux/sh/pt-vfork.S: New file.
48264         * nptl/sysdeps/unix/sysv/linux/sh/pt-vfork.S: File removed.
48266 2014-06-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
48268         * malloc/malloc.c (malloc_info): Fix format specifier for
48269         n_mmaps.
48271 2014-06-02  Wilco  <wdijkstr@arm.com>
48273         * sysdeps/aarch64/fpu/fpu_control.h (_FPU_SETCW): Remove ISB after
48274         FPCR write.
48276 2014-06-02  Wilco  <wdijkstr@arm.com>
48278         [BZ #17009]
48279         * sysdeps/aarch64/fpu/feupdateenv (feupdateenv):
48280         Rewrite to reduce FPCR/FPSR accesses.
48282 2014-06-01  David S. Miller  <davem@davemloft.net>
48284         * sysdeps/sparc/fpu/libm-test-ulps: Update.
48286 2014-05-31  David S. Miller  <davem@davemloft.net>
48288         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Force computations
48289         to occur in round to nearest mode when |x| >= 2.0
48291 2014-05-30  Richard Henderson  <rth@twiddle.net>
48293         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Remove.
48294         (PSEUDO_RET_NOERRNO): Remove.
48295         (ret): Don't redefine.
48296         (ret_NOERRNO): Define in terms of ret.
48297         (ret_ERRVAL): Likewise.
48299         * sysdeps/unix/sysv/linux/aarch64/ioctl.S (__ioctl): Remove the
48300         use of PSEUDO_RET; perform the error check directly.
48302 2014-05-30 Marko Myllynen  <myllynen@redhat.com>
48304         * sysdeps/x86_64/link-defines.sym (BND_SIZE): Replace __int128
48305         with __int128_t.
48307 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
48309         * malloc/malloc (malloc_info): Fix formatting.
48311 2014-05-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
48312             Roland McGrath  <roland@hack.frob.com>
48314         * malloc/malloc (malloc_info): Also print mmapped statistics.
48316 2014-05-30  Roland McGrath  <roland@hack.frob.com>
48318         * sysdeps/unix/sysv/linux/m68k/arch-fork.h: New file.
48319         * sysdeps/unix/sysv/linux/m68k/nptl/fork.c: File removed.
48321 2014-05-30  Ondřej Bílka  <neleai@seznam.cz>
48323         * malloc/malloc.c (malloc_info): Inline mi_arena.
48325 2014-05-29  Richard Henderson  <rth@twiddle.net>
48327         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (INTERNAL_VSYSCALL_NCS):
48328         Remove comma before expanding ASM_ARGS_##nr.
48329         (INTERNAL_SYSCALL_RAW): Make _sys_result signed, instead of casting.
48330         Make _x0 a strict output; make _x8 a strict input; adjust expansion
48331         of ASM_ARGS_##nr.
48332         (CLOBBER_ARGS_0, CLOBBER_ARGS_1, CLOBBER_ARGS_2): Remove.
48333         (CLOBBER_ARGS_3, CLOBBER_ARGS_4, CLOBBER_ARGS_5): Remove.
48334         (CLOBBER_ARGS_6, CLOBBER_ARGS_7): Remove.
48335         (ASM_ARGS_1): Add leading comma.
48337         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [NOT_IN_libc]
48338         (SYSCALL_ERROR_HANDLER): Use tpidr_el0 instead of a call
48339         to __errno_location.
48340         * sysdeps/unix/sysv/linux/aarch64/nptl/localplt.data (libpthread.so):
48341         Remove the expected plt for __errno_location.
48343         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
48344         [NOT_IN_libc] (SINGLE_THREAD_P): Use tpidr_el0 instead of a
48345         call to __read_tp.
48347         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
48348         Always allocate 64 bytes of stack frame.  Use ldp/stp to create
48349         it and break it down.
48350         (DOCARGS_0, DOCARGS_1): Do nothing.
48351         (DOCARGS_2): Update to store into the new stack frame.
48352         (DOCARGS_3, DOCARGS_4, DOCARGS_5, DOCARGS_6): Likewise.
48353         (UNDOCARGS_1): Update to restore from the new stack frame.
48354         (UNDOCARGS_2, UNDOCARGS_3, UNDOCARGS_4): Likewise.
48355         (UNDOCARGS_5, UNDOCARGS_6): Likewise.
48357         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
48358         (SINGLE_THREAD_P): New parameter for result regno.
48359         (PSEUDO): Update to match; use cbz instead of beq.
48361         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
48362         Use ENTRY to define the _nocancel entry point.  Share the syscall
48363         and syscall error check paths with the cancel path.
48364         (PSEUDO_END): New.
48366         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h: Adjust
48367         whitespace; tabs before and after asm mnemonics.
48369 2014-05-29  Eric Wong  <normalperson@yhbt.net>
48371         [BZ #15132]
48372         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
48373         Call fstat64 or stat64 internally, depending on arguments passed.
48374         Replace stat buffer argument with file descriptor argument.
48375         (INTERNAL_STATVFS): Update arguments to match __statvfs_getflags.
48376         * sysdeps/unix/sysv/linux/fstatvfs.c (fstatvfs):
48377         Pass fd to __internal_statvfs instead of calling fstat64.
48378         * sysdeps/unix/sysv/linux/fstatvfs64.c (__fstatvfs64):
48379         Pass fd to __internal_statvfs64 instead of calling fstat64.
48380         * sysdeps/unix/sysv/linux/statvfs.c (statvfs):
48381         Pass -1 to __internal_statvfs instead of calling stat64.
48382         * sysdeps/unix/sysv/linux/statvfs64.c (__statvfs64):
48383         Pass -1 to __internal_statvfs64 instead of calling stat64.
48385 2014-05-28  Roland McGrath  <roland@hack.frob.com>
48387         * sysdeps/unix/sysv/linux/sh/clone.S: Deconditionalize the code
48388         that was previously under [RESET_PID].
48389         * nptl/sysdeps/unix/sysv/linux/sh/clone.S: File removed.
48391         * sysdeps/unix/sysv/linux/tile/arch-fork.h: New file.
48392         * sysdeps/unix/sysv/linux/tile/nptl/fork.c: File removed.
48394 2014-05-27  Roland McGrath  <roland@hack.frob.com>
48396         * sysdeps/unix/sysv/linux/ia64/arch-fork.h: New file.
48398         * sysdeps/unix/sysv/linux/sh/arch-fork.h: New file.
48399         * nptl/sysdeps/unix/sysv/linux/sh/fork.c: File removed.
48401 2014-05-27  Ondřej Bílka  <neleai@seznam.cz>
48403         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate code.
48405 2014-05-27  Andreas Schwab  <schwab@suse.de>
48407         * csu/libc-tls.c (__libc_setup_tls): Remove second argument from
48408         TLS_INIT_TP macro.
48409         * elf/dl-load.c (_dl_map_object_from_fd): Likewise.
48410         * elf/rtld.c (init_tls, dl_main): Likewise.
48411         * nptl/sysdeps/i386/tls.h (TLS_INIT_TP): Likewise.
48412         * nptl/sysdeps/powerpc/tls.h (TLS_INIT_TP): Likewise.
48413         * nptl/sysdeps/s390/tls.h (TLS_INIT_TP): Likewise.
48414         * nptl/sysdeps/sh/tls.h (TLS_INIT_TP): Likewise.
48415         * nptl/sysdeps/sparc/tls.h (TLS_INIT_TP): Likewise.
48416         * nptl/sysdeps/x86_64/tls.h (TLS_INIT_TP): Likewise.
48417         * sysdeps/aarch64/nptl/tls.h (TLS_INIT_TP): Likewise.
48418         * sysdeps/alpha/nptl/tls.h (TLS_INIT_TP): Likewise.
48419         * sysdeps/arm/nptl/tls.h (TLS_INIT_TP): Likewise.
48420         * sysdeps/hppa/nptl/tls.h (TLS_INIT_TP): Likewise.
48421         * sysdeps/ia64/nptl/tls.h (TLS_INIT_TP): Likewise.
48422         * sysdeps/m68k/nptl/tls.h (TLS_INIT_TP): Likewise.
48423         * sysdeps/mach/hurd/i386/tls.h (_hurd_tls_init): Likewise.
48424         * sysdeps/microblaze/nptl/tls.h (TLS_INIT_TP): Likewise.
48425         * sysdeps/mips/nptl/tls.h (TLS_INIT_TP): Likewise.
48426         * sysdeps/tile/nptl/tls.h (TLS_INIT_TP): Likewise.
48427         * sysdeps/generic/tls.h: Update description.
48429 2014-05-27  Will Newton  <will.newton@linaro.org>
48431         [BZ #16990]
48432         * sysdeps/arm/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Save
48433         and restore r2 rather than just restoring.
48435 2014-05-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
48437         [BZ #16724]
48438         * libio/tst-ftell-append.c: New test case.
48439         * libio/Makefile (tests): Add test case.
48440         * libio/fileops.c (do_ftell): Don't trust _IO_read_end when in
48441         append mode.
48442         * libio/wfileops.c (do_ftell_wide): Likewise.
48444 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48446         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48448         * nptl/sysdeps/unix/sysv/linux/powerpc/Versions: Remove, merge into
48449         ...
48450         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions: ... here.
48451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
48452         * nptl/sysdeps/unix/sysv/linux/powerpc/Makefile: Moved rules to ...
48453         * sysdeps/unix/sysv/linux/powerpc/Makefile: ... here.
48454         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: Moved ...
48455         * sysdeps/unix/sysv/linux/powerpc/bits/local_lim.h: ... here.
48456         * nptl/sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: Moved ...
48457         * sysdeps/unix/sysv/linux/powerpc/lowlevellock.h: ...here.
48458         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h:
48459         Moved ...
48460         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep-cancel.h: ... here.
48461         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h:
48462         Moved ...
48463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep-cancel.h: ... here.
48464         * nptl/sysdeps/unix/sysv/linux/powerpc/createthread.c: Moved ...
48465         * sysdeps/unix/sysv/linux/powerpc/createthread.c: ... here.
48466         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Moved ...
48467         * sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: ... here.
48468         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: Moved
48469         ...
48470         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstack.c: ... here.
48471         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c:
48472         Moved ...
48473         * sysdeps/unix/sysv/linux/powerpc/pthread_attr_setstacksize.c: ...
48474         here.
48475         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: Moved
48476         ...
48477         * sysdeps/unix/sysv/linux/powerpc/pthread_spin_unlock.c: ... here.
48478         * nptl/sysdeps/unix/sysv/linux/powerpc/sem_post.c: Moved ...
48479         * sysdeps/unix/sysv/linux/powerpc/sem_post.c: ... here.
48481         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Moved ...
48482         * sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: ... here.
48483         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: Moved ...
48484         * sysdeps/unix/sysv/linux/powerpc/bits/semaphore.h: ... here.
48486         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Remove,
48487         merge into ...
48488         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: ... here.
48489         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: Moved
48490         ...
48491         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c: ... here.
48492         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: Moved
48493         ...
48494         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c: ... here.
48495         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
48496         Moved ...
48497         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c: ...
48498         here.
48499         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
48500         Moved ...
48501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c: ... here.
48502         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
48503         Moved ...
48504         * sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c: ... here.
48506         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Remove
48507         conditional [RESET_PID].
48508         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Likewise.
48509         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: File
48510         removed.
48511         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: File
48512         removed.
48514         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: Include
48515         <tcb-offsets.h>.
48516         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
48517         (__libc_vfork): New strong alias.
48518         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/pt-vfork.S: File
48519         removed.
48520         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S: File
48521         Removed.
48523         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: Include
48524         <tcb-offsets.h>.
48525         (__vfork): Incorporate save/retore of PID from nptl/vfork.S here.
48526         (__libc_vfork): New strong alias.
48527         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/pt-vfork.S: File
48528         removed.
48529         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S: File
48530         removed.
48532 2014-05-26  Carlos O'Donell  <carlos@redhat.com>
48534         * malloc/malloc.c (mi_arena): New function.
48535         (malloc_info): Remove nested function mi_arena. Call non-nosted
48536         function mi_arena.
48538 2014-05-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48540         * sysdeps/powerpc/powerpc32/power4/memset.S (memset): Replace insrdi
48541         by insrwi.
48542         * sysdeps/powerpc/powerpc32/power6/memset.S (memset): Likewise.
48543         * sysdeps/powerpc/powerpc32/power7/memset.S (memset): Likewise.
48544         * sysdeps/powerpc/powerpc32/power7/memchr.S (memchr): Likewise.
48545         * sysdeps/powerpc/powerpc32/power7/memrchr.S (memrchr): Likewise.
48546         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S (rawmemchr): Likewise.
48547         * sysdeps/powerpc/powerpc32/power7/strchr.S (strchr): Likewise.
48548         * sysdeps/powerpc/powerpc32/power7/strchrnul.S (strchrnul): Likewise.
48550 2014-05-26  Andreas Schwab  <schwab@suse.de>
48552         [BZ #16984]
48553         * locale/programs/repertoire.c (repertoire_read): Add slash
48554         between I18NPATH element and file name.
48555         * locale/programs/locfile.c (locfile_read): Likewise.
48557 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
48559         * nptl/pthread_mutexattr_settype.c
48560         (__pthread_mutexattr_settype):
48561         Disable lock elision for PTHREAD_MUTEX_NORMAL.
48563 2014-05-26  Stefan Liebler  <stli@linux.vnet.ibm.com>
48565         * nptl/tst-mutex5 (do_test):
48566         Use #ifndef ENABLE_LOCK_ELISION instead of #ifdef.
48568 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48570         * benchtests/README: Document 'init' directive.
48571         * benchtests/bench-skeleton.c (main) [BENCH_INIT]: Call
48572         BENCH_INIT.
48573         * scripts/bench.py (gen_source): Define BENCH_INIT macro.
48574         (parse_file): Recognize 'init' directive.
48576 2014-05-26  Kyle McMartin  <kyle@redhat.com>
48578         [BZ #16796]
48579         * sysdeps/aarch64/nptl/tls.h: increase TCB alignment to the
48580         alignment of struct pthread.
48582 2014-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
48584         [BZ #16878]
48585         * nscd/netgroupcache.c (addgetnetgrentX): Look for
48586         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
48587         * nscd/nss_files/files-netgrp.c (_nss_netgroup_parseline): Use
48588         NSS_STATUS_TRYAGAIN to indicate insufficient buffer space.
48590 2014-05-25  Richard Henderson  <rth@twiddle.net>
48592         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
48593         (SINGLE_THREAD_P_PIC): Remove.
48594         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h
48595         (SINGLE_THREAD_P_PIC): Remove.
48597         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (PSEUDO_RET): Move
48598         branch to syscall error ...
48599         (PSEUDO): ... here.
48600         [NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Rename the label
48601         from __local_syscall_error to .Lsyscall_error.
48602         [!NOT_IN_libc] (SYSCALL_ERROR_HANDLER): Branch to __syscall_error.
48603         (SYSCALL_ERROR): Update label name.
48605         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
48606         Do not use DOARGS/UNDOARGS.
48607         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Likewise.
48608         (DOARGS_0, DOARGS_1, DOARGS_2, DOARGS_3): Remove.
48609         (DOARGS_4, DOARGS_5, DOARGS_6, DOARGS_7): Remove.
48610         (UNDOARGS_0, UNDOARGS_1, UNDOARGS_2, UNDOARGS_3): Remove.
48611         (UNDOARGS_4, UNDOARGS_5, UNDOARGS_6, UNDOARGS_7): Remove.
48613         * sysdeps/unix/sysv/linux/aarch64/sysdep.h (DO_CALL): Fix
48614         block comment.
48616         * sysdeps/unix/sysv/linux/alpha/vfork.S (vfork, __vfork): Only
48617         define if !NOT_IN_libc.
48618         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S (vfork, __vfork): Only
48619         define with non-default symbol versions.
48621 2014-05-23  Richard Henderson  <rth@twiddle.net>
48623         * nptl/pt-vfork.c (vfork_resolve): Rename from vfork_ifunc.
48624         (vfork, __vfork): Define via compat_symbol.
48626         * nptl/pt-vfork.c: Error if !HAVE_IFUNC.
48627         [!HAVE_IFUNC] (vfork_compat): Remove.
48628         [!HAVE_IFUNC] (DEFINE_VFORK): Remove.
48630 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
48632         [BZ #16978]
48633         * posix/tar.h [!__USE_XOPEN2K] (TSVTX): Define macro.
48634         * conform/Makefile (test-xfail-POSIX/tar.h/conform): Remove
48635         variable.
48637 2014-05-23  Richard Henderson  <rth@twiddle.net>
48639         * sysdeps/unix/sysv/linux/alpha/nptl/Makefile: Merge into...
48640         * sysdeps/unix/sysv/linux/alpha/Makefile: ... here.
48641         * sysdeps/unix/sysv/linux/alpha/nptl/Versions: Merge into...
48642         * sysdeps/unix/sysv/linux/alpha/Versions: ... here.
48644         * sysdeps/unix/sysv/linux/alpha/nptl/aio_cancel.c: Moved ...
48645         * sysdeps/unix/sysv/linux/alpha/aio_cancel.c: ... here.
48646         * sysdeps/unix/sysv/linux/alpha/nptl/bits/local_lim.h: Moved ...
48647         * sysdeps/unix/sysv/linux/alpha/bits/local_lim.h: ... here.
48648         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h: Moved ...
48649         * sysdeps/unix/sysv/linux/alpha/bits/pthreadtypes.h: ... here.
48650         * sysdeps/unix/sysv/linux/alpha/nptl/bits/semaphore.h: Moved ...
48651         * sysdeps/unix/sysv/linux/alpha/bits/semaphore.h: ... here.
48652         * sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data: Moved ...
48653         * sysdeps/unix/sysv/linux/alpha/c++-types.data: ... here.
48654         * sysdeps/unix/sysv/linux/alpha/nptl/createthread.c: Moved ...
48655         * sysdeps/unix/sysv/linux/alpha/createthread.c: ... here.
48656         * sysdeps/unix/sysv/linux/alpha/nptl/ld.abilist: Moved ...
48657         * sysdeps/unix/sysv/linux/alpha/ld.abilist: ... here.
48658         * sysdeps/unix/sysv/linux/alpha/nptl/libBrokenLocale.abilist: Moved ...
48659         * sysdeps/unix/sysv/linux/alpha/libBrokenLocale.abilist: ... here.
48660         * sysdeps/unix/sysv/linux/alpha/nptl/libanl.abilist: Moved ...
48661         * sysdeps/unix/sysv/linux/alpha/libanl.abilist: ... here.
48662         * sysdeps/unix/sysv/linux/alpha/nptl/libc.abilist: Moved ...
48663         * sysdeps/unix/sysv/linux/alpha/libc.abilist: ... here.
48664         * sysdeps/unix/sysv/linux/alpha/nptl/libcrypt.abilist: Moved ...
48665         * sysdeps/unix/sysv/linux/alpha/libcrypt.abilist: ... here.
48666         * sysdeps/unix/sysv/linux/alpha/nptl/libdl.abilist: Moved ...
48667         * sysdeps/unix/sysv/linux/alpha/libdl.abilist: ... here.
48668         * sysdeps/unix/sysv/linux/alpha/nptl/libm.abilist: Moved ...
48669         * sysdeps/unix/sysv/linux/alpha/libm.abilist: ... here.
48670         * sysdeps/unix/sysv/linux/alpha/nptl/libnsl.abilist: Moved ...
48671         * sysdeps/unix/sysv/linux/alpha/libnsl.abilist: ... here.
48672         * sysdeps/unix/sysv/linux/alpha/nptl/libpthread.abilist: Moved ...
48673         * sysdeps/unix/sysv/linux/alpha/libpthread.abilist: ... here.
48674         * sysdeps/unix/sysv/linux/alpha/nptl/libresolv.abilist: Moved ...
48675         * sysdeps/unix/sysv/linux/alpha/libresolv.abilist: ... here.
48676         * sysdeps/unix/sysv/linux/alpha/nptl/librt.abilist: Moved ...
48677         * sysdeps/unix/sysv/linux/alpha/librt.abilist: ... here.
48678         * sysdeps/unix/sysv/linux/alpha/nptl/libthread_db.abilist: Moved ...
48679         * sysdeps/unix/sysv/linux/alpha/libthread_db.abilist: ... here.
48680         * sysdeps/unix/sysv/linux/alpha/nptl/libutil.abilist: Moved ...
48681         * sysdeps/unix/sysv/linux/alpha/libutil.abilist: ... here.
48682         * sysdeps/unix/sysv/linux/alpha/nptl/localplt.data: Moved ...
48683         * sysdeps/unix/sysv/linux/alpha/localplt.data: ... here.
48684         * sysdeps/unix/sysv/linux/alpha/nptl/lowlevellock.h: Moved ...
48685         * sysdeps/unix/sysv/linux/alpha/lowlevellock.h: ... here.
48686         * sysdeps/unix/sysv/linux/alpha/nptl/sem_post.c: Moved ...
48687         * sysdeps/unix/sysv/linux/alpha/sem_post.c: ... here.
48688         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h: Moved ...
48689         * sysdeps/unix/sysv/linux/alpha/sysdep-cancel.h: ... here.
48690         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Moved ...
48691         * sysdeps/unix/sysv/linux/alpha/timer_create.c: ... here.
48692         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Moved ...
48693         * sysdeps/unix/sysv/linux/alpha/timer_delete.c: ... here.
48694         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Moved ...
48695         * sysdeps/unix/sysv/linux/alpha/timer_getoverr.c: ... here.
48696         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Moved ...
48697         * sysdeps/unix/sysv/linux/alpha/timer_gettime.c: ... here.
48698         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Moved ...
48699         * sysdeps/unix/sysv/linux/alpha/timer_settime.c: ... here.
48701         * sysdeps/unix/sysv/linux/alpha/syscalls.list: Remove vfork.
48702         * sysdeps/unix/sysv/linux/alpha/nptl/vfork.S: Move file ...
48703         * sysdeps/unix/sysv/linux/alpha/vfork.S: ... here.  Restore PID
48704         before exiting on error.
48705         (__libc_vfork): New strong alias.
48706         * sysdeps/unix/sysv/linux/alpha/nptl/pt-vfork.S: Remove file.
48707         * sysdeps/unix/sysv/linux/alpha/pt-vfork.S: New file.
48709         * sysdeps/unix/sysv/linux/alpha/clone.S: Deconditionalize the code
48710         that was previously under [RESET_PID].
48711         * sysdeps/unix/sysv/linux/alpha/nptl/clone.S: File removed.
48713         * sysdeps/unix/sysv/linux/alpha/nptl/fork.c: Remove file.
48715 2014-05-23  Joseph Myers  <joseph@codesourcery.com>
48717         [BZ #16977]
48718         * sysdeps/i386/fpu/e_log10.S (__ieee754_log10): Take absolute
48719         value when x - 1 is zero.
48720         * sysdeps/i386/fpu/e_log10f.S (__ieee754_log10f): Likewise.
48721         * sysdeps/i386/fpu/e_log10l.S (__ieee754_log10l): Likewise.
48722         * sysdeps/ieee754/ldbl-128/e_log10l.c (__ieee754_log10l): Return
48723         0.0L for an argument of 1.0L.
48724         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l):
48725         Likewise.
48726         * sysdeps/x86_64/fpu/e_log10l.S (__ieee754_log10l): Take absolute
48727         value when x - 1 is zero.
48728         * math/libm-test.inc (log10_test): Use ALL_RM_TEST.
48729         * sysdeps/i386/fpu/libm-test-ulps: Update.
48730         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
48732 2014-05-23  Rasmus Villemoes  <rv@rasmusvillemoes.dk>
48734         * manual/filesys.texi (Scanning Directory Content): Fix prototype of
48735         alphasort and versionsort.
48737 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48739         * sysdeps/powerpc/fpu/math_private.h [copysign]: Remove unneeded
48740         macro.
48741         [copysignf]: Likewise.
48743 2014-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
48745         * crypt/md5-crypt.c: Fix formatting.
48747 2014-05-22  Kostya Serebryany  <konstantin.s.serebryany@gmail.com>
48749         * crypt/md5-crypt.c (__md5_crypt_r): Remove a nested function.
48750         (b64_from_24bit): New function.
48752 2014-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48754         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c (memchr): Remove
48755         libc_hidden_builtin_def to ifunc.
48756         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
48757         [libc_hidden_builtin_def]: Define hidden definition to __memchr_ppc32.
48759 2014-05-21  Roland McGrath  <roland@hack.frob.com>
48761         * sysdeps/unix/sysv/linux/aarch64/arch-fork.h: New file.
48762         * sysdeps/unix/sysv/linux/aarch64/nptl/fork.c: File removed.
48764 2014-05-21  Joseph Myers  <joseph@codesourcery.com>
48766         * nscd/Depend (linuxthreads): Remove.
48767         (nptl): Add.
48768         * resolv/Depend (linuxthreads): Remove.
48769         * rt/Depend (linuxthreads): Remove.
48771         * Makeconfig [$(build-hardcoded-path-in-tests) = yes]
48772         (rtld-tests-LDFLAGS): Use $(elf-objpfx) instead of
48773         $(common-objpfx)elf/.
48774         (link-libc-before-gnulib): Likewise.
48775         (elfobjdir): Remove variable.
48776         * Makefile (install): Use $(elf-objpfx) instead of
48777         $(common-objpfx)elf/.
48778         * Makerules (link-libc-args): Use $(elf-objpfx) instead of
48779         $(elfobjdir)/.
48780         (link-libc-deps): Likewise.
48781         ($(common-objpfx)libc.so): Likewise.
48782         ($(common-objpfx)linkobj/libc.so): Likewise.
48783         [$(cross-compiling) = no] (symbolic-link-prog): Use $(elf-objpfx)
48784         instead of $(common-objpfx)elf/.
48785         (symbolic-link-list): Likewise.
48786         * iconvdata/Makefile ($(inst_gconvdir)/gconv-modules)
48787         [$(cross-compiling) = no]: Likewise.
48788         * sysdeps/arm/Makefile (gnulib-arch): Use $(elf-objpfx) instead of
48789         $(elfobjdir)/.
48790         (static-gnulib-arch): Likewise.
48791         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules)
48792         [$(cross-compiling) = no]: Use $(elf-objpfx) instead of
48793         $(common-objpfx)elf/.
48795 2014-05-21  Richard Henderson  <rth@redhat.com>
48797         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h
48798         (SINGLE_THREAD_P): Use the correct width load.  Fold
48799         into the ldr offset.
48801         * sysdeps/unix/sysv/linux/aarch64/sysdep.h [RTLD_PRIVATE_ERRNO]
48802         (SYSCALL_ERROR_HANDLER): Fold add insn into str offset.
48804 2014-05-20  Joseph Myers  <joseph@codesourcery.com>
48806         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c
48807         (libgcc_s_resume): Use __attribute_used__.
48808         * sysdeps/unix/sysv/linux/arm/unwind-resume.c (libgcc_s_resume):
48809         Likewise.
48811 2014-05-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48813         * sysdeps/powerpc/fpu/math_private.h [__copysignf]: Fix copysign macro
48814         optimization when used with float constants.
48816         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
48818 2014-05-20  Aurelien Jarno  <aurelien@aurel32.net>
48820         [BZ #16915]
48821         * locale/nl_langinfo_l.c: Make direct reference to every
48822         _nl_current_CATEGORY symbol.
48823         * localedata/Makefile (test-srcs): Add tst-langinfo-static.
48824         (tests-static): Add tst-langinfo-static.
48825         (tests-special): Add tst-langinfo-static.out.
48826         ($(objpfx)tst-langinfo.out): Redirect output.
48827         ($(objpfx)tst-langinfo-static.out): New.
48828         * localedata/tst-langinfo.sh: Send output to stdout.
48829         * localedata/tst-langinfo-static.c: New file.
48831         [BZ #16965]
48832         * stdlib/strtod_l.c (round_and_return): Add code to shift limbs
48833         when the shift amount is modulo the limb size.
48835 2014-05-20  Richard Henderson  <rth@redhat.com>
48837         [BZ #16967]
48838         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h (struct sigaction):
48839         Change type of sa_flags from unsigned int to int.
48841         [BZ #16966]
48842         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h: Remove file.
48844         * sysdeps/alpha/dl-machine.h (ELF_MACHINE_NO_RELA): Define.
48846 2014-05-20  Will Newton  <will.newton@linaro.org>
48848         * sysdeps/unix/sysv/linux/aarch64/nptl/sysdep-cancel.h (PSEUDO):
48849         Test the return value of the system call in the nocancel case.
48851 2014-05-20  Will Newton  <will.newton@linaro.org>
48852             Yvan Roux  <yvan.roux@linaro.org>
48854         * sysdeps/unix/sysv/linux/aarch64/sys/user.h: Remove unused
48855         #include of asm/ptrace.h.
48856         (PTRACE_GET_THREAD_AREA): Remove #undef.
48857         (PTRACE_GETHBPREGS): Likewise.
48858         (PTRACE_SETHBPREGS): Likewise.
48859         (struct user_regs_struct): New structure.
48860         (struct user_fpsimd_struct): New structure.
48861         * sysdeps/unix/sysv/linux/aarch64/sys/procfs.h: Remove unused
48862         #include of asm/ptrace.h and second #include of sys/user.h.
48863         (PTRACE_GET_THREAD_AREA): Remove #undef.
48864         (PTRACE_GETHBPREGS): Likewise.
48865         (PTRACE_SETHBPREGS): Likewise.
48866         (ELF_NGREG): Use new struct user_regs_struct.
48867         (elf_fpregset_t): Use new struct user_fpsimd_struct.
48869 2014-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48871         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypof.c: Moved ...
48872         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c: ... here.
48874 2014-05-17  Jose E. Marchesi  <jose.marchesi@oracle.com>
48876         [BZ #16958]
48877         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Add missing
48878         membar to avoid block loads/stores to overlap previous stores.
48880 2014-05-17  Richard Henderson  <rth@redhat.com>
48882         * sysdeps/unix/sysv/linux/alpha/nptl/sysdep-cancel.h (PSEUDO):
48883         Create the __##syscall_name##_nocancel entry point.
48884         * sysdeps/unix/sysv/linux/alpha/sigsuspend.S (__sigsuspend_nocancel):
48885         Remove; let the sysdep-cancel.h code create it.
48887 2014-05-17  David S. Miller  <davem@davemloft.net>
48889         * sysdeps/unix/sysv/linux/sparc/bits/termios.h (PAGEOUT, WRAP):
48890         Protect with __USE_GNU.
48891         (TIOCSET_TEMPT): Likewise.
48892         (TIOCM_LE, TIOCM_DTR, TIOCM_RTS, TIOCM_ST, TIOCM_SR, TIOCM_CTS,
48893         TIOCM_CAR, TIOCM_RNG, TIOCM_DSR, TIOCM_CD, TIOCM_RI): Remove as
48894         these are already provided in bits/ioctl-types.h
48896 2014-05-16  Roland McGrath  <roland@hack.frob.com>
48898         * sysdeps/unix/sysv/linux/alpha/arch-fork.h: New file.
48899         * sysdeps/unix/sysv/linux/ia64/nptl/fork.c: File removed.
48901         * sysdeps/unix/sysv/linux/not-cancel.h (waitpid_not_cancel):
48902         Use wait4 regardless of [__NR_waitpid].
48904 2014-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
48906         PR libgcc/60166
48907         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
48908         (_FP_NANSIGN_Q): Set the quiet bit.
48910 2014-05-16  Joseph Myers  <joseph@codesourcery.com>
48912         * benchtests/Makefile
48913         ($(addprefix $(objpfx)bench-,$(bench-math))): Depend on $(libm),
48914         not $(common-objpfx)math/libm.so.
48915         ($(addprefix $(objpfx)bench-,$(bench-pthread))): Depend on
48916         $(shared-thread-library), not $(common-objpfx)nptl/libpthread.so.
48917         * elf/Makefile ($(objpfx)noload): Depend on $(libdl), not
48918         $(common-objpfx)dlfcn/libdl.so.
48919         ($(objpfx)tst-audit8): Depend on $(libm), not
48920         $(common-objpfx)math/libm.so.
48921         * malloc/Makefile ($(objpfx)libmemusage.so): Depend on $(libdl),
48922         not $(common-objpfx)dlfcn/libdl.so.
48923         * math/Makefile
48924         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
48925         Depend on $(libm), not $(objpfx)libm.so.  Do not condition on
48926         [$(build-shared) = yes].
48927         ($(objpfx)test-fenv-tls): Depend on $(shared-thread-library), not
48928         $(common-objpfx)nptl/libpthread.so.
48929         * misc/Makefile ($(objpfx)tst-tsearch): Depend on $(libm), not
48930         $(common-objpfx)math/libm.so$(libm.so-version) or
48931         $(common-objpfx)math/libm.a depending on [$(build-shared) = yes].
48932         * nptl/Makefile ($(objpfx)tst-unload): Depend on $(libdl), not
48933         $(common-objpfx)dlfcn/libdl.so.
48934         * setjmp/Makefile (link-libm): Remove variable.
48935         ($(objpfx)tst-setjmp-fp): Depend on $(libm), not $(link-libm).
48936         * stdio-common/Makefile (link-libm): Remove variable.
48937         ($(objpfx)tst-printf-round): Depend on $(libm), not $(link-libm).
48938         * stdlib/Makefile (link-libm): Remove variable.
48939         ($(objpfx)bug-getcontext): Depend on $(libm), not $(link-libm).
48940         ($(objpfx)tst-strtod-round): Likewise.
48941         ($(objpfx)tst-tininess): Likewise.
48942         ($(objpfx)tst-strtod-underflow): Likewise.
48943         ($(objpfx)tst-strtod6): Likewise.
48944         ($(objpfx)tst-tls-atexit): Depend on $(shared-thread-library) and
48945         $(libdl), not $(common-objpfx)nptl/libpthread.so and
48946         $(common-objpfx)dlfcn/libdl.so.
48948 2014-05-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
48950         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_MISC]: Guard
48951         BSD terminal modes definitions.
48953 2014-05-16  Roland McGrath  <roland@hack.frob.com>
48955         * sysdeps/unix/sysv/linux/arm/arch-fork.h: New file.
48956         * sysdeps/unix/sysv/linux/arm/fork.c: File removed.
48958         * sysdeps/unix/sysv/linux/arch-fork.h: New file.
48959         * sysdeps/unix/sysv/linux/i386/fork.h: Moved ...
48960         * sysdeps/unix/sysv/linux/i386/arch-fork.h: ... here.
48961         Don't do #include_next.
48962         * sysdeps/unix/sysv/linux/x86_64/fork.h: Moved ...
48963         * sysdeps/unix/sysv/linux/x86_64/arch-fork.h: ... here.
48964         Don't do #include_next.
48965         * sysdeps/unix/sysv/linux/mips/arch-fork.h: New file.
48966         * sysdeps/unix/sysv/linux/mips/fork.h: File removed.
48967         * sysdeps/unix/sysv/linux/powerpc/arch-fork.h: New file.
48968         * sysdeps/unix/sysv/linux/powerpc/fork.h: File removed.
48970 2014-05-16  Allan McRae  <allan@archlinux.org>
48972         * po/sv.po: Update Swedish translation from translation project.
48974         * timezone/Makefile ($(objpfx)tzselect): Use correct variable
48975         in sed expression.
48977 2014-05-16  Aurelien Jarno  <aurelien@aurel32.net>
48979         [BZ #16917]
48980         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal): Return
48981         errno if the TIOCGPTN ioctl fails with an error different than
48982         EINVAL.
48983         * login/tst-ptsname.c: New file.
48984         * login/Makefile (tests): Add tst-ptsname.
48986         [BZ #16943]
48987         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Declare prlimit
48988         and prlimit64.
48990 2014-05-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
48992         [BZ #16849]
48993         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only check for
48994         herrno to return EAI_AGAIN.
48996 2014-05-14  Roland McGrath  <roland@hack.frob.com>
48998         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: Moved ...
48999         * sysdeps/unix/sysv/linux/i386/c++-types.data: ... here.
49000         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: Moved ...
49001         * sysdeps/unix/sysv/linux/i386/ld.abilist: ... here.
49002         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: Moved ...
49003         * sysdeps/unix/sysv/linux/i386/libBrokenLocale.abilist: ... here.
49004         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: Moved ...
49005         * sysdeps/unix/sysv/linux/i386/libanl.abilist: ... here.
49006         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Moved ...
49007         * sysdeps/unix/sysv/linux/i386/libc.abilist: ... here.
49008         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: Moved ...
49009         * sysdeps/unix/sysv/linux/i386/libcrypt.abilist: ... here.
49010         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: Moved ...
49011         * sysdeps/unix/sysv/linux/i386/libdl.abilist: ... here.
49012         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: Moved ...
49013         * sysdeps/unix/sysv/linux/i386/libm.abilist: ... here.
49014         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: Moved ...
49015         * sysdeps/unix/sysv/linux/i386/libnsl.abilist: ... here.
49016         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Moved ...
49017         * sysdeps/unix/sysv/linux/i386/libpthread.abilist: ... here.
49018         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: Moved ...
49019         * sysdeps/unix/sysv/linux/i386/libresolv.abilist: ... here.
49020         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: Moved ...
49021         * sysdeps/unix/sysv/linux/i386/librt.abilist: ... here.
49022         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: Moved ...
49023         * sysdeps/unix/sysv/linux/i386/libthread_db.abilist: ... here.
49024         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: Moved ...
49025         * sysdeps/unix/sysv/linux/i386/libutil.abilist: ... here.
49026         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: Moved ...
49027         * sysdeps/unix/sysv/linux/i386/localplt.data: ... here.
49028         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: Moved ...
49029         * sysdeps/unix/sysv/linux/x86_64/64/c++-types.data: ... here.
49030         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Moved ...
49031         * sysdeps/unix/sysv/linux/x86_64/64/ld.abilist: ... here.
49032         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
49033         Moved ...
49034         * sysdeps/unix/sysv/linux/x86_64/64/libBrokenLocale.abilist: ... here.
49035         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Moved ...
49036         * sysdeps/unix/sysv/linux/x86_64/64/libanl.abilist: ... here.
49037         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Moved ...
49038         * sysdeps/unix/sysv/linux/x86_64/64/libc.abilist: ... here.
49039         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Moved ...
49040         * sysdeps/unix/sysv/linux/x86_64/64/libcrypt.abilist: ... here.
49041         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Moved ...
49042         * sysdeps/unix/sysv/linux/x86_64/64/libdl.abilist: ... here.
49043         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Moved ...
49044         * sysdeps/unix/sysv/linux/x86_64/64/libm.abilist: ... here.
49045         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Moved ...
49046         * sysdeps/unix/sysv/linux/x86_64/64/libnsl.abilist: ... here.
49047         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist: Moved ...
49048         * sysdeps/unix/sysv/linux/x86_64/64/libpthread.abilist: ... here.
49049         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist: Moved ...
49050         * sysdeps/unix/sysv/linux/x86_64/64/libresolv.abilist: ... here.
49051         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Moved ...
49052         * sysdeps/unix/sysv/linux/x86_64/64/librt.abilist: ... here.
49053         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist: Moved ...
49054         * sysdeps/unix/sysv/linux/x86_64/64/libthread_db.abilist: ... here.
49055         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Moved ...
49056         * sysdeps/unix/sysv/linux/x86_64/64/libutil.abilist: ... here.
49057         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data: Moved ...
49058         * sysdeps/unix/sysv/linux/x86_64/x32/c++-types.data: ... here.
49059         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: Moved ...
49060         * sysdeps/unix/sysv/linux/x86_64/x32/ld.abilist: ... here.
49061         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
49062         Moved ...
49063         * sysdeps/unix/sysv/linux/x86_64/x32/libBrokenLocale.abilist: ... here.
49064         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist: Moved ...
49065         * sysdeps/unix/sysv/linux/x86_64/x32/libanl.abilist: ... here.
49066         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Moved ...
49067         * sysdeps/unix/sysv/linux/x86_64/x32/libc.abilist: ... here.
49068         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist: Moved ...
49069         * sysdeps/unix/sysv/linux/x86_64/x32/libcrypt.abilist: ... here.
49070         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist: Moved ...
49071         * sysdeps/unix/sysv/linux/x86_64/x32/libdl.abilist: ... here.
49072         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist: Moved ...
49073         * sysdeps/unix/sysv/linux/x86_64/x32/libm.abilist: ... here.
49074         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist: Moved ...
49075         * sysdeps/unix/sysv/linux/x86_64/x32/libnsl.abilist: ... here.
49076         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist: Moved ...
49077         * sysdeps/unix/sysv/linux/x86_64/x32/libpthread.abilist: ... here.
49078         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist: Moved ...
49079         * sysdeps/unix/sysv/linux/x86_64/x32/libresolv.abilist: ... here.
49080         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist: Moved ...
49081         * sysdeps/unix/sysv/linux/x86_64/x32/librt.abilist: ... here.
49082         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
49083         Moved ...
49084         * sysdeps/unix/sysv/linux/x86_64/x32/libthread_db.abilist: ... here.
49085         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist: Moved ...
49086         * sysdeps/unix/sysv/linux/x86_64/x32/libutil.abilist: ... here.
49088         * nptl/sysdeps/unix/sysv/linux/x86/Makefile: File removed.
49089         * sysdeps/unix/sysv/linux/x86/Makefile [$(subdir) = nptl]
49090         (libpthread-sysdep_routines): Add elision-related stuff here instead.
49091         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.c: Moved ...
49092         * sysdeps/unix/sysv/linux/x86/elision-conf.c: ... here.
49093         * nptl/sysdeps/unix/sysv/linux/x86/elision-conf.h: Moved ...
49094         * sysdeps/unix/sysv/linux/x86/elision-conf.h: ... here.
49095         * nptl/sysdeps/unix/sysv/linux/x86/elision-lock.c: Moved ...
49096         * sysdeps/unix/sysv/linux/x86/elision-lock.c: ... here.
49097         * nptl/sysdeps/unix/sysv/linux/x86/elision-timed.c: Moved ...
49098         * sysdeps/unix/sysv/linux/x86/elision-timed.c: ... here.
49099         * nptl/sysdeps/unix/sysv/linux/x86/elision-trylock.c: Moved ...
49100         * sysdeps/unix/sysv/linux/x86/elision-trylock.c: ... here.
49101         * nptl/sysdeps/unix/sysv/linux/x86/elision-unlock.c: Moved ...
49102         * sysdeps/unix/sysv/linux/x86/elision-unlock.c: ... here.
49103         * nptl/sysdeps/unix/sysv/linux/x86/force-elision.h: Moved ...
49104         * sysdeps/unix/sysv/linux/x86/force-elision.h: ... here.
49105         * nptl/sysdeps/unix/sysv/linux/x86/hle.h: Moved ...
49106         * sysdeps/unix/sysv/linux/x86/hle.h: ... here.
49107         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.c: Moved ...
49108         * sysdeps/unix/sysv/linux/x86/init-arch.c: ... here.
49109         * nptl/sysdeps/unix/sysv/linux/x86/init-arch.h: Moved ...
49110         * sysdeps/unix/sysv/linux/x86/init-arch.h: ... here.
49111         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: Moved ...
49112         * sysdeps/unix/sysv/linux/x86/pthread_mutex_cond_lock.c: ... here.
49113         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: Moved ...
49114         * sysdeps/unix/sysv/linux/x86/pthread_mutex_lock.c: ... here.
49115         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: Moved ...
49116         * sysdeps/unix/sysv/linux/x86/pthread_mutex_timedlock.c: ... here.
49117         * nptl/sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: Moved ...
49118         * sysdeps/unix/sysv/linux/x86/pthread_mutex_trylock.c: ... here.
49120         * sysdeps/unix/sysv/linux/mips/fork.h: New file.
49121         * sysdeps/unix/sysv/linux/mips/nptl/fork.c: File removed.
49123         * nptl/sysdeps/unix/sysv/linux/i386/Implies: File removed.
49124         * nptl/sysdeps/unix/sysv/linux/i386/i786/Implies: Moved ...
49125         * sysdeps/unix/sysv/linux/i386/i786/Implies: ... here.
49126         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: Moved ...
49127         * sysdeps/unix/sysv/linux/i386/i586/sem_wait.S: ... here.
49128         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S:
49129         Moved ...
49130         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_wrlock.S: ... here.
49131         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S:
49132         Moved ...
49133         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_timedwait.S: ... here.
49134         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S:
49135         Moved ...
49136         * sysdeps/unix/sysv/linux/i386/i586/pthread_barrier_wait.S: ... here.
49137         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S:
49138         Moved ...
49139         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_unlock.S: ... here.
49140         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: Moved ...
49141         * sysdeps/unix/sysv/linux/i386/i586/sem_timedwait.S: ... here.
49142         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S:
49143         Moved ...
49144         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_signal.S: ... here.
49145         * nptl/sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: Moved ...
49146         * sysdeps/unix/sysv/linux/i386/i586/libc-lowlevellock.S: ... here.
49147         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: Moved ...
49148         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_wait.S: ... here.
49149         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: Moved ...
49150         * sysdeps/unix/sysv/linux/i386/i586/lowlevelrobustlock.S: ... here.
49151         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S:
49152         Moved ...
49153         * sysdeps/unix/sysv/linux/i386/i586/pthread_cond_broadcast.S: ... here.
49154         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
49155         Moved ...
49156         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedrdlock.S:
49157         ... here.
49158         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: Moved ...
49159         * sysdeps/unix/sysv/linux/i386/i586/sem_trywait.S: ... here.
49160         * nptl/sysdeps/unix/sysv/linux/i386/i586/sem_post.S: Moved ...
49161         * sysdeps/unix/sysv/linux/i386/i586/sem_post.S: ... here.
49162         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
49163         Moved ...
49164         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_timedwrlock.S:
49165         ... here.
49166         * nptl/sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S:
49167         Moved ...
49168         * sysdeps/unix/sysv/linux/i386/i586/pthread_rwlock_rdlock.S: ... here.
49169         * nptl/sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: Moved ...
49170         * sysdeps/unix/sysv/linux/i386/i586/lowlevellock.S: ... here.
49171         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: Moved ...
49172         * sysdeps/unix/sysv/linux/i386/i486/sem_wait.S: ... here.
49173         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S:
49174         Moved ...
49175         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_wrlock.S: ... here.
49176         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S:
49177         Moved ...
49178         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_timedwait.S: ... here.
49179         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S:
49180         Moved ...
49181         * sysdeps/unix/sysv/linux/i386/i486/pthread_barrier_wait.S: ... here.
49182         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S:
49183         Moved ...
49184         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_unlock.S: ... here.
49185         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: Moved ...
49186         * sysdeps/unix/sysv/linux/i386/i486/sem_timedwait.S: ... here.
49187         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S:
49188         Moved ...
49189         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_signal.S: ... here.
49190         * nptl/sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: Moved ...
49191         * sysdeps/unix/sysv/linux/i386/i486/libc-lowlevellock.S: ... here.
49192         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: Moved ...
49193         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_wait.S: ... here.
49194         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: Moved ...
49195         * sysdeps/unix/sysv/linux/i386/i486/lowlevelrobustlock.S: ... here.
49196         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S:
49197         Moved ...
49198         * sysdeps/unix/sysv/linux/i386/i486/pthread_cond_broadcast.S: ... here.
49199         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
49200         Moved ...
49201         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedrdlock.S:
49202         ... here.
49203         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: Moved ...
49204         * sysdeps/unix/sysv/linux/i386/i486/sem_trywait.S: ... here.
49205         * nptl/sysdeps/unix/sysv/linux/i386/i486/sem_post.S: Moved ...
49206         * sysdeps/unix/sysv/linux/i386/i486/sem_post.S: ... here.
49207         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
49208         Moved ...
49209         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_timedwrlock.S:
49210         ... here.
49211         * nptl/sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S:
49212         Moved ...
49213         * sysdeps/unix/sysv/linux/i386/i486/pthread_rwlock_rdlock.S: ... here.
49214         * nptl/sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: Moved ...
49215         * sysdeps/unix/sysv/linux/i386/i486/lowlevellock.S: ... here.
49216         * nptl/sysdeps/unix/sysv/linux/i386/dl-sysdep.h: Moved ...
49217         * sysdeps/unix/sysv/linux/i386/dl-sysdep.h: ... here.
49218         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h: Moved ...
49219         * sysdeps/unix/sysv/linux/i386/lowlevellock.h: ... here.
49220         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: Moved ...
49221         * sysdeps/unix/sysv/linux/i386/i686/sem_wait.S: ... here.
49222         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S:
49223         Moved ...
49224         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_wrlock.S: ... here.
49225         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S:
49226         Moved ...
49227         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_timedwait.S: ... here.
49228         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S:
49229         Moved ...
49230         * sysdeps/unix/sysv/linux/i386/i686/pthread_barrier_wait.S: ... here.
49231         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S:
49232         Moved ...
49233         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_unlock.S: ... here.
49234         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: Moved ...
49235         * sysdeps/unix/sysv/linux/i386/i686/sem_timedwait.S: ... here.
49236         * nptl/sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: Moved ...
49237         * sysdeps/unix/sysv/linux/i386/i686/dl-sysdep.h: ... here.
49238         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S:
49239         Moved ...
49240         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_signal.S: ... here.
49241         * nptl/sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: Moved ...
49242         * sysdeps/unix/sysv/linux/i386/i686/libc-lowlevellock.S: ... here.
49243         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: Moved ...
49244         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_wait.S: ... here.
49245         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: Moved ...
49246         * sysdeps/unix/sysv/linux/i386/i686/lowlevelrobustlock.S: ... here.
49247         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S:
49248         Moved ...
49249         * sysdeps/unix/sysv/linux/i386/i686/pthread_cond_broadcast.S: ... here.
49250         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
49251         Moved ...
49252         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedrdlock.S:
49253         ... here.
49254         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: Moved ...
49255         * sysdeps/unix/sysv/linux/i386/i686/sem_trywait.S: ... here.
49256         * nptl/sysdeps/unix/sysv/linux/i386/i686/sem_post.S: Moved ...
49257         * sysdeps/unix/sysv/linux/i386/i686/sem_post.S: ... here.
49258         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
49259         Moved ...
49260         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_timedwrlock.S:
49261         ... here.
49262         * nptl/sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S:
49263         Moved ...
49264         * sysdeps/unix/sysv/linux/i386/i686/pthread_rwlock_rdlock.S: ... here.
49265         * nptl/sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: Moved ...
49266         * sysdeps/unix/sysv/linux/i386/i686/lowlevellock.S: ... here.
49267         * nptl/sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: Moved ...
49268         * sysdeps/unix/sysv/linux/i386/sysdep-cancel.h: ... here.
49269         * nptl/sysdeps/unix/sysv/linux/i386/smp.h: Moved ...
49270         * sysdeps/unix/sysv/linux/i386/smp.h: ... here.
49271         * nptl/sysdeps/unix/sysv/linux/i386/pthread_once.S: Moved ...
49272         * sysdeps/unix/sysv/linux/i386/pthread_once.S: ... here.
49273         * nptl/sysdeps/unix/sysv/linux/i386/createthread.c: Moved ...
49274         * sysdeps/unix/sysv/linux/i386/createthread.c: ... here.
49276         * sysdeps/unix/sysv/linux/powerpc/fork.h: New file.
49277         * nptl/sysdeps/unix/sysv/linux/powerpc/fork.c: File removed.
49279         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_init.c: File removed.
49280         * nptl/sysdeps/unix/sysv/linux/i386/pthread_spin_unlock.S: File removed.
49282         * nptl/sysdeps/unix/sysv/linux/x86_64/Implies: File removed.
49283         * nptl/sysdeps/unix/sysv/linux/x86_64/cancellation.S: Moved ...
49284         * sysdeps/unix/sysv/linux/x86_64/cancellation.S: ... here.
49285         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: Moved ...
49286         * sysdeps/unix/sysv/linux/x86_64/libc-cancellation.S: ... here.
49287         * nptl/sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: Moved ...
49288         * sysdeps/unix/sysv/linux/x86_64/libc-lowlevellock.S: ... here.
49289         * nptl/sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: Moved ...
49290         * sysdeps/unix/sysv/linux/x86_64/librt-cancellation.S: ... here.
49291         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: Moved ...
49292         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.h: ... here.
49293         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: Moved ...
49294         * sysdeps/unix/sysv/linux/x86_64/lowlevellock.S: ... here.
49295         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: Moved ...
49296         * sysdeps/unix/sysv/linux/x86_64/lowlevelrobustlock.S: ... here.
49297         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: Moved ...
49298         * sysdeps/unix/sysv/linux/x86_64/pthread_barrier_wait.S: ... here.
49299         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S:
49300         Moved ...
49301         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_broadcast.S: ... here.
49302         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: Moved ...
49303         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_signal.S: ... here.
49304         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S:
49305         Moved ...
49306         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_timedwait.S: ... here.
49307         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: Moved ...
49308         * sysdeps/unix/sysv/linux/x86_64/pthread_cond_wait.S: ... here.
49309         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_once.S: Moved ...
49310         * sysdeps/unix/sysv/linux/x86_64/pthread_once.S: ... here.
49311         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: Moved ...
49312         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_rdlock.S: ... here.
49313         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S:
49314         Moved ...
49315         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedrdlock.S: ... here.
49316         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S:
49317         Moved ...
49318         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_timedwrlock.S: ... here.
49319         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: Moved ...
49320         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_unlock.S: ... here.
49321         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: Moved ...
49322         * sysdeps/unix/sysv/linux/x86_64/pthread_rwlock_wrlock.S: ... here.
49323         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: Moved ...
49324         * sysdeps/unix/sysv/linux/x86_64/pthread_setaffinity.c: ... here.
49325         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_post.S: Moved ...
49326         * sysdeps/unix/sysv/linux/x86_64/sem_post.S: ... here.
49327         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: Moved ...
49328         * sysdeps/unix/sysv/linux/x86_64/sem_timedwait.S: ... here.
49329         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: Moved ...
49330         * sysdeps/unix/sysv/linux/x86_64/sem_trywait.S: ... here.
49331         * nptl/sysdeps/unix/sysv/linux/x86_64/sem_wait.S: Moved ...
49332         * sysdeps/unix/sysv/linux/x86_64/sem_wait.S: ... here.
49333         * nptl/sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: Moved ...
49334         * sysdeps/unix/sysv/linux/x86_64/sysdep-cancel.h: ... here.
49336         * nptl/sysdeps/unix/sysv/linux/fork.c: Use <> for fork.h #include.
49337         * nptl/sysdeps/unix/sysv/linux/x86_64/fork.c: File removed.
49338         * sysdeps/unix/sysv/linux/x86_64/fork.h: New file.
49339         * nptl/sysdeps/unix/sysv/linux/i386/fork.c: File removed.
49340         * sysdeps/unix/sysv/linux/i386/fork.h: New file.
49342         * nptl/sysdeps/unix/sysv/linux/i386/not-cancel.h: Moved ...
49343         * sysdeps/unix/sysv/linux/not-cancel.h: ... here.
49344         * nptl/sysdeps/unix/sysv/linux/sparc/not-cancel.h: File removed.
49345         * nptl/sysdeps/unix/sysv/linux/sh/not-cancel.h: File removed.
49346         * nptl/sysdeps/unix/sysv/linux/powerpc/not-cancel.h: File removed.
49347         * nptl/sysdeps/unix/sysv/linux/x86_64/not-cancel.h: File removed.
49348         * nptl/sysdeps/unix/sysv/linux/s390/not-cancel.h: File removed.
49349         * sysdeps/unix/sysv/linux/generic/not-cancel.h: File removed.
49350         * sysdeps/unix/sysv/linux/generic/nptl/not-cancel.h: File removed.
49351         * sysdeps/unix/sysv/linux/m68k/nptl/not-cancel.h: File removed.
49353         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_init.c: File removed.
49354         * nptl/sysdeps/unix/sysv/linux/x86_64/pthread_spin_unlock.S: Likewise.
49356         * nptl/sysdeps/unix/sysv/linux/x86_64/compat-timer.h: Moved ...
49357         * sysdeps/unix/sysv/linux/x86_64/compat-timer.h: ... here.
49358         * nptl/sysdeps/unix/sysv/linux/x86_64/Versions: Remove, merge into ...
49359         * sysdeps/unix/sysv/linux/x86_64/Versions: ... here.
49360         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_create.c: Moved ...
49361         * sysdeps/unix/sysv/linux/x86_64/timer_create.c: here.
49362         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_delete.c: Moved ...
49363         * sysdeps/unix/sysv/linux/x86_64/timer_delete.c: ... here
49364         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: Moved ...
49365         * sysdeps/unix/sysv/linux/x86_64/timer_getoverr.c: ... here
49366         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: Moved ...
49367         * sysdeps/unix/sysv/linux/x86_64/timer_gettime.c: ... here
49368         * nptl/sysdeps/unix/sysv/linux/x86_64/timer_settime.c: Moved ...
49369         * sysdeps/unix/sysv/linux/x86_64/timer_settime.c: ... here
49370         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_create.c:
49371         Update #include.
49372         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_delete.c:
49373         Likewise.
49374         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_getoverr.c:
49375         Likewise.
49376         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_gettime.c:
49377         Likewise.
49378         * nptl/sysdeps/unix/sysv/linux/powerpc/powerpc64/timer_settime.c:
49379         Likewise.
49380         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_create.c:
49381         Likewise.
49382         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_delete.c:
49383         Likewise.
49384         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_getoverr.c:
49385         Likewise.
49386         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_gettime.c:
49387         Likewise.
49388         * nptl/sysdeps/unix/sysv/linux/sparc/sparc64/timer_settime.c:
49389         Likewise.
49390         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_create.c: Likewise.
49391         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_delete.c: Likewise.
49392         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_getoverr.c: Likewise.
49393         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_gettime.c: Likewise.
49394         * nptl/sysdeps/unix/sysv/linux/s390/s390-64/timer_settime.c: Likewise.
49395         * sysdeps/unix/sysv/linux/alpha/nptl/timer_create.c: Likewise.
49396         * sysdeps/unix/sysv/linux/alpha/nptl/timer_delete.c: Likewise.
49397         * sysdeps/unix/sysv/linux/alpha/nptl/timer_getoverr.c: Likewise.
49398         * sysdeps/unix/sysv/linux/alpha/nptl/timer_gettime.c: Likewise.
49399         * sysdeps/unix/sysv/linux/alpha/nptl/timer_settime.c: Likewise.
49400         * sysdeps/unix/sysv/linux/ia64/nptl/timer_create.c: Likewise.
49401         * sysdeps/unix/sysv/linux/ia64/nptl/timer_delete.c: Likewise.
49402         * sysdeps/unix/sysv/linux/ia64/nptl/timer_getoverr.c: Likewise.
49403         * sysdeps/unix/sysv/linux/ia64/nptl/timer_gettime.c:  Likewise.
49404         * sysdeps/unix/sysv/linux/ia64/nptl/timer_settime.c:  Likewise.
49406         * sysdeps/unix/sysv/linux/x86_64/clone.S: Deconditionalize the code
49407         that was previously under [RESET_PID].
49408         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
49409         * nptl/sysdeps/unix/sysv/linux/x86_64/clone.S: File removed.
49410         * nptl/sysdeps/unix/sysv/linux/i386/clone.S: File removed.
49412         * sysdeps/i386/nptl/Implies: New file.
49413         * sysdeps/x86_64/nptl/Implies: New file.
49414         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h: Moved ...
49415         * sysdeps/x86/nptl/bits/pthreadtypes.h: ... here.
49416         * nptl/sysdeps/unix/sysv/linux/x86/bits/semaphore.h: Moved ...
49417         * sysdeps/x86/nptl/bits/semaphore.h: ... here.
49419         * sysdeps/unix/sysv/linux/i386/vfork.S: Include <tcb-offsets.h>.
49420         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
49421         (__libc_vfork): New strong alias.
49422         * nptl/sysdeps/unix/sysv/linux/i386/vfork.S: File removed.
49423         * nptl/sysdeps/unix/sysv/linux/i386/pt-vfork.S: File removed.
49425         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Include <tcb-offsets.h>.
49426         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
49427         (__libc_vfork): New strong alias.
49428         * nptl/sysdeps/unix/sysv/linux/x86_64/vfork.S: File removed.
49429         * nptl/sysdeps/unix/sysv/linux/x86_64/pt-vfork.S: File removed.
49431         * sysdeps/unix/sysv/linux/arm/vfork.S: Include <tcb-offsets.h>.
49432         (__vfork): Incorporate save/restore of PID from nptl/vfork.S here.
49433         (__libc_vfork): New strong alias.
49434         * sysdeps/unix/sysv/linux/arm/nptl/vfork.S: File removed.
49435         * sysdeps/unix/sysv/linux/arm/nptl/pt-vfork.S: File removed.
49436         * nptl/pt-vfork.c: New file.
49437         * nptl/Versions (libc: GLIBC_PRIVATE): Add __libc_vfork.
49438         (libpthread: GLIBC_2.20): New version set (empty).
49440 2014-05-14  Will Newton  <will.newton@linaro.org>
49442         * stdlib/gmp-impl.h: Test USE_STACK_ALLOC #ifdef
49443         rather than #if.
49445 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
49447         [BZ #16564]
49448         * sysdeps/i386/fpu/s_log1pl.S (__log1pl): Do not add 1 to positive
49449         arguments with exponent 65 or above.
49450         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): Do not add 1 to
49451         arguments 0x1p113L or above.
49452         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Do not add 1
49453         to arguments 0x1p107L or above.
49454         * sysdeps/x86_64/fpu/s_log1pl.S (__log1pl): Do not add 1 to
49455         positive arguments with exponent 65 or above.
49456         * math/auto-libm-test-in: Add more tests of log1p.
49457         * math/auto-libm-test-out: Regenerated.
49459         [BZ #16928]
49460         * math/s_cacos.c (__cacos): Ensure zero real part of result from
49461         non-finite arguments is +0.
49462         * math/s_cacosf.c (__cacosf): Likewise.
49463         * math/s_cacosl.c (__cacosl): Likewise.
49464         * math/libm-test.inc (cacos_test): Use ALL_RM_TEST.
49465         * sysdeps/i386/fpu/libm-test-ulps: Update.
49466         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49468         [BZ #16927]
49469         * sysdeps/i386/fpu/e_acosh.S (__ieee754_acosh): Use fabs on x-1
49470         value.
49471         * sysdeps/i386/fpu/e_acoshf.S (__ieee754_acoshf): Likewise.
49472         * sysdeps/i386/fpu/e_acoshl.S (__ieee754_acoshl): Likewise.
49473         * sysdeps/ieee754/ldbl-96/e_acoshl.c (__ieee754_acoshl): Correct
49474         for explicit high bit of mantissa when testing for argument equal
49475         to 1.
49476         * math/libm-test.inc (acosh_test): Use ALL_RM_TEST.
49477         * sysdeps/i386/fpu/libm-test-ulps: Update.
49478         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
49480         [BZ #16516]
49481         * sysdeps/ieee754/dbl-64/s_erf.c (efx8): Remove variable.
49482         (__erf): Scale by 16 instead of 8 in potentially underflowing
49483         case.  Ensure exception if result actually underflows.
49484         * sysdeps/ieee754/flt-32/s_erff.c (efx8): Remove variable.
49485         (__erff): Scale by 16 instead of 8 in potentially underflowing
49486         case.  Ensure exception if result actually underflows.
49487         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <float.h>.
49488         (efx8): Remove variable.
49489         (__erfl): Scale by 16 instead of 8 in potentially underflowing
49490         case.  Ensure exception if result actually underflows.
49491         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <float.h>.
49492         (efx8): Remove variable.
49493         (__erfl): Scale by 16 instead of 8 in potentially underflowing
49494         case.  Ensure exception if result actually underflows.
49495         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <float.h>.
49496         (efx8): Remove variable.
49497         (__erfl): Scale by 16 instead of 8 in potentially underflowing
49498         case.  Ensure exception if result actually underflows.
49499         * math/auto-libm-test-in: Add more tests of erf.
49500         * math/auto-libm-test-out: Regenerated.
49502 2014-05-14  Andreas Schwab  <schwab@suse.de>
49504         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, dl_main):
49505         Remove code conditionalized on USE___THREAD.
49507         * config.h.in (HAVE_PT_CHOWN): Define as 0.
49508         * sysdeps/unix/grantpt.c (grantpt): Check HAVE_PT_CHOWN for value,
49509         not definedness.
49511 2014-05-14  Joseph Myers  <joseph@codesourcery.com>
49513         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_UTIMES):
49514         Define unconditionally.
49515         (__ASSUME_O_CLOEXEC): Likewise.
49516         (__ASSUME_SOCK_CLOEXEC): Likewise.
49517         (__ASSUME_IN_NONBLOCK): Likewise.
49518         (__ASSUME_PIPE2): Likewise.
49519         (__ASSUME_EVENTFD2): Likewise.
49520         (__ASSUME_SIGNALFD4): Likewise.
49521         (__ASSUME_DUP3): Likewise.
49522         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
49523         (__ASSUME_DUP3): Do not define.
49524         (__ASSUME_EVENTFD2): Likewise.
49525         (__ASSUME_IN_NONBLOCK): Likewise.
49526         (__ASSUME_O_CLOEXEC): Likewise.
49527         (__ASSUME_PIPE2): Likewise.
49528         (__ASSUME_SIGNALFD4): Likewise.
49529         (__ASSUME_SOCK_CLOEXEC): Likewise.
49530         (__ASSUME_UTIMES): Undefine.
49531         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
49532         (__ASSUME_UTIMES): Do not define.
49533         (__ASSUME_O_CLOEXEC): Likewise.
49534         (__ASSUME_SOCK_CLOEXEC): Likewise.
49535         (__ASSUME_IN_NONBLOCK): Undefine if [__LINUX_KERNEL_VERSION <
49536         0x020621] instead of defining if [__LINUX_KERNEL_VERSION >=
49537         0x020621].
49538         (__ASSUME_PIPE2): Likewise.
49539         (__ASSUME_EVENTFD2): Likewise.
49540         (__ASSUME_SIGNALFD4): Likewise.
49541         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_DUP3): Undefine.
49542         * sysdeps/unix/sysv/linux/arm/kernel-features.h (__ASSUME_UTIMES):
49543         Do not define.
49544         (__ASSUME_EVENTFD2): Likewise.
49545         (__ASSUME_SIGNALFD4): Likewise.
49546         * sysdeps/unix/sysv/linux/hppa/kernel-features.h
49547         (__ASSUME_32BITUIDS): Likewise.
49548         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
49549         (__ASSUME_IPC64): Likewise.
49550         (__ASSUME_ST_INO_64_BIT): Likewise.
49551         (__ASSUME_GETDENTS64_SYSCALL): Likewise.
49552         [__LINUX_KERNEL_VERSION < 0x030e00] (__ASSUME_UTIMES): Undefine.
49553         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
49554         (__ASSUME_UTIMES): Do not define.
49555         (__ASSUME_PSELECT): Likewise.
49556         (__ASSUME_PPOLL): Likewise.
49557         (__ASSUME_O_CLOEXEC): Likewise.
49558         (__ASSUME_SOCK_CLOEXEC): Likewise.
49559         (__ASSUME_IN_NONBLOCK): Likewise.
49560         (__ASSUME_PIPE2): Likewise.
49561         (__ASSUME_EVENTFD2): Likewise.
49562         (__ASSUME_SIGNALFD4): Likewise.
49563         (__ASSUME_DUP3): Likewise.
49564         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
49565         (__ASSUME_UTIMES): Likewise.
49566         (__ASSUME_O_CLOEXEC): Likewise.
49567         (__ASSUME_SOCK_CLOEXEC): Likewise.
49568         (__ASSUME_IN_NONBLOCK): Likewise.
49569         (__ASSUME_PIPE2): Likewise.
49570         (__ASSUME_EVENTFD2): Likewise.
49571         (__ASSUME_SIGNALFD4): Likewise.
49572         (__ASSUME_DUP3): Likewise.
49573         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
49574         (__ASSUME_UTIMES): Likewise.
49575         (__ASSUME_O_CLOEXEC): Likewise.
49576         (__ASSUME_SOCK_CLOEXEC): Likewise.
49577         (__ASSUME_IN_NONBLOCK): Likewise.
49578         (__ASSUME_PIPE2): Likewise.
49579         (__ASSUME_EVENTFD2): Likewise.
49580         (__ASSUME_SIGNALFD4): Likewise.
49581         (__ASSUME_DUP3): Likewise.
49582         * sysdeps/unix/sysv/linux/mips/kernel-features.h (__ASSUME_IPC64):
49583         Likewise.
49584         (__ASSUME_UTIMES): Likewise.
49585         (__ASSUME_EVENTFD2): Likewise.
49586         (__ASSUME_SIGNALFD4): Likewise.
49587         * sysdeps/unix/sysv/linux/tile/kernel-features.h
49588         (__ASSUME_O_CLOEXEC): Likewise.
49589         (__ASSUME_SOCK_CLOEXEC): Likewise.
49590         (__ASSUME_IN_NONBLOCK): Likewise.
49591         (__ASSUME_PIPE2): Likewise.
49592         (__ASSUME_EVENTFD2): Likewise.
49593         (__ASSUME_SIGNALFD4): Likewise.
49594         (__ASSUME_DUP3): Likewise.
49595         (__ASSUME_UTIMES): Undefine.
49597         * sysdeps/arm/fclrexcpt.c (__feclearexcept): Rename to
49598         feclearexcept.  Remove symbol versioning code.
49599         * sysdeps/arm/fegetenv.c (__fegetenv): Rename to fegetenv.  Remove
49600         symbol versioning code.
49601         * sysdeps/arm/fesetenv.c (__fesetenv): Rename to fesetenv.  Remove
49602         symbol versioning code.
49603         * sysdeps/arm/feupdateenv.c (__feupdateenv): Rename to
49604         feupdateenv.  Remove symbol versioning code.
49605         * sysdeps/arm/fgetexcptflg.c (__fegetexceptflag): Rename to
49606         fegetexceptflag.  Remove symbol versioning code.
49607         * sysdeps/arm/fsetexcptflg.c (__fesetexceptflag): Rename to
49608         fesetexceptflag.  Remove symbol versioning code.
49609         * sysdeps/unix/sysv/linux/arm/Versions (libc): Remove GLIBC_2.0,
49610         GLIBC_2.2 and GLIBC_2.3.3 entries.  Change GLIBC_2.1 to GLIBC_2.4.
49611         * sysdeps/unix/sysv/linux/arm/posix_fadvise64.c
49612         (__posix_fadvise64_l32): Remove prototype.
49613         [SHLIB_COMPAT(libc, GLIBC_2_2, GLIBC_2_3_3)]: Remove conditional
49614         code.
49616 2014-05-13  Roland McGrath  <roland@hack.frob.com>
49618         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h: Moved ...
49619         * sysdeps/arm/nptl/bits/pthreadtypes.h: ... here.
49620         * sysdeps/unix/sysv/linux/arm/nptl/bits/semaphore.h: Moved ...
49621         * sysdeps/arm/nptl/bits/semaphore.h: ... here.
49623 2014-05-13  Sami Kerola  <kerolasa@iki.fi>
49625         * timezone/Makefile ($(objpfx)tzselect): Use zonedir instead
49626         current working directory
49628 2014-05-13  Roland McGrath  <roland@hack.frob.com>
49630         * sysdeps/unix/sysv/linux/arm/nptl/c++-types.data: Moved ...
49631         * sysdeps/unix/sysv/linux/arm/c++-types.data: ... here.
49632         * sysdeps/unix/sysv/linux/arm/nptl/createthread.c: Moved ...
49633         * sysdeps/unix/sysv/linux/arm/createthread.c: ... here.
49634         * sysdeps/unix/sysv/linux/arm/nptl/fork.c: Moved ...
49635         * sysdeps/unix/sysv/linux/arm/fork.c: ... here.
49636         * sysdeps/unix/sysv/linux/arm/nptl/ld.abilist: Moved ...
49637         * sysdeps/unix/sysv/linux/arm/ld.abilist: ... here.
49638         * sysdeps/unix/sysv/linux/arm/nptl/libBrokenLocale.abilist: Moved ...
49639         * sysdeps/unix/sysv/linux/arm/libBrokenLocale.abilist: ... here.
49640         * sysdeps/unix/sysv/linux/arm/nptl/libanl.abilist: Moved ...
49641         * sysdeps/unix/sysv/linux/arm/libanl.abilist: ... here.
49642         * sysdeps/unix/sysv/linux/arm/nptl/libc.abilist: Moved ...
49643         * sysdeps/unix/sysv/linux/arm/libc.abilist: ... here.
49644         * sysdeps/unix/sysv/linux/arm/nptl/libcrypt.abilist: Moved ...
49645         * sysdeps/unix/sysv/linux/arm/libcrypt.abilist: ... here.
49646         * sysdeps/unix/sysv/linux/arm/nptl/libdl.abilist: Moved ...
49647         * sysdeps/unix/sysv/linux/arm/libdl.abilist: ... here.
49648         * sysdeps/unix/sysv/linux/arm/nptl/libm.abilist: Moved ...
49649         * sysdeps/unix/sysv/linux/arm/libm.abilist: ... here.
49650         * sysdeps/unix/sysv/linux/arm/nptl/libnsl.abilist: Moved ...
49651         * sysdeps/unix/sysv/linux/arm/libnsl.abilist: ... here.
49652         * sysdeps/unix/sysv/linux/arm/nptl/libpthread.abilist: Moved ...
49653         * sysdeps/unix/sysv/linux/arm/libpthread.abilist: ... here.
49654         * sysdeps/unix/sysv/linux/arm/nptl/libresolv.abilist: Moved ...
49655         * sysdeps/unix/sysv/linux/arm/libresolv.abilist: ... here.
49656         * sysdeps/unix/sysv/linux/arm/nptl/librt.abilist: Moved ...
49657         * sysdeps/unix/sysv/linux/arm/librt.abilist: ... here.
49658         * sysdeps/unix/sysv/linux/arm/nptl/libthread_db.abilist: Moved ...
49659         * sysdeps/unix/sysv/linux/arm/libthread_db.abilist: ... here.
49660         * sysdeps/unix/sysv/linux/arm/nptl/libutil.abilist: Moved ...
49661         * sysdeps/unix/sysv/linux/arm/libutil.abilist: ... here.
49662         * sysdeps/unix/sysv/linux/arm/nptl/localplt.data: Moved ...
49663         * sysdeps/unix/sysv/linux/arm/localplt.data: ... here.
49664         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.h: Moved ...
49665         * sysdeps/unix/sysv/linux/arm/lowlevellock.h: ... here.
49666         * sysdeps/unix/sysv/linux/arm/nptl/sysdep-cancel.h: Moved ...
49667         * sysdeps/unix/sysv/linux/arm/sysdep-cancel.h: ... here.
49668         * sysdeps/unix/sysv/linux/arm/nptl/unwind-forcedunwind.c: Moved ...
49669         * sysdeps/unix/sysv/linux/arm/unwind-forcedunwind.c: ... here.
49670         * sysdeps/unix/sysv/linux/arm/nptl/unwind-resume.c: Moved ...
49671         * sysdeps/unix/sysv/linux/arm/unwind-resume.c: ... here.
49673         * sysdeps/unix/sysv/linux/arm/Versions (libc: GLIBC_PRIVATE): New set.
49674         * sysdeps/unix/sysv/linux/arm/nptl/Versions: File removed.
49676         * sysdeps/unix/sysv/linux/arm/Makefile
49677         [$(subdir) = rt] (librt-sysdep_routines, librt-shared-only-routines):
49678         Add rt-aeabi_unwind_cpp_pr1.
49679         [$(subdir) = nptl] (librt-sysdep_routines, librt-shared-only-routines):
49680         Add nptl-aeabi_unwind_cpp_pr1.
49681         [$(subdir) = nptl] (tests): Filter out tst-cleanupx4.
49682         * sysdeps/unix/sysv/linux/arm/nptl/Makefile: File removed.
49683         * sysdeps/unix/sysv/linux/arm/nptl/rt-aeabi_unwind_cpp_pr1.c: Move ...
49684         * sysdeps/unix/sysv/linux/arm/rt-aeabi_unwind_cpp_pr1.c: ... here.
49685         * sysdeps/unix/sysv/linux/arm/nptl/nptl-aeabi_unwind_cpp_pr1.c: Move ...
49686         * sysdeps/unix/sysv/linux/arm/nptl-aeabi_unwind_cpp_pr1.c: ... here.
49688         * sysdeps/unix/sysv/linux/arm/configure.ac: Force -fexceptions here.
49689         * sysdeps/unix/sysv/linux/arm/configure: Regenerated.
49690         * sysdeps/unix/sysv/linux/arm/nptl/configure.ac: File removed.
49691         * sysdeps/unix/sysv/linux/arm/nptl/configure: File removed.
49693         * sysdeps/unix/sysv/linux/arm/clone.S: Include <tcb-offsets.h>.
49694         Deconditionalize the code that was previously under [RESET_PID].
49695         * sysdeps/unix/sysv/linux/arm/nptl/clone.S: File removed.
49697         * sysdeps/generic/exit-thread.h: New file.
49698         * sysdeps/unix/sysv/linux/exit-thread.h: New file.
49699         * include/unistd.h (__exit_thread): Remove declaration.
49700         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Drop exit-thread.
49701         * sysdeps/unix/sysv/linux/exit-thread.S: File removed.
49702         * csu/libc-start.c: Include <exit-thread.h>.
49703         (LIBC_START_MAIN): Pass no argument to __exit_thread.
49704         * nptl/pthread_create.c: Include <exit-thread.h>.
49705         (start_thread): Call __exit_thread in place of __exit_thread_inline.
49706         * nptl/sysdeps/i386/pthreaddef.h (__exit_thread_inline): Macro removed.
49707         * nptl/sysdeps/powerpc/pthreaddef.h: Likewise.
49708         * nptl/sysdeps/s390/pthreaddef.h: Likewise.
49709         * nptl/sysdeps/sh/pthreaddef.h: Likewise.
49710         * nptl/sysdeps/sparc/sparc32/pthreaddef.h: Likewise.
49711         * nptl/sysdeps/sparc/sparc64/pthreaddef.h: Likewise.
49712         * nptl/sysdeps/x86_64/pthreaddef.h: Likewise.
49713         * sysdeps/aarch64/nptl/pthreaddef.h: Likewise.
49714         * sysdeps/alpha/nptl/pthreaddef.h: Likewise.
49715         * sysdeps/arm/nptl/pthreaddef.h: Likewise.
49716         * sysdeps/hppa/nptl/pthreaddef.h: Likewise.
49717         * sysdeps/ia64/nptl/pthreaddef.h: Likewise.
49718         * sysdeps/m68k/nptl/pthreaddef.h: Likewise.
49719         * sysdeps/microblaze/nptl/pthreaddef.h: Likewise.
49720         * sysdeps/mips/nptl/pthreaddef.h: Likewise.
49721         * sysdeps/tile/nptl/pthreaddef.h: Likewise.
49723 2014-05-13  Andreas Schwab  <schwab@suse.de>
49725         * sysdeps/unix/grantpt.c (grantpt): Fix typo in assertion.
49727 2014-05-12  Joseph Myers  <joseph@codesourcery.com>
49729         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__]
49730         (__ASSUME_UTIMES): Do not condition on kernel version.
49731         (__ASSUME_PSELECT): Define unconditionally.
49732         (__ASSUME_PPOLL): Likewise.
49733         (__ASSUME_ATFCTS): Likewise.
49734         (__ASSUME_SET_ROBUST_LIST): Do not condition on kernel version.
49735         (__ASSUME_COMPLETE_READV_WRITEV): Define unconditionally.
49736         (__ASSUME_FUTEX_LOCK_PI): Do not condition on kernel version.
49737         (__ASSUME_UTIMENSAT): Define unconditionally.
49738         (__ASSUME_PRIVATE_FUTEX): Likewise.
49739         (__ASSUME_FALLOCATE): Likewise.
49740         (__ASSUME_O_CLOEXEC): Likewise.
49741         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Remove.
49742         (__ASSUME_ARG_MAX_STACK_BASED): Likewise.
49743         (__ASSUME_ADJ_OFFSET_SS_READ): Define unconditionally.
49744         (__ASSUME_SOCK_CLOEXEC): Do not condition on kernel version.
49745         (__ASSUME_IN_NONBLOCK): Likewise.
49746         (__ASSUME_PIPE2): Likewise.
49747         (__ASSUME_EVENTFD2): Likewise.
49748         (__ASSUME_SIGNALFD4): Likewise.
49749         (__ASSUME_DUP3): Likewise.
49750         [__x86_64__ || __sparc__] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
49751         (__ASSUME_FUTEX_CLOCK_REALTIME): Define unconditionally.
49752         (__ASSUME_AT_RANDOM): Likewise.
49753         (__ASSUME_PREADV): Likewise.
49754         (__ASSUME_PWRITEV): Likewise.
49755         (__ASSUME_REQUEUE_PI): Do not condition on kernel version.
49756         (__ASSUME_F_GETOWN_EX): Define unconditionally.
49757         (__ASSUME_XFS_RESTRICTED_CHOWN): Likewise.
49758         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
49759         [!__ASSUME_ARG_MAX_STACK_BASED]: Remove conditional code.
49760         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
49761         (__ASSUME_O_CLOEXEC): Define unconditionally.
49762         (__ASSUME_PSELECT): Do not undefine conditionally.
49763         (__ASSUME_PPOLL): Likewise.
49764         (__ASSUME_ATFCTS): Likewise.
49765         (__ASSUME_SET_ROBUST_LIST): Likewise.
49766         (__ASSUME_UTIMENSAT): Likewise.
49767         (__ASSUME_FDATASYNC): Define unconditionally.
49768         * sysdeps/unix/sysv/linux/arm/kernel-features.h
49769         (__ASSUME_SIGFRAME_V2): Likewise.
49770         )__ASSUME_EVENTFD2): Likewise.
49771         (__ASSUME_SIGNALFD4): Likewise.
49772         (__ASSUME_PSELECT): Do not undefine conditionally.
49773         (__ASSUME_PPOLL): Likewise.
49774         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
49775         (__ASSUME_PSELECT): Define unconditionally.
49776         (__ASSUME_PPOLL): Likewise.
49777         (__ASSUME_O_CLOEXEC): Likewise.
49778         (__ASSUME_SOCK_CLOEXEC): Likewise.
49779         (__ASSUME_IN_NONBLOCK): Likewise.
49780         (__ASSUME_PIPE2): Likewise.
49781         (__ASSUME_EVENTFD2): Likewise.
49782         (__ASSUME_SIGNALFD4): Likewise.
49783         (__ASSUME_DUP3): Likewise.
49784         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
49785         (__ASSUME_O_CLOEXEC): Likewise.
49786         (__ASSUME_SOCK_CLOEXEC): Likewise.
49787         (__ASSUME_IN_NONBLOCK): Likewise.
49788         (__ASSUME_PIPE2): Likewise.
49789         (__ASSUME_EVENTFD2): Likewise.
49790         (__ASSUME_SIGNALFD4): Likewise.
49791         (__ASSUME_DUP3): Likewise.
49792         * sysdeps/unix/sysv/linux/mips/kernel-features.h
49793         (__ASSUME_EVENTFD2): Likewise.
49794         (__ASSUME_SIGNALFD4): Likewise.
49795         (__ASSUME_ACCEPT4_SYSCALL): Likewise.
49797 2014-05-12  Andreas Schwab  <schwab@suse.de>
49799         [BZ #16932]
49800         * nis/nss_nis/nis-hosts.c (internal_gethostbyname2_r)
49801         (_nss_nis_gethostbyname4_r): Return error if item length is larger
49802         than maximum RPC packet size.
49803         * nis/nss_nis/nis-initgroups.c (initgroups_netid): Likewise.
49804         * nis/nss_nis/nis-network.c (_nss_nis_getnetbyname_r): Likewise.
49805         * nis/nss_nis/nis-service.c (_nss_nis_getservbyname_r)
49806         (_nss_nis_getservbyport_r): Likewise.
49808 2014-05-12  Will Newton  <will.newton@linaro.org>
49810         * malloc/Makefile (tests): Add tst-mallopt.
49811         * malloc/tst-mallopt.c: New file.
49813 2014-05-09  Roland McGrath  <roland@hack.frob.com>
49815         * sysdeps/arm/armv7/strcmp.S: Use sfi_breg prefix on loads not from sp.
49816         [NO_THUMB]: Cope without cbz, cnbz, and orn instructions.
49818 2014-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49820         * elf/Makefile (tst-tlsmod5.so): Add $(no-as-needed).
49821         (tst-tlsmod6.so): Likewise.
49823 2014-05-09  Roland McGrath  <roland@hack.frob.com>
49825         * sysdeps/gnu/unwind-resume.c (libgcc_s_resume): Mark as noreturn.
49827 2014-05-09  Joseph Myers  <joseph@codesourcery.com>
49829         [BZ #16064]
49830         * sysdeps/i386/fpu/fegetenv.c: Include <unistd.h>, <ldsodefs.h>
49831         and <dl-procinfo.h>.
49832         (__fegetenv): Save SSE state in envp->__eip if supported.
49833         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Save SSE state in
49834         envp->__eip if supported.
49835         * sysdeps/i386/fpu/fesetenv.c: Include <unistd.h>, <ldsodefs.h>
49836         and <dl-procinfo.h>.
49837         (__fesetenv): Always set __eip, __cs_selector, __opcode,
49838         __data_offset and __data_selector in environment to 0.  Set SSE
49839         state if supported.
49840         * sysdeps/x86/fpu/Makefile [$(subdir) = math] (tests): Add
49841         test-fenv-sse.
49842         [$(subdir) = math] (CFLAGS-test-fenv-sse.c): Add -msse2
49843         -mfpmath=sse.
49844         * sysdeps/x86/fpu/test-fenv-sse.c: New file.
49846 2014-05-09  Will Newton  <will.newton@linaro.org>
49848         * sysdeps/arm/preconfigure.ac: Set libc_commonpagesize
49849         and libc_relro_required for ARM.
49850         * sysdeps/arm/preconfigure: Regenerate.
49852 2014-05-09  Dominik Vogt  <vogt@linux.vnet.ibm.com>
49853             Stefan Liebler  <stli@linux.vnet.ibm.com>
49855         * config.make.in (enable-lock-elision): New Makefile variable.
49856         * configure.ac: Likewise.
49857         * configure: Regenerate.
49858         * sysdeps/s390/configure.ac:
49859         Add check for gcc transactions support.
49860         * sysdeps/s390/configure: Regenerate.
49861         * nptl/sysdeps/unix/sysv/linux/s390/Makefile: New file.
49862         Build elision files if enabled.
49863         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.c: New file.
49864         Add lock elision support for s390.
49865         * nptl/sysdeps/unix/sysv/linux/s390/elision-conf.h: Likewise.
49866         * nptl/sysdeps/unix/sysv/linux/s390/elision-lock.c: Likewise.
49867         * nptl/sysdeps/unix/sysv/linux/s390/elision-timed.c: Likewise.
49868         * nptl/sysdeps/unix/sysv/linux/s390/elision-trylock.c: Likewise.
49869         * nptl/sysdeps/unix/sysv/linux/s390/elision-unlock.c: Likewise.
49870         * nptl/sysdeps/unix/sysv/linux/s390/force-elision.h: Likewise.
49871         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_cond_lock.c:
49872         Likewise.
49873         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_lock.c:
49874         Likewise.
49875         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_timedlock.c:
49876         Likewise.
49877         * nptl/sysdeps/unix/sysv/linux/s390/pthread_mutex_trylock.c:
49878         Likewise.
49879         * nptl/sysdeps/unix/sysv/linux/s390/lowlevellock.h:
49880         (__lll_timedlock_elision, __lll_lock_elision)
49881         (__lll_unlock_elision, __lll_trylock_elision)
49882         (lll_timedlock_elision, lll_lock_elision)
49883         (lll_unlock_elision, lll_trylock_elision): Add.
49884         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
49885         (pthread_mutex_t): Add lock elision support for s390.
49887 2014-05-14  Wilco  <wdijkstr@arm.com>
49889         * sysdeps/arm/fclrexcpt.c: Cleanup.
49890         * sysdeps/arm/fedisblxcpt.c: Cleanup.
49891         * sysdeps/arm/feenablxcpt.c: Cleanup.
49892         * sysdeps/arm/fegetenv.c: Cleanup.
49893         * sysdeps/arm/fegetexcept.c: Cleanup.
49894         * sysdeps/arm/fegetround.c: Cleanup.
49895         * sysdeps/arm/feholdexcpt.c: Cleanup.
49896         * sysdeps/arm/fesetenv.c: Cleanup.
49897         * sysdeps/arm/fesetround.c: Cleanup.
49898         * sysdeps/arm/feupdateenv.c: Cleanup.
49899         * sysdeps/arm/fgetexcptflg.c: Cleanup.
49900         * sysdeps/arm/fraiseexcpt.c: Cleanup.
49901         * sysdeps/arm/fsetexcptflg.c: Cleanup.
49902         * sysdeps/arm/ftestexcept.c: Cleanup.
49903         * sysdeps/arm/get-rounding-mode.h: Cleanup.
49904         * sysdeps/arm/setfpucw.c: Cleanup.
49906 2014-05-09  Will Newton  <will.newton@linaro.org>
49908         * sysdeps/arm/armv7/strcmp.S: New file.
49909         * NEWS: Mention addition of ARMv7 optimized strcmp.
49911 2014-05-08  Roland McGrath  <roland@hack.frob.com>
49913         * Makeconfig ($(common-objpfx)config.status): Fix patsubst uses to
49914         look for %.ac rather than %.in.
49916         * sysdeps/mach/hurd/configure.ac (inhibit_glue): Remove variable.
49917         * sysdeps/unix/sysv/linux/configure.ac: Likewise.
49918         * sysdeps/mach/hurd/configure: Regenerated.
49919         * sysdeps/unix/sysv/linux/configure: Regenerated.
49921         * bits/utsname.h (_UTSNAME_DOMAIN_LENGTH): New macro, set to 0.
49923 2014-05-07  Steve Ellcey  <sellcey@mips.com>
49925         [BZ #16922]
49926         * sysdeps/mips/sys/asm.h (INT_SUB): Fix definition.
49927         (LONG_SUB): Ditto.
49928         (PTR_SUB): Ditto.
49930 2014-05-07  Andreas Schwab  <schwab@suse.de>
49932         * sysdeps/posix/getaddrinfo.c (gaih_inet): Advance address pointer
49933         when skipping over non-matching result from nscd.
49935 2014-05-07  Ondřej Bílka  <neleai@seznam.cz>
49937         [BZ #16876]
49938         * nptl/sockperf.c (client): Check socket return value.
49940         [BZ #16877]
49941         * nscd/selinux.c (nscd_request_avc_has_perm): Check if there is
49942         nscd security class.
49944 2014-05-06  Roland McGrath  <roland@hack.frob.com>
49946         * sysdeps/unix/sysv/linux/arm/nptl/unwind.h: File moved to ...
49947         * sysdeps/arm/unwind.h: ... here.
49949 2014-05-06  Aurelien Jarno  <aurelien@aurel32.net>
49951         [BZ #16916]
49952         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h (EFD_SEMAPHORE):
49953         Define.
49955 2014-05-06  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
49957         * sysdeps/powerpc/powerpc64/power7/strncpy.S: New file: Optimization.
49958         * sysdeps/powerpc/powerpc64/multiarch/strncpy.c: New file:
49959         multiarch strncpy for PPC64.
49960         * sysdeps/powerpc/powerpc64/multiarch/strncpy-ppc64.c: New file
49961         * sysdeps/powerpc/powerpc64/multiarch/strncpy-power7.S: New file
49962         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpcpy, stpncpy
49963         multiarch optimizations.
49964         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
49965         (__libc_ifunc_impl_list): Likewise.
49966         * sysdeps/powerpc/powerpc64/power7/stpncpy.S: New file: Optimization.
49967         * sysdeps/powerpc/powerpc64/multiarch/stpncpy.c: New file:
49968         multiarch stpncpy for PPC64.
49969         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-ppc64.c: New file
49970         * sysdeps/powerpc/powerpc64/multiarch/stpncpy-power7.S: New file
49972 2014-05-06  Andreas Schwab  <schwab@suse.de>
49974         [BZ #16912]
49975         * gmon/mcount.c (_MCOUNT_DECL): Use
49976         atomic_compare_and_exchange_bool_acq instead of
49977         catomic_compare_and_exchange_bool_acq.
49979 2014-05-05  Roland McGrath  <roland@hack.frob.com>
49981         * elf/Makefile (others, install-bin): Remove pldd.
49982         (pldd-modules): Variable removed.
49983         ($(objpfx)pldd): Target removed.
49984         * sysdeps/unix/sysv/linux/Makefile [$(subdir) = elf]
49985         (others, install-bin): Append pldd here.
49986         ($(objpfx)pldd): New target.
49988         * sysdeps/gnu/errlist.awk (BEGIN): Emit an initial #define of ERR_MAX
49989         to 0, so the first #if test emitted later doesn't see it undefined.
49990         (END): Emit "!defined ERRLIST_NO_COMPAT" to match what BEGIN does.
49991         * sysdeps/gnu/errlist.c: Regenerated.
49993 2014-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
49995         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c
49996         [libc_hidden_builtin_def]: Define to empty value.
49997         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S:
49998         [libc_hidden_builtin_def]: Likewise.
49999         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S:
50000         [libc_hidden_builtin_def]: Likewise.
50001         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S:
50002         [libc_hidden_builtin_def]: Likewise.
50003         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c (memcpy): Redefined to
50004         __redirect_memcpy and define ifunc as default hidden symbol.
50005         * sysdeps/powerpc/powerpc64/multiarch/memset.c (memset): Likewise.
50006         * sysdeps/powerpc/powerpc64/multiarch/strlen.c (strlen): Likewise.
50008 2014-05-04  Adam Conrad  <adconrad@0c3.net>
50010         * locale/iso-4217.def: Reintroduce XDR currency.
50012 2014-05-04  Allan McRae  <allan@archlinux.org>
50014         * po/eo.po: Update Esperanto translation from translation project.
50016 2014-05-02  Carlos O'Donell  <carlos@redhat.com>
50018         * sysdeps/x86_64/multiarch/init-arch.h: Define FEATURE_INDEX_1 to 0,
50019         and FEATURE_INDEX_MAX to 1.
50020         [!__ASSEMBLER__]: Remove anonymous enum for FEATURE_INDEX_*.
50022 2014-05-01  Steve Ellcey  <sellcey@mips.com>
50024         * iconvdata/ansi_x3.110.c (ONE_DIRECTION): Define.
50025         * iconvdata/armscii-8.c (ONE_DIRECTION): Define.
50026         * iconvdata/big5.c (ONE_DIRECTION): Define.
50027         * iconvdata/big5hkscs.c (ONE_DIRECTION): Define.
50028         * iconvdata/cp1255.c (ONE_DIRECTION): Define.
50029         * iconvdata/cp1258.c (ONE_DIRECTION): Define.
50030         * iconvdata/cp932.c (ONE_DIRECTION): Define.
50031         * iconvdata/euc-cn.c (ONE_DIRECTION): Define.
50032         * iconvdata/euc-jisx0213.c (ONE_DIRECTION): Define.
50033         * iconvdata/euc-jp-ms.c (ONE_DIRECTION): Define.
50034         * iconvdata/euc-jp.c (ONE_DIRECTION): Define.
50035         * iconvdata/euc-kr.c (ONE_DIRECTION): Define.
50036         * iconvdata/euc-tw.c (ONE_DIRECTION): Define.
50037         * iconvdata/gb18030.c (ONE_DIRECTION): Define.
50038         * iconvdata/gbbig5.c (ONE_DIRECTION): Define.
50039         * iconvdata/gbgbk.c (ONE_DIRECTION): Define.
50040         * iconvdata/gbk.c (ONE_DIRECTION): Define.
50041         * iconvdata/ibm1364.c (ONE_DIRECTION): Define.
50042         * iconvdata/ibm930.c (ONE_DIRECTION): Define.
50043         * iconvdata/ibm932.c (ONE_DIRECTION): Define.
50044         * iconvdata/ibm933.c (ONE_DIRECTION): Define.
50045         * iconvdata/ibm935.c (ONE_DIRECTION): Define.
50046         * iconvdata/ibm937.c (ONE_DIRECTION): Define.
50047         * iconvdata/ibm939.c (ONE_DIRECTION): Define.
50048         * iconvdata/ibm943.c (ONE_DIRECTION): Define.
50049         * iconvdata/iso-2022-cn-ext.c (ONE_DIRECTION): Define.
50050         * iconvdata/iso-2022-cn.c (ONE_DIRECTION): Define.
50051         * iconvdata/iso-2022-jp-3.c (ONE_DIRECTION): Define.
50052         * iconvdata/iso-2022-jp.c (ONE_DIRECTION): Define.
50053         * iconvdata/iso-2022-kr.c (ONE_DIRECTION): Define.
50054         * iconvdata/iso646.c (ONE_DIRECTION): Define.
50055         * iconvdata/iso8859-1.c (ONE_DIRECTION): Define.
50056         * iconvdata/iso_11548-1.c (ONE_DIRECTION): Define.
50057         * iconvdata/iso_6937-2.c (ONE_DIRECTION): Define.
50058         * iconvdata/iso_6937.c (ONE_DIRECTION): Define.
50059         * iconvdata/johab.c (ONE_DIRECTION): Define.
50060         * iconvdata/shift_jisx0213.c (ONE_DIRECTION): Define.
50061         * iconvdata/sjis.c (ONE_DIRECTION): Define.
50062         * iconvdata/t.61.c (ONE_DIRECTION): Define.
50063         * iconvdata/tcvn5712-1.c (ONE_DIRECTION): Define.
50064         * iconvdata/tscii.c (ONE_DIRECTION): Define.
50065         * iconvdata/uhc.c (ONE_DIRECTION): Define.
50066         * iconvdata/unicode.c (ONE_DIRECTION): Define.
50067         * iconvdata/utf-16.c (ONE_DIRECTION): Define.
50068         * iconvdata/utf-32.c (ONE_DIRECTION): Define.
50069         * iconvdata/utf-7.c (ONE_DIRECTION): Define.
50071 2014-05-01  Roland McGrath  <roland@hack.frob.com>
50073         * libio/libioP.h [!_IO_USE_OLD_IO_FILE && !_G_IO_NO_BACKWARD_COMPAT]
50074         (_IO_JUMPS_OFFSET): Define to 0.
50076         * nptl/sysdeps/pthread/bits/libc-lock.h
50077         [_LIBC && (!NOT_IN_libc || IS_IN_libpthread)]
50078         (__libc_lock_define_initialized_recursive): Always define using
50079         initializer.  Modern compilers treat uninitialized (implicit zero) and
50080         explicit zero initializers the same (i.e. put the datum in bss).
50082 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
50084         * nscd/nscd-client.h: Include <string.h>.
50086 2014-05-01  David S. Miller  <davem@davemloft.net>
50088         [BZ #16885]
50089         * sysdeps/sparc/sparc64/strcmp.S: Fix end comparison handling when
50090         multiple zero bytes exist at the end of a string.
50091         Reported by Aurelien Jarno <aurelien@aurel32.net>
50093         * string/test-strcmp.c (check): Add explicit test for situations where
50094         there are multiple zero bytes after the first.
50096 2014-05-01  Andreas Schwab  <schwab@linux-m68k.org>
50098         [BZ #16890]
50099         * stdio-common/vfprintf.c (process_arg) [%p]: Mark string as wide
50100         when compiling wprintf.
50101         * stdio-common/tstdiomisc.c (t3): New function.
50102         (main): Call it.
50104 2014-05-01  Steve Ellcey  <sellcey@mips.com>
50106         * intl/iconv/skeleton.c (ONE_DIRECTION): Remove define.
50107         * iconv/gconv_simple.c (ONE_DIRECTION): Define.
50108         * iconvdata/8bit-gap.c (ONE_DIRECTION): Ditto.
50109         * iconvdata/8bit-generic.c (ONE_DIRECTION): Ditto.
50111 2014-05-01  Steve Ellcey  <sellcey@mips.com>
50113         * stdlib/longlong.h: Updated from GCC.
50115 2014-05-01  Will Newton  <will.newton@linaro.org>
50116             Bernard Ogden  <bernie.ogden@linaro.org>
50118         * NEWS: Update fixed bug list.
50120         [BZ #15119]
50121         * sysdeps/unix/sysv/linux/arm/nptl/lowlevellock.c: Remove file.
50123 2014-04-30  David S. Miller  <davem@davemloft.net>
50125         * sysdeps/sparc/fpu/fenv_private.h (HAVE_RM_CTX): Define.
50126         (libc_feholdexcept_setround_sparc_ctx): New function.
50127         (libc_fesetenv_sparc_ctx): Likewise.
50128         (libc_feupdateenv_sparc_ctx): Likewise.
50129         (libc_feholdsetround_sparc_ctx): Likewise.
50130         (libc_feholdexcept_setround_ctx): Define.
50131         (libc_feholdexcept_setroundf_ctx): Likewise.
50132         (libc_feholdexcept_setroundl_ctx): Likewise.
50133         (libc_fesetenv_ctx): Likewise.
50134         (libc_fesetenvf_ctx): Likewise.
50135         (libc_fesetenvl_ctx): Likewise.
50136         (libc_feupdateenv_ctx): Likewise.
50137         (libc_feupdateenvf_ctx): Likewise.
50138         (libc_feupdateenvl_ctx): Likewise.
50139         (libc_feresetround_ctx): Likewise.
50140         (libc_feresetroundf_ctx): Likewise.
50141         (libc_feresetroundl_ctx): Likewise.
50142         (libc_feholdsetround_ctx): Likewise.
50143         (libc_feholdsetroundf_ctx): Likewise.
50144         (libc_feholdsetroundl_ctx): Likewise.
50146         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
50147         with __USE_GNU instead of XOPEN cpp guards.
50149         * sysdeps/sparc/bits/string.h (_STRING_ARCH_unaligned): Define to
50150         0.
50152         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (EMT_TAGOVF): Protect
50153         with XOPEN cpp guards.
50155 2014-04-30  Julian Brown  <julian@codesourcery.com>
50157         [BZ #16888]
50158         * sysdeps/arm/dl-machine.h (elf_machine_rela): Fix R_ARM_IRELATIVE
50159         handling.
50161 2014-04-30  Joseph Myers  <joseph@codesourcery.com>
50163         [BZ #9894]
50164         * sysdeps/unix/sysv/linux/configure.ac (LIBC_LINUX_VERSION):
50165         Change to 2.6.32.
50166         (arch_minimum_kernel): Change all 2.6.16 settings to 2.6.32.
50167         * sysdeps/unix/sysv/linux/configure: Regenerated.
50168         * sysdeps/unix/sysv/linux/microblaze/configure.ac: Remove file.
50169         * sysdeps/unix/sysv/linux/microblaze/configure: Likewise.
50170         * sysdeps/unix/sysv/linux/tile/configure.ac: Likewise.
50171         * sysdeps/unix/sysv/linux/tile/configure: Likewise.
50172         * README: Update reference to required Linux kernel version.
50173         * manual/install.texi (Linux): Update reference to required Linux
50174         kernel headers version.
50175         * INSTALL: Regenerated.
50177         * conform/data/stdlib.h-data [POSIX] (stddef.h): Do not allow
50178         header inclusion.
50179         [POSIX] (limits.h): Likewise.
50180         [POSIX] (math.h): Likewise.
50181         [POSIX] (sys/wait.h): Likewise.
50182         * conform/data/string.h-data [POSIX || UNIX98] (strtok_r): Require
50183         function.
50184         [POSIX] (stddef.h): Do not allow header inclusion.
50186 2014-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50188         * sysdeps/generic/symbol-hacks.h (memcpy): Add internal alias.
50190 2014-04-30  Yang Yingliang  <yangyingliang@huawei.com>
50192         * nptl/pthread_cond_broadcast.c (__pthread_cond_broadcast):
50193         Return immediately after lll_futex_wake.
50195 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
50197         [BZ #16791]
50198         * nscd/nscd-client.h (datahead_init_common): Initialize entire
50199         structure.
50200         (datahead_init_pos): Call datahead_init_common early.
50201         (datahead_init_neg): Likewise.
50203         * nscd/nscd-client.h (datahead_init_common, datahead_init_pos,
50204         datahead_init_neg): New functions.
50205         * nscd/aicache.c (addhstaiX): Use them.
50206         * nscd/grpcache.c (cache_addgr): Likewise.
50207         * nscd/hstcache.c (cache_addhst): Likewise.
50208         * nscd/initgrcache.c (addinitgroupsX): Likewise.
50209         * nscd/netgroupcache.c (do_notfound): Likewise.
50210         (addgetnetgrentX): Likewise.
50211         (addinnetgrX): Likewise.
50212         * nscd/pwdcache.c (cache_addpw): Likewise.
50213         * nscd/servicescache.c (cache_addserv): Likewise.
50215 2014-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
50216             Atsushi Onoe  <atsushi@onoe.org>
50218         [BZ #14308]
50219         [BZ #12994]
50220         [BZ #13651]
50221         * resolv/res_query.c (__libc_res_nsearch): Return if at least
50222         one response is valid.
50223         * resolv/res_send.c (send_dg): Check for validity of other
50224         response if the current response is a referral.
50226 2014-04-29  Steve Ellcey  <sellcey@mips.com>
50228         * iconv/skeleton.c (ONE_DIRECTION): Set default value if not set.
50230 2014-04-29  Stefan Liebler  <stli@linux.vnet.ibm.com>
50232         [BZ #16823]
50233         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl):
50234         Always divide by positive zero when computing -Inf result.
50235         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
50236         * sysdeps/ieee754/flt-32/s_log1pf.c (__log1pf): Likewise.
50238 2014-04-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50240         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Do not update
50241         FPSCR if value do not change.
50242         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
50243         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Likewise.
50244         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Likewise.
50245         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
50246         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Likewise.
50247         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_reg_to_exceptions): New helper
50248         function.
50250 2014-05-29  Carlos O'Donell  <carlos@systemhalted.org>
50252         * sysdeps/hppa: Move directory from ports/sysdeps/hppa.
50253         * sysdeps/unix/sysv/linux/hppa: Move directory from
50254         ports/systeps/unix/sysv/linux/hppa.
50255         * README: Update listing for hppa-*-linux-gnu.
50257 2014-04-28  Ondřej Bílka  <neleai@seznam.cz>
50259         [BZ #16754]
50260         * manual/stdio.texi (Hook functions): Fix types of stream hook
50261         functions.
50262         [BZ #16854]
50263         * socket/sys/socket.h: Fix typo in comment.
50265 2014-04-28  Wilco  <wdijkstr@arm.com>
50267         * sysdeps/arm/fenv_private.h: New file.
50268         * sysdeps/arm/math_private.h: New file.
50269         * sysdeps/arm/fpu_control.h: Add _FPU_MASK_NCZV and _FPU_MASK_EXCEPT.
50271 2014-04-25  H.J. Lu  <hongjiu.lu@intel.com>
50273         * sysdeps/x86/bits/link.h (La_x86_64_regs): Replace __int128
50274         with __int128_t.
50275         (La_x86_64_retval): Likewise.
50277 2014-04-24  Ian Bolton  <ian.bolton@arm.com>
50279         * sysdeps/aarch64/fpu/fclrexcpt.c (feclearexcept): Don't write to
50280         fpsr if value didn't change.
50281         * sysdeps/aarch64/fpu/fedisblxcpt.c (fedisableexcept): Don't write
50282         to fpcr if value didn't change.
50283         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Likewise.
50284         * sysdeps/aarch64/fpu/feholdexcpt.c (feholdexcept): Don't write to
50285         fpsr or fpcr if value didn't change.
50286         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
50287         * sysdeps/aarch64/fpu/fesetround.c (fesetround): Don't write to
50288         fpcr if value didn't change.
50289         * sysdeps/aarch64/fpu/fsetexcptflg.c (fesetexceptflag): Don't write
50290         to fpsr if value didn't change.
50292 2014-02-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
50294         * nptl/tst-sem3.c: Use test-skeleton.c
50295         (main): Rename to do_test.  Use return instead of
50296         exit.
50297         * nptl/tst-sem4.c: Use test-skeleton.c
50298         (main): Rename to do_test.
50300 2014-04-22  David S. Miller  <davem@davemloft.net>
50302         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h
50303         (struct sigaction): New struct member __glibc_reserved0, change
50304         type of sa_flags to int.
50306 2014-04-22  Yufeng Zhang  <yufeng.zhang@arm.com>
50308         * stdlib/longlong.h (count_leading_zeros, count_trailing_zeros)
50309         (COUNT_LEADING_ZEROS_0): Define for AArch64.
50311 2014-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
50313         * nptl/sysdeps/unix/sysv/linux/sem_trywait.c: Include atomic.h.
50314         * nptl/sysdeps/unix/sysv/linux/sem_wait.c: Likewise.
50316 2014-04-22  Will Newton  <will.newton@linaro.org>
50317             Venkataramanan Kumar  <venkataramanan.kumar@linaro.org>
50319         * sysdeps/aarch64/__longjmp.S: Include stap-probe.h.
50320         (__longjmp): Add longjmp and longjmp_target SystemTap
50321         probes.
50322         * sysdeps/aarch64/setjmp.S: Include stap-probe.h.
50323         (__sigsetjmp): Add setjmp SystemTap probe.
50325 2014-04-17  Carlos O'Donell  <carlos@redhat.com>
50327         * manual/intro.texi (Roadmap to the manual): Sort chapter listing to
50328         match manual order.
50330 2014-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50332         * nptl/sysdeps/unix/sysv/linux/powerpc/pthread_once.c: Remove file.
50334         * sysdeps/powerpc/fpu/fenv_private.h
50335         (libc_feholdexcept_setroundl_ctx): Define to
50336         libc_feholdexcept_setround_ppc_ctx.
50337         (libc_fesetenvl_ctx): Define to libc_fesetenv_ppc_ctx.
50338         (libc_feholdsetroundl_ctx): Define to libc_feholdsetround_ppc_ctx.
50339         (libc_feresetroundl_ctx): Define to libc_feresetround_ppc_ctx.
50340         (libc_feupdateenvl_ctx): libc_feupdateenv_ppc_ctx.
50342 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
50344         * sysdeps/aarch64/math-tests.h: New file.
50346 2014-04-17  Sihai Yao  <sihai.ysh@alibaba-inc.com>
50348         * sysdeps/x86_64/multiarch/ifunc-defines.sym (COMMON_CPUID_INDEX_7):
50349         New.
50350         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
50351         Check and set bit_AVX2_Usable.
50352         * sysdeps/x86_64/multiarch/init-arch.h (bit_AVX2_Usable): New
50353         macro.
50354         (bit_AVX2): Likewise.
50355         (index_AVX2_Usable): Likewise.
50356         (CPUID_AVX2): Likewise.
50357         (HAS_AVX2): Likewise.
50359 2014-04-17  Will Newton  <will.newton@linaro.org>
50361         * manual/setjmp.texi (System V contexts): Add note that
50362         calling setcontext on a context created by a call to a
50363         signal handler is undefined.  Update text to note that
50364         setcontext from a signal handler is possible but not
50365         recommended.
50367         [BZ #16629]
50368         * stdlib/tst-setcontext.c: Include signal.h.
50369         (main): Check that the signal stack before and
50370         after swapcontext is the same.
50372         * sysdeps/unix/sysv/linux/aarch64/setcontext.S (__setcontext):
50373         Re-implement to restore registers in user code and avoid
50374         rt_sigreturn system call.
50376 2014-04-17  Wilco  <wdijkstr@arm.com>
50378         * sysdeps/arm/math-tests.h: New file: Set ARM math-test settings.
50379         * sysdeps/generic/math-tests.h: Add macro (EXCEPTION_ENABLE_SUPPORTED).
50380         * math/test-fenv.c: Skip exception trap tests on targets which only
50381         support non-stop mode.
50383 2014-04-17  Ian Bolton  <ian.bolton@arm.com>
50384             Wilco Dijkstra  <wilco.dijkstra@arm.com>
50386         * sysdeps/aarch64/fpu/math_private.h (HAVE_RM_CTX)
50387         (libc_feholdsetround_aarch64_ctx)
50388         (libc_feholdsetround_ctx, libc_feholdsetroundf_ctx)
50389         (libc_feholdsetroundl_ctx, libc_feresetround_aarch64_ctx)
50390         (libc_feresetround_ctx, libc_feresetroundf_ctx)
50391         (libc_feresetroundl_ctx, libc_feresetround_noex_aarch64_ctx)
50392         (libc_feresetround_noex_ctx, libc_feresetround_noexf_ctx)
50393         (libc_feresetround_noexl_ctx): Define.
50395 2014-04-16  Richard Henderson  <rth@redhat.com>
50397         * sysdeps/unix/sysv/linux/alpha/nptl/pthread_once.c: Remove.
50399         * sysdeps/alpha/Makefile [debug] (CFLAGS-backtrace.c): Enable
50400         unwind tables.
50402         * sysdeps/unix/alpha/sysdep.h (__pointer_chk_guard): Remove
50403         const from the non-libc, non-ldso copy.
50405         * sysdeps/alpha/libm-test-ulps: Regenerate.
50407 2014-04-16  Ian Bolton  <ian.bolton@arm.com>
50408             Wilco Dijkstra  <wilco.dijkstra@arm.com>
50410         * sysdeps/aarch64/fpu/math_private.h: New file.
50412 2014-04-16  Marcus Shawcroft  <marcus.shawcroft@arm.com>
50414         * sysdeps/aarch64/libm-test-ulps: Regenerate.
50416 2014-04-16  Igor Zamyatin  <igor.zamyatin@intel.com>
50418         [BZ #16275]
50419         * sysdeps/x86_64/bits/link.h (La_x86_64_regs): Add lr_bnd.
50420         (La_x86_64_retval): Add lrv_bnd0 and lrv_bnd1.
50421         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Save
50422         Intel MPX bound registers before _dl_profile_fixup.
50423         * sysdeps/x86_64/dl-trampoline.h: Restore Intel MPX bound
50424         registers after _dl_profile_fixup.  Save and restore bound
50425         registers bnd0/bnd1 when calling _dl_call_pltexit.
50426         * sysdeps/x86_64/link-defines.sym (BND_SIZE): New.
50427         (LR_BND_OFFSET): Likewise.
50428         (LRV_BND0_OFFSET): Likewise.
50429         (LRV_BND1_OFFSET): Likewise.
50431 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50433         * sysdeps/mach/hurd/tls.h (dtv, dtv_t, tcbhead_t): Move declarations
50434         to...
50435         * sysdeps/mach/hurd/i386/tls.h: ... here.
50436         (tcbhead_t): Add multiple_threads, sysinfo, stack_guard,
50437         pointer_guard, gscope_flag, private_futex, __private_tm, __private_ss
50438         fields.
50440 2014-04-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
50442         * sysdeps/mach/munmap.c (__munmap): Return EINVAL if `addr' is 0.
50444 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
50446         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
50448 2014-04-16  Stefan Liebler  <stli@linux.vnet.ibm.com>
50450         [BZ #14770]
50451         * sysdeps/s390/configure.ac: Check for Binutils >= 2.24.
50452         * sysdeps/s390/configure: Regenerate.
50454         [BZ #16824]
50455         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l):
50456         Set round-to-nearest internally to reduce error accumulation.
50458 2014-04-16  Alan Modra  <amodra@gmail.com>
50460         [BZ #16740]
50461         [BZ #16619]
50462         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Rewrite.
50463         * math/libm-test.inc (frexp_test_data): Add tests.
50464         * NEWS: Update fixed bug list.
50466 2014-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
50468         * benchtests/Makefile: Depend on libraries in build directory.
50469         (bench-math): Separate out math tests.
50470         (bench-pthread): Separate out pthread tests.
50471         (bench): Include math and pthread tests.
50473 2014-04-14  Carlos O'Donell  <carlos@redhat.com>
50475         [BZ #16831]
50476         * csu/libc-start.c (LIBC_START_MAIN) [!SHARED]: Call
50477         _dl_debug_initialize.
50479         * configure.ac: Remove SELinux header check.
50480         * configure: Regenerate.
50481         * nscd/selinux.c (perms): Array of const char* to permission names.
50482         (nscd_request_avc_has_perm): Call security_deny_unknown to find
50483         default policy. Call string_to_security_class and string_to_av_perm to
50484         translate strings. Enforce default policy and call avs_has_perm with
50485         results of translated strings.
50487 2014-04-13  David S. Miller  <davem@davemloft.net>
50489         * sysdeps/sparc/fpu/libm-test-ulps: Update.
50491 2014-04-12  Allan McRae  <allan@archlinux.org>
50493         [BZ #16838]
50494         * manual/string.texi (Collation Functions): Fix qsort argument
50495         order in example.
50496         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
50498 2014-04-11  Chris Metcalf  <cmetcalf@tilera.com>
50500         * math/test-fenv-preserve.c [FE_ALL_EXCEPT == 0] (do_test):
50501         Make the test a no-op if there are no exceptions defined.
50503 2014-04-11  Paul Pluzhnikov  <ppluzhnikov@google.com>
50505         * elf/Makefile (tests): make tst-dlopen-aout conditional on
50506         enable-hardcoded-path-in-tests
50508 2014-04-11  Will Newton  <will.newton@linaro.org>
50510         * benchtests/Makefile (extra-objs): Add json-lib.o.
50511         (bench-func): Tidy up JSON output.
50512         * benchtests/bench-skeleton.c: Include json-lib.h.
50513         (main): Use JSON library functions to do output of
50514         benchmark results.
50515         * benchtests/bench-timing-type.c (main): Output the
50516         timing type simply, leaving formatting to the user.
50517         * benchtests/json-lib.c: New file.
50518         * benchtests/json-lib.h: Likewise.
50520 2014-04-11  Torvald Riegel  <triegel@redhat.com>
50522         [BZ #15215]
50523         * nptl/sysdeps/unix/sysv/linux/sparc/pthread_once.c: Moved to ...
50524         * nptl/sysdeps/unix/sysv/linux/pthread_once.c: ... here.  Add missing
50525         memory barriers.  Add comments.
50526         * sysdeps/unix/sysv/linux/aarch64/nptl/pthread_once.c: Remove file.
50527         * sysdeps/unix/sysv/linux/arm/nptl/pthread_once.c: Remove file.
50528         * sysdeps/unix/sysv/linux/ia64/nptl/pthread_once.c: Remove file.
50529         * sysdeps/unix/sysv/linux/m68k/nptl/pthread_once.c: Remove file.
50530         * sysdeps/unix/sysv/linux/mips/nptl/pthread_once.c: Remove file.
50531         * sysdeps/unix/sysv/linux/tile/nptl/pthread_once.c: Remove file.
50533 2014-04-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
50535         * sysdeps/s390/s390-32/configure.ac: Unify file with ...
50536         * sysdeps/s390/s390-64/configure.ac: ... this ...
50537         * sysdeps/s390/configure.ac: ... to here.
50538         * sysdeps/s390/s390-32/configure: Delete file.
50539         * sysdeps/s390/s390-64/configure: Delete file.
50540         * sysdeps/s390/configure: Regenerate.
50542 2014-04-11  Joseph Anthony Pasquale Holsten  <joseph@josephholsten.com>
50544         * resolv/res_query.c (__libc_res_nsearch): Fix typo in comment.
50546 2014-04-11  Will Newton  <will.newton@linaro.org>
50548         * malloc/malloc.c [!MALLOC_DEBUG]: #define MALLOC_DEBUG
50549         to zero if it is not defined elsewhere.  (mtrim): Test
50550         the value of MALLOC_DEBUG with #if rather than #ifdef.
50552 2014-04-10 Torvald Riegel  <triegel@redhat.com>
50554         * benchtests/pthread_once-inputs: New file.
50555         * benchtests/pthread_once-source.c: New file.
50556         * benchtests/README: Update documentation.
50558 2014-04-09  Igor Zamyatin  <igor.zamyatin@intel.com>
50559             H.J. Lu  <hongjiu.lu@intel.com>
50561         [BZ #16275]
50562         * config.h.in (HAVE_MPX_SUPPORT): New #undef.
50563         * sysdeps/x86_64/configure.ac: Set HAVE_MPX_SUPPORT.
50564         * sysdeps/x86_64/configure: Regenerated.
50565         * sysdeps/x86_64/dl-trampoline.S (REGISTER_SAVE_AREA): New
50566         macro.
50567         (REGISTER_SAVE_RAX): Likewise.
50568         (REGISTER_SAVE_RCX): Likewise.
50569         (REGISTER_SAVE_RDX): Likewise.
50570         (REGISTER_SAVE_RSI): Likewise.
50571         (REGISTER_SAVE_RDI): Likewise.
50572         (REGISTER_SAVE_R8): Likewise.
50573         (REGISTER_SAVE_R9): Likewise.
50574         (REGISTER_SAVE_BND0): Likewise.
50575         (REGISTER_SAVE_BND1): Likewise.
50576         (REGISTER_SAVE_BND2): Likewise.
50577         (_dl_runtime_resolve): Use them.  Save and restore Intel MPX
50578         bound registers when calling _dl_fixup.
50580 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50582         * bits/string.h (_STRING_ARCH_unaligned): Define it to 0.
50583         * crypt/sha256.c (_STRING_ARCH_unaligned): Check its value instead
50584         of its definition.
50585         * iconv/gconv_simple.c (_STRING_ARCH_unaligned): Likewise.
50586         * iconv/loop.c (_STRING_ARCH_unaligned): Likewise.
50587         * iconv/skeleton.c (_STRING_ARCH_unaligned): Likewise.
50588         * nscd/nscd_gethst_r.c (_STRING_ARCH_unaligned): Likewise.
50589         * nscd/nscd_getserv_r.c (_STRING_ARCH_unaligned): Likewise.
50590         * nscd/nscd_helper.c (_STRING_ARCH_unaligned): Likewise.
50591         * resolv/res_send.c (_STRING_ARCH_unaligned): Likewise.
50593 2014-04-09  Peter Brett  <peter@peter-b.co.uk>
50595         [BZ #15514]
50596         * sysdeps/posix/pathconf.c (__pathconf): Use statvfs64() for
50597         pathconf(_PC_NAME_MAX).
50599 2014-04-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50601         * nptl/sysdeps/pthread/pthread.h (__PTHREAD_MUTEX_HAVE_ELISION):
50602         Remove macro usage.
50603         (__PTHREAD_SPINS): Move definition to ...
50604         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
50605         (__PTHREAD_SPINS): ... here.
50606         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
50607         (__PTHREAD_SPIN): Likewise.
50608         * nptl/sysdeps/unix/sysv/linux/sh/bits/pthreadtypes.h
50609         (__PTHREAD_SPIN): Likewise.
50610         * nptl/sysdeps/unix/sysv/linux/sparc/bits/pthreadtypes.h
50611         (__PTHREAD_SPIN): Likewise.
50612         * nptl/sysdeps/unix/sysv/linux/x86/bits/pthreadtypes.h
50613         (__PTHREAD_SPIN): Likewise.
50614         * sysdeps/unix/sysv/linux/aarch64/nptl/bits/pthreadtypes.h
50615         (__PTHREAD_SPIN): Likewise.
50616         * sysdeps/unix/sysv/linux/alpha/nptl/bits/pthreadtypes.h
50617         (__PTHREAD_SPIN): Likewise.
50618         * sysdeps/unix/sysv/linux/arm/nptl/bits/pthreadtypes.h
50619         (__PTHREAD_SPIN): Likewise.
50620         * sysdeps/unix/sysv/linux/ia64/nptl/bits/pthreadtypes.h
50621         (__PTHREAD_SPIN): Likewise.
50622         * sysdeps/unix/sysv/linux/m68k/nptl/bits/pthreadtypes.h
50623         (__PTHREAD_SPIN): Likewise.
50624         * sysdeps/unix/sysv/linux/microblaze/nptl/bits/pthreadtypes.h
50625         (__PTHREAD_SPIN): Likewise.
50626         * sysdeps/unix/sysv/linux/mips/nptl/bits/pthreadtypes.h
50627         (__PTHREAD_SPIN): Likewise.
50628         * sysdeps/unix/sysv/linux/tile/nptl/bits/pthreadtypes.h
50629         (__PTHREAD_SPIN): Likewise.
50631         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: New file.
50632         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: new file.
50633         * sysdeps/powerpc/powerpc64/power6x/multiarch/Implies: New file.
50634         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove multiarch
50635         imply folder.
50636         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Likewise.
50637         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: Likewise.
50638         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: Likewise.
50639         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: Adjust
50640         correct imply path.
50641         * sysdeps/powerpc/powerpc64/power7/strncat.S (STRLEN): Define correct
50642         strlen symbol for non multi-arch builds.
50643         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (__isnan): Add
50644         missing hidden_def and weak_alias.
50646 2014-04-08  Carlos O'Donell  <carlos@redhat.com>
50648         * manual/ipc.texi (sem_close): AC-unsafe because of aculock.
50650 2014-04-07  Will Newton  <will.newton@linaro.org>
50652         * string/basename.c [HAVE_CONFIG_H]: Remove #ifdef and
50653         and contents.  [!_LIBC] Remove #ifndef and contents.
50654         (basename): Use ANSI prototype.  [_LIBC] Remove #idef.
50655         * string/memccpy.c (__memccpy): Use ANSI prototype.
50656         * string/memfrob.c (memfrob): Likewise.
50657         * string/strcoll.c (STRCOLL): Likewise.
50658         * string/strlen.c (strlen): Likewise.
50659         * string/strtok.c (STRTOK): Likewise.
50660         * string/strcat.c: Remove unused #include of memcopy.h.
50661         (strcat): Use ANSI prototype.
50662         * string/strchr.c: Remove unused #include of memcopy.h.
50663         (strchr): Use ANSI prototype.
50664         * string/strcmp.c: Remove unused #include of memcopy.h.
50665         (strcmp): Use ANSI prototype.
50666         * string/strcpy.c: Remove unused #include of memcopy.h.
50667         (strcpy): Use ANSI prototype.
50669 2014-04-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50671         * Makeconfig (CPPFLAGS): Add config-extra-cppflags to list.
50672         * config.make.in (config-extra-cppflags): Set it from
50673         libc_extra_cppflags.
50674         * configure.ac (libc_extra_cflags): Make it accumulate over
50675         configure fragments.
50676         (libc_extra_cppflags): New flag.
50677         * configure. Regenerate.
50678         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac
50679         (libc_cv_ppc64_def_call_elf): Define it to yes if compiler does
50680         not set _CALL_ELF and add -D_CALL_ELF=1 to libc_extra_cppflags.
50681         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Regenerate.
50683         [BZ #16815]
50684         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (__nearbyint): Fix
50685         result for FE_DOWNWARD rounding mode.
50686         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S (__nearbyintf):
50687         Likewise.
50688         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
50690 2014-04-04  Chris Metcalf  <cmetcalf@tilera.com>
50692         * sysdeps/tile/dl-runtime.c (_dl_unmap): Fix cut-and-paste bug
50693         in function argument name.
50695 2014-04-03  David Svoboda  <svoboda@cert.org>
50697         [BZ #5666]
50698         * manual/stdio.texi (Line-Oriented Input): Document buffer allocation
50699         explicitly.
50701 2014-04-03  Roland McGrath  <roland@hack.frob.com>
50703         * elf/dl-unmap-segments.h: New file.
50704         * sysdeps/generic/ldsodefs.h
50705         (DL_UNMAP): Use _dl_unmap_segments in place of __munmap.
50706         * elf/dl-close.c: Include <dl-unmap-segments.h>.
50707         * elf/dl-fptr.c: Likewise.
50708         (_dl_unmap): Use _dl_unmap_segments in place of __munmap.
50709         * sysdeps/aarch64/tlsdesc.c: Likewise.
50710         * sysdeps/arm/tlsdesc.c: Likewise.
50711         * sysdeps/i386/tlsdesc.c: Likewise.
50712         * sysdeps/tile/dl-runtime.c: Likewise.
50713         * sysdeps/x86_64/tlsdesc.c: Likewise.
50714         * elf/dl-load.h: New file.
50715         * elf/dl-load.c: Include it.
50716         (MAP_FILE, MAP_COPY, MAP_BASE_ADDR):
50717         Macros moved to dl-load.h.
50718         (ELF_PREFERRED_ADDRESS_DATA, ELF_PREFERRED_ADDRESS): Likewise.
50719         (_dl_map_object_from_fd): Type 'struct loadcmd' moved to dl-load.h.
50720         Use _dl_unmap_segments in place of __munmap.
50721         Break out segment-mapping loop into ...
50722         * elf/dl-map-segments.h (_dl_map_segments): ... here, in new file.
50724 2014-04-03  Will Newton  <will.newton@linaro.org>
50726         * elf/dl-lookup.c (do_lookup_x): Remove comment
50727         referring to nested function and move variable
50728         declarations down to before first use.
50730 2014-04-02  Joseph Myers  <joseph@codesourcery.com>
50732         [BZ #16799]
50733         [BZ #16800]
50734         * math/s_catan.c (__catan): Avoid passing -0 denominator to atan2
50735         with 0 numerator.
50736         * math/s_catanf.c (__catanf): Likewise.
50737         * math/s_catanh.c (__catanh): Likewise.
50738         * math/s_catanhf.c (__catanhf): Likewise.
50739         * math/s_catanhl.c (__catanhl): Likewise.
50740         * math/s_catanl.c (__catanl): Likewise.
50741         * sysdeps/ieee754/flt-32/e_logf.c (__ieee754_logf): Always divide
50742         by positive zero when computing -Inf result.
50743         * math/libm-test.inc (catan_test): Use ALL_RM_TEST.
50744         (catanh_test): Likewise.
50745         * sysdeps/i386/fpu/libm-test-ulps: Update.
50746         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50748         [BZ #16789]
50749         * math/s_clog.c (__clog): Use math_force_eval to ensure underflow
50750         instead of using underflowing value in computing result.
50751         * math/s_clog10.c (__clog10): Likewise.
50752         * math/s_clog10f.c (__clog10f): Likewise.
50753         * math/s_clog10l.c (__clog10l): Likewise.
50754         * math/s_clogf.c (__clogf): Likewise.
50755         * math/s_clogl.c (__clogl): Likewise.
50756         * math/libm-test.inc (clog_test): Use ALL_RM_TEST.
50757         (clog10_test): Likewise.
50758         * sysdeps/i386/fpu/libm-test-ulps: Update.
50759         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
50761 2014-04-02  Alan Modra  <amodra@gmail.com>
50763         [BZ #16739]
50764         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Correct
50765         output when value is near a power of two.  Use int64_t for lx and
50766         remove casts.  Use decimal rather than hex exponent constants.
50767         Don't use long double multiplication when double will suffice.
50768         * math/libm-test.inc (nextafter_test_data): Add tests.
50769         * NEWS: Add 16739 and 16786 to bug list.
50771         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Correct stream hint.
50773         * sysdeps/powerpc/powerpc64/start.S: Add @toc to toc symbol reference.
50775 2014-04-01  Will Newton  <will.newton@linaro.org>
50777         * benchtests/Makefile (CFLAGS-bench-ffs.c): Add
50778         -fno-builtin.  (CFLAGS-bench-ffsll.c): Likewise.
50780 2014-04-01  Florian Weimer  <fweimer@redhat.com>
50782         [BZ #13347]
50783         * nptl/nptl-init.c (sighandler_setxid): Check system call result.
50784         * nptl/tst-setuid2.c: New file.
50785         * nptl/Makefile (xtests): Add tst-setuid2.
50787 2014-04-01  Alan Modra  <amodra@gmail.com>
50789         [BZ #16786]
50790         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S: Don't trash stack.
50792 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
50794         [BZ #6803]
50795         [BZ #6804]
50796         * math/w_scalb.c (__scalb): For non-SVID mode, check result and
50797         set errno as appropriate.
50798         * math/w_scalbf.c (__scalbf): Likewise.
50799         * math/w_scalbl.c (__scalbl): Likewise.
50800         * math/gen-libm-test.pl (parse_args): Handle ERRNO_PLUS_OFLOW,
50801         ERRNO_MINUS_OFLOW, ERRNO_PLUS_UFLOW and ERRNO_MINUS_UFLOW.
50802         * math/libm-test.inc (scalb_test_data): Add errno expectations.
50803         Add more NaN tests.
50805         [BZ #16349]
50806         * math/w_atan2.c: Include <errno.h>.
50807         (__atan2): Set errno for result underflowing to zero.
50808         * math/w_atan2f.c: Include <errno.h>.
50809         (__atan2f): Set errno for result underflowing to zero.
50810         * math/w_atan2l.c: Include <errno.h>.
50811         (__atan2l): Set errno for result underflowing to zero.
50812         * math/auto-libm-test-in: Don't allow missing errno for some atan2
50813         tests.
50814         * math/auto-libm-test-out: Regenerated.
50816 2014-03-31  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50818         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S (MFVSRD_R3_V1):
50819         Encode instruction correctly in little endian.
50820         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S (MFVSRD_R3_V1):
50821         Likewise.
50822         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S (MFVSRD_R3_V1):
50823         Likewise.
50824         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S (MFVSRD_R3_V1):
50825         Likewise.
50826         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S (MFVSRD_R3_V1):
50827         Likewise.
50829 2014-03-31  Joseph Myers  <joseph@codesourcery.com>
50831         [BZ #9894]
50832         * sysdeps/unix/sysv/linux/kernel-features.h
50833         [__sparc__ && !__arch64__ && !__sparc_v9__]
50834         (__ASSUME_SET_ROBUST_LIST): Do not define.
50835         [__sparc__ && !__arch64__ && !__sparc_v9__]
50836         (__ASSUME_FUTEX_LOCK_PI): Likewise.
50837         [__sparc__ && !__arch64__ && !__sparc_v9__] (__ASSUME_REQUEUE_PI):
50838         Likewise.
50839         * sysdeps/unix/sysv/linux/arm/kernel-features.h
50840         (__ASSUME_FUTEX_LOCK_PI): Undefine.
50841         (__ASSUME_REQUEUE_PI): Likewise.
50842         (__ASSUME_SET_ROBUST_LIST): Likewise.
50843         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
50844         [__LINUX_KERNEL_VERSION < 0x030a00] (__ASSUME_FUTEX_LOCK_PI):
50845         Undefine.
50846         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
50847         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_FUTEX_LOCK_PI):
50848         Likewise.
50849         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_REQUEUE_PI):
50850         Likewise.
50851         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_SET_ROBUST_LIST):
50852         Likewise.
50853         * sysdeps/unix/sysv/linux/mips/kernel-features.h
50854         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_FUTEX_LOCK_PI):
50855         Undefine.
50856         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_REQUEUE_PI): Likewise.
50857         [__mips == 1 || _MIPS_ARCH_R5900] (__ASSUME_SET_ROBUST_LIST):
50858         Likewise.
50860         [BZ #16648]
50861         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
50862         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_FUTIMESAT): Define.
50863         * sysdeps/unix/sysv/linux/microblaze/futimesat.c: New file.
50865 2014-03-31  Will Newton  <will.newton@linaro.org>
50867         * benchtests/Makefile (bench): Add ffs and ffsll to list
50868         of tests.
50869         * benchtests/ffs-inputs: New file.
50870         * benchtests/ffsll-inputs: Likewise.
50872 2014-03-29  Joseph Myers  <joseph@codesourcery.com>
50874         [BZ #16770]
50875         * math/e_scalb.c (__ieee754_scalb): Check second argument is not
50876         too large before casting to int.
50877         * math/e_scalbf.c (__ieee754_scalbf): Likewise.
50878         * math/e_scalbl.c (__ieee754_scalbl): Likewise.
50879         * math/libm-test.inc (scalb_test_data): Add more tests.
50881 2014-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
50883         * benchtests/Makefile (DETAILED_OPT): New make option.
50884         (bench-func): Run benchmark program with -d if DETAILED_OPT is
50885         set.
50886         * benchtests/bench-skeleton.c: Include stdbool.h.
50887         (main): Store and print timings per input.
50888         * benchtests/scripts/bench.py (STRUCT_TEMPLATE): Add timing
50889         member to each argument value.
50890         (EPILOGUE): Define new macros RESULT and RESULT_ACCUM.
50891         (_print_arg_data): Initialize per-input timing to 0.
50893         * benchtests/Makefile (timing-type): New binary.
50894         (bench-clean): Also remove bench-timing-type.
50895         (bench): New target for timing-type.
50896         (bench-func): Print output in JSON format.
50897         * benchtests/bench-skeleton.c (main): Print output in JSON
50898         format.
50899         * benchtests/bench-timing-type.c: New file.
50900         * benchtests/bench-timing.h (TIMING_TYPE): New macro.
50901         (TIMING_PRINT_STATS): Remove.
50902         * benchtests/scripts/bench.py (_print_arg_data): Store variant
50903         name separately.
50905         * benchtests/bench-modf.c: Remove.
50906         * benchtests/modf-inputs: New inputs file.
50908 2014-03-28  Joseph Myers  <joseph@codesourcery.com>
50910         [BZ #16362]
50911         * math/s_clog10.c (M_PI_LOG10E): New macro.
50912         (__clog10): Use M_PI_LOG10E instead of M_PI when real and
50913         imaginary parts are 0.
50914         * math/s_clog10f.c (M_PI_LOG10Ef): New macro.
50915         (__clog10f): Use M_PI_LOG10Ef instead of M_PI when real and
50916         imaginary parts are 0.
50917         * math/s_clog10l.c (M_PI_LOG10El): New macro.
50918         (__clog10l): Use M_PI_LOG10El instead of M_PIl when real and
50919         imaginary parts are 0.
50920         * math/libm-test.inc (clog10_test_data): Update expected results
50921         for when real and imaginary parts are 0.
50923 2014-03-27  Paul Pluzhnikov  <ppluzhnikov@google.com>
50925         * elf/dl-load.c: Finish conversion of __builtin_expect into
50926         __glibc_{un}likely.
50928 2014-03-27  Joseph Myers  <joseph@codesourcery.com>
50930         [BZ #16348]
50931         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]: Use
50932         1+x for argument with exponent below -67.
50933         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [!USE_AS_EXPM1L]:
50934         Likewise.
50935         * math/auto-libm-test-in: Add more tests of exp.
50936         * math/auto-libm-test-out: Regenerated.
50938 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
50940         [BZ #16759]
50941         * inet/getnetgrent_r.c (get_nonempty_val): New function.
50942         (nscd_getnetgrent): Use it.
50944         [BZ #16760]
50945         * nscd/netgroupcache.c (addgetnetgrentX): Use memmove instead
50946         of stpcpy.
50948 2014-03-27  Andi Kleen  <ak@linux.intel.com>
50950         * nptl/sysdeps/unix/sysv/linux/x86_64/lowlevellock.h (lll_lock)
50951         (lll_robust_lock, lll_cond_lock, lll_timedlock)
50952         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
50953         (lll_robust_unlock): Remove out of line section. Use cfi
50954         intrinsics.
50955         (LLL_STUB_UNWIND_INFO*): Remove.
50956         * nptl/sysdeps/unix/sysv/linux/i386/lowlevellock.h (lll_lock)
50957         (lll_robust_lock, lll_cond_lock, lll_timedlock)
50958         (lll_robust_cond_lock, lll_robust_timedlock, lll_unlock)
50959         (lll_robust_unlock): Remove out of line section. Use cfi
50960         intrinsics.
50961         (LLL_STUB_UNWIND_INFO*): Remove.
50963 2014-03-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
50965         [BZ #16758]
50966         * nscd/netgroupcache.c (addinnetgrX): Succeed if triplet has
50967         blank values.
50969 2014-03-26  Paul Pluzhnikov  <ppluzhnikov@google.com>
50971         * elf/dl-load.c: Convert __builtin_expect into __glibc_{un}likely.
50973 2014-03-26  Joseph Myers  <joseph@codesourcery.com>
50975         [BZ #16198]
50976         * sysdeps/x86_64/fpu/fegetenv.c (fegetenv): Use fldenv after
50977         fnstenv.
50978         * math/test-fenv-preserve.c: New file.
50979         * math/Makefile (tests): Add test-fenv-preserve.
50981 2014-03-26  Will Newton <will.newton@linaro.org>
50983         * benchtests/bench-strtod.c (TIMEOUT): Define to 10.
50985 2014-03-25  Roland McGrath  <roland@hack.frob.com>
50987         * scripts/versionlist.awk: Partition the version sets and emit all
50988         GLIBC_* (sorted) before all others (sorted).
50990 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
50992         * elf/Versions (libc) [EXPORT_UNWIND_FIND_FDE]: Add empty
50993         GLIBC_2.2.5 version.
50995 2014-03-25 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
50997         * scripts/localplt.awk: Check for PLT generated by internal IFUNC
50998         calls.
51000         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h: Revert
51001         previous change.
51003         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
51005 2014-03-25  Andreas Schwab  <schwab@suse.de>
51007         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Add out_fail2
51008         label to be used after in6ailist is initialized.
51010 2014-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51012         * nptl/sysdeps/unix/sysv/linux/powerpc/bits/pthreadtypes.h
51013         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
51015 2014-03-25  Joseph Myers  <joseph@codesourcery.com>
51017         [BZ #16357]
51018         [BZ #16599]
51019         * math/gen-auto-libm-tests.c (fp_format_desc): Add field
51020         min_plus_half.
51021         (fp_formats): Update initializers.
51022         (init_fp_formats): Initialize new field.
51023         (output_for_one_input_case): Allow underflow for results up to
51024         min_plus_half.
51025         * math/libm-test.inc (log1p_test): Use ALL_RM_TEST.
51026         * math/auto-libm-test-in: Don't mark some underflows from asin and
51027         atanh as spurious.
51028         * math/auto-libm-test-out: Regenerated.
51029         * sysdeps/i386/fpu/libm-test-ulps: Update.
51030         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51032 2014-03-25  Andreas Schwab  <schwab@suse.de>
51034         * libio/Makefile (tst-ftell-partial-wide-ENV)
51035         (tst-ftell-active-handler-ENV): Define.
51037 2014-03-25  Stefan Liebler <stli@linux.vnet.ibm.com>
51039         * NEWS: Add 16712, 16713, 16714 to fixed bug list.
51041 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
51043         * elf/tst-dlopen-aout.c: Adjust comments. Use test-skeleton.c
51045 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
51047         * sysdeps/ieee754/dbl-64/e_exp.c: Include <math.h>.
51048         * sysdeps/x86_64/fpu/multiarch/e_exp.c
51049         [HAVE_FMA4_SUPPORT || HAVE_AVX_SUPPORT]: Likewise.
51051 2014-03-24  Paul Pluzhnikov  <ppluzhnikov@google.com>
51053         [BZ #16634]
51054         * elf/dl-load.c (open_verify): Add mode parameter.
51055         Error early when ET_EXEC and mode does not have __RTLD_OPENEXEC.
51056         (open_path): Change from boolean 'secure' to complete flag 'mode'
51057         (_dl_map_object): Adjust.
51058         * elf/Makefile (tests): Add tst-dlopen-aout.
51059         * elf/tst-dlopen-aout.c: New test.
51061 2014-03-24  Stefan Liebler <stli@linux.vnet.ibm.com>
51063         [BZ #16714]
51064         * sysdeps/unix/sysv/linux/s390/bits/stat.h
51065         (struct stat): Rename member pad0 to __glibc_reserved0.
51067         [BZ #16712]
51068         * sysdeps/s390/s390-32/bits/wordsize.h
51069         (__WORDSIZE32_SIZE_ULONG): New define.
51070         * sysdeps/s390/s390-64/bits/wordsize.h
51071         (__WORDSIZE32_SIZE_ULONG): Likewise.
51072         * sysdeps/generic/stdint.h (SIZE_MAX):
51073         Define as UL if __WORDSIZE32_SIZE_ULONG.
51075         [BZ #16713]
51076         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h
51077         (__glibc_reserved0): New variable.
51078         (sa_flags): Change type to int.
51080         * posix/Makefile (before-compile): Use += before-compile instead
51081         of a :=.
51083         * nptl/sysdeps/unix/sysv/linux/s390/bits/pthreadtypes.h
51084         (__PTHREAD_MUTEX_HAVE_ELISION): New define.
51086 2014-03-20  Andreas Schwab  <schwab@suse.de>
51088         [BZ #16743]
51089         * sysdeps/posix/getaddrinfo.c (gaih_inet): Properly skip over
51090         non-matching result from nscd.
51092 2014-03-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
51094         * scripts/bench.py: Moved to ...
51095         * benchtests/scripts/bench.py: ... here.
51096         * benchtests/Makefile ($(objpfx)bench-%.c): Adjust.
51098 2014-03-24  Andreas Schwab  <schwab@suse.de>
51100         [BZ #16002]
51101         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Use
51102         alloca_account and account alloca use for struct in6ailist.
51104 2014-03-24  Joseph Myers  <joseph@codesourcery.com>
51106         [BZ #16284]
51107         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use original
51108         rounding mode to recompute results that overflow to infinity or
51109         underflow to zero.
51110         * math/auto-libm-test-in: Don't mark tests as expected to fail for
51111         bug 16284.
51112         * math/auto-libm-test-out: Regenerated.
51113         * math/libm-test.inc (ccos_test): Use ALL_RM_TEST.
51114         (ccosh_test): Likewise.
51115         (csin_test_data): Use plus_oflow.
51116         (csin_test): Use ALL_RM_TEST.
51117         (csinh_test_data): Use plus_oflow.
51118         (csinh_test): Use ALL_RM_TEST.
51119         * sysdeps/i386/fpu/libm-test-ulps: Update.
51120         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51122 2014-03-21  Joseph Myers  <joseph@codesourcery.com>
51124         * sysdeps/mips/bits/wordsize.h: Include <sgidefs.h>.
51125         * sysdeps/unix/sysv/linux/mips/getrlimit64.c: Likewise.
51126         * sysdeps/unix/sysv/linux/mips/setrlimit64.c: Likewise.
51128         [BZ #16731]
51129         * sysdeps/i386/fpu/e_log.S (__ieee754_log): Take absolute value
51130         when x - 1 is zero.
51131         * sysdeps/i386/fpu/e_logf.S (__ieee754_logf): Likewise.
51132         * sysdeps/i386/fpu/e_logl.S (__ieee754_logl): Likewise.
51133         * sysdeps/i386/i686/fpu/e_logl.S (__ieee754_logl): Likewise.
51134         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Return +0 when
51135         argument is 1.
51136         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Likewise.
51137         * sysdeps/x86_64/fpu/e_logl.S: Take absolute value when x - 1 is
51138         zero.
51139         * math/libm-test.inc (log_test): Use ALL_RM_TEST.
51140         * sysdeps/i386/fpu/libm-test-ulps: Update.
51141         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51143 2014-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
51145         * scripts/bench.pl: Remove file.
51146         * scripts/bench.py: New benchmark script.
51147         * benchtests/Makefile ($(objpfx)bench-%.c): Use it.
51148         * benchtests/README: Mention python dependency.
51149         * scripts/pylintrc: New file.
51150         * scripts/pylint: New file.
51152         * bits/mathdef.h: Use #ifdef instead of #if.
51153         * sysdeps/arm/bits/mathdef.h [defined __USE_ISOC99 && defined
51154         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
51155         * sysdeps/tile/bits/mathdef.h [defined __USE_ISOC99 && defined
51156         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
51157         * sysdeps/x86/bits/mathdef.h [defined __USE_ISOC99 && defined
51158         _MATH_H && !defined _MATH_H_MATHDEF]: Likewise.
51160 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51161             Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
51163         * string/strpbrk.c (strpbrk): Using macro to redefine symbol name.
51164         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strpbrk-power7
51165         and strpbrk-ppc64 objects.
51166         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51167         (__libc_ifunc_impl_list): Add new strpbrk optimized symbols.
51168         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-power7.S: New file:
51169         multiarch strpbrk for POWER7.
51170         * sysdeps/powerpc/powerpc64/multiarch/strpbrk-ppc64.c: New file:
51171         multiarch strpbrk for PPC64.
51172         * sysdeps/powerpc/powerpc64/multiarch/strpbrk.c: New file: strpbrk
51173         ifunc selector.
51174         * sysdeps/powerpc/powerpc64/power7/strpbrk.S: New file: optimited
51175         strpbrk for POWER7.
51177 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
51179         * math/libm-test.inc (asinh_test): Use ALL_RM_TEST.
51180         (atan_test): Likewise.
51181         (atanh_test_data): Use NO_TEST_INLINE for two tests.
51182         (atanh_test): Use ALL_RM_TEST.
51183         (atan2_test_data): Likewise.
51184         (cabs_test): Likewise.
51185         (cacosh_test): Likewise.
51186         (carg_test): Likewise.
51187         (casin_test): Likewise.
51188         (casinh_test): Likewise.
51189         (cbrt_test): Likewise.
51190         (csqrt_test): Likewise.
51191         (erf_test): Likewise.
51192         (erfc_test): Likewise.
51193         (pow10_test): Likewise.
51194         (exp2_test): Likewise.
51195         (hypot_test): Likewise.
51196         (j0_test): Likewise.
51197         (j1_test): Likewise.
51198         (lgamma_test): Likewise.
51199         (gamma_test): Likewise.
51200         (sincos_test): Likewise.
51201         (tanh_test): Likewise.
51202         (y0_test): Likewise.
51203         (y1_test): Likewise.
51204         * sysdeps/i386/fpu/libm-test-ulps: Update.
51205         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
51207 2014-03-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51209         * string/strcspn.c (strcspn): Using macro to redefine symbol name.
51210         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcspn-power7
51211         and strcspn-ppc64 objects.
51212         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
51213         (__libc_ifunc_impl_list): Add new strcspn optimized symbols.
51214         * sysdeps/powerpc/powerpc64/multiarch/strcspn-power7.S: New file:
51215         multiarch strcspn for POWER7.
51216         * sysdeps/powerpc/powerpc64/multiarch/strcspn-ppc64.c: New file:
51217         multiarch strcspn for PPC64.
51218         * sysdeps/powerpc/powerpc64/multiarch/strcspn.c: New file: strcspn
51219         ifunc selector.
51220         * sysdeps/powerpc/powerpc64/power7/strcspn.S: New file: optimited
51221         strcspn for POWER7.
51223 2014-03-20  Joseph Myers  <joseph@codesourcery.com>
51225         * math/gen-libm-test.pl (generate_testfile): Expect only function
51226         name as argument to AUTO_TESTS_* and pass results for all rounding
51227         modes to parse_args.
51228         (parse_auto_input): Separate inputs of automatic tests from
51229         outputs before storing in %auto_tests.
51230         * math/libm-test.inc (acos_test_data): Update call to
51231         AUTO_TESTS_f_f.
51232         (acos_test): Use ALL_RM_TEST.
51233         (acos_tonearest_test_data): Remove.
51234         (acos_test_tonearest): Likewise.
51235         (acos_towardzero_test_data): Likewise.
51236         (acos_test_towardzero): Likewise.
51237         (acos_downward_test_data): Likewise.
51238         (acos_test_downward): Likewise.
51239         (acos_upward_test_data): Likewise.
51240         (acos_test_upward): Likewise.
51241         (acosh_test_data): Update call to AUTO_TESTS_f_f.
51242         (asin_test_data): Likewise.
51243         (asin_test): Use ALL_RM_TEST.
51244         (asin_tonearest_test_data): Remove.
51245         (asin_test_tonearest): Likewise.
51246         (asin_towardzero_test_data): Likewise.
51247         (asin_test_towardzero): Likewise.
51248         (asin_downward_test_data): Likewise.
51249         (asin_test_downward): Likewise.
51250         (asin_upward_test_data): Likewise.
51251         (asin_test_upward): Likewise.
51252         (asinh_test_data): Update call to AUTO_TESTS_f_f.
51253         (atan_test_data): Likewise.
51254         (atanh_test_data): Likewise.
51255         (atan2_test_data): Update call to AUTO_TESTS_ff_f.
51256         (cabs_test_data): Update call to AUTO_TESTS_c_f.
51257         (carg_test_data): Likewise.
51258         (cbrt_test_data): Update call to AUTO_TESTS_f_f.
51259         (ccos_test_data): Update call to AUTO_TESTS_c_c.
51260         (ccosh_test_data): Likewise.
51261         (cexp_test_data): Likewise.
51262         (clog_test_data): Likewise.
51263         (clog10_test_data): Likewise.
51264         (cos_test_data): Update call to AUTO_TESTS_f_f.
51265         (cos_test): Use ALL_RM_TEST.
51266         (cos_tonearest_test_data): Remove.
51267         (cos_test_tonearest): Likewise.
51268         (cos_towardzero_test_data): Likewise.
51269         (cos_test_towardzero): Likewise.
51270         (cos_downward_test_data): Likewise.
51271         (cos_test_downward): Likewise.
51272         (cos_upward_test_data): Likewise.
51273         (cos_test_upward): Likewise.
51274         (cosh_test_data): Update call to AUTO_TESTS_f_f.
51275         (cosh_test): Use ALL_RM_TEST.
51276         (cosh_tonearest_test_data): Remove.
51277         (cosh_test_tonearest): Likewise.
51278         (cosh_towardzero_test_data): Likewise.
51279         (cosh_test_towardzero): Likewise.
51280         (cosh_downward_test_data): Likewise.
51281         (cosh_test_downward): Likewise.
51282         (cosh_upward_test_data): Likewise.
51283         (cosh_test_upward): Likewise.
51284         (cpow_test_data): Update call to AUTO_TESTS_cc_c.
51285         (csqrt_test_data): Update call to AUTO_TESTS_c_c.
51286         (ctan_test_data): Likewise.
51287         (ctan_test): Use ALL_RM_TEST.
51288         (ctan_tonearest_test_data): Remove.
51289         (ctan_test_tonearest): Likewise.
51290         (ctan_towardzero_test_data): Likewise.
51291         (ctan_test_towardzero): Likewise.
51292         (ctan_downward_test_data): Likewise.
51293         (ctan_test_downward): Likewise.
51294         (ctan_upward_test_data): Likewise.
51295         (ctan_test_upward): Likewise.
51296         (ctanh_test_data): Update call to AUTO_TESTS_c_c.
51297         (ctanh_test): Use ALL_RM_TEST.
51298         (ctanh_tonearest_test_data): Remove.
51299         (ctanh_test_tonearest): Likewise.
51300         (ctanh_towardzero_test_data): Likewise.
51301         (ctanh_test_towardzero): Likewise.
51302         (ctanh_downward_test_data): Likewise.
51303         (ctanh_test_downward): Likewise.
51304         (ctanh_upward_test_data): Likewise.
51305         (ctanh_test_upward): Likewise.
51306         (erf_test_data): Update call to AUTO_TESTS_f_f.
51307         (erfc_test_data): Likewise.
51308         (exp_test_data): Likewise.
51309         (exp_test): Use ALL_RM_TEST.
51310         (exp_tonearest_test_data): Remove.
51311         (exp_test_tonearest): Likewise.
51312         (exp_towardzero_test_data): Likewise.
51313         (exp_test_towardzero): Likewise.
51314         (exp_downward_test_data): Likewise.
51315         (exp_test_downward): Likewise.
51316         (exp_upward_test_data): Likewise.
51317         (exp_test_upward): Likewise.
51318         (exp10_test_data): Update call to AUTO_TESTS_f_f.
51319         (exp10_test): Use ALL_RM_TEST.
51320         (exp10_tonearest_test_data): Remove.
51321         (exp10_test_tonearest): Likewise.
51322         (exp10_towardzero_test_data): Likewise.
51323         (exp10_test_towardzero): Likewise.
51324         (exp10_downward_test_data): Likewise.
51325         (exp10_test_downward): Likewise.
51326         (exp10_upward_test_data): Likewise.
51327         (exp10_test_upward): Likewise.
51328         (exp2_test_data): Update call to AUTO_TESTS_f_f.
51329         (expm1_test_data): Likewise.
51330         (expm1_test): Use ALL_RM_TEST.
51331         (expm1_tonearest_test_data): Remove.
51332         (expm1_test_tonearest): Likewise.
51333         (expm1_towardzero_test_data): Likewise.
51334         (expm1_test_towardzero): Likewise.
51335         (expm1_downward_test_data): Likewise.
51336         (expm1_test_downward): Likewise.
51337         (expm1_upward_test_data): Likewise.
51338         (expm1_test_upward): Likewise.
51339         (fma_test_data): Update call to AUTO_TESTS_fff_f.
51340         (fma_test): Use ALL_RM_TEST.
51341         (fma_towardzero_test_data): Remove.
51342         (fma_test_towardzero): Likewise.
51343         (fma_downward_test_data): Likewise.
51344         (fma_test_downward): Likewise.
51345         (fma_upward_test_data): Likewise.
51346         (fma_test_upward): Likewise.
51347         (hypot_test_data): Update call to AUTO_TESTS_ff_f.
51348         (j0_test_data): Update call to AUTO_TESTS_f_f.
51349         (j1_test_data): Likewise.
51350         (jn_test_data): Update call to AUTO_TESTS_if_f.
51351         (lgamma_test_data): Update call to AUTO_TESTS_f_f1.
51352         (log_test_data): Update call to AUTO_TESTS_f_f.
51353         (log10_test_data): Likewise.
51354         (log1p_test_data): Likewise.
51355         (log2_test_data): Likewise.
51356         (pow_test_data): Update call to AUTO_TESTS_ff_f.
51357         (pow_tonearest_test_data): Likewise.
51358         (sin_test_data): Update call to AUTO_TESTS_f_f.
51359         (sin_test): Use ALL_RM_TEST.
51360         (sin_tonearest_test_data): Remove.
51361         (sin_test_tonearest): Likewise.
51362         (sin_towardzero_test_data): Likewise.
51363         (sin_test_towardzero): Likewise.
51364         (sin_downward_test_data): Likewise.
51365         (sin_test_downward): Likewise.
51366         (sin_upward_test_data): Likewise.
51367         (sin_test_upward): Likewise.
51368         (sincos_test_data): Update call to AUTO_TESTS_fFF_11.
51369         (sinh_test_data): Update call to AUTO_TESTS_f_f.
51370         (sinh_test): Use ALL_RM_TEST.
51371         (sinh_tonearest_test_data): Remove.
51372         (sinh_test_tonearest): Likewise.
51373         (sinh_towardzero_test_data): Likewise.
51374         (sinh_test_towardzero): Likewise.
51375         (sinh_downward_test_data): Likewise.
51376         (sinh_test_downward): Likewise.
51377         (sinh_upward_test_data): Likewise.
51378         (sinh_test_upward): Likewise.
51379         (sqrt_test_data): Update call to AUTO_TESTS_f_f.
51380         (sqrt_test): Use ALL_RM_TEST.
51381         (sqrt_tonearest_test_data): Remove.
51382         (sqrt_test_tonearest): Likewise.
51383         (sqrt_towardzero_test_data): Likewise.
51384         (sqrt_test_towardzero): Likewise.
51385         (sqrt_downward_test_data): Likewise.
51386         (sqrt_test_downward): Likewise.
51387         (sqrt_upward_test_data): Likewise.
51388         (sqrt_test_upward): Likewise.
51389         (tan_test_data): Update call to AUTO_TESTS_f_f.
51390         (tan_test): Use ALL_RM_TEST.
51391         (tan_tonearest_test_data): Remove.
51392         (tan_test_tonearest): Likewise.
51393         (tan_towardzero_test_data): Likewise.
51394         (tan_test_towardzero): Likewise.
51395         (tan_downward_test_data): Likewise.
51396         (tan_test_downward): Likewise.
51397         (tan_upward_test_data): Likewise.
51398         (tan_test_upward): Likewise.
51399         (tanh_test_data): Update call to AUTO_TESTS_f_f.
51400         (tgamma_test_data): Likewise.
51401         (y0_test_data): Likewise.
51402         (y1_test_data): Likewise.
51403         (yn_test_data): Update call to AUTO_TESTS_if_f.
51404         (main): Do not call removed functions.
51406 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
51408         * math/libm-test.inc (fdim_test): Use ALL_RM_TEST.
51409         (ldexp_test_data): Remove.
51410         (ldexp_test): Move to after scalbn_test.  Use ALL_RM_TEST with
51411         scalbn_test_data.
51412         (scalb_test): Use ALL_RM_TEST.
51414 2014-03-19  Andreas Schwab  <schwab@suse.de>
51416         * nscd/nscd.service: Also invalidate netgroup cache on reload.
51418 2014-03-19  Joseph Myers  <joseph@codesourcery.com>
51420         [BZ #16649]
51421         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
51422         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PREADV): Undefine.
51423         [__LINUX_KERNEL_VERSION < 0x020621] (__ASSUME_PWRITEV): Likewise.
51424         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
51425         (__ASSUME_PREADV): Undefine.
51426         (__ASSUME_PWRITEV): Likewise.
51428 2014-03-18  Roland McGrath  <roland@hack.frob.com>
51430         * bits/mman-linux.h: Add comment about non-Linux use.
51431         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add comment about
51432         bits/mman-linux.h resting place.
51434         * sysdeps/unix/sysv/linux/bits/mman-linux.h: Moved to ...
51435         * bits/mman-linux.h: ... here.
51437 2014-03-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51439         * conform/conformtest.pl: Add standard definition when calling C
51440         preprocessor on data files.
51441         (checknamespace): Remove unused variable.
51443 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
51445         * math/gen-libm-test.pl (parse_args): Handle plus_oflow,
51446         minus_oflow, plus_uflow and minus_uflow in expected results.
51447         * math/libm-test.inc (scalbn_test_data): Add more tests of
51448         negative arguments.  Use plus_oflow, minus_oflow, plus_uflow and
51449         minus_uflow.
51450         (scalbn_test): Use ALL_RM_TEST.
51451         (scalbln_test_data): Add more tests of negative arguments.  Use
51452         plus_oflow, minus_oflow, plus_uflow and minus_uflow.
51453         (scalbln_test): Use ALL_RM_TEST.
51455 2014-03-18  Roland McGrath  <roland@hack.frob.com>
51457         * scripts/abilist.awk: Ignore symbols marked with .hidden.
51459 2014-03-18  Will Newton  <will.newton@linaro.org>
51461         * sysdeps/unix/sysv/linux/aarch64/sysdep.h: Remove
51462         inaccurate comment.
51464 2014-03-18  Joseph Myers  <joseph@codesourcery.com>
51466         * Makerules [!subdir] (check-abi): Exit with error status if a
51467         test failed.
51469 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
51471         * math/libm-test.inc (nearbyint_test_data): Include all tests used
51472         for rint.  Include results for all rounding modes.
51473         (nearbyint_test): Use ALL_RM_TEST.
51474         (rint_test_data): Include all tests used for nearbyint.
51476 2014-03-17  Will Newton  <will.newton@linaro.org>
51478         * nptl/sysdeps/pthread/pthread.h: Revert previous
51479         change.
51481         * sysdeps/generic/ldsodefs.h: Revert previous
51482         change.
51484         * libio/genops.c: Revert previous change.
51485         * libio/libioP.h: Likewise.
51486         * stdio-common/vfprintf.c: Likewise.
51488         * sysdeps/generic/math_private.h: Revert previous
51489         change.
51491         * sysdeps/generic/math_private.h: Check whether
51492         HAVE_RM_CTX is defined with #ifdef rather
51493         than #if.
51495         * argp/argp-fmtstream.h: Check whether
51496         __STRICT_ANSI__ is defined with #ifdef rather
51497         than #if.
51498         * argp/argp.h: Likewise.
51500         * libio/genops.c: Check whether
51501         _IO_JUMPS_OFFSET is defined with #ifdef rather
51502         than #if.
51503         * libio/libioP.h: Likewise.
51504         * stdio-common/vfprintf.c: Likewise.
51506         * sysdeps/generic/ldsodefs.h: Check whether
51507         HP_SMALL_TIMING_AVAIL is defined with #ifdef rather
51508         than #if.
51510         * nptl/sysdeps/pthread/pthread.h: Check
51511         __PTHREAD_MUTEX_HAVE_ELISION is defined before testing
51512         its value.
51514 2014-03-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
51516         * libio/iofdopen.c (_IO_new_fdopen): Seek to end only if
51517         setting O_APPEND.
51518         * libio/tst-ftell-active-handler.c (do_append_test): Add a
51519         test case.
51521         [BZ #16680]
51522         * libio/fileops.c (_IO_file_open): Seek to end of file but
51523         don't cache the offset.
51524         (get_file_offset): Remove function.
51525         (do_ftell): Use cached offset when available.
51526         * libio/iofdopen.c (_IO_new_fdopen): Seek to end of file but
51527         don't cache the offset.
51528         * libio/tst-ftell-active-handler.c (do_rewind_test): New test
51529         case.
51530         (do_one_test): Call it.
51531         (do_ftell_test): Fix up expected old offset for a+ mode.
51532         * libio/wfileops.c (do_ftell_wide): Used cached offset when
51533         available.
51535         * libio/tst-ftell-active-handler.c (do_ftell_test): Don't mix
51536         up test status with function return status.
51537         (do_write_test): Likewise.
51538         (do_append_test): Likewise.
51540         * nptl/sysdeps/pthread/bits/libc-lockP.h [defined NOT_IN_libc
51541         && !defined IS_IN_libpthread && __LT_SPINNOCK_INIT != 0]:
51542         Remove.
51544 2014-03-17  Joseph Myers  <joseph@codesourcery.com>
51546         * math/gen-libm-test.pl (parse_args): Handle results specified for
51547         each rounding mode separately.
51548         * math/libm-test.inc (lrint_test_data): Merge in per-rounding-mode
51549         tests and results from lrint_tonearest_test_data,
51550         lrint_towardzero_test_data, lrint_downward_test_data and
51551         lrint_upward_test_data.
51552         (lrint_test): Use ALL_RM_TEST.
51553         (lrint_tonearest_test_data): Remove.
51554         (lrint_test_tonearest): Likewise.
51555         (lrint_towardzero_test_data): Likewise.
51556         (lrint_test_towardzero): Likewise.
51557         (lrint_downward_test_data): Likewise.
51558         (lrint_test_downward): Likewise.
51559         (lrint_upward_test_data): Likewise.
51560         (lrint_test_upward): Likewise.
51561         (llrint_test_data): Merge in per-rounding-mode tests and results
51562         from llrint_tonearest_test_data, llrint_towardzero_test_data,
51563         llrint_downward_test_data and llrint_upward_test_data.
51564         (llrint_test): Use ALL_RM_TEST.
51565         (llrint_tonearest_test_data): Remove.
51566         (llrint_test_tonearest): Likewise.
51567         (llrint_towardzero_test_data): Likewise.
51568         (llrint_test_towardzero): Likewise.
51569         (llrint_downward_test_data): Likewise.
51570         (llrint_test_downward): Likewise.
51571         (llrint_upward_test_data): Likewise.
51572         (llrint_test_upward): Likewise.
51573         (rint_test_data): Merge in per-rounding-mode tests and results
51574         from rint_tonearest_test_data, rint_towardzero_test_data,
51575         rint_downward_test_data and rint_upward_test_data.  Add
51576         per-rounding-mode results for tests not in those arrays.
51577         (rint_test): Use ALL_RM_TEST.
51578         (rint_tonearest_test_data): Remove.
51579         (rint_test_tonearest): Likewise.
51580         (rint_towardzero_test_data): Likewise.
51581         (rint_test_towardzero): Likewise.
51582         (rint_downward_test_data): Likewise.
51583         (rint_test_downward): Likewise.
51584         (rint_upward_test_data): Likewise.
51585         (rint_test_upward): Likewise.
51586         (main): Don't call removed functions.
51588 2014-03-14  Roland McGrath  <roland@hack.frob.com>
51590         * csu/Makefile ($(objpfx)version-info.h): Remove linux-specific
51591         "Compiled on ..." crapola.  It is anti-useful.
51593 2014-03-14  Joseph Myers  <joseph@codesourcery.com>
51595         * scripts/evaluate-test.sh: Handle fourth argument to determine
51596         whether test run should stop on failure.
51597         * Makeconfig (stop-on-test-failure): New variable.
51598         (evaluate-test): Pass fourth argument to evaluate-test.sh based on
51599         $(stop-on-test-failure).
51600         * Makefile (tests): Give a summary of results from testing and
51601         exit with failure status if they include an ERROR or FAIL.
51602         (xtests): Likewise.
51603         * manual/install.texi (Configuring and compiling): Mention
51604         stop-on-test-failure=y.
51605         * INSTALL: Regenerated.
51607 2014-03-14  Roland McGrath  <roland@hack.frob.com>
51609         * scripts/versionlist.awk: New file.
51610         * Makerules [$(build-shared) = yes]
51611         (postclean-generated): Add Versions.def, not Versions.def.v and
51612         Versions.def.v.i.
51613         ($(common-objpfx)Versions.def.v.i): Target removed.
51614         ($(common-objpfx)Versions.def): New target.
51615         ($(common-objpfx)Versions.all): Depend on that rather that
51616         $(common-objpfx)Versions.def.v.
51617         * Versions.def: File removed.
51619         * Makeconfig (+gccwarn): Add -Wundef.
51620         * include/errno.h [IS_IN_rtld] [!RTLD_PRIVATE_ERRNO]: #error to catch
51621         a dl-sysdep.h breaking its contract.
51622         [!IS_IN_rtld] (RTLD_PRIVATE_ERRNO): Define it to 0.
51623         * include/stackinfo.h: New file.
51624         * nptl/sysdeps/i386/tls.h (TLS_DTV_AT_TP): New macro.
51625         * nptl/sysdeps/powerpc/tls.h (TLS_TCB_AT_TP): New macro.
51626         * nptl/sysdeps/s390/tls.h (TLS_DTV_AT_TP): New macro.
51627         * nptl/sysdeps/sh/tls.h (TLS_TCB_AT_TP): New macro.
51628         * nptl/sysdeps/sparc/tls.h (TLS_DTV_AT_TP): New macro.
51629         * nptl/sysdeps/x86_64/tls.h (TLS_DTV_AT_TP): New macro.
51630         * sysdeps/aarch64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
51631         * sysdeps/alpha/nptl/tls.h (TLS_TCB_AT_TP): New macro.
51632         * sysdeps/arm/nptl/tls.h (TLS_TCB_AT_TP): New macro.
51633         * sysdeps/ia64/nptl/tls.h (TLS_TCB_AT_TP): New macro.
51634         * sysdeps/m68k/nptl/tls.h (TLS_TCB_AT_TP): New macro.
51635         * sysdeps/mach/hurd/i386/tls.h (TLS_DTV_AT_TP): New macro.
51636         * sysdeps/microblaze/nptl/tls.h (TLS_TCB_AT_TP): New macro.
51637         * sysdeps/mips/nptl/tls.h (TLS_TCB_AT_TP): New macro.
51638         * sysdeps/tile/nptl/tls.h (TLS_TCB_AT_TP): New macro.
51640 2014-03-14  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51642         [BZ #16707]
51643         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Remove wrong
51644         implementation.
51645         * math/libm-test.inc (round_test_data): Add more tests.
51647         [BZ #16706]
51648         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Remove wrong
51649         implementation.
51650         * math/libm-test.inc (nearbyint_test_data): Add more tests.
51652         [BZ #16701]
51653         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Remove wrong
51654         implementation.
51655         * math/libm-test.inc (ceil_test_data): Add more tests.
51657         * math/libm-test.inc (trunc_test_data): Add more tests related to
51658         BZ#16414.
51660 2014-03-14  Roland McGrath  <roland@hack.frob.com>
51662         * nptl/pthread_create.c (__pthread_create_2_1): Test TLS_TCB_AT_TP
51663         with #if rather than #ifdef.
51664         * nptl/sysdeps/pthread/createthread.c (create_thread): Likewise.
51666 2014-03-14  H.J. Lu  <hongjiu.lu@intel.com>
51668         * sysdeps/x86_64/configure.ac: Check AVX-512 assembler support
51669         first.  Disable AVX-512 GCC support if assembler doesn't support
51670         it.
51671         * sysdeps/x86_64/configure: Regenerated.
51673 2014-03-13  Carlos O'Donell  <carlos@redhat.com>
51675         * nptl/pthread_attr_setstack.c (__pthread_attr_setstack)
51676         [!_STACK_GROWS_DOWN]: Don't add stacksize to stackaddr.
51677         (__old_pthread_attr_setstack): Likewise.
51678         * nptl/pthread_attr_getstack.c (__pthread_attr_getstack)
51679         [!_STACK_GROWS_DOWN]: Likewise.
51681 2014-03-13  Mike Frysinger  <vapier@gentoo.org>
51683         * config.make.in (have-bash2): Delete.
51684         * configure.ac (libc_cv_have_bash2): Delete.
51685         * configure: Regenerate.
51686         * elf/Makefile (common-ldd-rewrite): Rename to ...
51687         (ldd-rewrite): ... this.  Move bash-ldd-rewrite content to end.
51688         (sh-ldd-rewrite): Delete.
51689         (bash-ldd-rewrite): Delete.
51690         (have-bash2): Delete checks.
51691         [ldd-rewrite-script]: Change $(ldd-shell)-ldd-rewrite to
51692         ldd-rewrite.
51694         * config.make.in (have-ksh): Delete.
51695         (KSH): Delete.
51696         * configure.ac (libc_cv_have_ksh): Delete.
51697         * configure: Regenerate.
51699         * elf/Makefile: Delete $(have-ksh) check.
51700         ($(objpfx)sotruss): Change KSH to BASH.
51701         * elf/sotruss.ksh: Rename to ...
51702         * elf/sotruss.sh: ... this.  Change @KSH@ to @BASH@.  Change
51703         function style to match POSIX.  Drop ksh vim mode setting.
51705         * manual/time.texi (Specifying the Time Zone with TZ): Change
51706         Tuesday to Thursday.
51708         * debug/tst-longjmp_chk2.c: Update header comment.
51709         (stackoverflow_handler): Add comment.  Call assert on pass value.
51711 2014-03-13  Igor Zamyatin  <igor.zamyatin@intel.com>
51713         [BZ #16194]
51714         * config.h.in (HAVE_AVX512_SUPPORT): New #undef.
51715         (HAVE_AVX512_ASM_SUPPORT): Likewise.
51716         * sysdeps/x86_64/bits/link.h (La_x86_64_zmm): New.
51717         (La_x86_64_vector): Add zmm.
51718         * sysdeps/x86_64/Makefile (tests): Add tst-audit10.
51719         (modules-names): Add tst-auditmod10a and tst-auditmod10b.
51720         ($(objpfx)tst-audit10): New target.
51721         ($(objpfx)tst-audit10.out): Likewise.
51722         (tst-audit10-ENV): New.
51723         (AVX512-CFLAGS): Likewise.
51724         (CFLAGS-tst-audit10.c): Likewise.
51725         (CFLAGS-tst-auditmod10a.c): Likewise.
51726         (CFLAGS-tst-auditmod10b.c): Likewise.
51727         * sysdeps/x86_64/configure.ac: Set config-cflags-avx512,
51728         HAVE_AVX512_SUPPORT and HAVE_AVX512_ASM_SUPPORT.
51729         * sysdeps/x86_64/configure: Regenerated.
51730         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Add
51731         AVX-512 zmm register support.
51732         (_dl_x86_64_save_sse): Likewise.
51733         (_dl_x86_64_restore_sse): Likewise.
51734         * sysdeps/x86_64/dl-trampoline.h: Updated to support different
51735         size vector registers.
51736         * sysdeps/x86_64/link-defines.sym (YMM_SIZE): New.
51737         (ZMM_SIZE): Likewise.
51738         * sysdeps/x86_64/tst-audit10.c: New file.
51739         * sysdeps/x86_64/tst-auditmod10a.c: Likewise.
51740         * sysdeps/x86_64/tst-auditmod10b.c: Likewise.
51742 2014-03-13  Roland McGrath  <roland@hack.frob.com>
51744         * configure.ac (HAVE_EHDR_START): New check.
51745         * configure: Regenerated.
51746         * config.h.in (HAVE_EHDR_START): New #undef.
51747         * elf/rtld.c (dl_main) [HAVE_EHDR_START]: Use __ehdr_start rather than
51748         assuming the lowest-addressed segment maps the start of the file.
51750 2014-03-13  Joseph Myers  <joseph@codesourcery.com>
51752         * INSTALL: Regenerated.
51754 2014-03-13  Will Newton  <will.newton@linaro.org>
51756         * manual/setjmp.texi (System V contexts): Improve
51757         clarity and grammar of documentation.
51759 2014-03-12  Paul Pluzhnikov  <ppluzhnikov@google.com>
51761         [BZ #16381]
51762         * elf/Makefile (tests): Add tst-pie2.
51763         (tests-pie): Add tst-pie2.
51764         * elf/tst-pie2.c: New file.
51765         * elf/dl-load.c (_dl_map_object_from_fd): Assert correct l_type
51766         for ET_EXEC.
51767         * elf/rtld.c (map_doit): Load executable as lt_executable.
51768         (dl_main): Likewise.
51770 2014-03-12  Joseph Myers  <joseph@codesourcery.com>
51772         [BZ #16642]
51773         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
51774         (__ASSUME_PSELECT): Undefine.
51776 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51778         [BZ #16689]
51779         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S
51780         (__bzero_ppc): Call memset@local instead of __memset_ppc@local for
51781         static build.
51782         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: Build IFUNC
51783         selector for static builds.
51785 2014-03-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
51787         [BZ #16695]
51788         * nscd/netgroupcache.c (addgetnetgrentX): Factor in space for
51789         key in the buffer.
51791 2014-03-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51793         * sysdeps/powerpc/powerpc64/multiarch/strspn.c (strspn): Build
51794         IFUNC selector for static builds.
51796 2014-03-11  Joseph Myers  <joseph@codesourcery.com>
51798         * sysdeps/mips/math_private.h [__mips_hard_float]
51799         (libc_feresetround_ctx): Define to libc_feupdateenv_mips_ctx not
51800         libc_feresetround_mips_ctx.
51801         [__mips_hard_float] (libc_feresetroundf_ctx): Likewise.
51802         [__mips_hard_float] (libc_feresetroundl_ctx): Likewise.
51803         [__mips_hard_float] (libc_feresetround_mips_ctx): Remove.
51805         [BZ #16677]
51806         * math/s_nextafter.c (__nextafter): Do not return value from
51807         overflowing computation.
51808         * sysdeps/i386/fpu/s_nextafterl.c (__nextafterl): Likewise.
51809         * sysdeps/ieee754/flt-32/s_nextafterf.c (__nextafterf): Likewise.
51810         * sysdeps/ieee754/ldbl-128/s_nextafterl.c (__nextafterl):
51811         Likewise.
51812         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl):
51813         Likewise.
51814         * sysdeps/m68k/m680x0/fpu/s_nextafterl.c (__nextafterl): Likewise.
51815         * math/libm-test.inc (nextafter_test): Use ALL_RM_TEST.
51817 2014-03-11  Roland McGrath  <roland@hack.frob.com>
51819         * sysdeps/arm/setjmp.S: Use sfi_breg on stores of mangled registers.
51820         * sysdeps/arm/__longjmp.S: Use sfi_breg on loads of mangled registers.
51821         Move sfi_sp use from the load-multiple (that no longer sets sp) to
51822         the new mov targetting sp.
51824 2014-03-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51826         [BZ #16683]
51827         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S (__bzero_ppc):
51828         Define it for static builds as well.
51829         (NO_BZERO_IMPL): Likewise.
51831 2014-03-11  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
51833         * sysdeps/powerpc/powerpc64/power7/strspn.S: New file: Optimization.
51834         * sysdeps/powerpc/powerpc64/multiarch/strspn.c: New file:
51835         multiarch strspn for PPC64.
51836         * sysdeps/powerpc/powerpc64/multiarch/strspn-ppc64.c: New file
51837         * sysdeps/powerpc/powerpc64/multiarch/strspn-power7.S: New file
51838         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
51839         (__libc_ifunc_impl_list): Likewise.
51840         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strspn
51841         multiarch optimizations
51842         * string/strspn.c (strspn): Using macro to redefine symbol name.
51844 2014-03-10  Vidya Ranganathan  <vidya@linux.vnet.ibm.com>
51845             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51847         * sysdeps/powerpc/powerpc64/power7/strncat.S: New file: Optimization.
51848         * sysdeps/powerpc/powerpc64/multiarch/strncat.c: New file:
51849         multiarch strncat for PPC64.
51850         * sysdeps/powerpc/powerpc64/multiarch/strncat-ppc64.c: New file
51851         * sysdeps/powerpc/powerpc64/multiarch/strncat-power7.S: New file
51852         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
51853         (__libc_ifunc_impl_list): Likewise.
51854         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncat
51855         multiarch optimizations
51857 2014-03-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
51859         [BZ #16639]
51860         * nscd/nscd.service: Make service type forking.
51862 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
51864         * sysdeps/powerpc/power5+/fpu/s_modf.c (__modf): Fix to return correct
51865         sign in non default rounding modes.
51866         * sysdeps/powerpc/power5+/fpu/s_modff.c (__modff): Likewise.
51868 2014-03-08  Joseph Myers  <joseph@codesourcery.com>
51870         * math/libm-test.inc (ALL_RM_TEST): New macro.
51871         (ceil_test): Use ALL_RM_TEST.
51872         (cimag_test): Likewise.
51873         (conj_test): Likewise.
51874         (copysign_test): Likewise.
51875         (cproj_test): Likewise.
51876         (creal_test): Likewise.
51877         (fabs_test): Likewise.
51878         (floor_test): Likewise.
51879         (fmax_test): Likewise.
51880         (fmin_test): Likewise.
51881         (fmod_test): Likewise.
51882         (fpclassify_test): Likewise.
51883         (frexp_test): Likewise.
51884         (ilogb_test): Likewise.
51885         (isfinite_test): Likewise.
51886         (finite_test): Likewise.
51887         (isgreater_test): Likewise.
51888         (isgreaterequal_test): Likewise.
51889         (isinf_test): Likewise.
51890         (isless_test): Likewise.
51891         (islessequal_test): Likewise.
51892         (islessgreater_test): Likewise.
51893         (isnan_test): Likewise.
51894         (isnormal_test): Likewise.
51895         (issignaling_test): Likewise.
51896         (isunordered_test): Likewise.
51897         (logb_test): Likewise.
51898         (logb_downward_test_data): Remove.
51899         (logb_test_downward): Likewise.
51900         (lround_test): Use ALL_RM_TEST.
51901         (llround_test): Likewise.
51902         (modf_test): Likewise.
51903         (nexttoward_test): Likewise.
51904         (remainder_test): Likewise.
51905         (drem_test): Likewise.
51906         (remainder_tonearest_test_data): Likewise.
51907         (remainder_test_tonearest): Likewise.
51908         (drem_test_tonearest): Likewise.
51909         (remainder_towardzero_test_data): Likewise.
51910         (remainder_test_towardzero): Likewise.
51911         (drem_test_towardzero): Likewise.
51912         (remainder_downward_test_data): Likewise.
51913         (remainder_test_downward): Likewise.
51914         (drem_test_downward): Likewise.
51915         (remainder_upward_test_data): Likewise.
51916         (remainder_test_upward): Likewise.
51917         (drem_test_upward): Likewise.
51918         (remquo_test): Use ALL_RM_TEST.  Remove comment about x.
51919         (round_test): Use ALL_RM_TEST.
51920         (signbit_test): Likewise.
51921         (trunc_test): Likewise.
51922         (significand_test): Likewise.
51923         (main): Don't call removed functions.
51925 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
51927         [BZ #16674]
51928         * bits/siginfo.h (ILL_ILLOPC): Condition on [__USE_XOPEN_EXTENDED
51929         || __USE_XOPEN2K8].
51930         (ILL_ILLOPN): Likewise.
51931         (ILL_ILLADR): Likewise.
51932         (ILL_ILLTRP): Likewise.
51933         (ILL_PRVOPC): Likewise.
51934         (ILL_PRVREG): Likewise.
51935         (ILL_COPROC): Likewise.
51936         (ILL_BADSTK): Likewise.
51937         (FPE_INTDIV): Likewise.
51938         (FPE_INTOVF): Likewise.
51939         (FPE_FLTDIV): Likewise.
51940         (FPE_FLTOVF): Likewise.
51941         (FPE_FLTUND): Likewise.
51942         (FPE_FLTRES): Likewise.
51943         (FPE_FLTINV): Likewise.
51944         (FPE_FLTSUB): Likewise.
51945         (SEGV_MAPERR): Likewise.
51946         (SEGV_ACCERR): Likewise.
51947         (BUS_ADRALN): Likewise.
51948         (BUS_ADRERR): Likewise.
51949         (BUS_OBJERR): Likewise.
51950         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
51951         (TRAP_TRACE): Likewise.
51952         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
51953         __USE_XOPEN2K8].
51954         (CLD_KILLED): Likewise.
51955         (CLD_DUMPED): Likewise.
51956         (CLD_TRAPPED): Likewise.
51957         (CLD_STOPPED): Likewise.
51958         (CLD_CONTINUED): Likewise.
51959         (POLL_IN): Likewise.
51960         (POLL_OUT): Likewise.
51961         (POLL_MSG): Likewise.
51962         (POLL_ERR): Likewise.
51963         (POLL_PRI): Likewise.
51964         (POLL_HUP): Likewise.
51965         * sysdeps/unix/sysv/linux/alpha/bits/siginfo.h (ILL_ILLOPC):
51966         Likewise.
51967         (ILL_ILLOPN): Likewise.
51968         (ILL_ILLADR): Likewise.
51969         (ILL_ILLTRP): Likewise.
51970         (ILL_PRVOPC): Likewise.
51971         (ILL_PRVREG): Likewise.
51972         (ILL_COPROC): Likewise.
51973         (ILL_BADSTK): Likewise.
51974         (FPE_INTDIV): Likewise.
51975         (FPE_INTOVF): Likewise.
51976         (FPE_FLTDIV): Likewise.
51977         (FPE_FLTOVF): Likewise.
51978         (FPE_FLTUND): Likewise.
51979         (FPE_FLTRES): Likewise.
51980         (FPE_FLTINV): Likewise.
51981         (FPE_FLTSUB): Likewise.
51982         (SEGV_MAPERR): Likewise.
51983         (SEGV_ACCERR): Likewise.
51984         (BUS_ADRALN): Likewise.
51985         (BUS_ADRERR): Likewise.
51986         (BUS_OBJERR): Likewise.
51987         (BUS_MCEERR_AR): Likewise.
51988         (BUS_MCEERR_AO): Likewise.
51989         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
51990         (TRAP_TRACE): Likewise.
51991         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
51992         __USE_XOPEN2K8].
51993         (CLD_KILLED): Likewise.
51994         (CLD_DUMPED): Likewise.
51995         (CLD_TRAPPED): Likewise.
51996         (CLD_STOPPED): Likewise.
51997         (CLD_CONTINUED): Likewise.
51998         (POLL_IN): Likewise.
51999         (POLL_OUT): Likewise.
52000         (POLL_MSG): Likewise.
52001         (POLL_ERR): Likewise.
52002         (POLL_PRI): Likewise.
52003         (POLL_HUP): Likewise.
52004         * sysdeps/unix/sysv/linux/bits/siginfo.h (ILL_ILLOPC): Likewise.
52005         (ILL_ILLOPN): Likewise.
52006         (ILL_ILLADR): Likewise.
52007         (ILL_ILLTRP): Likewise.
52008         (ILL_PRVOPC): Likewise.
52009         (ILL_PRVREG): Likewise.
52010         (ILL_COPROC): Likewise.
52011         (ILL_BADSTK): Likewise.
52012         (FPE_INTDIV): Likewise.
52013         (FPE_INTOVF): Likewise.
52014         (FPE_FLTDIV): Likewise.
52015         (FPE_FLTOVF): Likewise.
52016         (FPE_FLTUND): Likewise.
52017         (FPE_FLTRES): Likewise.
52018         (FPE_FLTINV): Likewise.
52019         (FPE_FLTSUB): Likewise.
52020         (SEGV_MAPERR): Likewise.
52021         (SEGV_ACCERR): Likewise.
52022         (BUS_ADRALN): Likewise.
52023         (BUS_ADRERR): Likewise.
52024         (BUS_OBJERR): Likewise.
52025         (BUS_MCEERR_AR): Likewise.
52026         (BUS_MCEERR_AO): Likewise.
52027         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
52028         (TRAP_TRACE): Likewise.
52029         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
52030         __USE_XOPEN2K8].
52031         (CLD_KILLED): Likewise.
52032         (CLD_DUMPED): Likewise.
52033         (CLD_TRAPPED): Likewise.
52034         (CLD_STOPPED): Likewise.
52035         (CLD_CONTINUED): Likewise.
52036         (POLL_IN): Likewise.
52037         (POLL_OUT): Likewise.
52038         (POLL_MSG): Likewise.
52039         (POLL_ERR): Likewise.
52040         (POLL_PRI): Likewise.
52041         (POLL_HUP): Likewise.
52042         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h (ILL_ILLOPC):
52043         Likewise.
52044         (ILL_ILLOPN): Likewise.
52045         (ILL_ILLADR): Likewise.
52046         (ILL_ILLTRP): Likewise.
52047         (ILL_PRVOPC): Likewise.
52048         (ILL_PRVREG): Likewise.
52049         (ILL_COPROC): Likewise.
52050         (ILL_BADSTK): Likewise.
52051         (ILL_BADIADDR): Likewise.
52052         (ILL_BREAK): Likewise.
52053         (FPE_INTDIV): Likewise.
52054         (FPE_INTOVF): Likewise.
52055         (FPE_FLTDIV): Likewise.
52056         (FPE_FLTOVF): Likewise.
52057         (FPE_FLTUND): Likewise.
52058         (FPE_FLTRES): Likewise.
52059         (FPE_FLTINV): Likewise.
52060         (FPE_FLTSUB): Likewise.
52061         (FPE_DECOVF): Likewise.
52062         (FPE_DECDIV): Likewise.
52063         (FPE_DECERR): Likewise.
52064         (FPE_INVASC): Likewise.
52065         (FPE_INVDEC): Likewise.
52066         (SEGV_MAPERR): Likewise.
52067         (SEGV_ACCERR): Likewise.
52068         (SEGV_PSTKOVF): Likewise.
52069         (BUS_ADRALN): Likewise.
52070         (BUS_ADRERR): Likewise.
52071         (BUS_OBJERR): Likewise.
52072         (BUS_MCEERR_AR): Likewise.
52073         (BUS_MCEERR_AO): Likewise.
52074         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
52075         (TRAP_TRACE): Likewise.
52076         (TRAP_BRANCH): Likewise.
52077         (TRAP_HWBKPT): Likewise.
52078         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
52079         __USE_XOPEN2K8].
52080         (CLD_KILLED): Likewise.
52081         (CLD_DUMPED): Likewise.
52082         (CLD_TRAPPED): Likewise.
52083         (CLD_STOPPED): Likewise.
52084         (CLD_CONTINUED): Likewise.
52085         (POLL_IN): Likewise.
52086         (POLL_OUT): Likewise.
52087         (POLL_MSG): Likewise.
52088         (POLL_ERR): Likewise.
52089         (POLL_PRI): Likewise.
52090         (POLL_HUP): Likewise.
52091         * sysdeps/unix/sysv/linux/mips/bits/siginfo.h (ILL_ILLOPC): Likewise.
52092         (ILL_ILLOPN): Likewise.
52093         (ILL_ILLADR): Likewise.
52094         (ILL_ILLTRP): Likewise.
52095         (ILL_PRVOPC): Likewise.
52096         (ILL_PRVREG): Likewise.
52097         (ILL_COPROC): Likewise.
52098         (ILL_BADSTK): Likewise.
52099         (FPE_INTDIV): Likewise.
52100         (FPE_INTOVF): Likewise.
52101         (FPE_FLTDIV): Likewise.
52102         (FPE_FLTOVF): Likewise.
52103         (FPE_FLTUND): Likewise.
52104         (FPE_FLTRES): Likewise.
52105         (FPE_FLTINV): Likewise.
52106         (FPE_FLTSUB): Likewise.
52107         (SEGV_MAPERR): Likewise.
52108         (SEGV_ACCERR): Likewise.
52109         (BUS_ADRALN): Likewise.
52110         (BUS_ADRERR): Likewise.
52111         (BUS_OBJERR): Likewise.
52112         (BUS_MCEERR_AR): Likewise.
52113         (BUS_MCEERR_AO): Likewise.
52114         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
52115         (TRAP_TRACE): Likewise.
52116         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
52117         __USE_XOPEN2K8].
52118         (CLD_KILLED): Likewise.
52119         (CLD_DUMPED): Likewise.
52120         (CLD_TRAPPED): Likewise.
52121         (CLD_STOPPED): Likewise.
52122         (CLD_CONTINUED): Likewise.
52123         (POLL_IN): Likewise.
52124         (POLL_OUT): Likewise.
52125         (POLL_MSG): Likewise.
52126         (POLL_ERR): Likewise.
52127         (POLL_PRI): Likewise.
52128         (POLL_HUP): Likewise.
52129         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (ILL_ILLOPC): Likewise.
52130         (ILL_ILLOPN): Likewise.
52131         (ILL_ILLADR): Likewise.
52132         (ILL_ILLTRP): Likewise.
52133         (ILL_PRVOPC): Likewise.
52134         (ILL_PRVREG): Likewise.
52135         (ILL_COPROC): Likewise.
52136         (ILL_BADSTK): Likewise.
52137         (FPE_INTDIV): Likewise.
52138         (FPE_INTOVF): Likewise.
52139         (FPE_FLTDIV): Likewise.
52140         (FPE_FLTOVF): Likewise.
52141         (FPE_FLTUND): Likewise.
52142         (FPE_FLTRES): Likewise.
52143         (FPE_FLTINV): Likewise.
52144         (FPE_FLTSUB): Likewise.
52145         (SEGV_MAPERR): Likewise.
52146         (SEGV_ACCERR): Likewise.
52147         (BUS_ADRALN): Likewise.
52148         (BUS_ADRERR): Likewise.
52149         (BUS_OBJERR): Likewise.
52150         (BUS_MCEERR_AR): Likewise.
52151         (BUS_MCEERR_AO): Likewise.
52152         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
52153         (TRAP_TRACE): Likewise.
52154         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
52155         __USE_XOPEN2K8].
52156         (CLD_KILLED): Likewise.
52157         (CLD_DUMPED): Likewise.
52158         (CLD_TRAPPED): Likewise.
52159         (CLD_STOPPED): Likewise.
52160         (CLD_CONTINUED): Likewise.
52161         (POLL_IN): Likewise.
52162         (POLL_OUT): Likewise.
52163         (POLL_MSG): Likewise.
52164         (POLL_ERR): Likewise.
52165         (POLL_PRI): Likewise.
52166         (POLL_HUP): Likewise.
52167         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (ILL_ILLOPC): Likewise.
52168         (ILL_ILLOPN): Likewise.
52169         (ILL_ILLADR): Likewise.
52170         (ILL_ILLTRP): Likewise.
52171         (ILL_PRVOPC): Likewise.
52172         (ILL_PRVREG): Likewise.
52173         (ILL_COPROC): Likewise.
52174         (ILL_BADSTK): Likewise.
52175         (FPE_INTDIV): Likewise.
52176         (FPE_INTOVF): Likewise.
52177         (FPE_FLTDIV): Likewise.
52178         (FPE_FLTOVF): Likewise.
52179         (FPE_FLTUND): Likewise.
52180         (FPE_FLTRES): Likewise.
52181         (FPE_FLTINV): Likewise.
52182         (FPE_FLTSUB): Likewise.
52183         (SEGV_MAPERR): Likewise.
52184         (SEGV_ACCERR): Likewise.
52185         (BUS_ADRALN): Likewise.
52186         (BUS_ADRERR): Likewise.
52187         (BUS_OBJERR): Likewise.
52188         (BUS_MCEERR_AR): Likewise.
52189         (BUS_MCEERR_AO): Likewise.
52190         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
52191         (TRAP_TRACE): Likewise.
52192         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
52193         __USE_XOPEN2K8].
52194         (CLD_KILLED): Likewise.
52195         (CLD_DUMPED): Likewise.
52196         (CLD_TRAPPED): Likewise.
52197         (CLD_STOPPED): Likewise.
52198         (CLD_CONTINUED): Likewise.
52199         (POLL_IN): Likewise.
52200         (POLL_OUT): Likewise.
52201         (POLL_MSG): Likewise.
52202         (POLL_ERR): Likewise.
52203         (POLL_PRI): Likewise.
52204         (POLL_HUP): Likewise.
52205         * sysdeps/unix/sysv/linux/tile/bits/siginfo.h (ILL_ILLOPC): Likewise.
52206         (ILL_ILLOPN): Likewise.
52207         (ILL_ILLADR): Likewise.
52208         (ILL_ILLTRP): Likewise.
52209         (ILL_PRVOPC): Likewise.
52210         (ILL_PRVREG): Likewise.
52211         (ILL_COPROC): Likewise.
52212         (ILL_BADSTK): Likewise.
52213         (ILL_DBLFLT): Likewise.
52214         (ILL_HARDWALL): Likewise.
52215         (FPE_INTDIV): Likewise.
52216         (FPE_INTOVF): Likewise.
52217         (FPE_FLTDIV): Likewise.
52218         (FPE_FLTOVF): Likewise.
52219         (FPE_FLTUND): Likewise.
52220         (FPE_FLTRES): Likewise.
52221         (FPE_FLTINV): Likewise.
52222         (FPE_FLTSUB): Likewise.
52223         (SEGV_MAPERR): Likewise.
52224         (SEGV_ACCERR): Likewise.
52225         (BUS_ADRALN): Likewise.
52226         (BUS_ADRERR): Likewise.
52227         (BUS_OBJERR): Likewise.
52228         (BUS_MCEERR_AR): Likewise.
52229         (BUS_MCEERR_AO): Likewise.
52230         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
52231         (TRAP_TRACE): Likewise.
52232         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
52233         __USE_XOPEN2K8].
52234         (CLD_KILLED): Likewise.
52235         (CLD_DUMPED): Likewise.
52236         (CLD_TRAPPED): Likewise.
52237         (CLD_STOPPED): Likewise.
52238         (CLD_CONTINUED): Likewise.
52239         (POLL_IN): Likewise.
52240         (POLL_OUT): Likewise.
52241         (POLL_MSG): Likewise.
52242         (POLL_ERR): Likewise.
52243         (POLL_PRI): Likewise.
52244         (POLL_HUP): Likewise.
52245         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (ILL_ILLOPC): Likewise.
52246         (ILL_ILLOPN): Likewise.
52247         (ILL_ILLADR): Likewise.
52248         (ILL_ILLTRP): Likewise.
52249         (ILL_PRVOPC): Likewise.
52250         (ILL_PRVREG): Likewise.
52251         (ILL_COPROC): Likewise.
52252         (ILL_BADSTK): Likewise.
52253         (FPE_INTDIV): Likewise.
52254         (FPE_INTOVF): Likewise.
52255         (FPE_FLTDIV): Likewise.
52256         (FPE_FLTOVF): Likewise.
52257         (FPE_FLTUND): Likewise.
52258         (FPE_FLTRES): Likewise.
52259         (FPE_FLTINV): Likewise.
52260         (FPE_FLTSUB): Likewise.
52261         (SEGV_MAPERR): Likewise.
52262         (SEGV_ACCERR): Likewise.
52263         (BUS_ADRALN): Likewise.
52264         (BUS_ADRERR): Likewise.
52265         (BUS_OBJERR): Likewise.
52266         (BUS_MCEERR_AR): Likewise.
52267         (BUS_MCEERR_AO): Likewise.
52268         (TRAP_BRKPT): Condition on [__USE_XOPEN_EXTENDED].
52269         (TRAP_TRACE): Likewise.
52270         (CLD_EXITED): Condition on [__USE_XOPEN_EXTENDED ||
52271         __USE_XOPEN2K8].
52272         (CLD_KILLED): Likewise.
52273         (CLD_DUMPED): Likewise.
52274         (CLD_TRAPPED): Likewise.
52275         (CLD_STOPPED): Likewise.
52276         (CLD_CONTINUED): Likewise.
52277         (POLL_IN): Likewise.
52278         (POLL_OUT): Likewise.
52279         (POLL_MSG): Likewise.
52280         (POLL_ERR): Likewise.
52281         (POLL_PRI): Likewise.
52282         (POLL_HUP): Likewise.
52283         * conform/Makefile (test-xfail-POSIX/signal.h/conform): Remove.
52284         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
52286         [BZ #16670]
52287         * posix/sched.h [!__USE_XOPEN2K] (__need_time_t): Don't define
52288         before #include of <time.h>.
52289         [!__USE_XOPEN2K] (__need_timespec): Likewise.
52290         * conform/Makefile (test-xfail-POSIX/sched.h/conform): Remove.
52291         (test-xfail-UNIX98/sched.h/conform): Likewise.
52293 2014-03-07  Marcus Shawcroft  <marcus.shawcroft@arm.com>
52295         * sysdeps/aarch64/fpu/feenablxcpt.c (feenableexcept): Detect and
52296         error absence of trapping exception support.
52297         * sysdeps/aarch64/fpu/fesetenv.c (fesetenv): Likewise.
52299 2014-03-07  Joseph Myers  <joseph@codesourcery.com>
52301         * catgets/Makefile (tests-special): Add $(objpfx)sample.SJIS.cat.
52302         ($(objpfx)sample.SJIS.cat): Use $(evaluate-test).
52303         * timezone/Makefile (testdata): Move definition above include of
52304         Rules.
52305         (test-zones): New variable.
52306         (tests-special): Add zone files.
52307         (build-testdata): Use $(evaluate-test).
52309         * elf/Makefile (tests-special): Rename tests to end with .out.
52310         ($(objpfx)noload-mem): Likewise.
52311         ($(objpfx)tst-leaks1-mem): Likewise.
52312         ($(objpfx)tst-leaks1-static-mem.out): Likewise.
52313         * iconv/Makefile (xtests-special): Change test-iconvconfig to
52314         $(objpfx)test-iconvconfig.out.
52315         (test-iconvconfig): Change to $(objpfx)test-iconvconfig.out.  Use
52316         set -e inside subshell and redirect output to file.
52317         * iconvdata/Makefile (generated): Rename tests to end with .out.
52318         Correct type.
52319         (tests-special): Rename tests to end with .out.
52320         ($(objpfx)mtrace-tst-loading): Likewise.
52321         * intl/Makefile (generated): Likewise.
52322         (tests-special): Likewise.
52323         ($(objpfx)mtrace-tst-gettext): Likewise.
52324         * misc/Makefile (generated): Likewise.
52325         (tests-special): Likewise.
52326         ($(objpfx)tst-error1-mem): Likewise.
52327         * nptl/Makefile (tests-special): Likewise.
52328         ($(objpfx)tst-stack3-mem): Likewise.
52329         (generated): Likewise.
52330         * posix/Makefile (generated): Likewise.
52331         (tests-special): Likewise.
52332         (xtests-special): Likewise.
52333         ($(objpfx)tst-fnmatch-mem): Likewise.
52334         ($(objpfx)bug-regex2-mem): Likewise.
52335         ($(objpfx)bug-regex14-mem): Likewise.
52336         ($(objpfx)bug-regex21-mem): Likewise.
52337         ($(objpfx)bug-regex31-mem): Likewise.
52338         ($(objpfx)tst-vfork3-mem): Likewise.
52339         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
52340         ($(objpfx)tst-pcre-mem): Likewise.
52341         ($(objpfx)tst-boost-mem): Likewise.
52342         ($(objpfx)bug-ga2-mem): Likewise.
52343         ($(objpfx)bug-glob2-mem): Likewise.
52344         * resolv/Makefile (generate): Likewise.
52345         (tests-special): Likewise.
52346         (xtests-special): Likewise.
52347         (generated): Likewise.
52348         ($(objpfx)mtrace-tst-leaks): Likewise.
52349         ($(objpfx)mtrace-tst-leaks2): Likewise.
52351         * scripts/merge-test-results.sh: New file.
52352         * Makefile (tests-special-notdir): New variable.
52353         (tests): Run merge-test-results.sh.
52354         (xtests): Likewise.
52355         * Rules (tests-special-notdir): New variable.
52356         (xtests-special-notdir): Likewise.
52357         (tests): Run merge-test-results.sh
52358         (xtests): Likewise.
52360         * Makeconfig (test-xfail-name): New variable.
52361         (evaluate-test): Use $(test-xfail-name) instead of $(@F:.out=) to
52362         compute variable name for expected failures.
52363         * conform/Makefile (conformtest-headers-data): New variable.
52364         (conformtest-standards): Likewise.
52365         (conformtest-headers-ISO): Likewise.
52366         (conformtest-headers-ISO99): Likewise.
52367         (conformtest-headers-ISO11): Likewise.
52368         (conformtest-headers-POSIX): Likewise.
52369         (conformtest-headers-XPG3): Likewise.
52370         (conformtest-headers-XPG4): Likewise.
52371         (conformtest-headers-UNIX98): Likewise.
52372         (conformtest-headers-XOPEN2K): Likewise.
52373         (conformtest-headers-POSIX2008): Likewise.
52374         (conformtest-headers-XOPEN2K8): Likewise.
52375         (conformtest-header-list-base): Likewise.
52376         (conformtest-header-list-tests): Likewise.
52377         (conformtest-header-base): Likewise.
52378         (conformtest-header-tests): Likewise.
52379         (tests-special): Add $(conformtest-header-list-tests).  If
52380         [$(fast-check) && !$(cross-compiling)], add
52381         $(conformtest-header-tests) instead of
52382         $(objpfx)run-conformtest.out.
52383         (generated): Add $(conformtest-header-list-base).  If
52384         [$(fast-check) && !$(cross-compiling)], add
52385         $(conformtest-header-base).  Remove previous setting.
52386         ($(conformtest-header-list-tests)): New target.
52387         (test-xfail-run-conformtest): Remove variable.
52388         ($(objpfx)run-conformtest.out): Remove target.
52389         (test-xfail-ISO11/complex.h/conform): New variable.
52390         (test-xfail-ISO11/stdalign.h/conform): Likewise.
52391         (test-xfail-ISO11/stdnoreturn.h/conform): Likewise.
52392         (test-xfail-XPG3/varargs.h/conform): Likewise.
52393         (test-xfail-XPG4/varargs.h/conform): Likewise.
52394         (test-xfail-UNIX98/varargs.h/conform): Likewise.
52395         (test-xfail-XPG4/ndbm.h/conform): Likewise.
52396         (test-xfail-UNIX98/ndbm.h/conform): Likewise.
52397         (test-xfail-XOPEN2K/ndbm.h/conform): Likewise.
52398         (test-xfail-XOPEN2K8/ndbm.h/conform): Likewise.
52399         (test-xfail-XPG3/fcntl.h/conform): Likewise.
52400         (test-xfail-XPG3/ftw.h/conform): Likewise.
52401         (test-xfail-XPG3/grp.h/conform): Likewise.
52402         (test-xfail-XPG3/langinfo.h/conform): Likewise.
52403         (test-xfail-XPG3/limits.h/conform): Likewise.
52404         (test-xfail-XPG3/pwd.h/conform): Likewise.
52405         (test-xfail-XPG3/search.h/conform): Likewise.
52406         (test-xfail-XPG3/signal.h/conform): Likewise.
52407         (test-xfail-XPG3/stdio.h/conform): Likewise.
52408         (test-xfail-XPG3/stdlib.h/conform): Likewise.
52409         (test-xfail-XPG3/string.h/conform): Likewise.
52410         (test-xfail-XPG3/sys/ipc.h/conform): Likewise.
52411         (test-xfail-XPG3/sys/msg.h/conform): Likewise.
52412         (test-xfail-XPG3/sys/sem.h/conform): Likewise.
52413         (test-xfail-XPG3/sys/shm.h/conform): Likewise.
52414         (test-xfail-XPG3/sys/stat.h/conform): Likewise.
52415         (test-xfail-XPG3/sys/types.h/conform): Likewise.
52416         (test-xfail-XPG3/sys/wait.h/conform): Likewise.
52417         (test-xfail-XPG3/termios.h/conform): Likewise.
52418         (test-xfail-XPG3/time.h/conform): Likewise.
52419         (test-xfail-XPG3/unistd.h/conform): Likewise.
52420         (test-xfail-XPG4/arpa/inet.h/conform): Likewise.
52421         (test-xfail-XPG4/fcntl.h/conform): Likewise.
52422         (test-xfail-XPG4/langinfo.h/conform): Likewise.
52423         (test-xfail-XPG4/netdb.h/conform): Likewise.
52424         (test-xfail-XPG4/netinet/in.h/conform): Likewise.
52425         (test-xfail-XPG4/signal.h/conform): Likewise.
52426         (test-xfail-XPG4/stdio.h/conform): Likewise.
52427         (test-xfail-XPG4/stdlib.h/conform): Likewise.
52428         (test-xfail-XPG4/stropts.h/conform): Likewise.
52429         (test-xfail-XPG4/sys/ipc.h/conform): Likewise.
52430         (test-xfail-XPG4/sys/msg.h/conform): Likewise.
52431         (test-xfail-XPG4/sys/sem.h/conform): Likewise.
52432         (test-xfail-XPG4/sys/shm.h/conform): Likewise.
52433         (test-xfail-XPG4/sys/socket.h/conform): Likewise.
52434         (test-xfail-XPG4/sys/stat.h/conform): Likewise.
52435         (test-xfail-XPG4/sys/time.h/conform): Likewise.
52436         (test-xfail-XPG4/sys/types.h/conform): Likewise.
52437         (test-xfail-XPG4/sys/wait.h/conform): Likewise.
52438         (test-xfail-XPG4/termios.h/conform): Likewise.
52439         (test-xfail-XPG4/ucontext.h/conform): Likewise.
52440         (test-xfail-XPG4/unistd.h/conform): Likewise.
52441         (test-xfail-XPG4/utmpx.h/conform): Likewise.
52442         (test-xfail-POSIX/sched.h/conform): Likewise.
52443         (test-xfail-POSIX/signal.h/conform): Likewise.
52444         (test-xfail-POSIX/sys/wait.h/conform): Likewise.
52445         (test-xfail-POSIX/tar.h/conform): Likewise.
52446         (test-xfail-UNIX98/arpa/inet.h/conform): Likewise.
52447         (test-xfail-UNIX98/fcntl.h/conform): Likewise.
52448         (test-xfail-UNIX98/langinfo.h/conform): Likewise.
52449         (test-xfail-UNIX98/netdb.h/conform): Likewise.
52450         (test-xfail-UNIX98/netinet/in.h/conform): Likewise.
52451         (test-xfail-UNIX98/sched.h/conform): Likewise.
52452         (test-xfail-UNIX98/signal.h/conform): Likewise.
52453         (test-xfail-UNIX98/stdio.h/conform): Likewise.
52454         (test-xfail-UNIX98/stdlib.h/conform): Likewise.
52455         (test-xfail-UNIX98/stropts.h/conform): Likewise.
52456         (test-xfail-UNIX98/sys/ipc.h/conform): Likewise.
52457         (test-xfail-UNIX98/sys/msg.h/conform): Likewise.
52458         (test-xfail-UNIX98/sys/sem.h/conform): Likewise.
52459         (test-xfail-UNIX98/sys/shm.h/conform): Likewise.
52460         (test-xfail-UNIX98/sys/socket.h/conform): Likewise.
52461         (test-xfail-UNIX98/sys/time.h/conform): Likewise.
52462         (test-xfail-UNIX98/sys/wait.h/conform): Likewise.
52463         (test-xfail-UNIX98/ucontext.h/conform): Likewise.
52464         (test-xfail-UNIX98/unistd.h/conform): Likewise.
52465         (test-xfail-UNIX98/utmpx.h/conform): Likewise.
52466         (test-xfail-XOPEN2K/aio.h/conform): Likewise.
52467         (test-xfail-XOPEN2K/arpa/inet.h/conform): Likewise.
52468         (test-xfail-XOPEN2K/fcntl.h/conform): Likewise.
52469         (test-xfail-XOPEN2K/langinfo.h/conform): Likewise.
52470         (test-xfail-XOPEN2K/math.h/conform): Likewise.
52471         (test-xfail-XOPEN2K/mqueue.h/conform): Likewise.
52472         (test-xfail-XOPEN2K/netdb.h/conform): Likewise.
52473         (test-xfail-XOPEN2K/netinet/in.h/conform): Likewise.
52474         (test-xfail-XOPEN2K/semaphore.h/conform): Likewise.
52475         (test-xfail-XOPEN2K/signal.h/conform): Likewise.
52476         (test-xfail-XOPEN2K/stdarg.h/conform): Likewise.
52477         (test-xfail-XOPEN2K/stdio.h/conform): Likewise.
52478         (test-xfail-XOPEN2K/stropts.h/conform): Likewise.
52479         (test-xfail-XOPEN2K/sys/ipc.h/conform): Likewise.
52480         (test-xfail-XOPEN2K/sys/msg.h/conform): Likewise.
52481         (test-xfail-XOPEN2K/sys/sem.h/conform): Likewise.
52482         (test-xfail-XOPEN2K/sys/shm.h/conform): Likewise.
52483         (test-xfail-XOPEN2K/sys/socket.h/conform): Likewise.
52484         (test-xfail-XOPEN2K/sys/wait.h/conform): Likewise.
52485         (test-xfail-XOPEN2K/termios.h/conform): Likewise.
52486         (test-xfail-XOPEN2K/tgmath.h/conform): Likewise.
52487         (test-xfail-XOPEN2K/ucontext.h/conform): Likewise.
52488         (test-xfail-XOPEN2K/utmpx.h/conform): Likewise.
52489         (test-xfail-POSIX2008/arpa/inet.h/conform): Likewise.
52490         (test-xfail-POSIX2008/fcntl.h/conform): Likewise.
52491         (test-xfail-POSIX2008/netdb.h/conform): Likewise.
52492         (test-xfail-POSIX2008/netinet/in.h/conform): Likewise.
52493         (test-xfail-POSIX2008/signal.h/conform): Likewise.
52494         (test-xfail-POSIX2008/stropts.h/conform): Likewise.
52495         (test-xfail-POSIX2008/sys/socket.h/conform): Likewise.
52496         (test-xfail-POSIX2008/sys/wait.h/conform): Likewise.
52497         (test-xfail-XOPEN2K8/arpa/inet.h/conform): Likewise.
52498         (test-xfail-XOPEN2K8/fcntl.h/conform): Likewise.
52499         (test-xfail-XOPEN2K8/limits.h/conform): Likewise.
52500         (test-xfail-XOPEN2K8/math.h/conform): Likewise.
52501         (test-xfail-XOPEN2K8/netdb.h/conform): Likewise.
52502         (test-xfail-XOPEN2K8/netinet/in.h/conform): Likewise.
52503         (test-xfail-XOPEN2K8/signal.h/conform): Likewise.
52504         (test-xfail-XOPEN2K8/stdio.h/conform): Likewise.
52505         (test-xfail-XOPEN2K8/stropts.h/conform): Likewise.
52506         (test-xfail-XOPEN2K8/sys/ipc.h/conform): Likewise.
52507         (test-xfail-XOPEN2K8/sys/msg.h/conform): Likewise.
52508         (test-xfail-XOPEN2K8/sys/select.h/conform): Likewise.
52509         (test-xfail-XOPEN2K8/sys/sem.h/conform): Likewise.
52510         (test-xfail-XOPEN2K8/sys/shm.h/conform): Likewise.
52511         (test-xfail-XOPEN2K8/sys/socket.h/conform): Likewise.
52512         (test-xfail-XOPEN2K8/sys/time.h/conform): Likewise.
52513         (test-xfail-XOPEN2K8/sys/wait.h/conform): Likewise.
52514         (test-xfail-XOPEN2K8/termios.h/conform): Likewise.
52515         (test-xfail-XOPEN2K8/tgmath.h/conform): Likewise.
52516         (test-xfail-XOPEN2K8/utmpx.h/conform): Likewise.
52517         (conformtest-cc-flags): Likewise.
52518         ($(conformtest-header-tests): New target.
52519         * conform/check-header-lists.sh: New file.
52520         * conform/run-conformtest.sh: Remove.
52522         * conform/conformtest.pl: Allow ' and \ in values given for
52523         constants.
52524         * conform/data/semaphore.h-data [POSIX] (fcntl.h): Allow header
52525         inclusion.
52526         [POSIX] (sys/types.h): Likewise.
52527         [POSIX2008 || XOPEN2K8] (sys/types.h): Don't allow header
52528         inclusion.
52529         [POSIX || UNIX98 || XOPEN2K] (time.h): Don't allow header
52530         inclusion.
52531         * conform/data/signal.h-data (SIGIO): Remove expectation.
52532         [XPG3] (SIGBUS): Do not expect.
52533         [POSIX || XPG3] (SIGPOLL): Likewise.
52534         [POSIX || XPG3] (SIGPROF): Likewise.
52535         [POSIX || XPG3] (SIGSYS): Likewise.
52536         [XPG3] (SIGTRAP): Likewise.
52537         [POSIX || XPG3] (SIGURG): Likewise.
52538         [POSIX || XPG3] (SIGVTALRM): Likewise.
52539         [POSIX || XPG3] (SIGXCPU): Likewise.
52540         [POSIX || XPG3] (SIGXFSZ): Likewise.
52541         [POSIX] (SA_SIGINFO): Expect.
52542         [XPG3] (siginfo_t): Do not expect type or contents.
52543         [POSIX] (si_pid): Do not expect element.
52544         [POSIX] (si_uid): Likewise.
52545         [POSIX] (si_addr): Likewise.
52546         [POSIX] (si_status): Likewise.
52547         [POSIX] (si_band): Likewise.
52548         [XPG4] (si_value): Likewise.
52549         [POSIX || XPG3] (ILL_ILLOPC): Do not expect.
52550         [POSIX || XPG3] (ILL_ILLOPN): Likewise.
52551         [POSIX || XPG3] (ILL_ILLADR): Likewise.
52552         [POSIX || XPG3] (ILL_ILLTRP): Likewise.
52553         [POSIX || XPG3] (ILL_PRVOPC): Likewise.
52554         [POSIX || XPG3] (ILL_PRVREG): Likewise.
52555         [POSIX || XPG3] (ILL_COPROC): Likewise.
52556         [POSIX || XPG3] (ILL_BADSTK): Likewise.
52557         [POSIX || XPG3] (FPE_INTDIV): Likewise.
52558         [POSIX || XPG3] (FPE_INTOVF): Likewise.
52559         [POSIX || XPG3] (FPE_FLTDIV): Likewise.
52560         [POSIX || XPG3] (FPE_FLTOVF): Likewise.
52561         [POSIX || XPG3] (FPE_FLTUND): Likewise.
52562         [POSIX || XPG3] (FPE_FLTRES): Likewise.
52563         [POSIX || XPG3] (FPE_FLTINV): Likewise.
52564         [POSIX || XPG3] (FPE_FLTSUB): Likewise.
52565         [POSIX || XPG3] (SEGV_MAPERR): Likewise.
52566         [POSIX || XPG3] (SEGV_ACCERR): Likewise.
52567         [POSIX || XPG3] (BUS_ADRALN): Likewise.
52568         [POSIX || XPG3] (BUS_ADRERR): Likewise.
52569         [POSIX || XPG3] (BUS_OBJERR): Likewise.
52570         [POSIX || XPG3] (CLD_EXITED): Likewise.
52571         [POSIX || XPG3] (CLD_KILLED): Likewise.
52572         [POSIX || XPG3] (CLD_DUMPED): Likewise.
52573         [POSIX || XPG3] (CLD_TRAPPED): Likewise.
52574         [POSIX || XPG3] (CLD_STOPPED): Likewise.
52575         [POSIX || XPG3] (CLD_CONTINUED): Likewise.
52576         [POSIX || XPG3] (POLL_IN): Likewise.
52577         [POSIX || XPG3] (POLL_OUT): Likewise.
52578         [POSIX || XPG3] (POLL_MSG): Likewise.
52579         [POSIX || XPG3] (POLL_ERR): Likewise.
52580         [POSIX || XPG3] (POLL_PRI): Likewise.
52581         [POSIX || XPG3] (POLL_HUP): Likewise.
52582         [POSIX || XPG3 || POSIX2008] (TRAP_BRKPT): Likewise.
52583         [POSIX || XPG3 || POSIX2008] (TRAP_TRACE): Likewise.
52584         (SIG*): Do not allow.
52585         [XPG3] (si_*): Likewise.
52586         [XPG3] (SI_*): Likewise.
52587         [XPG3 || XPG4] (sigev_*): Likewise.
52588         [XPG3 || XPG4] (SIGEV_*): Likewise.
52589         [XPG3 || XPG4] (sival_*): Likewise.
52590         [POSIX || XPG3 || XPG4] (uc_*): Likewise.
52591         [POSIX || XPG3] (BUS_*): Likewise.
52592         [POSIX || XPG3] (CLD_*): Likewise.
52593         [POSIX || XPG3] (FPE_*): Likewise.
52594         [POSIX || XPG3] (ILL_*): Likewise.
52595         [POSIX || XPG3] (POLL_*): Likewise.
52596         [POSIX || XPG3] (SEGV_*): Likewise.
52597         [POSIX || XPG3 || POSIX2008] (SS_*): Likewise.
52598         [POSIX || XPG3 || POSIX2008] (SV_*): Likewise.
52599         [POSIX || XPG3 || POSIX2008] (TRAP_*): Likewise.
52600         [POSIX || XPG3 || POSIX2008] (ss_*): Likewise.
52601         [POSIX || XPG3 || POSIX2008] (sv_*): Likewise.
52602         * conform/data/tar.h-data (TMAGLEN): Use macro-int-constant.
52603         Specify type and value.
52604         (TVERSLEN): Likewise.
52605         (REGTYPE): Likewise.
52606         (AREGTYPE): Likewise.
52607         (LNKTYPE): Likewise.
52608         (SYMTYPE): Likewise.
52609         (CHRTYPE): Likewise.
52610         (BLKTYPE): Likewise.
52611         (DIRTYPE): Likewise.
52612         (FIFOTYPE): Likewise.
52613         (CONTTYPE): Likewise.
52614         (TSUID): Likewise.
52615         (TSGID): Likewise.
52616         (TSVTX): Likewise.
52617         (TUREAD): Likewise.
52618         (TUWRITE): Likewise.
52619         (TUEXEC): Likewise.
52620         (TGREAD): Likewise.
52621         (TGWRITE): Likewise.
52622         (TGEXEC): Likewise.
52623         (TOREAD): Likewise.
52624         (TOWRITE): Likewise.
52625         (TOEXEC): Likewise.
52626         [POSIX] (TSVTX): Expect constant.
52628 2014-03-06  Joseph Myers  <joseph@codesourcery.com>
52630         * Makefile (tests): Change dependencies to ....
52631         (tests-special): ... additions to this variable.
52632         (tests): Depend on $(tests-special).
52633         * Makerules (check-abi-list): New variable.
52634         (check-abi): Depend on $(check-abi-list).
52635         [$(subdir) = elf] (tests-special): Add
52636         $(objpfx)check-abi-libc.out.
52637         [$(build-shared) = yes && subdir] (tests-special): Add
52638         $(check-abi-list).
52639         [$(build-shared) = yes && subdir] (tests): Do not depend on
52640         check-abi.
52641         * Rules (tests): Depend on $(tests-special).
52642         (xtests): Depend on $(xtests-special).
52643         * catgets/Makefile (tests): Change dependencies to ....
52644         (tests-special): ... additions to this variable.
52645         * conform/Makefile (tests): Change dependencies to ....
52646         (tests-special): ... additions to this variable.
52647         * elf/Makefile (tests): Change dependencies to ....
52648         (tests-special): ... additions to this variable.
52649         * grp/Makefile (tests): Change dependencies to ....
52650         (tests-special): ... additions to this variable.
52651         * iconv/Makefile (xtests): Change dependencies to ....
52652         (xtests-special): ... additions to this variable.
52653         * iconvdata/Makefile (tests): Change dependencies to ....
52654         (tests-special): ... additions to this variable.
52655         * intl/Makefile (tests): Change dependencies to ....
52656         (tests-special): ... additions to this variable.  Also add
52657         $(objpfx)tst-gettext.out.
52658         * io/Makefile (tests): Change dependencies to ....
52659         (tests-special): ... additions to this variable.
52660         * libio/Makefile (tests): Change dependencies to ....
52661         (tests-special): ... additions to this variable.
52662         * malloc/Makefile (tests): Change dependencies to ....
52663         (tests-special): ... additions to this variable.
52664         * misc/Makefile (tests): Change dependencies to ....
52665         (tests-special): ... additions to this variable.
52666         * nptl/Makefile (tests): Change dependencies to ....
52667         (tests-special): ... additions to this variable.
52668         * nptl_db/Makefile (tests): Change dependencies to ....
52669         (tests-special): ... additions to this variable.
52670         * posix/Makefile (tests): Change dependencies to ....
52671         (tests-special): ... additions to this variable.
52672         (xtests): Change dependencies to ....
52673         (xtests-special): ... additions to this variable.
52674         * resolv/Makefile (tests): Change dependencies to ....
52675         (tests-special): ... additions to this variable.
52676         (xtests): Change dependencies to ....
52677         (xtests-special): ... additions to this variable.
52678         * stdio-common/Makefile (tests): Change dependencies to ....
52679         (tests-special): ... additions to this variable.
52680         (do-tst-unbputc): Remove target.
52681         (do-tst-printf): Likewise.
52682         * stdlib/Makefile (tests): Change dependencies to ....
52683         (tests-special): ... additions to this variable.
52684         * string/Makefile (tests): Change dependencies to ....
52685         (tests-special): ... additions to this variable.
52686         * sysdeps/x86/Makefile (tests): Change dependencies to ....
52687         (tests-special): ... additions to this variable.
52689         * conform/data/netinet/tcp.h-data [POSIX2008 || XOPEN2K8]: Enable
52690         whole file.
52691         * conform/data/sys/timeb.h-data [POSIX2008 || XOPEN2K8]: Disable
52692         whole file.
52693         * conform/data/sys/uio.h-data [POSIX2008]: Likewise.
52694         * conform/data/ucontext.h-data [POSIX2008 || XOPEN2K8]: Likewise.
52696         * conform/data/aio.h-data [XPG3 || XPG4]: Disable whole file.
52697         * conform/data/arpa/inet.h-data [XPG3]: Likewise.
52698         * conform/data/dlfcn.h-data [XPG3 || XPG4]: Likewise.
52699         * conform/data/fmtmsg.h-data [XPG3]: Likewise.
52700         * conform/data/libgen.h-data [XPG3]: Likewise.
52701         * conform/data/mqueue.h-data [XPG3 || XPG4]: Likewise.
52702         * conform/data/ndbm.h-data [XPG3]: Likewise.
52703         * conform/data/net/if.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
52704         * conform/data/netdb.h-data [XPG3]: Likewise.
52705         * conform/data/netinet/in.h-data [XPG3]: Likewise.
52706         * conform/data/poll.h-data [XPG3]: Likewise.
52707         * conform/data/spawn.h-data [XPG3 || XPG4 || UNIX98]: Likewise.
52708         * conform/data/strings.h-data [XPG3]: Likewise.
52709         * conform/data/stropts.h-data [XPG3]: Likewise.
52710         * conform/data/sys/mman.h-data [XPG3]: Likewise.
52711         * conform/data/sys/resource.h-data [XPG3]: Likewise.
52712         * conform/data/sys/select.h-data [XPG3 || XPG4 || UNIX98]:
52713         Likewise.
52714         * conform/data/sys/statvfs.h-data [XPG3]: Likewise.
52715         * conform/data/sys/time.h-data [XPG3]: Likewise.
52716         * conform/data/sys/timeb.h-data [XPG3]: Likewise.
52717         * conform/data/sys/uio.h-data [XPG3]: Likewise.
52718         * conform/data/sys/un.h-data [XPG3]: Likewise.
52719         * conform/data/syslog.h-data [XPG3]: Likewise.
52720         * conform/data/ucontext.h-data [XPG3]: Likewise.
52721         * conform/data/utmpx.h-data [XPG3]: Likewise.
52722         * conform/data/varargs.h-data [UNIX98]: Enable file.
52724         * manual/Makefile (INSTALL_INFO): Remove variable setting.
52726         * math/libm-test.inc (struct test_f_f_data): Move expected results
52727         into structure for each rounding mode.
52728         (struct test_ff_f_data): Likewise.
52729         (struct test_ff_f_data_nexttoward): Likewise.
52730         (struct test_fi_f_data): Likewise.
52731         (struct test_fl_f_data): Likewise.
52732         (struct test_if_f_data): Likewise.
52733         (struct test_fff_f_data): Likewise.
52734         (struct test_c_f_data): Likewise.
52735         (struct test_f_f1_data): Likewise.
52736         (struct test_fF_f1_data): Likewise.
52737         (struct test_ffI_f1_data): Likewise.
52738         (struct test_c_c_data): Likewise.
52739         (struct test_cc_c_data): Likewise.
52740         (struct test_f_i_data): Likewise.
52741         (struct test_ff_i_data): Likewise.
52742         (struct test_f_l_data): Likewise.
52743         (struct test_f_L_data): Likewise.
52744         (struct test_fFF_11_data): Likewise.
52745         (RM_): New macro.
52746         (RM_FE_DOWNWARD): Likewise.
52747         (RM_FE_TONEAREST): Likewise.
52748         (RM_FE_TOWARDZERO): Likewise.
52749         (RM_FE_UPWARD): Likewise.
52750         (RUN_TEST_LOOP_f_f): Update references to expected results.
52751         (RUN_TEST_LOOP_2_f): Likewise.
52752         (RUN_TEST_LOOP_fff_f): Likewise.
52753         (RUN_TEST_LOOP_c_f): Likewise.
52754         (RUN_TEST_LOOP_f_f1): Likewise.
52755         (RUN_TEST_LOOP_fF_f1): Likewise.
52756         (RUN_TEST_LOOP_fI_f1): Likewise.
52757         (RUN_TEST_LOOP_ffI_f1): Likewise.
52758         (RUN_TEST_LOOP_c_c): Likewise.
52759         (RUN_TEST_LOOP_cc_c): Likewise.
52760         (RUN_TEST_LOOP_f_i): Likewise.
52761         (RUN_TEST_LOOP_f_i_tg): Likewise.
52762         (RUN_TEST_LOOP_ff_i_tg): Likewise.
52763         (RUN_TEST_LOOP_f_b): Likewise.
52764         (RUN_TEST_LOOP_f_b_tg): Likewise.
52765         (RUN_TEST_LOOP_f_l): Likewise.
52766         (RUN_TEST_LOOP_f_L): Likewise.
52767         (RUN_TEST_LOOP_fFF_11): Likewise.
52768         * math/gen-libm-test.pl (parse_args): Output four copies of
52769         expected results for each test.
52771         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
52772         (__ASSUME_UTIMES): Remove.
52773         * sysdeps/unix/sysv/linux/tile/kernel-features.h
52774         (__ASSUME_UTIMES): Likewise.
52776         * math/gen-auto-libm-tests.c: Update comment on output format.
52777         (output_for_one_input_case): Generate before-rounding and
52778         after-rounding information as conditions on output flags not
52779         floating-point format.
52780         * math/auto-libm-test-out: Regenerated.
52781         * math/gen-libm-test.pl (cond_value): New function.
52782         (or_cond_value): Use cond_value.
52783         (generate_testfile): Handle conditional exceptions.
52785 2014-03-05  Joseph Myers  <joseph@codesourcery.com>
52787         * math/libm-test.inc (max_valid_error): New variable.
52788         (init_max_error): Take new argument specifying whether function
52789         results are exactly determined.  Set max_valid_error and bound
52790         other variables for errors based on this argument.
52791         (set_max_error): Do not record results above max_valid_error.
52792         (check_float_internal): Only accept errors of up to 0.5ulps if
52793         also at most max_valid_error.
52794         (START): Take new argument EXACT and pass it to init_max_error.
52795         (acos_test): Update call to START.
52796         (acos_test_tonearest): Likewise.
52797         (acos_test_towardzero): Likewise.
52798         (acos_test_downward): Likewise.
52799         (acos_test_upward): Likewise.
52800         (acosh_test): Likewise.
52801         (asin_test): Likewise.
52802         (asin_test_tonearest): Likewise.
52803         (asin_test_towardzero): Likewise.
52804         (asin_test_downward): Likewise.
52805         (asin_test_upward): Likewise.
52806         (asinh_test): Likewise.
52807         (atan_test): Likewise.
52808         (atanh_test): Likewise.
52809         (atan2_test): Likewise.
52810         (cabs_test): Likewise.
52811         (cacos_test): Likewise.
52812         (cacosh_test): Likewise.
52813         (carg_test): Likewise.
52814         (casin_test): Likewise.
52815         (casinh_test): Likewise.
52816         (catan_test): Likewise.
52817         (catanh_test): Likewise.
52818         (cbrt_test): Likewise.
52819         (ccos_test): Likewise.
52820         (ccosh_test): Likewise.
52821         (ceil_test): Likewise.
52822         (cexp_test): Likewise.
52823         (cimag_test): Likewise.
52824         (clog_test): Likewise.
52825         (clog10_test): Likewise.
52826         (conj_test): Likewise.
52827         (copysign_test): Likewise.
52828         (cos_test): Likewise.
52829         (cos_test_tonearest): Likewise.
52830         (cos_test_towardzero): Likewise.
52831         (cos_test_downward): Likewise.
52832         (cos_test_upward): Likewise.
52833         (cosh_test): Likewise.
52834         (cosh_test_tonearest): Likewise.
52835         (cosh_test_towardzero): Likewise.
52836         (cosh_test_downward): Likewise.
52837         (cosh_test_upward): Likewise.
52838         (cpow_test): Likewise.
52839         (cproj_test): Likewise.
52840         (creal_test): Likewise.
52841         (csin_test): Likewise.
52842         (csinh_test): Likewise.
52843         (csqrt_test): Likewise.
52844         (ctan_test): Likewise.
52845         (ctan_test_tonearest): Likewise.
52846         (ctan_test_towardzero): Likewise.
52847         (ctan_test_downward): Likewise.
52848         (ctan_test_upward): Likewise.
52849         (ctanh_test): Likewise.
52850         (ctanh_test_tonearest): Likewise.
52851         (ctanh_test_towardzero): Likewise.
52852         (ctanh_test_downward): Likewise.
52853         (ctanh_test_upward): Likewise.
52854         (erf_test): Likewise.
52855         (erfc_test): Likewise.
52856         (exp_test): Likewise.
52857         (exp_test_tonearest): Likewise.
52858         (exp_test_towardzero): Likewise.
52859         (exp_test_downward): Likewise.
52860         (exp_test_upward): Likewise.
52861         (exp10_test): Likewise.
52862         (exp10_test_tonearest): Likewise.
52863         (exp10_test_towardzero): Likewise.
52864         (exp10_test_downward): Likewise.
52865         (exp10_test_upward): Likewise.
52866         (pow10_test): Likewise.
52867         (exp2_test): Likewise.
52868         (expm1_test): Likewise.
52869         (expm1_test_tonearest): Likewise.
52870         (expm1_test_towardzero): Likewise.
52871         (expm1_test_downward): Likewise.
52872         (expm1_test_upward): Likewise.
52873         (fabs_test): Likewise.
52874         (fdim_test): Likewise.
52875         (floor_test): Likewise.
52876         (fma_test): Likewise.
52877         (fma_test_towardzero): Likewise.
52878         (fma_test_downward): Likewise.
52879         (fma_test_upward): Likewise.
52880         (fmax_test): Likewise.
52881         (fmin_test): Likewise.
52882         (fmod_test): Likewise.
52883         (fpclassify_test): Likewise.
52884         (frexp_test): Likewise.
52885         (hypot_test): Likewise.
52886         (ilogb_test): Likewise.
52887         (isfinite_test): Likewise.
52888         (finite_test): Likewise.
52889         (isgreater_test): Likewise.
52890         (isgreaterequal_test): Likewise.
52891         (isinf_test): Likewise.
52892         (isless_test): Likewise.
52893         (islessequal_test): Likewise.
52894         (islessgreater_test): Likewise.
52895         (isnan_test): Likewise.
52896         (isnormal_test): Likewise.
52897         (issignaling_test): Likewise.
52898         (isunordered_test): Likewise.
52899         (j0_test): Likewise.
52900         (j1_test): Likewise.
52901         (jn_test): Likewise.
52902         (ldexp_test): Likewise.
52903         (lgamma_test): Likewise.
52904         (gamma_test): Likewise.
52905         (lrint_test): Likewise.
52906         (lrint_test_tonearest): Likewise.
52907         (lrint_test_towardzero): Likewise.
52908         (lrint_test_downward): Likewise.
52909         (lrint_test_upward): Likewise.
52910         (llrint_test): Likewise.
52911         (llrint_test_tonearest): Likewise.
52912         (llrint_test_towardzero): Likewise.
52913         (llrint_test_downward): Likewise.
52914         (llrint_test_upward): Likewise.
52915         (log_test): Likewise.
52916         (log10_test): Likewise.
52917         (log1p_test): Likewise.
52918         (log2_test): Likewise.
52919         (logb_test): Likewise.
52920         (logb_test_downward): Likewise.
52921         (lround_test): Likewise.
52922         (llround_test): Likewise.
52923         (modf_test): Likewise.
52924         (nearbyint_test): Likewise.
52925         (nextafter_test): Likewise.
52926         (nexttoward_test): Likewise.
52927         (pow_test): Likewise.
52928         (pow_test_tonearest): Likewise.
52929         (pow_test_towardzero): Likewise.
52930         (pow_test_downward): Likewise.
52931         (pow_test_upward): Likewise.
52932         (remainder_test): Likewise.
52933         (drem_test): Likewise.
52934         (remainder_test_tonearest): Likewise.
52935         (drem_test_tonearest): Likewise.
52936         (remainder_test_towardzero): Likewise.
52937         (drem_test_towardzero): Likewise.
52938         (remainder_test_downward): Likewise.
52939         (drem_test_downward): Likewise.
52940         (remainder_test_upward): Likewise.
52941         (drem_test_upward): Likewise.
52942         (remquo_test): Likewise.
52943         (rint_test): Likewise.
52944         (rint_test_tonearest): Likewise.
52945         (rint_test_towardzero): Likewise.
52946         (rint_test_downward): Likewise.
52947         (rint_test_upward): Likewise.
52948         (round_test): Likewise.
52949         (scalb_test): Likewise.
52950         (scalbn_test): Likewise.
52951         (scalbln_test): Likewise.
52952         (signbit_test): Likewise.
52953         (sin_test): Likewise.
52954         (sin_test_tonearest): Likewise.
52955         (sin_test_towardzero): Likewise.
52956         (sin_test_downward): Likewise.
52957         (sin_test_upward): Likewise.
52958         (sincos_test): Likewise.
52959         (sinh_test): Likewise.
52960         (sinh_test_tonearest): Likewise.
52961         (sinh_test_towardzero): Likewise.
52962         (sinh_test_downward): Likewise.
52963         (sinh_test_upward): Likewise.
52964         (sqrt_test): Likewise.
52965         (sqrt_test_tonearest): Likewise.
52966         (sqrt_test_towardzero): Likewise.
52967         (sqrt_test_downward): Likewise.
52968         (sqrt_test_upward): Likewise.
52969         (tan_test): Likewise.
52970         (tan_test_tonearest): Likewise.
52971         (tan_test_towardzero): Likewise.
52972         (tan_test_downward): Likewise.
52973         (tan_test_upward): Likewise.
52974         (tanh_test): Likewise.
52975         (tgamma_test): Likewise.
52976         (trunc_test): Likewise.
52977         (y0_test): Likewise.
52978         (y1_test): Likewise.
52979         (yn_test): Likewise.
52980         (significand_test): Likewise.
52982         * math/libm-test.inc (struct ulp_data): Don't refer to ulps for
52983         individual tests in comment.
52984         (libm-test-ulps.h): Don't refer to test_ulps in #include comment.
52985         (prev_max_error): New variable.
52986         (prev_real_max_error): Likewise.
52987         (prev_imag_max_error): Likewise.
52988         (compare_ulp_data): Don't refer to test names in comment.
52989         (find_test_ulps): Remove function.
52990         (find_function_ulps): Likewise.
52991         (find_complex_function_ulps): Likewise.
52992         (init_max_error): Take function name as argument.  Look up ulps
52993         for that function.
52994         (print_ulps): Remove function.
52995         (print_max_error): Use prev_max_error instead of calling
52996         find_function_ulps.
52997         (print_complex_max_error): Use prev_real_max_error and
52998         prev_imag_max_error instead of calling find_complex_function_ulps.
52999         (check_float_internal): Take max_ulp parameter instead of calling
53000         find_test_ulps.  Don't call print_ulps.
53001         (check_float): Update call to check_float_internal.
53002         (check_complex): Update calls to check_float_internal.
53003         (START): Pass argument to init_max_error.
53004         * math/gen-libm-test.pl (%results): Don't include "kind"
53005         information.
53006         (parse_ulps): Don't handle ulps of individual tests.
53007         (print_ulps_file): Likewise.
53008         (output_ulps): Likewise.
53009         * math/README.libm-test: Update.
53010         * manual/libm-err-tab.pl (parse_ulps): Don't handle ulps of
53011         individual tests.
53012         * sysdeps/aarch64/libm-test-ulps: Remove individual test ulps.
53013         * sysdeps/alpha/fpu/libm-test-ulps: Likewise.
53014         * sysdeps/arm/libm-test-ulps: Likewise.
53015         * sysdeps/i386/fpu/libm-test-ulps: Likewise.
53016         * sysdeps/ia64/fpu/libm-test-ulps: Likewise.
53017         * sysdeps/m68k/coldfire/fpu/libm-test-ulps: Likewise.
53018         * sysdeps/m68k/m680x0/fpu/libm-test-ulps: Likewise.
53019         * sysdeps/microblaze/libm-test-ulps: Likewise.
53020         * sysdeps/mips/mips32/libm-test-ulps: Likewise.
53021         * sysdeps/mips/mips64/libm-test-ulps: Likewise.
53022         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
53023         * sysdeps/powerpc/nofpu/libm-test-ulps: Likewise.
53024         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
53025         * sysdeps/sh/libm-test-ulps: Likewise.
53026         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
53027         * sysdeps/tile/libm-test-ulps: Likewise.
53028         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53030 2014-03-04  Joseph Myers  <joseph@codesourcery.com>
53032         * math/libm-test.inc (print_complex_max_error): Check separately
53033         whether real and imaginary errors are within allowed range and
53034         pass 0 to print_complex_function_ulps instead of value within
53035         allowed range.
53037 2014-03-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
53039         * libio/tst-ftell-active-handler.c (get_handles_fdopen): Fix
53040         formatting.
53041         (get_handles_fopen): Likewise.
53042         (do_write_test): Likewise.
53044         * libio/wfileops.c (do_ftell_wide): Fix up formatting.
53046         * libio/fileops.c (do_ftell): Use cached offset when
53047         available.
53048         * libio/iofwide.c (do_ftell_wide): Likewise.
53049         * libio/iofdopen.c (_IO_new_fdopen): Don't use
53050         _IO_file_attach.
53051         * libio/wfileops.c (_IO_fwide): Don't cache offset.
53053         [BZ #16532]
53054         * libio/libioP.h (get_file_offset): New function.
53055         * libio/fileops.c (get_file_offset): Likewise.
53056         (do_ftell): Likewise.
53057         (_IO_new_file_seekoff): Split out ftell logic.
53058         * libio/wfileops.c (do_ftell_wide): Likewise.
53059         (_IO_wfile_seekoff): Split out ftell logic.
53060         * libio/tst-ftell-active-handler.c: New test case.
53061         * libio/Makefile (tests): Add it.
53063 2014-03-03  Roland McGrath  <roland@hack.frob.com>
53065         * nptl/ChangeLog: Renamed to nptl/ChangeLog.old, no longer used.
53066         * nptl_db/ChangeLog: Renamed to nptl_db/ChangeLog.old, no longer used.
53068 2014-03-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
53070         [BZ #16639]
53071         * nscd/connections.c (nscd_init): Call do_exit.
53072         (start_threads): Call do_exit and notify_parent.
53073         (begin_drop_privileges): Call do_exit.
53074         (finish_drop_privileges): Likewise.
53075         * nscd/selinux.c (preserve_capabilities): Likewise.
53076         (install_real_capabilities): Likewise.
53077         (nscd_selinux_enabled): Likewise.
53078         (avc_create_thread): Likewise.
53079         (avc_alloc_lock): Likewise.
53080         (nscd_avc_init): Likewise.
53081         * nscd/nscd.c (parent_fd): New static variable.
53082         (main): Create a pipe between parent and child processes.
53083         Skip closing parent_fd.
53084         (monitor_child): New function.
53085         (do_exit): Likewise.
53086         (notify_parent): Likewise.
53087         * nscd/nscd.h (notify_parent): Likewise.
53088         (do_exit): Likewise.
53090 2014-03-03  Carlos O'Donell  <carlos@redhat.com>
53092         * malloc/malloc.c (__libc_calloc): Revert last change.
53094 2014-03-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53096         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53098 2014-03-03  Rajalakshmi Srinivasaraghavan <raji@linux.vnet.ibm.com>
53100         * sysdeps/powerpc/powerpc64/power7/strrchr.S: New file.
53101         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strrchr multiarch
53102         implementation.
53103         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
53104         (__libc_ifunc_impl_list): Likewise.
53105         * sysdeps/powerpc/powerpc64/multiarch/strrchr.c: New file.
53106         * sysdeps/powerpc/powerpc64/multiarch/strrchr-ppc64.c: New file.
53107         * sysdeps/powerpc/powerpc64/multiarch/strrchr-power7.S: New file.
53108         * string/strrchr.c: Define STRRCHR.
53110 2014-02-28  Ondřej Bílka  <neleai@seznam.cz>
53112         * benchtest/bench-strtok.c (simple_strtok): Delete.
53113         (strtok_string): Use as benchmark.
53114         * string/strtok (STRTOK): New macro.
53116 2014-02-28  Carlos O'Donell  <carlos@redhat.com>
53118         * manual/threads.texi: Add header and standard comments to all
53119         functions.
53121         * elf/dl-lookup.c (check_match): New function.
53122         (ELF_MACHINE_SYM_NO_MATCH): Adjust comment.
53123         (do_lookup_x): Remove nested function check_match. Use non-nested
53124         function check_match.
53126 2014-02-28  Roland McGrath  <roland@hack.frob.com>
53128         * csu/Makefile (generated, before-compile): Use += rather than =.
53129         * catgets/Makefile (generated, generated-dirs): Likewise.
53130         * debug/Makefile (generated): Likewise.
53131         * dlfcn/Makefile (generated): Likewise.
53132         * elf/Makefile (before-compile, generated, generated-dirs): Likewise.
53133         * iconvdata/Makefile (before-compile, generated): Likewise.
53134         * intl/Makefile (before-compile, generated, generated-dirs): Likewise.
53135         * libio/Makefile (generated): Likewise.
53136         * malloc/Makefile (generated): Likewise.
53137         * manual/Makefile (generated, generated-dirs): Likewise.
53138         * misc/Makefile (generated): Likewise.
53139         * posix/Makefile (generated): Likewise.
53140         * resolv/Makefile (generated): Likewise.
53141         * sunrpc/Makefile (generated, generated-dirs): Likewise.
53142         * timezone/Makefile (generated, generated-dirs): Likewise.
53144         * stdio-common/Versions (libc: GLIBC_PRIVATE): Add missing }.
53146 2014-02-27  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53148         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
53149         power8 implementation.
53150         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power8.S: New
53151         file: POWER8 llround ifunc implementation.
53152         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c
53153         (__lllround): Add POWER8 implementation.
53154         * sysdeps/powerpc/powerpc64/power8/fpu/s_llround.S: New file:
53155         POWER8 llround implementation.
53157         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint
53158         power8 implementation.
53159         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power8.S: New
53160         file: POWER8 llrint ifunc implementation.
53161         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c (__lllrint):
53162         Add POWER8 implementation.
53163         * sysdeps/powerpc/powerpc64/power8/fpu/s_llrint.S: New file:
53164         POWER8 llrint implementation.
53166         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite
53167         power8 implementation.
53168         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power8.S: New
53169         file: POWER8 finite ifunc implementation.
53170         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c (__finite):
53171         Add POWER8 implementation.
53172         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c (__finitef):
53173         Likewise.
53174         * sysdeps/powerpc/powerpc64/power8/fpu/s_finite.S: New file:
53175         POWER8 finite implementation.
53176         * sysdeps/powerpc/powerpc64/power8/fpu/s_finitef.S: New file.
53178         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf
53179         power8 implementation.
53180         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power8.S: New
53181         file: POWER8 isinf ifunc implementation.
53182         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c (__isinf): Add
53183         POWER8 implementation.
53184         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c (__isinff):
53185         Likewise.
53186         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinf.S: New file: POWER8
53187         isinf implementation.
53188         * sysdeps/powerpc/powerpc64/power8/fpu/s_isinff.S: New file.
53190         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h
53191         (INIT_ARCH): Add hwcap2 initialization.
53192         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
53193         power8 implementation.
53194         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power8.S: New
53195         file: POWER8 isnan ifunc implementation.
53196         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c (__isnan): Add
53197         POWER8 implementation.
53198         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c (__isnanf):
53199         Likewise.
53200         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnan.S: New file: POWER8
53201         isnan implementation.
53202         * sysdeps/powerpc/powerpc64/power8/fpu/s_isnanf.S: New file.
53204 2014-02-27  Joey Ye  <joey.ye@arm.com>
53206         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_NANFRAC_S, _FP_NANFRAC_D)
53207         (_FP_NANFRAC_Q): Set to zero.
53209 2014-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
53211         [BZ #16623]
53212         * math/auto-libm-test-in: New test inputs.
53213         * math/auto-libm-test-out: Regenerate.
53214         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Preserve sign of A
53215         and DA.
53216         (__cos): Likewise.
53217         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
53219 2014-02-27  Joseph Myers  <joseph@codesourcery.com>
53221         * scripts/evaluate-test.sh: Take new argument indicating whether
53222         failure is expected.
53223         * Makeconfig (evaluate-test): Pass argument to evaluate-test.sh
53224         indicating whether failure is expected.
53225         * conform/Makefile (test-xfail-run-conformtest): New variable.
53226         ($(objpfx)run-conformtest.out): Don't expect to fail at makefile
53227         level.
53228         * posix/Makefile (test-xfail-annexc): New variable.
53229         ($(objpfx)annexc.out): Don't expect to fail at makefile level.
53231 2014-02-26  Joseph Myers  <joseph@codesourcery.com>
53233         * argp/Makefile: Include Makeconfig immediately after defining
53234         subdir.
53235         * assert/Makefile: Likewise.
53236         * benchtests/Makefile: Likewise.
53237         * catgets/Makefile: Likewise.
53238         * conform/Makefile: Likewise.
53239         * crypt/Makefile: Likewise.
53240         * csu/Makefile: Likewise.
53241         (all): Remove target.
53242         * ctype/Makefile: Include Makeconfig immediately after defining
53243         subdir.
53244         * debug/Makefile: Likewise.
53245         * dirent/Makefile: Likewise.
53246         * dlfcn/Makefile: Likewise.
53247         * gmon/Makefile: Likewise.
53248         * gnulib/Makefile: Likewise.
53249         * grp/Makefile: Likewise.
53250         * gshadow/Makefile: Likewise.
53251         * hesiod/Makefile: Likewise.
53252         * hurd/Makefile: Likewise.
53253         (all): Remove target.
53254         * iconvdata/Makefile: Include Makeconfig immediately after
53255         defining subdir.
53256         * inet/Makefile: Likewise.
53257         * intl/Makefile: Likewise.
53258         * io/Makefile: Likewise.
53259         * libio/Makefile: Likewise.
53260         (all): Remove target.
53261         * locale/Makefile: Include Makeconfig immediately after defining
53262         subdir.
53263         * login/Makefile: Likewise.
53264         * mach/Makefile: Likewise.
53265         (all): Remove target.
53266         * malloc/Makefile: Include Makeconfig immediately after defining
53267         subdir.
53268         (all): Remove target.
53269         * manual/Makefile: Include Makeconfig immediately after defining
53270         subdir.
53271         * math/Makefile: Likewise.
53272         * misc/Makefile: Likewise.
53273         * nis/Makefile: Likewise.
53274         * nss/Makefile: Likewise.
53275         * po/Makefile: Likewise.
53276         (all): Remove target.
53277         * posix/Makefile: Include Makeconfig immediately after defining
53278         subdir.
53279         * pwd/Makefile: Likewise.
53280         * resolv/Makefile: Likewise.
53281         * resource/Makefile: Likewise.
53282         * rt/Makefile: Likewise.
53283         * setjmp/Makefile: Likewise.
53284         * shadow/Makefile: Likewise.
53285         * signal/Makefile: Likewise.
53286         * socket/Makefile: Likewise.
53287         * soft-fp/Makefile: Likewise.
53288         * stdio-common/Makefile: Likewise.
53289         * stdlib/Makefile: Likewise.
53290         * streams/Makefile: Likewise.
53291         * string/Makefile: Likewise.
53292         * sunrpc/Makefile: Likewise.
53293         (all): Remove target.
53294         * sysvipc/Makefile: Include Makeconfig immediately after defining
53295         subdir.
53296         * termios/Makefile: Likewise.
53297         * time/Makefile: Likewise.
53298         * timezone/Makefile: Likewise.
53299         (all): Remove target.
53300         * wcsmbs/Makefile: Include Makeconfig immediately after defining
53301         subdir.
53302         * wctype/Makefile: Likewise.
53304 2014-02-26  Steve Ellcey  <sellcey@mips.com>
53306         * sysdeps/mips/math_private.h (_FPU_MASK_ALL) New.
53307         (libc_feholdexcept_mips): Use _FPU_MASK_ALL.
53308         (libc_feholdexcept_setround_mips): Ditto.
53309         (libc_feholdsetround): New.
53310         (libc_feholdsetroundf): New.
53311         (libc_feholdsetroundl): New.
53312         (libc_feupdateenv_test_mips): New.
53313         (libc_feupdateenv_test): New.
53314         (libc_feupdateenv_testf): New.
53315         (libc_feupdateenv_testl): New.
53316         (libc_feresetround): New.
53317         (libc_feresetroundf): New.
53318         (libc_feresetroundl): New.
53319         (libc_fetestexcept_mips): New.
53320         (libc_fetestexcept): New.
53321         (libc_fetestexceptf): New.
53322         (libc_fetestexceptl): New.
53323         (HAVE_RM_CTX): New.
53324         (libc_feholdexcept_setround_mips_ctx): New.
53325         (libc_feholdexcept_setround_ctx): New.
53326         (libc_feholdexcept_setroundf_ctx): New.
53327         (libc_feholdexcept_setroundl_ctx): New.
53328         (libc_fesetenv_mips_ctx): New.
53329         (libc_fesetenv_ctx): New.
53330         (libc_fesetenv_ctxf): New.
53331         (libc_fesetenv_ctxl): New.
53332         (libc_feupdateenv_mips_ctx): New.
53333         (libc_feupdateenv_ctx): New.
53334         (libc_feupdateenvf_ctx): New.
53335         (libc_feupdateenvl_ctx): New.
53336         (libc_feholdsetround_mips_ctx): New.
53337         (libc_feholdsetround_ctx): New.
53338         (libc_feholdsetroundf_ctx): New.
53339         (libc_feholdsetroundl_ctx): New.
53340         (libc_feresetround_mips_ctx): New.
53341         (libc_feresetround_ctx): New.
53342         (libc_feresetroundf_ctx): New.
53343         (libc_feresetroundl_ctx): New.
53345 2014-02-26  Carlos O'Donell  <carlos@redhat.com>
53347         * manual/ipc.texi (Semaphores): Use @Theglibc{}.
53349         * manual/ipc.texi: New file.
53350         * manual/Makefile (chapters): Add ipc.
53351         * manual/job.texi: Add "Inter-Process Communication" to next.
53352         * manual/process.texi: Add "Inter-Process Communication" to prev.
53354 2014-02-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
53356         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
53358 2014-02-26  Ondřej Bílka  <neleai@seznam.cz>
53360         * malloc/malloc.c (__libc_calloc): Simplify implementation.
53362         * manual/arith.texi: Fix spaces after sentences.
53363         * manual/charset.texi: Likewise.
53364         * manual/errno.texi: Likewise.
53365         * manual/install.texi: Likewise.
53366         * manual/llio.texi: Likewise.
53367         * manual/locale.texi: Likewise.
53368         * manual/maint.texi: Likewise.
53369         * manual/math.texi: Likewise.
53370         * manual/memory.texi: Likewise.
53371         * manual/message.texi: Likewise.
53372         * manual/probes.texi: Likewise.
53373         * manual/resource.texi: Likewise.
53374         * manual/signal.texi: Likewise.
53375         * manual/socket.texi: Likewise.
53376         * manual/stdio.texi: Likewise.
53377         * manual/string.texi: Likewise.
53378         * manual/time.texi: Likewise.
53379         * manual/users.texi: Likewise.
53381 2014-02-25  Carlos O'Donell  <carlos@redhat.com>
53383         [BZ #16632]
53384         * include/features.h: Don't warn about _BSD_SOURCE or _SVID_SOURCE if
53385         _DEFAULT_SOURCE is defined.
53387 2014-02-25  Ulrich Drepper  <drepper@gmail.com>
53388             Carlos O'Donell  <carlos@redhat.com>
53390         [BZ #16613]
53391         * elf/dl-tls.c (_dl_count_modids): New function.
53392         * sysdeps/generic/ldsodefs.h: Declare _dl_count_modids.
53393         * elf/rtld.c (dl_main): Call _dl_count_modids to track TLS usage in
53394         audit library and increment generation counter.
53395         (_dl_allocate_tls_init): Add assertion to check TLS generation count.
53396         * elf/tst-audit9.c: New file.
53397         * elf/tst-auditmod9a.c: New file.
53398         * elf/tst-auditmod9b.c: New file.
53399         * elf/Makefile: Add rules to build and run tst-audit9.
53401 2014-02-25  Florian Weimer  <fweimer@redhat.com>
53403         [BZ #15347]
53404         * misc/sys/select.h (__FD_MASK): Avoid signed integer overflow.
53406 2014-02-25  Will Newton  <will.newton@linaro.org>
53408         * sysdeps/arm/__longjmp.S: Include stap-probe.h.
53409         (__longjmp): Restore sp and lr before restoring callee
53410         saved registers.  Add longjmp and longjmp_target
53411         SystemTap probe point.
53412         * sysdeps/arm/bits/setjmp.h (__jmp_buf): Update comment.
53413         * sysdeps/arm/include/bits/setjmp.h (__JMP_BUF_SP):
53414         Define to zero to match jmpbuf layout.
53415         * sysdeps/arm/setjmp.S: Include stap-probe.h.
53416         (__sigsetjmp): Save sp and lr before saving callee
53417         saved registers.  Add setjmp SystemTap probe point.
53419 2014-02-24  Stefan Liebler  <stli@linux.vnet.ibm.com>
53421         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
53423 2014-02-24  Andreas Schwab  <schwab@suse.de>
53425         [BZ #15804]
53426         * elf/pldd.c (wait_for_ptrace_stop): New function.
53427         (main): Call it after attaching.
53429 2014-02-22  Roland McGrath  <roland@hack.frob.com>
53431         * Makerules ($(common-objpfx)Versions.v.i): No longer depend
53432         on $(common-objpfx)abi-versions.h; using <shlib-compat.h> inside
53433         Versions files is now verboten.
53434         * hurd/Versions (libc: GLIBC_2.0):
53435         Remove various [SHLIB_COMPAT (libc, GLIBC_2_0, ...)] sections.
53436         (libc: HURD_CTHREADS_0.3): Remove conditionalization, was under
53437         [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_2)].
53438         * mach/Versions: Likewise.
53440         * csu/Versions: Remove unused %include.
53441         * resolv/Versions: Likewise.
53443 2014-02-21  Joseph Myers  <joseph@codesourcery.com>
53445         * Makefile ($(objpfx)c++-types-check.out): Use $(evaluate-test).
53446         ($(objpfx)check-local-headers.out): Likewise.
53447         ($(objpfx)begin-end-check.out): Likewise.
53448         * Makerules (check-abi-%.out): Likewise.
53449         * catgets/Makefile ($(objpfx)test1.cat): Likewise.
53450         ($(objpfx)test2.cat): Likewise.
53451         ($(objpfx)de/libc.cat): Likewise.
53452         ($(objpfx)test-gencat.out): Likewise.
53453         * conform/Makefile ($(objpfx)run-conformtest.out): Likewise.
53454         * elf/Makefile ($(objpfx)order-cmp.out): Likewise.
53455         ($(objpfx)noload-mem): Likewise.
53456         ($(objpfx)tst-pathopt.out): Likewise.
53457         ($(objpfx)tst-rtld-load-self.out): Likewise.
53458         ($(objpfx)tst-array1-cmp.out): Likewise.
53459         ($(objpfx)tst-array1-static-cmp.out): Likewise.
53460         ($(objpfx)tst-array2-cmp.out): Likewise.
53461         ($(objpfx)tst-array3-cmp.out): Likewise.
53462         ($(objpfx)tst-array4-cmp.out): Likewise.
53463         ($(objpfx)tst-array5-cmp.out): Likewise.
53464         ($(objpfx)tst-array5-static-cmp.out): Likewise.
53465         ($(objpfx)check-textrel.out): Likewise.
53466         ($(objpfx)check-execstack.out): Likewise.
53467         ($(objpfx)check-localplt.out): Likewise.
53468         ($(objpfx)order2-cmp.out): Likewise.
53469         ($(objpfx)tst-leaks1-mem): Likewise.
53470         ($(objpfx)tst-leaks1-static-mem): Likewise.
53471         ($(objpfx)tst-initorder-cmp.out): Likewise.
53472         ($(objpfx)tst-initorder2-cmp.out): Likewise.
53473         ($(objpfx)tst-unused-dep.out): Likewise.
53474         ($(objpfx)tst-unused-dep-cmp.out): Likewise.
53475         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Likewise.
53476         * iconv/Makefile (test-iconvconfig): Likewise.
53477         * iconvdata/Makefile ($(objpfx)mtrace-tst-loading): Likewise.
53478         ($(objpfx)iconv-test.out): Likewise.
53479         ($(objpfx)tst-tables.out): Likewise.
53480         * intl/Makefile ($(objpfx)mtrace-tst-gettext): Likewise.
53481         ($(objpfx)tst-gettext.out): Likewise.
53482         ($(objpfx)tst-translit.out): Likewise.
53483         ($(objpfx)tst-gettext2.out): Likewise.
53484         ($(objpfx)tst-gettext4.out): Likewise.
53485         ($(objpfx)tst-gettext6.out): Likewise.
53486         * io/Makefile ($(objpfx)ftwtest.out): Likewise.
53487         * libio/Makefile ($(objpfx)test-freopen.out): Likewise.
53488         ($(objpfx)tst-fopenloc-cmp.out): Likewise.
53489         ($(objpfx)tst-fopenloc-mem.out): Likewise.
53490         * malloc/Makefile ($(objpfx)tst-mtrace.out): Likewise.
53491         * misc/Makefile ($(objpfx)tst-error1-mem): Likewise.
53492         * posix/Makefile ($(objpfx)globtest.out): Likewise.
53493         ($(objpfx)wordexp-tst.out): Likewise.
53494         ($(objpfx)annexc.out): Likewise.
53495         ($(objpfx)tst-fnmatch-mem): Likewise.
53496         ($(objpfx)bug-regex2-mem): Likewise.
53497         ($(objpfx)bug-regex14-mem): Likewise.
53498         ($(objpfx)bug-regex21-mem): Likewise.
53499         ($(objpfx)bug-regex31-mem): Likewise.
53500         ($(objpfx)tst-vfork3-mem): Likewise.
53501         ($(objpfx)tst-rxspencer-no-utf8-mem): Likewise.
53502         ($(objpfx)tst-pcre-mem): Likewise.
53503         ($(objpfx)tst-boost-mem): Likewise.
53504         ($(objpfx)tst-getconf.out): Likewise.
53505         ($(objpfx)bug-ga2-mem): Likewise.
53506         ($(objpfx)bug-glob2-mem): Likewise.
53507         * resolv/Makefile ($(objpfx)mtrace-tst-leaks): Likewise.
53508         ($(objpfx)mtrace-tst-leaks2): Likewise.
53509         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Likewise.
53510         ($(objpfx)tst-printf.out): Likewise.
53511         ($(objpfx)tst-setvbuf1.out): Likewise.
53512         ($(objpfx)tst-setvbuf1-cmp.out): Likewise.
53513         * stdlib/Makefile ($(objpfx)isomac.out): Likewise.
53514         ($(objpfx)tst-fmtmsg.out): Likewise.
53515         * string/Makefile ($(objpfx)tst-svc-cmp.out): Likewise.
53516         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Likewise.
53518         * bits/fcntl.h [__USE_MISC]: Remove redundant conditionals.
53519         * bits/sigaction.h [__USE_MISC]: Likewise.
53520         * bits/waitstatus.h: Update #endif comments.
53521         * ctype/ctype.h: Likewise.
53522         * dirent/dirent.h: Likewise.
53523         [__USE_MISC]: Remove redundant conditionals.
53524         * grp/grp.h: Update #endif comments.
53525         [__USE_GNU]: Remove redundant conditionals.
53526         [__USE_MISC]: Likewise.
53527         * inet/netinet/in.h [__USE_GNU]: Likewise.
53528         * io/sys/stat.h [__USE_MISC]: Likewise.
53529         * libio/bits/stdio-ldbl.h [__USE_MISC]: Likewise.
53530         * libio/bits/stdio.h: Update #endif comments.
53531         [__USE_MISC]: Remove redundant conditionals.
53532         * libio/bits/stdio2.h [__USE_MISC]: Likewise.
53533         * libio/stdio.h: Update #endif comments.
53534         [__USE_MISC]: Remove redundant conditionals.
53535         * math/bits/math-finite.h [__USE_MISC]: Likewise.
53536         * math/bits/mathcalls.h [__USE_MISC]: Likewise.
53537         * math/math.h: Update #else and #endif comments.
53538         [__USE_MISC]: Remove redundant conditionals.
53539         * misc/sys/uio.h: Update #endif comments.
53540         * posix/bits/unistd.h [__USE_MISC]: Remove redundant conditionals.
53541         * posix/glob.h [__USE_MISC]: Likewise.
53542         * posix/sys/types.h: Update #endif comments.
53543         [__USE_MISC]: Remove redundant conditionals.
53544         * posix/sys/wait.h: Update #endif comments.
53545         [__USE_MISC]: Remove redundant conditionals.
53546         * posix/unistd.h: Update #endif comments.
53547         [__USE_MISC]: Remove redundant conditionals.
53548         * pwd/pwd.h [__USE_GNU]: Likewise.
53549         [__USE_MISC]: Likewise.
53550         * resolv/netdb.h [__USE_GNU]: Likewise.
53551         * signal/signal.h: Update #endif comments.
53552         [__USE_MISC]: Remove redundant conditionals.
53553         * stdlib/stdlib.h: Update #else and #endif comments.
53554         [__USE_MISC]: Remove redundant conditionals.
53555         [__USE_GNU]: Likewise.
53556         * string/bits/string2.h [__USE_MISC]: Likewise.
53557         * string/string.h: Update #endif comments.
53558         [__USE_MISC]: Remove redundant conditionals.
53559         * sysdeps/m68k/m680x0/fpu/bits/mathinline.h [__USE_MISC]:
53560         Likewise.
53561         * sysdeps/mach/hurd/bits/fcntl.h [__USE_MISC]: Likewise.
53562         * sysdeps/mach/hurd/bits/stat.h [__USE_MISC]: Likewise.
53563         * sysdeps/unix/sysv/linux/alpha/bits/sigaction.h [__USE_MISC]:
53564         Likewise.
53565         * sysdeps/unix/sysv/linux/alpha/bits/stat.h [__USE_MISC]:
53566         Likewise.
53567         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: Update #endif
53568         comments.
53569         [__USE_MISC]: Remove redundant conditionals.
53570         * sysdeps/unix/sysv/linux/bits/in.h [__USE_GNU]: Likewise.
53571         * sysdeps/unix/sysv/linux/bits/sigaction.h [__USE_MISC]: Likewise.
53572         * sysdeps/unix/sysv/linux/bits/socket.h [__USE_GNU]: Likewise.
53573         * sysdeps/unix/sysv/linux/bits/stat.h [__USE_MISC]: Likewise.
53574         * sysdeps/unix/sysv/linux/ia64/bits/sigaction.h [__USE_MISC]:
53575         Likewise.
53576         * sysdeps/unix/sysv/linux/m68k/bits/stat.h [__USE_MISC]: Likewise.
53577         * sysdeps/unix/sysv/linux/mips/bits/sigaction.h [__USE_MISC]:
53578         Likewise.
53579         * sysdeps/unix/sysv/linux/mips/bits/stat.h [__USE_MISC]: Likewise.
53580         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h [__USE_MISC]:
53581         Likewise.
53582         * sysdeps/unix/sysv/linux/s390/bits/sigaction.h [__USE_MISC]:
53583         Likewise.
53584         * sysdeps/unix/sysv/linux/s390/bits/stat.h [__USE_MISC]: Likewise.
53585         * sysdeps/unix/sysv/linux/sparc/bits/sigaction.h [__USE_MISC]:
53586         Likewise.
53587         * sysdeps/unix/sysv/linux/sparc/bits/stat.h [__USE_MISC]:
53588         Likewise.
53589         * sysdeps/unix/sysv/linux/x86/bits/stat.h [__USE_MISC]: Likewise.
53590         * sysdeps/x86/bits/string.h: Update #endif comments.
53591         * sysdeps/x86/fpu/bits/mathinline.h [__USE_MISC]: Remove redundant
53592         conditionals.
53593         * time/sys/time.h: Update #endif comments.
53594         * time/time.h: Likewise.
53595         [__USE_MISC]: Remove redundant conditionals.
53597 2014-02-21  Yury Gribov  <y.gribov@samsung.com>
53599         [BZ #16600]
53600         * sysdeps/arm/libm-test-ulps: Update for VFPv4.
53602 2014-02-21  Andreas Schwab  <schwab@linux-m68k.org>
53604         * Versions.def (librt): Add GLIBC_2.17.
53606 2014-02-21  Adam Conrad  <adconrad@0c3.net>
53608         * sysdeps/powerpc/bits/hwcap.h: Allow _SYSDEPS_SYSDEP_H guard as a
53609         synonym for _SYS_AUXV_H to allow direct inclusion.
53610         * sysdeps/sparc/bits/hwcap.h: Likewise.
53611         * sysdeps/powerpc/sysdep.h: Define _SYSDEPS_SYSDEP_H instead of
53612         _SYS_AUXV_H so we can include sysdep.h and sys/auxv.h together.
53613         * sysdeps/sparc/sysdep.h: Likewise.
53615 2014-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
53617         * benchtests/bench-strrchr.c (do_test): Fix minor formatting.
53619 2014-02-21  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
53621         * benchtests/bench-strrchr.c: Print length instead of position.
53623 2014-02-20  Joseph Myers  <joseph@codesourcery.com>
53625         [BZ #16611]
53626         * sysdeps/unix/sysv/linux/kernel-features.h
53627         [__LINUX_KERNEL_VERSION >= 0x030000 && __ASSUME_SOCKETCALL]
53628         (__ASSUME_SENDMMSG_SOCKETCALL): Define.
53629         [__LINUX_KERNEL_VERSION >= 0x030000 && (__i386__ || __x86_64__ ||
53630         __powerpc__ || __sh__ || __sparc__)] (__ASSUME_SENDMMSG_SYSCALL):
53631         Likewise.
53632         [__i386__ || __powerpc__ || __sh__ || __sparc__]
53633         (__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
53634         [__ASSUME_SENDMMSG_SOCKETCALL || __ASSUME_SENDMMSG_SYSCALL]
53635         (__ASSUME_SENDMMSG): Define instead of using previous
53636         [__LINUX_KERNEL_VERSION >= 0x020627] condition.
53637         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
53638         (__ASSUME_SENDMMSG_SYSCALL): Define.
53639         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
53640         [__LINUX_KERNEL_VERSION >= 0x030200] (__ASSUME_SENDMMSG_SYSCALL):
53641         Likewise.
53642         * sysdeps/unix/sysv/linux/arm/kernel-features.h
53643         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
53644         Likewise.
53645         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
53646         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
53647         Likewise.
53648         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SOCKETCALL
53649         && !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
53650         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
53651         [__ASSUME_SENDMMSG]: Change conditionals to
53652         [__ASSUME_SENDMMSG_SOCKETCALL].
53653         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
53654         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_SENDMMSG_SYSCALL):
53655         Define.
53656         * sysdeps/unix/sysv/linux/mips/kernel-features.h
53657         [__LINUX_KERNEL_VERSION >= 0x030100] (__ASSUME_SENDMMSG_SYSCALL):
53658         Likewise.
53659         * sysdeps/unix/sysv/linux/sendmmsg.c [__ASSUME_SOCKETCALL &&
53660         !__ASSUME_SENDMMSG_SYSCALL_WITH_SOCKETCALL &&
53661         !__ASSUME_SENDMMSG_SYSCALL] (__NR_sendmmsg): Undefine.
53662         [!__ASSUME_SENDMMSG]: Change conditional to
53663         [!__ASSUME_SENDMMSG_SOCKETCALL].
53664         * sysdeps/unix/sysv/linux/tile/kernel-features.h
53665         [__LINUX_KERNEL_VERSION >= 0x030000] (__ASSUME_SENDMMSG_SYSCALL):
53666         Define.
53668         [BZ #16610]
53669         * sysdeps/unix/sysv/linux/kernel-features.h
53670         [__LINUX_KERNEL_VERSION >= 0x020621 && __ASSUME_SOCKETCALL]
53671         (__ASSUME_RECVMMSG_SOCKETCALL): Define.
53672         [(__LINUX_KERNEL_VERSION >= 0x020621 && (__i386__ || __x86_64__ ||
53673         __sparc__)) || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__
53674         || __sh__))] (__ASSUME_RECVMMSG_SYSCALL): Likewise.
53675         [__i386__ || __sparc__]
53676         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
53677         [__ASSUME_RECVMMSG_SOCKETCALL || __ASSUME_RECVMMSG_SYSCALL]
53678         (__ASSUME_RECVMMSG): Define instead of using previous
53679         [__LINUX_KERNEL_VERSION >= 0x020621] condition.
53680         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
53681         (__ASSUME_RECVMMSG_SYSCALL): Define.
53682         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
53683         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
53684         Likewise.
53685         * sysdeps/unix/sysv/linux/arm/kernel-features.h
53686         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
53687         Likewise.
53688         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
53689         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
53690         Likewise.
53691         * sysdeps/unix/sysv/linux/internal_recvmmsg.S [__ASSUME_SOCKETCALL
53692         && !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
53693         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
53694         [__ASSUME_RECVMMSG]: Change condition to
53695         [__ASSUME_RECVMMSG_SOCKETCALL].
53696         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
53697         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
53698         Define.
53699         (__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL): Likewise.
53700         * sysdeps/unix/sysv/linux/mips/kernel-features.h
53701         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_RECVMMSG_SYSCALL):
53702         Likewise.
53703         * sysdeps/unix/sysv/linux/recvmmsg.c [__ASSUME_SOCKETCALL &&
53704         !__ASSUME_RECVMMSG_SYSCALL_WITH_SOCKETCALL &&
53705         !__ASSUME_RECVMMSG_SYSCALL] (__NR_recvmmsg): Undefine.
53706         [!__ASSUME_RECVMMSG]: Change condition to
53707         [!__ASSUME_RECVMMSG_SOCKETCALL].
53708         * sysdeps/unix/sysv/linux/tile/kernel-features.h
53709         (__ASSUME_RECVMMSG_SYSCALL): Define.
53711         [BZ #16609]
53712         * sysdeps/unix/sysv/linux/kernel-features.h [__i386__ ||
53713         __powerpc__ || __s390__ || __sh__ || __sparc__]
53714         (__ASSUME_SOCKETCALL): Define.
53715         [__LINUX_KERNEL_VERSION && __ASSUME_SOCKETCALL]
53716         (__ASSUME_ACCEPT4_SOCKETCALL): Likewise.
53717         [(__LINUX_KERNEL_VERSION >= 0x02061c && (__x86_64__ || __sparc__))
53718         || (__LINUX_KERNEL_VERSION >= 0x020625 && (__powerpc__ ||
53719         __sh__))] (__ASSUME_ACCEPT4_SYSCALL): Likewise.
53720         [__sparc__] (__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL): Likewise.
53721         [__ASSUME_ACCEPT4_SOCKETCALL || __ASSUME_ACCEPT4_SYSCALL]
53722         (__ASSUME_ACCEPT4): Define instead of using previous
53723         [__LINUX_KERNEL_VERSION >= 0x02061c && (__i386__ || __x86_64__ ||
53724         __powerpc__ || __sparc__ || __s390__)] condition.
53725         * sysdeps/unix/sysv/linux/aarch64/kernel-features.h
53726         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
53727         * sysdeps/unix/sysv/linux/accept4.c [__ASSUME_SOCKETCALL &&
53728         !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
53729         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
53730         [!__ASSUME_ACCEPT4]: Change condition to
53731         [!__ASSUME_ACCEPT4_SOCKETCALL].
53732         * sysdeps/unix/sysv/linux/alpha/kernel-features.h
53733         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.  Correct
53734         condition to [__LINUX_KERNEL_VERSION >= 0x030200].
53735         * sysdeps/unix/sysv/linux/arm/kernel-features.h
53736         [__LINUX_KERNEL_VERSION >= 0x020624] (__ASSUME_ACCEPT4): Change to
53737         __ASSUME_ACCEPT4_SYSCALL.
53738         * sysdeps/unix/sysv/linux/i386/accept4.S [__ASSUME_ACCEPT4]:
53739         Change conditions to [__ASSUME_ACCEPT4_SOCKETCALL].
53740         * sysdeps/unix/sysv/linux/ia64/kernel-features.h
53741         [__LINUX_KERNEL_VERSION >= 0x030300] (__ASSUME_ACCEPT4): Change to
53742         __ASSUME_ACCEPT4_SYSCALL.
53743         * sysdeps/unix/sysv/linux/internal_accept4.S [__ASSUME_SOCKETCALL
53744         && !__ASSUME_ACCEPT4_SYSCALL_WITH_SOCKETCALL &&
53745         !__ASSUME_ACCEPT4_SYSCALL] (__NR_accept4): Undefine.
53746         [__ASSUME_ACCEPT4]: Change condition to
53747         [__ASSUME_ACCEPT4_SOCKETCALL].
53748         * sysdeps/unix/sysv/linux/m68k/kernel-features.h
53749         (__ASSUME_SOCKETCALL): Define.
53750         [__LINUX_KERNEL_VERSION >= 0x02061c] (__ASSUME_ACCEPT4): Remove.
53751         * sysdeps/unix/sysv/linux/microblaze/kernel-features.h
53752         (__ASSUME_SOCKETCALL): Define.
53753         (__ASSUME_ACCEPT4): Remove.
53754         [__LINUX_KERNEL_VERSION >= 0x020621] (__ASSUME_ACCEPT4_SYSCALL):
53755         Define.
53756         * sysdeps/unix/sysv/linux/mips/kernel-features.h
53757         [__LINUX_KERNEL_VERSION >= 0x02061f] (__ASSUME_ACCEPT4_SYSCALL):
53758         Likewise.
53759         * sysdeps/unix/sysv/linux/tile/kernel-features.h
53760         (__ASSUME_ACCEPT4): Change to __ASSUME_ACCEPT4_SYSCALL.
53762         * sysdeps/unix/sysv/linux/arm/bits/hwcap.h (HWCAP_ARM_VFPD32): New
53763         macro.
53764         (HWCAP_ARM_LPAE): Likewise.
53765         (HWCAP_ARM_EVTSTRM): Likewise.
53766         * sysdeps/unix/sysv/linux/arm/dl-procinfo.c (_dl_arm_cap_flags):
53767         Add vpfd32, lpae and evtstrm.
53768         * sysdeps/unix/sysv/linux/arm/dl-procinfo.h (_DL_HWCAP_COUNT):
53769         Increase to 22.
53771 2014-02-19  Joseph Myers  <joseph@codesourcery.com>
53773         * math/auto-libm-test-in: Add tests of clog10.
53774         * math/auto-libm-test-out: Regenerated.
53775         * math/libm-test.inc (clog10_test_data): Use AUTO_TESTS_c_c.
53776         * sysdeps/i386/fpu/libm-test-ulps: Update.
53777         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53779 2014-02-18  Andreas Schwab  <schwab@suse.de>
53781         [BZ #16574]
53782         * resolv/res_send.c (send_vc): Add parameter ansp2_malloced.
53783         Store non-zero if the second buffer was newly allocated.
53784         (send_dg): Likewise.
53785         (__libc_res_nsend): Add parameter ansp2_malloced and pass it down
53786         to send_vc and send_dg.
53787         (res_nsend): Pass NULL for ansp2_malloced.
53788         * resolv/res_query.c (__libc_res_nquery): Add parameter
53789         answerp2_malloced and pass it down to __libc_res_nsend.
53790         (res_nquery): Pass additional NULL to __libc_res_nquery.
53791         (__libc_res_nsearch): Add parameter answerp2_malloced and pass it
53792         down to __libc_res_nquery and __libc_res_nquerydomain.  Deallocate
53793         second answer buffer if answerp2_malloced was set.
53794         (res_nsearch): Pass additional NULL to __libc_res_nsearch.
53795         (__libc_res_nquerydomain): Add parameter
53796         answerp2_malloced and pass it down to __libc_res_nquery.
53797         (res_nquerydomain): Pass additional NULL to
53798         __libc_res_nquerydomain.
53799         * resolv/nss_dns/dns-network.c (_nss_dns_getnetbyname_r): Pass
53800         additional NULL to __libc_res_nsend and __libc_res_nquery.
53801         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Pass
53802         additional NULL to __libc_res_nsearch.
53803         (_nss_dns_gethostbyname4_r): Revert last change.  Use new
53804         parameter of __libc_res_nsearch to check for separately allocated
53805         second buffer.
53806         (_nss_dns_gethostbyaddr2_r): Pass additional NULL to
53807         __libc_res_nquery.
53808         * resolv/nss_dns/dns-canon.c (_nss_dns_getcanonname_r): Pass
53809         additional NULL to __libc_res_nquery.
53810         * resolv/gethnamaddr.c (gethostbyname2): Pass additional NULL to
53811         __libc_res_nsearch.
53812         (gethostbyaddr): Pass additional NULL to __libc_res_nquery.
53813         * include/resolv.h: Update prototypes of __libc_res_nquery,
53814         __libc_res_nsearch, __libc_res_nsend.
53816 2014-02-18  Joseph Myers  <joseph@codesourcery.com>
53818         * math/auto-libm-test-in: Add tests of fma.
53819         * math/auto-libm-test-out: Regenerated.
53820         * math/libm-test.inc (fma_test_data): Use AUTO_TESTS_fff_f.
53821         (fma_towardzero_test_data): Likewise.
53822         (fma_downward_test_data): Likewise.
53823         (fma_upward_test_data): Likewise.
53824         * math/gen-auto-libm-tests.c (rounding_mode_desc): Add field
53825         mpc_mode.
53826         (rounding_modes): Add values for new field.
53827         (func_calc_method): Add value mpfr_fff_f.
53828         (func_calc_desc): Add mpfr_fff_f union field.
53829         (test_function): Add field exact_args.
53830         (FUNC): Add macro argument EXACT_ARGS.
53831         (FUNC_mpfr_f_f): Update call to FUNC.
53832         (FUNC_mpfr_f_f): Likewise.
53833         (FUNC_mpfr_ff_f): Likewise.
53834         (FUNC_mpfr_if_f): Likewise.
53835         (FUNC_mpc_c_f): Likewise.
53836         (FUNC_mpc_c_c): Likewise.
53837         (test_functions): Add fma.  Update calls to FUNC.
53838         (handle_input_arg): Add argument exact_args.
53839         (add_test): Update call to handle_input_arg.
53840         (calc_generic_results): Add argument mode.  Handle mpfr_fff_f.
53841         (output_for_one_input_case): Update call to calc_generic_results.
53842         Recalculate exact zero results in each rounding mode.
53844         * math/gen-auto-libm-tests.c (adjust_real): Ensure integers are
53845         non-negative before setting low bit.
53846         * math/auto-libm-test-in: Mark one asin test possibly having
53847         spurious underflow.
53848         * math/auto-libm-test-out: Regenerated.
53849         * sysdeps/i386/fpu/libm-test-ulps: Update.
53850         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
53852 2014-02-17  David Holsgrove <david.holsgrove@xilinx.com>
53854         * sysdeps/microblaze: Move directory from ports/sysdeps/microblaze.
53855         * sysdeps/unix/sysv/linux/microblaze: Move directory from
53856         ports/sysdeps/unix/sysv/linux/microblaze.
53857         * README: Add missing listing for microblaze*-*-linux-gnu.
53859 2014-02-16  Ondřej Bílka  <neleai@seznam.cz>
53861         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Remove
53862         duplicate code
53864 2014-02-16  Mike Frysinger  <vapier@gentoo.org>
53866         * sysdeps/ia64: Move directory from ports/sysdeps/ia64.
53867         * sysdeps/unix/sysv/linux/ia64: Move directory from
53868         ports/sysdeps/unix/sysv/linux/ia64.
53869         * README: Update listing for ia64-*-linux-gnu.
53871 2014-02-14  Tomas Dohnalek  <tdohnale@redhat.com>
53872             Joseph Myers  <joseph@codesourcery.com>
53874         * Makeconfig (test-name): New variable.
53875         (evaluate-test): Likewise.
53876         * Makerules (do-test-clean): Remove .test-result files.
53877         (common-mostlyclean): Likewise.
53878         * Rules ($(objpfx)%.out): Use $(evaluate-test) in both rules.
53879         * scripts/evaluate-test.sh: New file.
53881 2014-02-14  Joseph Myers  <joseph@codesourcery.com>
53883         * libio/Makefile ($(objpfx)tst-fopenloc.check): Split into
53884         separate $(objpfx)tst-fopenloc-cmp.out and
53885         $(objpfx)tst-fopenloc-mem.out targets.
53886         (tests): Update dependencies.
53887         * posix/Makefile (tests variable): Add tst-rxspencer-no-utf8.
53888         (generated): Change tst-rxspencer-mem and tst-rxspencer.mtrace to
53889         tst-rxspencer-no-utf8-mem and tst-rxspencer-no-utf8.mtrace.
53890         (tst-rxspencer-no-utf8-ARGS): New variable.
53891         (tst-rxspencer-no-utf8-ENV): Likewise.
53892         (tests target): Depend on $(objpfx)tst-rxspencer-no-utf8-mem
53893         instead of $(objpfx)tst-rxspencer-mem.
53894         ($(objpfx)tst-rxspencer-mem): Change target to
53895         $(objpfx)tst-rxspencer-no-utf8-mem.  Depend on
53896         $(objpfx)tst-rxspencer-no-utf8.out instead of running test program.
53897         * posix/tst-rxspencer-no-utf8.c: New file.
53899         * elf/Makefile ($(objpfx)order.out): Remove rule.
53900         [$(run-built-tests) = yes] (tests): Depend on
53901         $(objpfx)order-cmp.out.
53902         ($(objpfx)order-cmp.out): New rule.
53903         [$(run-built-tests) = yes] (tests): Depend on
53904         $(objpfx)tst-array1-cmp.out, $(objpfx)tst-array1-static-cmp.out,
53905         $(objpfx)tst-array2-cmp.out, $(objpfx)tst-array3-cmp.out,
53906         $(objpfx)tst-array4-cmp.out, $(objpfx)tst-array5-cmp.out and
53907         $(objpfx)tst-array5-static-cmp.out.
53908         ($(objpfx)tst-array1.out): Remove rule.
53909         ($(objpfx)tst-array1-cmp.out): New rule.
53910         ($(objpfx)tst-array1-static.out): Remove rule.
53911         ($(objpfx)tst-array1-static-cmp.out): New rule.
53912         ($(objpfx)tst-array2.out): Remove rule.
53913         ($(objpfx)tst-array2-cmp.out): New rule.
53914         ($(objpfx)tst-array3.out): Remove rule.
53915         ($(objpfx)tst-array3-cmp.out): New rule.
53916         ($(objpfx)tst-array4.out): Remove rule.
53917         ($(objpfx)tst-array4-cmp.out): New rule.
53918         ($(objpfx)tst-array5.out): Remove rule.
53919         ($(objpfx)tst-array5-cmp.out): New rule.
53920         ($(objpfx)tst-array5-static.out): Remove rule.
53921         ($(objpfx)tst-array5-static-cmp.out): New rule.
53922         [$(run-built-tests) = yes] (tests): Depend on
53923         $(objpfx)order2-cmp.out.
53924         ($(objpfx)order2.out): Remove rule.
53925         ($(objpfx)order2-cmp.out): New rule.
53926         ($(objpfx)tst-initorder.out): Remove rule.
53927         [$(run-built-tests) = yes] (tests): Depend on
53928         $(objpfx)tst-initorder-cmp.out.
53929         ($(objpfx)tst-initorder-cmp.out): New rule.
53930         ($(objpfx)tst-initorder2.out): Remove rule.
53931         [$(run-built-tests) = yes] (tests): Depend on
53932         $(objpfx)tst-initorder2-cmp.out.
53933         ($(objpfx)tst-initorder2-cmp.out): New rule.
53934         [$(run-built-tests) = yes] (tests): Depend on
53935         $(objpfx)tst-unused-dep-cmp.out.
53936         ($(objpfx)tst-unused-dep-cmp.out): Do not run cmp.
53937         ($(objpfx)tst-unused-dep-cmp.out): New rule.
53938         * stdio-common/Makefile [$(run-built-tests) = yes] (tests): Depend
53939         on $(objpfx)tst-setvbuf1-cmp.out.
53940         ($(objpfx)tst-setvbuf1.out): Do not run cmp.
53941         ($(objpfx)tst-setvbuf1-cmp.out): New rule.
53942         * string/Makefile [$(run-built-tests) = yes] (tests): Depend
53943         $(objpfx)tst-svc-cmp.out instead of $(objpfx)tst-svc.out.
53944         ($(objpfx)tst-svc.out): Remove rule.
53945         ($(objpfx)tst-svc-cmp.out): New rule.
53947 2014-02-13  Joseph Myers  <joseph@codesourcery.com>
53949         * bits/mman.h [__USE_MISC]: Remove redundant conditionals.
53950         * ctype/ctype.h [__USE_MISC]: Likewise.
53951         * dirent/dirent.h [__USE_MISC]: Likewise.
53952         * grp/grp.h [__USE_MISC]: Likewise.
53953         * io/fcntl.h [__USE_MISC]: Likewise.
53954         * io/sys/stat.h [__USE_MISC]: Likewise.
53955         * libio/stdio.h [__USE_MISC]: Likewise.
53956         * posix/unistd.h [__USE_MISC]: Likewise.
53957         * pwd/pwd.h [__USE_MISC]: Likewise.
53958         * stdlib.h [__USE_MISC]: Likewise.
53959         * string/bits/string2.h [__USE_MISC]: Likewise.
53960         * string/string.h [__USE_MISC]: Likewise.
53961         * time/time.h [__USE_MISC]: Likewise.
53963 2014-02-13  Andreas Schwab  <schwab@suse.de>
53965         [BZ #16574]
53966         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname4_r): Free the
53967         second answer buffer if it was separately allocated.
53969 2014-02-12  Joseph Myers  <joseph@codesourcery.com>
53971         * sysdeps/mips/math-tests.h: Include <features.h>.
53972         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
53973         (ROUNDING_TESTS_long_double): Do not define.
53974         [!__mips_soft_float && _MIPS_SIM != _ABIO32 && __GNUC_PREREQ (4, 9)]
53975         (EXCEPTION_TESTS_long_double): Likewise.
53976         * sysdeps/mips/mips64/libm-test-ulps: Update.
53978         * include/features.h (__USE_BSD): Remove macro definitions.
53979         (__USE_SVID): Likewise.
53980         (_BSD_SOURCE): Likewise.
53981         (_SVID_SOURCE): Likewise.
53982         [!defined _BSD_SOURCE && !defined _SVID_SOURCE]: Remove condition
53983         from definition of _DEFAULT_SOURCE.
53984         [_BSD_SOURCE || _SVID_SOURCE]: Change condition to
53985         [_DEFAULT_SOURCE].
53986         * bits/fcntl.h [__USE_BSD]: Change condition to [__USE_MISC].
53987         * bits/mman.h [__USE_BSD]: Likewise.
53988         * bits/termios.h [__USE_BSD]: Likewise.
53989         * bits/waitstatus.h [__USE_BSD]: Likewise.
53990         * ctype/ctype.h [__USE_SVID]: Likewise.
53991         * dirent/dirent.h [__USE_BSD]: Likewise.
53992         * grp/grp.h [__USE_SVID]: Likewise.
53993         [__USE_BSD]: Likewise.
53994         * inet/netinet/igmp.h [__USE_BSD]: Likewise.
53995         * io/fcntl.h [__USE_BSD]: Likewise.
53996         * io/ftw.h [__USE_BSD]: Likewise.
53997         * io/sys/stat.h [__USE_BSD]: Likewise.
53998         * libio/bits/stdio-ldbl.h [__USE_BSD]: Likewise.
53999         * libio/bits/stdio2.h [__USE_BSD]: Likewise.
54000         * libio/stdio.h [__USE_SVID]: Likewise.
54001         [__USE_BSD]: Likewise.
54002         * math/math.h [__USE_SVID]: Likewise.
54003         [__USE_BSD]: Likewise.
54004         * misc/bits/syslog-ldbl.h [__USE_BSD]: Likewise.
54005         * misc/bits/syslog.h [__USE_BSD]: Likewise.
54006         * misc/search.h [__USE_SVID]: Likewise.
54007         * misc/sys/mman.h [__USE_BSD]: Likewise.
54008         * misc/sys/syslog.h [__USE_BSD]: Likewise.
54009         * misc/sys/uio.h [__USE_BSD]: Likewise.
54010         * posix/bits/unistd.h [__USE_BSD]: Likewise.
54011         * posix/glob.h [__USE_BSD]: Likewise.
54012         * posix/regex.h [__USE_BSD]: Likewise.
54013         * posix/sys/types.h [__USE_BSD]: Likewise.
54014         [__USE_SVID]: Likewise.
54015         * posix/sys/utsname.h [__USE_SVID]: Likewise.
54016         * posix/sys/wait.h [__USE_BSD]: Likewise.
54017         [__USE_SVID]: Likewise.
54018         * posix/unistd.h [__USE_BSD]: Likewise.
54019         [__USE_SVID]: Likewise.
54020         * pwd/pwd.h [__USE_SVID]: Likewise.
54021         * resolv/netdb.h [__USE_BSD]: Likewise.
54022         * setjmp/setjmp.h [__USE_BSD]: Likewise.
54023         * signal/signal.h [__USE_BSD]: Likewise.
54024         [__USE_SVID]: Likewise.
54025         * socket/sys/socket.h [__USE_BSD]: Likewise.
54026         * stdlib/fmtmsg.h [__USE_SVID]: Likewise.
54027         * stdlib/stdlib.h [__USE_BSD]: Likewise.
54028         [__USE_SVID]: Likewise.
54029         * string/bits/string2.h [__USE_BSD]: Likewise.
54030         [__USE_SVID]: Likewise.
54031         * string/bits/string3.h [__USE_BSD]: Likewise.
54032         * string/endian.h [__USE_BSD]: Likewise.
54033         * string/string.h [__USE_SVID]: Likewise.
54034         [__USE_BSD]: Likewise.
54035         * string/strings.h [__USE_BSD]: Likewise.
54036         * sysdeps/generic/netinet/ip.h [__USE_BSD]: Likewise.
54037         * sysdeps/gnu/netinet/ip_icmp.h [__USE_BSD]: Likewise.
54038         * sysdeps/mach/hurd/bits/fcntl.h [__USE_BSD]: Likewise.
54039         * sysdeps/mach/hurd/bits/stat.h [__USE_BSD]: Likewise.
54040         * sysdeps/unix/sysv/linux/alpha/bits/mman.h [__USE_BSD]: Likewise.
54041         * sysdeps/unix/sysv/linux/alpha/bits/termios.h [__USE_BSD]:
54042         Likewise.
54043         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h [__USE_BSD]:
54044         Likewise.
54045         * sysdeps/unix/sysv/linux/bits/mman-linux.h [__USE_BSD]: Likewise.
54046         * sysdeps/unix/sysv/linux/bits/sys_errlist.h [__USE_BSD]:
54047         Likewise.
54048         * sysdeps/unix/sysv/linux/bits/termios.h [__USE_BSD]: Likewise.
54049         * sysdeps/unix/sysv/linux/mips/bits/termios.h [__USE_BSD]:
54050         Likewise.
54051         * sysdeps/unix/sysv/linux/netinet/if_ether.h [__USE_BSD]:
54052         Likewise.
54053         * sysdeps/unix/sysv/linux/netinet/if_fddi.h [__USE_BSD]: Likewise.
54054         * sysdeps/unix/sysv/linux/netinet/if_tr.h [__USE_BSD]: Likewise.
54055         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h [__USE_BSD]:
54056         Likewise.
54057         * sysdeps/unix/sysv/linux/sparc/bits/termios.h [__USE_BSD]:
54058         Likewise.
54059         * sysdeps/x86/bits/string.h [__USE_BSD]: Likewise.
54060         * sysvipc/sys/ipc.h [__USE_SVID]: Likewise.
54061         * termios/termios.h [__USE_BSD]: Likewise.
54062         * time/sys/time.h [__USE_BSD]: Likewise.
54063         * time/time.h [__USE_BSD]: Likewise.
54064         [__USE_SVID]: Likewise.
54066         * Makefile (subdir_targets): Remove subdir_lint.out.
54068         * stdio-common/Makefile (do-tst-unbputc): Remove target.
54069         (do-tst-printf): Likewise.
54070         (tests): Depend directly on $(objpfx)tst-unbputc.out and
54071         $(objpfx)tst-printf.out.
54073         * io/ftwtest-sh (testout): Change to $tmp/ftwtest-tmp.out.
54075         * Makerules (check-abi-%): Change target to
54076         $(objpfx)check-abi-%.out.
54077         (check-abi target): Update dependencies.
54078         (check-abi-pattern variable): Redirect output of diff to $@.
54079         (check-abi variable): Likewise.
54080         * elf/Makefile (check-abi): Update dependencies.
54082         * soft-fp/op-common.h (_FP_DECL): Mark exponent as possibly
54083         unused.
54084         (_FP_PACK_SEMIRAW): Determine tininess based on rounding shifted
54085         value if _FP_TININESS_AFTER_ROUNDING and unrounded value is in
54086         subnormal range.
54087         (_FP_PACK_CANONICAL): Determine tininess based on rounding to
54088         normal precision if _FP_TININESS_AFTER_ROUNDING and unrounded
54089         value has largest subnormal exponent.
54090         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS]
54091         (_FP_TININESS_AFTER_ROUNDING): Undefine and redefine to 0.
54092         * sysdeps/aarch64/soft-fp/sfp-machine.h
54093         (_FP_TININESS_AFTER_ROUNDING): New macro.
54094         * sysdeps/alpha/soft-fp/sfp-machine.h
54095         (_FP_TININESS_AFTER_ROUNDING): Likewise.
54096         * sysdeps/arm/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
54097         Likewise.
54098         * sysdeps/mips/mips64/soft-fp/sfp-machine.h
54099         (_FP_TININESS_AFTER_ROUNDING): Likewise.
54100         * sysdeps/mips/soft-fp/sfp-machine.h
54101         (_FP_TININESS_AFTER_ROUNDING): Likewise.
54102         * sysdeps/powerpc/soft-fp/sfp-machine.h
54103         (_FP_TININESS_AFTER_ROUNDING): Likewise.
54104         * sysdeps/sh/soft-fp/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
54105         Likewise.
54106         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
54107         (_FP_TININESS_AFTER_ROUNDING): Likewise.
54108         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
54109         (_FP_TININESS_AFTER_ROUNDING): Likewise.
54110         * sysdeps/tile/sfp-machine.h (_FP_TININESS_AFTER_ROUNDING):
54111         Likewise.
54113 2014-02-12  Dylan Alex Simon  <dylan@dylex.net>
54115         [BZ #16545]
54116         * sysdeps/x86_64/fpu/libm-test-ulps: Update on AMD family 21h
54117         model 1.
54119 2014-02-12  Richard Henderson  <rth@redhat.com>
54121         * sysdeps/alpha: Move directory from ports/sysdeps/alpha.
54122         * sysdeps/unix/alpha: Move directory from ports/sysdeps/unix/alpha.
54123         * sysdeps/unix/sysv/linux/alpha: Move directory from
54124         ports/sysdeps/unix/sysv/linux/alpha.
54125         * README: Update listing for alpha-*-linux-gnu.
54127 2014-02-11  Joseph Myers  <joseph@codesourcery.com>
54129         * include/features.h: Update comment documenting feature test
54130         macros.
54131         [_BSD_SOURCE || _SVID_SOURCE]: Give #warning.  Define
54132         _DEFAULT_SOURCE.
54133         * manual/creature.texi (_BSD_SOURCE): Remove documentation.
54134         (_SVID_SOURCE): Likewise.
54135         (_DEFAULT_SOURCE): Update description of default features.
54136         (Feature Test Macros): Don't mention _SVID_SOURCE in conjunction
54137         with _GNU_SOURCE.
54138         * manual/filesys.texi (__ftw_func_t): Do not refer to _BSD_SOURCE.
54139         (S_ISVTX): Likewise.
54140         * manual/math.texi (Mathematical Constants): Likewise.
54141         * manual/signal.texi (Interrupted Primitives): Likewise.
54142         * manual/startup.texi (putenv): Do not refer to _SVID_SOURCE.
54143         * math/test-matherr.c (_SVID_SOURCE): Do not define.
54144         * sysvipc/sys/ipc.h [__USE_SVID && !__USE_XOPEN && __GNUC__ >= 2]:
54145         Don't refer to _SVID_SOURCE in warning text.
54147         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54149         * elf/dl-lookup.c (ELF_MACHINE_SYM_NO_MATCH): Define if not
54150         already defined.
54151         (do_lookup_x): Use ELF_MACHINE_SYM_NO_MATCH.
54152         * sysdeps/mips/dl-lookup.c: Remove.
54153         * sysdeps/mips/dl-machine.h (ELF_MACHINE_SYM_NO_MATCH): New macro.
54155 2014-02-11  Stefan Liebler  <stli@linux.vnet.ibm.com>
54157         [BZ #16447]
54158         * math/auto-libm-test-in: Add testcase for expl.
54159         * math/auto-libm-test-out: Regenerate.
54160         * sysdeps/ieee754/ldbl-128/e_expl.c (__ieee754_expl): Fix
54161         calculation of unsafe.
54162         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for added testcase.
54164 2014-02-11  Marcus Shawcroft  <marcus.shawcroft@arm.com>
54166         * sysdeps/aarch64: Move directory from ports/sysdeps/aarch64.
54167         * sysdeps/unix/sysv/linux/aarch64: Move directory from
54168         ports/sysdeps/unix/sysv/linux/aarch64.
54169         * README: Update listing for aarch64*-*-linux-gnu.
54171 2014-02-11  Will Newton  <will.newton@linaro.org>
54173         * manual/probes.texi (Mathematical Function Probes): Use
54174         "triggered" instead of "hit".
54176         * manual/probes.texi (Internal Probes): Add documentation
54177         of setjmp, longjmp and longjmp_target probes.
54179         * include/stap-probe.h: Add comment about probe argument
54180         format.
54182         * malloc/mtrace.c (attribute_hidden): Remove unused macro
54183         definition.  (tr_where, tr_freehook, tr_mallochook,
54184         tr_reallochook, tr_memalignhook): Use ANSI protoype.
54186 2014-02-11  David S. Miller  <davem@davemloft.net>
54188         * stdio-common/tst-sscanf.c (main): Use 'long' for 'dummy' when
54189         processing int_tests.
54191 2014-02-10  Joseph Myers  <joseph@codesourcery.com>
54193         * sysdeps/mips: Move directory from ports/sysdeps/mips.
54194         * sysdeps/unix/mips: Move directory from ports/sysdeps/unix/mips.
54195         * sysdeps/unix/sysv/linux/mips: Move directory from
54196         ports/sysdeps/unix/sysv/linux/mips.
54197         * README: Update listing for mips-*-linux-gnu and
54198         mips64-*-linux-gnu.
54200 2014-02-10  Andreas Schwab  <schwab@linux-m68k.org>
54202         * sysdeps/m68k: Move directory from ports/sysdeps/m68k.
54203         * sysdeps/unix/sysv/linux/m68k: Move directory from
54204         ports/sysdeps/unix/sysv/linux/m68k.
54205         * README: Update listing for m68k-*-linux-gnu.
54207 2014-02-10  Chris Metcalf  <cmetcalf@tilera.com>
54209         * sysdeps/tile: Move directory from ports/sysdeps/tile.
54210         * sysdeps/unix/sysv/linux/generic: Move directory from
54211         ports/sysdeps/unix/sysv/linux/generic.
54212         * sysdeps/unix/sysv/linux/tile: Move directory from
54213         ports/sysdeps/unix/sysv/linux/tile.
54214         * README: Update listing for tile*-*-linux-gnu.
54216 2014-02-10  Ondřej Bílka  <neleai@seznam.cz>
54218         * assert/assert.c (__assert_fail_base): Use glibc_likely instead
54219         __builtin_expect.
54220         * benchtests/bench-memmem.c (simple_memmem): Likewise.
54221         * catgets/open_catalog.c (__open_catalog): Likewise.
54222         * csu/libc-start.c (LIBC_START_MAIN): Likewise.
54223         * debug/confstr_chk.c: Likewise.
54224         * debug/fread_chk.c (__fread_chk): Likewise.
54225         * debug/fread_u_chk.c (__fread_unlocked_chk): Likewise.
54226         * debug/getgroups_chk.c: Likewise.
54227         * debug/mbsnrtowcs_chk.c: Likewise.
54228         * debug/mbsrtowcs_chk.c: Likewise.
54229         * debug/mbstowcs_chk.c: Likewise.
54230         * debug/memcpy_chk.c: Likewise.
54231         * debug/memmove_chk.c: Likewise.
54232         * debug/mempcpy_chk.c: Likewise.
54233         * debug/memset_chk.c: Likewise.
54234         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
54235         * debug/strcat_chk.c (__strcat_chk): Likewise.
54236         * debug/strcpy_chk.c (__strcpy_chk): Likewise.
54237         * debug/strncat_chk.c (__strncat_chk): Likewise.
54238         * debug/vsnprintf_chk.c (___vsnprintf_chk): Likewise.
54239         * debug/vswprintf_chk.c (__vswprintf_chk): Likewise.
54240         * debug/wcpcpy_chk.c (__wcpcpy_chk): Likewise.
54241         * debug/wcpncpy_chk.c: Likewise.
54242         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
54243         * debug/wcscpy_chk.c (__wcscpy_chk): Likewise.
54244         * debug/wcsncat_chk.c (__wcsncat_chk): Likewise.
54245         * debug/wcsncpy_chk.c: Likewise.
54246         * debug/wcsnrtombs_chk.c: Likewise.
54247         * debug/wcsrtombs_chk.c: Likewise.
54248         * debug/wcstombs_chk.c: Likewise.
54249         * debug/wmemcpy_chk.c: Likewise.
54250         * debug/wmemmove_chk.c: Likewise.
54251         * debug/wmempcpy_chk.c: Likewise.
54252         * debug/wmemset_chk.c: Likewise.
54253         * dirent/scandirat.c (SCANDIRAT): Likewise.
54254         * dlfcn/dladdr1.c (dladdr1): Likewise.
54255         * dlfcn/dladdr.c (dladdr): Likewise.
54256         * dlfcn/dlclose.c (dlclose_doit): Likewise.
54257         * dlfcn/dlerror.c (__dlerror): Likewise.
54258         * dlfcn/dlinfo.c (dlinfo_doit): Likewise.
54259         * dlfcn/dlmopen.c (dlmopen_doit): Likewise.
54260         * dlfcn/dlopen.c (dlopen_doit): Likewise.
54261         * dlfcn/dlopenold.c (__dlopen_nocheck): Likewise.
54262         * dlfcn/dlsym.c (dlsym_doit): Likewise.
54263         * dlfcn/dlvsym.c (dlvsym_doit): Likewise.
54264         * elf/dl-cache.c (_dl_load_cache_lookup): Likewise.
54265         * elf/dl-close.c (remove_slotinfo, _dl_close_worker, _dl_close):
54266         Likewise.
54267         * elf/dl-conflict.c: Likewise.
54268         * elf/dl-deps.c (_dl_build_local_scope, _dl_map_object_deps): Likewise.
54269         * elf/dl-dst.h: Likewise.
54270         * elf/dl-fini.c (_dl_sort_fini, _dl_fini): Likewise.
54271         * elf/dl-fptr.c (_dl_make_fptr): Likewise.
54272         * elf/dl-hwcaps.c (_dl_important_hwcaps): Likewise.
54273         * elf/dl-init.c (call_init, _dl_init): Likewise.
54274         * elf/dl-libc.c (__libc_dlopen_mode, __libc_dlsym): Likewise.
54275         * elf/dl-load.c (_dl_dst_substitute, fillin_rpath, _dl_init_paths)
54276         (_dl_map_object_from_fd, open_verify, open_path, _dl_map_object):
54277         Likewise.
54278         * elf/dl-lookup.c (do_lookup_x, add_dependency, _dl_lookup_symbol_x):
54279         Likewise.
54280         * elf/dl-minimal.c (__libc_memalign): Likewise.
54281         * elf/dl-open.c (add_to_global, dl_open_worker, _dl_open): Likewise.
54282         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
54283         * elf/dl-runtime.c (_dl_fixup, _dl_profile_fixup): Likewise.
54284         * elf/dl-sym.c (do_sym): Likewise.
54285         * elf/dl-tls.c (tls_get_addr_tail, update_get_addr)
54286         (__tls_get_addr, _dl_tls_get_addr_soft): Likewise.
54287         * elf/dl-version.c (match_symbol, _dl_check_map_versions): Likewise.
54288         * elf/dl-writev.h (_dl_writev): Likewise.
54289         * elf/ldconfig.c (search_dir): Likewise.
54290         * elf/rtld.c (_dl_start_final, _dl_start, init_tls, do_preload)
54291         (dl_main): Likewise.
54292         * elf/setup-vdso.h (setup_vdso): Likewise.
54293         * grp/compat-initgroups.c (compat_call): Likewise.
54294         * grp/fgetgrent.c (fgetgrent): Likewise.
54295         * grp/initgroups.c (getgrouplist, initgroups): Likewise.
54296         * grp/putgrent.c (putgrent): Likewise.
54297         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
54298         Likewise.
54299         * hurd/hurdinit.c: Likewise.
54300         * iconvdata/8bit-gap.c (struct): Likewise.
54301         * iconvdata/ansi_x3.110.c : Likewise.
54302         * iconvdata/big5.c : Likewise.
54303         * iconvdata/big5hkscs.c : Likewise.
54304         * iconvdata/cp1255.c: Likewise.
54305         * iconvdata/cp1258.c : Likewise.
54306         * iconvdata/cp932.c : Likewise.
54307         * iconvdata/euc-cn.c: Likewise.
54308         * iconvdata/euc-jisx0213.c : Likewise.
54309         * iconvdata/euc-jp.c: Likewise.
54310         * iconvdata/euc-jp-ms.c : Likewise.
54311         * iconvdata/euc-kr.c (euckr_from_ucs4): Likewise.
54312         * iconvdata/gb18030.c : Likewise.
54313         * iconvdata/gbbig5.c (const): Likewise.
54314         * iconvdata/gbgbk.c: Likewise.
54315         * iconvdata/gbk.c : Likewise.
54316         * iconvdata/ibm1364.c : Likewise.
54317         * iconvdata/ibm930.c : Likewise.
54318         * iconvdata/ibm932.c: Likewise.
54319         * iconvdata/ibm933.c : Likewise.
54320         * iconvdata/ibm935.c : Likewise.
54321         * iconvdata/ibm937.c : Likewise.
54322         * iconvdata/ibm939.c : Likewise.
54323         * iconvdata/ibm943.c: Likewise.
54324         * iconvdata/iso_11548-1.c: Likewise.
54325         * iconvdata/iso-2022-cn.c : Likewise.
54326         * iconvdata/iso-2022-cn-ext.c : Likewise.
54327         * iconvdata/iso-2022-jp-3.c: Likewise.
54328         * iconvdata/iso-2022-jp.c (gconv_end): Likewise.
54329         * iconvdata/iso-2022-kr.c : Likewise.
54330         * iconvdata/iso646.c (gconv_end): Likewise.
54331         * iconvdata/iso_6937-2.c : Likewise.
54332         * iconvdata/iso_6937.c : Likewise.
54333         * iconvdata/iso8859-1.c: Likewise.
54334         * iconvdata/johab.c (johab_sym_hanja_to_ucs): Likewise.
54335         * iconvdata/shift_jisx0213.c : Likewise.
54336         * iconvdata/sjis.c : Likewise.
54337         * iconvdata/t.61.c : Likewise.
54338         * iconvdata/tcvn5712-1.c : Likewise.
54339         * iconvdata/tscii.c: Likewise.
54340         * iconvdata/uhc.c : Likewise.
54341         * iconvdata/unicode.c (gconv_end): Likewise.
54342         * iconvdata/utf-16.c (gconv_end): Likewise.
54343         * iconvdata/utf-32.c (gconv_end): Likewise.
54344         * iconvdata/utf-7.c (base64): Likewise.
54345         * iconv/gconv_cache.c (__gconv_load_cache): Likewise.
54346         * iconv/gconv_close.c (__gconv_close): Likewise.
54347         * iconv/gconv_open.c (__gconv_open): Likewise.
54348         * iconv/gconv_simple.c (internal_ucs4_loop_single)
54349         (ucs4_internal_loop, ucs4_internal_loop_unaligned)
54350         (ucs4_internal_loop_single, internal_ucs4le_loop_single)
54351         (ucs4le_internal_loop, ucs4le_internal_loop_unaligned)
54352         (ucs4le_internal_loop_single): Likewise.
54353         * iconv/iconv.c (iconv): Likewise.
54354         * iconv/iconv_close.c: Likewise.
54355         * iconv/loop.c (SINGLE): Likewise.
54356         * iconv/skeleton.c (FUNCTION_NAME): Likewise.
54357         * include/atomic.h: Likewise.
54358         * inet/inet6_option.c (option_alloc): Likewise.
54359         * intl/bindtextdom.c (set_binding_values): Likewise.
54360         * intl/dcigettext.c (DCIGETTEXT, _nl_find_msg): Likewise.
54361         * intl/loadmsgcat.c (_nl_load_domain): Likewise.
54362         * intl/localealias.c (read_alias_file): Likewise.
54363         * libio/filedoalloc.c (_IO_file_doallocate): Likewise.
54364         * libio/fileops.c (_IO_file_open, _IO_file_underflow_mmap)
54365         (_IO_new_file_overflow, _IO_file_xsgetn_mmap): Likewise.
54366         * libio/fmemopen.c (fmemopen): Likewise.
54367         * libio/iofgets.c (_IO_fgets): Likewise.
54368         * libio/iofgets_u.c (fgets_unlocked): Likewise.
54369         * libio/iofgetws.c (fgetws): Likewise.
54370         * libio/iofgetws_u.c (fgetws_unlocked): Likewise.
54371         * libio/iogetdelim.c (_IO_getdelim): Likewise.
54372         * libio/wfileops.c (_IO_wfile_underflow, _IO_wfile_underflow_mmap)
54373         (adjust_wide_data, _IO_wfile_seekoff): Likewise.
54374         * locale/findlocale.c (_nl_find_locale): Likewise.
54375         * locale/loadarchive.c (_nl_load_locale_from_archive): Likewise.
54376         * locale/loadlocale.c (_nl_intern_locale_data, _nl_load_locale):
54377         Likewise.
54378         * locale/setlocale.c (setlocale): Likewise.
54379         * login/programs/pt_chown.c (main): Likewise.
54380         * malloc/arena.c (ptmalloc_init, shrink_heap, arena_get2): Likewise.
54381         * malloc/malloc.c (_int_malloc, _int_free): Likewise.
54382         * malloc/memusage.c (update_data, malloc, realloc, calloc, free)
54383         (mmap, mmap64, mremap, munmap): Likewise.
54384         * math/e_exp2l.c: Likewise.
54385         * math/e_scalb.c (invalid_fn, __ieee754_scalb): Likewise.
54386         * math/e_scalbf.c (invalid_fn, __ieee754_scalbf): Likewise.
54387         * math/e_scalbl.c (invalid_fn, __ieee754_scalbl): Likewise.
54388         * math/s_catan.c (__catan): Likewise.
54389         * math/s_catanf.c (__catanf): Likewise.
54390         * math/s_catanh.c (__catanh): Likewise.
54391         * math/s_catanhf.c (__catanhf): Likewise.
54392         * math/s_catanhl.c (__catanhl): Likewise.
54393         * math/s_catanl.c (__catanl): Likewise.
54394         * math/s_ccosh.c (__ccosh): Likewise.
54395         * math/s_ccoshf.c (__ccoshf): Likewise.
54396         * math/s_ccoshl.c (__ccoshl): Likewise.
54397         * math/s_cexp.c (__cexp): Likewise.
54398         * math/s_cexpf.c (__cexpf): Likewise.
54399         * math/s_cexpl.c (__cexpl): Likewise.
54400         * math/s_clog10.c (__clog10): Likewise.
54401         * math/s_clog10f.c (__clog10f): Likewise.
54402         * math/s_clog10l.c (__clog10l): Likewise.
54403         * math/s_clog.c (__clog): Likewise.
54404         * math/s_clogf.c (__clogf): Likewise.
54405         * math/s_clogl.c (__clogl): Likewise.
54406         * math/s_csin.c (__csin): Likewise.
54407         * math/s_csinf.c (__csinf): Likewise.
54408         * math/s_csinh.c (__csinh): Likewise.
54409         * math/s_csinhf.c (__csinhf): Likewise.
54410         * math/s_csinhl.c (__csinhl): Likewise.
54411         * math/s_csinl.c (__csinl): Likewise.
54412         * math/s_csqrt.c (__csqrt): Likewise.
54413         * math/s_csqrtf.c (__csqrtf): Likewise.
54414         * math/s_csqrtl.c (__csqrtl): Likewise.
54415         * math/s_ctan.c (__ctan): Likewise.
54416         * math/s_ctanf.c (__ctanf): Likewise.
54417         * math/s_ctanh.c (__ctanh): Likewise.
54418         * math/s_ctanhf.c (__ctanhf): Likewise.
54419         * math/s_ctanhl.c (__ctanhl): Likewise.
54420         * math/s_ctanl.c (__ctanl): Likewise.
54421         * math/w_pow.c: Likewise.
54422         * math/w_powf.c: Likewise.
54423         * math/w_powl.c: Likewise.
54424         * math/w_scalb.c (sysv_scalb): Likewise.
54425         * math/w_scalbf.c (sysv_scalbf): Likewise.
54426         * math/w_scalbl.c (sysv_scalbl): Likewise.
54427         * misc/error.c (error_tail): Likewise.
54428         * misc/pselect.c (__pselect): Likewise.
54429         * nis/nis_callback.c (__nis_create_callback): Likewise.
54430         * nis/nis_call.c (__nisfind_server): Likewise.
54431         * nis/nis_creategroup.c (nis_creategroup): Likewise.
54432         * nis/nis_domain_of_r.c (nis_domain_of_r): Likewise.
54433         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Likewise.
54434         * nis/nis_getservlist.c (nis_getservlist): Likewise.
54435         * nis/nis_lookup.c (nis_lookup): Likewise.
54436         * nis/nis_subr.c (nis_leaf_of_r, nis_getnames): Likewise.
54437         * nis/nis_table.c (__create_ib_request, nis_list, nis_add_entry)
54438         (nis_modify_entry, nis_first_entry, nis_next_entry): Likewise.
54439         * nis/nis_xdr.c (xdr_endpoint): Likewise.
54440         * nis/nss_compat/compat-grp.c (getgrent_next_file)
54441         (internal_getgrnam_r, internal_getgrgid_r): Likewise.
54442         * nis/nss_compat/compat-initgroups.c (add_group)
54443         (internal_getgrent_r): Likewise.
54444         * nis/nss_compat/compat-pwd.c (getpwent_next_file)
54445         (internal_getpwnam_r, internal_getpwuid_r): Likewise.
54446         * nis/nss_compat/compat-spwd.c (getspent_next_file)
54447         (internal_getspnam_r): Likewise.
54448         * nis/nss_nis/nis-alias.c (internal_nis_getaliasent_r)
54449         (_nss_nis_getaliasbyname_r): Likewise.
54450         * nis/nss_nis/nis-ethers.c (_nss_nis_gethostton_r)
54451         (_nss_nis_getntohost_r): Likewise.
54452         * nis/nss_nis/nis-grp.c (internal_nis_setgrent)
54453         (internal_nis_getgrent_r, _nss_nis_getgrnam_r)
54454         (_nss_nis_getgrgid_r): Likewise.
54455         * nis/nss_nis/nis-hosts.c (_nss_nis_sethostent)
54456         (internal_nis_gethostent_r, internal_gethostbyname2_r)
54457         (_nss_nis_gethostbyname_r, _nss_nis_gethostbyaddr_r)
54458         (_nss_nis_gethostbyname4_r): Likewise.
54459         * nis/nss_nis/nis-initgroups.c (internal_getgrent_r)
54460         (initgroups_netid): Likewise.
54461         * nis/nss_nis/nis-netgrp.c (_nss_nis_setnetgrent): Likewise.
54462         * nis/nss_nis/nis-network.c (internal_nis_getnetent_r)
54463         (_nss_nis_getnetbyname_r, _nss_nis_getnetbyaddr_r): Likewise.
54464         * nis/nss_nis/nis-proto.c (_nss_nis_getprotobyname_r)
54465         (_nss_nis_getprotobynumber_r): Likewise.
54466         * nis/nss_nis/nis-publickey.c (_nss_nis_getpublickey)
54467         (_nss_nis_getsecretkey): Likewise.
54468         * nis/nss_nis/nis-pwd.c (_nis_saveit, internal_nis_setpwent)
54469         (internal_nis_getpwent_r, _nss_nis_getpwnam_r)
54470         (_nss_nis_getpwuid_r): Likewise.
54471         * nis/nss_nis/nis-rpc.c (internal_nis_getrpcent_r)
54472         (_nss_nis_getrpcbyname_r, _nss_nis_getrpcbynumber_r): Likewise.
54473         * nis/nss_nis/nis-service.c (dosearch, internal_nis_getservent_r)
54474         (_nss_nis_getservbyname_r, _nss_nis_getservbyport_r): Likewise.
54475         * nis/nss_nis/nis-spwd.c (_nss_nis_setspent)
54476         (internal_nis_getspent_r, _nss_nis_getspnam_r): Likewise.
54477         * nis/nss_nisplus/nisplus-alias.c (_nss_nisplus_getaliasbyname_r):
54478         Likewise.
54479         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_gethostton_r)
54480         (_nss_nisplus_getntohost_r): Likewise.
54481         * nis/nss_nisplus/nisplus-grp.c (internal_nisplus_getgrent_r)
54482         (_nss_nisplus_getgrnam_r, _nss_nisplus_getgrgid_r): Likewise.
54483         * nis/nss_nisplus/nisplus-hosts.c (internal_gethostbyname2_r)
54484         (_nss_nisplus_gethostbyaddr_r, _nss_nisplus_gethostbyname4_r):
54485         Likewise.
54486         * nis/nss_nisplus/nisplus-initgroups.c
54487         (_nss_nisplus_initgroups_dyn): Likewise.
54488         * nis/nss_nisplus/nisplus-network.c (_nss_nisplus_getnetbyname_r)
54489         (_nss_nisplus_getnetbyaddr_r): Likewise.
54490         * nis/nss_nisplus/nisplus-proto.c (_nss_nisplus_getprotobyname_r)
54491         (_nss_nisplus_getprotobynumber_r): Likewise.
54492         * nis/nss_nisplus/nisplus-pwd.c (internal_nisplus_getpwent_r)
54493         (_nss_nisplus_getpwnam_r, _nss_nisplus_getpwuid_r): Likewise.
54494         * nis/nss_nisplus/nisplus-rpc.c (_nss_nisplus_getrpcbyname_r):
54495         Likewise.
54496         * nis/nss_nisplus/nisplus-service.c
54497         (internal_nisplus_getservent_r, _nss_nisplus_getservbyname_r)
54498         (_nss_nisplus_getservbyport_r): Likewise.
54499         * nis/nss_nisplus/nisplus-spwd.c (internal_nisplus_getspent_r)
54500         (_nss_nisplus_getspnam_r): Likewise.
54501         * nis/ypclnt.c (__yp_bind, yp_match, yp_all, yp_maplist):
54502         Likewise.
54503         * nscd/aicache.c (addhstaiX): Likewise.
54504         * nscd/cache.c (cache_search, prune_cache): Likewise.
54505         * nscd/connections.c (register_traced_file, send_ro_fd)
54506         (handle_request, nscd_run_prune, nscd_run_worker, fd_ready)
54507         (main_loop_epoll): Likewise.
54508         * nscd/grpcache.c (addgrbyX): Likewise.
54509         * nscd/hstcache.c (addhstbyX): Likewise.
54510         * nscd/initgrcache.c (addinitgroupsX): Likewise.
54511         * nscd/mem.c (gc, mempool_alloc): Likewise.
54512         * nscd/netgroupcache.c (do_notfound, addgetnetgrentX)
54513         (addinnetgrX): Likewise.
54514         * nscd/nscd-client.h (__nscd_acquire_maplock)
54515         (__nscd_drop_map_ref): Likewise.
54516         * nscd/nscd_getai.c (__nscd_getai): Likewise.
54517         * nscd/nscd_getgr_r.c (nscd_getgr_r): Likewise.
54518         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp, nscd_gethst_r):
54519         Likewise.
54520         * nscd/nscd_getpw_r.c (nscd_getpw_r): Likewise.
54521         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
54522         * nscd/nscd_helper.c (__readvall, open_socket, __nscd_get_mapping)
54523         (__nscd_get_map_ref): Likewise.
54524         * nscd/nscd_initgroups.c (__nscd_getgrouplist): Likewise.
54525         * nscd/nscd_netgroup.c (__nscd_setnetgrent, __nscd_innetgr):
54526         Likewise.
54527         * nscd/pwdcache.c (addpwbyX): Likewise.
54528         * nscd/selinux.c (preserve_capabilities): Likewise.
54529         * nscd/servicescache.c (addservbyX): Likewise.
54530         * nss/nss_files/files-XXX.c (internal_getent): Likewise.
54531         * posix/fnmatch.c (fnmatch): Likewise.
54532         * posix/getopt.c (_getopt_internal_r): Likewise.
54533         * posix/glob.c (glob, glob_in_dir): Likewise.
54534         * posix/wordexp.c (exec_comm_child): Likewise.
54535         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyaddr2_r)
54536         (getanswer_r, gaih_getanswer_slice): Likewise.
54537         * resolv/nss_dns/dns-network.c (getanswer_r): Likewise.
54538         * resolv/res_init.c: Likewise.
54539         * resolv/res_mkquery.c (res_nmkquery): Likewise.
54540         * resolv/res_query.c (__libc_res_nquery): Likewise.
54541         * resolv/res_send.c (__libc_res_nsend, send_vc, reopen, send_dg):
54542         Likewise.
54543         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Likewise.
54544         * stdio-common/perror.c (perror): Likewise.
54545         * stdio-common/printf_fp.c (___printf_fp): Likewise.
54546         * stdio-common/tmpnam.c (tmpnam): Likewise.
54547         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
54548         * stdlib/cxa_finalize.c (__cxa_finalize): Likewise.
54549         * stdlib/cxa_thread_atexit_impl.c (__cxa_thread_atexit_impl):
54550         Likewise.
54551         * stdlib/drand48-iter.c (__drand48_iterate): Likewise.
54552         * stdlib/putenv.c (putenv): Likewise.
54553         * stdlib/setenv.c (__add_to_environ): Likewise.
54554         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
54555         * stdlib/strtol_l.c (INTERNAL): Likewise.
54556         * string/memmem.c (memmem): Likewise.
54557         * string/strerror.c (strerror): Likewise.
54558         * string/strnlen.c (__strnlen): Likewise.
54559         * string/test-memmem.c (simple_memmem): Likewise.
54560         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Likewise.
54561         * sunrpc/pm_getport.c (__get_socket): Likewise.
54562         * sysdeps/gnu/unwind-resume.c (init, _Unwind_Resume): Likewise.
54563         * sysdeps/i386/dl-irel.h (elf_irel): Likewise.
54564         * sysdeps/i386/dl-machine.h (elf_machine_runtime_setup)
54565         (elf_machine_rel, elf_machine_lazy_rel, elf_machine_lazy_rela):
54566         Likewise.
54567         * sysdeps/ieee754/dbl-64/e_atanh.c (__ieee754_atanh): Likewise.
54568         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Likewise.
54569         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Likewise.
54570         * sysdeps/ieee754/dbl-64/e_gamma_r.c (__ieee754_gamma_r): Likewise.
54571         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Likewise.
54572         * sysdeps/ieee754/dbl-64/e_j1.c (__ieee754_j1, __ieee754_y1):
54573         Likewise.
54574         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_jn, __ieee754_yn):
54575         Likewise.
54576         * sysdeps/ieee754/dbl-64/e_log10.c (__ieee754_log10): Likewise.
54577         * sysdeps/ieee754/dbl-64/e_log2.c (__ieee754_log2): Likewise.
54578         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
54579         * sysdeps/ieee754/dbl-64/e_sinh.c (__ieee754_sinh): Likewise.
54580         * sysdeps/ieee754/dbl-64/s_asinh.c (__asinh): Likewise.
54581         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Likewise.
54582         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Likewise.
54583         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Likewise.
54584         * sysdeps/ieee754/dbl-64/s_modf.c (__modf): Likewise.
54585         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): Likewise.
54586         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
54587         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c (__ieee754_acosh):
54588         Likewise.
54589         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c (__ieee754_log10):
54590         Likewise.
54591         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c (__ieee754_log2):
54592         Likewise.
54593         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c (__frexp): Likewise.
54594         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
54595         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c (__remquo): Likewise.
54596         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c (__round): Likewise.
54597         * sysdeps/ieee754/flt-32/e_atanhf.c (__ieee754_atanhf): Likewise.
54598         * sysdeps/ieee754/flt-32/e_gammaf_r.c (__ieee754_gammaf_r): Likewise.
54599         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
54600         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Likewise.
54601         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_nearbyint): Likewise.
54602         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Likewise.
54603         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c (__llroundl): Likewise.
54604         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
54605         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
54606         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c (__lroundl): Likewise.
54607         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
54608         * sysdeps/ieee754/ldbl-96/e_gammal_r.c (__ieee754_gammal_r):
54609         Likewise.
54610         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l, __ieee754_y0l):
54611         Likewise.
54612         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l, __ieee754_y1l):
54613         Likewise.
54614         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_jnl, __ieee754_ynl):
54615         Likewise.
54616         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
54617         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
54618         * sysdeps/posix/clock_getres.c (hp_timing_getres, realtime_getres):
54619         Likewise.
54620         * sysdeps/posix/fdopendir.c (__fdopendir): Likewise.
54621         * sysdeps/posix/getaddrinfo.c (gaih_inet, getaddrinfo): Likewise.
54622         * sysdeps/posix/opendir.c (__opendirat): Likewise.
54623         * sysdeps/posix/sleep.c: Likewise.
54624         * sysdeps/posix/tempname.c: Likewise.
54625         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_irela): Likewise.
54626         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
54627         Likewise.
54628         * sysdeps/powerpc/powerpc32/dl-machine.h
54629         (elf_machine_runtime_setup, elf_machine_rela): Likewise.
54630         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
54631         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
54632         * sysdeps/pthread/aio_notify.c (__aio_notify_only): Likewise.
54633         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait, aio_suspend):
54634         Likewise.
54635         * sysdeps/s390/dl-irel.h (elf_irela): Likewise.
54636         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_runtime_setup)
54637         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
54638         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_runtime_setup)
54639         (elf_machine_rela, elf_machine_lazy_rel): Likewise.
54640         * sysdeps/s390/s390-64/utf16-utf32-z9.c (gconv_end): Likewise.
54641         * sysdeps/s390/s390-64/utf8-utf16-z9.c (gconv_end): Likewise.
54642         * sysdeps/s390/s390-64/utf8-utf32-z9.c (gconv_end): Likewise.
54643         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
54644         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Likewise.
54645         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela)
54646         (elf_machine_lazy_rel): Likewise.
54647         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
54648         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela)
54649         (elf_machine_lazy_rel): Likewise.
54650         * sysdeps/sparc/sparc64/dl-plt.h (sparc64_fixup_plt): Likewise.
54651         * sysdeps/unix/clock_gettime.c (hp_timing_gettime): Likewise.
54652         * sysdeps/unix/clock_settime.c (hp_timing_settime): Likewise.
54653         * sysdeps/unix/grantpt.c (grantpt): Likewise.
54654         * sysdeps/unix/sysv/linux/accept4.c (accept4): Likewise.
54655         * sysdeps/unix/sysv/linux/adjtime.c (ADJTIME): Likewise.
54656         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): Likewise.
54657         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
54658         Likewise.
54659         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Likewise.
54660         * sysdeps/unix/sysv/linux/fchmodat.c (fchmodat): Likewise.
54661         * sysdeps/unix/sysv/linux/fchownat.c (fchownat): Likewise.
54662         * sysdeps/unix/sysv/linux/futimesat.c (futimesat): Likewise.
54663         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
54664         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
54665         * sysdeps/unix/sysv/linux/i386/fallocate64.c (fallocate64): Likewise.
54666         * sysdeps/unix/sysv/linux/i386/fallocate.c (fallocate): Likewise.
54667         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Likewise.
54668         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
54669         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
54670         Likewise.
54671         * sysdeps/unix/sysv/linux/i386/posix_fallocate64.c
54672         (__posix_fallocate64_l64): Likewise.
54673         * sysdeps/unix/sysv/linux/i386/posix_fallocate.c
54674         (posix_fallocate): Likewise.
54675         * sysdeps/unix/sysv/linux/i386/scandir64.c (__old_scandir64):
54676         Likewise.
54677         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
54678         * sysdeps/unix/sysv/linux/ifaddrs.c (__netlink_request)
54679         (getifaddrs_internal): Likewise.
54680         * sysdeps/unix/sysv/linux/linkat.c (linkat): Likewise.
54681         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Likewise.
54682         * sysdeps/unix/sysv/linux/mq_unlink.c (mq_unlink): Likewise.
54683         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Likewise.
54684         * sysdeps/unix/sysv/linux/posix_fallocate64.c
54685         (__posix_fallocate64_l64): Likewise.
54686         * sysdeps/unix/sysv/linux/posix_fallocate.c (posix_fallocate):
54687         Likewise.
54688         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat): Likewise.
54689         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c
54690         (__get_clockfreq): Likewise.
54691         * sysdeps/unix/sysv/linux/readlinkat.c (readlinkat): Likewise.
54692         * sysdeps/unix/sysv/linux/recvmmsg.c (recvmmsg): Likewise.
54693         * sysdeps/unix/sysv/linux/renameat.c (renameat): Likewise.
54694         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
54695         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
54696         * sysdeps/unix/sysv/linux/sched_setaffinity.c: Likewise.
54697         * sysdeps/unix/sysv/linux/sendmmsg.c (__sendmmsg): Likewise.
54698         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs, shm_open):
54699         Likewise.
54700         * sysdeps/unix/sysv/linux/sleep.c (__sleep): Likewise.
54701         * sysdeps/unix/sysv/linux/symlinkat.c (symlinkat): Likewise.
54702         * sysdeps/unix/sysv/linux/tcgetattr.c (__tcgetattr): Likewise.
54703         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Likewise.
54704         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
54705         * sysdeps/unix/sysv/linux/unlinkat.c (unlinkat): Likewise.
54706         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c (__fxstatat):
54707         Likewise.
54708         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
54709         (posix_fallocate): Likewise.
54710         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
54711         * sysdeps/unix/sysv/linux/xmknodat.c (__xmknodat): Likewise.
54712         * sysdeps/x86_64/dl-irel.h (elf_irela): Likewise.
54713         * sysdeps/x86_64/dl-machine.h (elf_machine_runtime_setup)
54714         (elf_machine_rela, elf_machine_rela_relative)
54715         (elf_machine_lazy_rel): Likewise.
54716         * time/asctime.c (asctime_internal): Likewise.
54717         * time/tzfile.c (__tzfile_read, __tzfile_compute): Likewise.
54718         * time/tzset.c (__tzset_parse_tz): Likewise.
54719         * wcsmbs/mbrtoc16.c (mbrtoc16): Likewise.
54720         * wcsmbs/mbrtowc.c (__mbrtowc): Likewise.
54721         * wcsmbs/wcsmbsload.c (__wcsmbs_load_conv): Likewise.
54722         * wcsmbs/wcsmbsload.h: Likewise.
54724         [BZ #15894]
54725         * stdlib/setenv.c (__add_to_environ): Remove duplicate code.
54727         * malloc/arena.c (grow_heap, get_free_list, reused_arena)
54728         (arena_get2): Remove THREAD_STATS conditionals.
54729         * malloc/malloc.c (__malloc_assert, __libc_realloc, _int_free)
54730         (__malloc_stats, int): Likewise.
54732 2014-02-08  Mike Frysinger  <vapier@gentoo.org>
54734         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs): Compare
54735         f.f_type to RAMFS_MAGIC too.  Compare mp->mnt_type to shm too.
54737         * manual/setjmp.texi: Fix typos/grammar errors.
54739         * debug/tst-backtrace4.c (handle_signal): Add NUM_FUNCTIONS to output.
54740         Only return early when n is <= 0.  Delete unused return statement.
54742         * debug/Makefile (CFLAGS-tst-longjmp_chk3.c): Define.
54743         (CPPFLAGS-tst-longjmp_chk3.c): Likewise.
54744         * debug/tst-longjmp_chk3.c: New file.
54746         * benchtests/bench-strcpy_chk.c: Move test-skeleton.c to top.
54747         (test_main): Replace code with set_fortify_handler call.
54748         * debug/test-strcpy_chk.c: Likewise.
54749         * debug/tst-chk1.c: Likewise.
54750         * debug/tst-longjmp_chk.c: Likewise.
54751         * test-skeleton.c: Include fcntl.h & paths.h
54752         (set_fortify_handler): Define.
54754         * debug/tst-longjmp_chk.c: Add header comment and include
54755         ../test-skeleton.c.
54756         (do_test): Mark static.
54757         (TEST_FUNCTION): Define.
54759         * sysdeps/unix/sysv/linux/bits/in.h (IP_NODEFRAG): Define.
54760         (IP_PMTUDISC_INTERFACE): Likewise.
54761         (IP_MULTICAST_IF): Likewise.
54762         (IP_MULTICAST_TTL): Likewise.
54763         (IP_MULTICAST_LOOP): Likewise.
54764         (IP_ADD_MEMBERSHIP): Likewise.
54765         (IP_DROP_MEMBERSHIP): Likewise.
54766         (IP_UNBLOCK_SOURCE): Likewise.
54767         (IP_BLOCK_SOURCE): Likewise.
54768         (IP_ADD_SOURCE_MEMBERSHIP): Likewise.
54769         (IP_DROP_SOURCE_MEMBERSHIP): Likewise.
54770         (IP_MSFILTER): Likewise.
54771         (MCAST_JOIN_GROUP): Likewise.
54772         (MCAST_BLOCK_SOURCE): Likewise.
54773         (MCAST_UNBLOCK_SOURCE): Likewise.
54774         (MCAST_LEAVE_GROUP): Likewise.
54775         (MCAST_JOIN_SOURCE_GROUP): Likewise.
54776         (MCAST_LEAVE_SOURCE_GROUP): Likewise.
54777         (MCAST_MSFILTER): Likewise.
54778         (IP_MULTICAST_ALL): Likewise.
54779         (IP_UNICAST_IF): Likewise.
54781         * timezone/Makefile: Delete $(have-ksh) check.
54782         ($(objpfx)tzselect): Change $(KSH) to $(BASH).
54783         * timezone/tzselect.ksh: Add +x mode bits.
54785         * sysdeps/unix/sysv/linux/linux_fsinfo.h (AFS_SUPER_MAGIC): Define.
54786         (ANON_INODE_FS_MAGIC): Likewise.
54787         (BDEVFS_MAGIC): Likewise.
54788         (BINFMTFS_MAGIC): Likewise.
54789         (BTRFS_TEST_MAGIC): Likewise.
54790         (CRAMFS_MAGIC_WEND): Likewise.
54791         (DEBUGFS_MAGIC): Likewise.
54792         (ECRYPTFS_SUPER_MAGIC): Likewise.
54793         (EXT3_SUPER_MAGIC): Likewise.
54794         (EXT4_SUPER_MAGIC): Likewise.
54795         (FUTEXFS_SUPER_MAGIC): Likewise.
54796         (HOSTFS_SUPER_MAGIC): Likewise.
54797         (HUGETLBFS_MAGIC): Likewise.
54798         (MINIX3_SUPER_MAGIC): Likewise.
54799         (MTD_INODE_FS_MAGIC): Likewise.
54800         (NILFS_SUPER_MAGIC): Likewise.
54801         (OPENPROM_SUPER_MAGIC): Likewise.
54802         (PIPEFS_MAGIC): Likewise.
54803         (PSTOREFS_MAGIC): Likewise.
54804         (QNX6_SUPER_MAGIC): Likewise.
54805         (RAMFS_MAGIC): Likewise.
54806         (REISERFS_SUPER_MAGIC_STRING): Likewise.
54807         (REISER2FS_SUPER_MAGIC_STRING): Likewise.
54808         (REISER2FS_JR_SUPER_MAGIC_STRING): Likewise.
54809         (SECURITYFS_MAGIC): Likewise.
54810         (SELINUX_MAGIC): Likewise.
54811         (SMACK_MAGIC): Likewise.
54812         (SOCKFS_MAGIC): Likewise.
54813         (SQUASHFS_MAGIC): Likewise.
54814         (STACK_END_MAGIC): Likewise.
54815         (TMPFS_MAGIC): Likewise.
54816         (USBDEVICE_SUPER_MAGIC): Likewise.
54817         (V9FS_MAGIC): Likewise.
54818         (XENFS_SUPER_MAGIC): Likewise.
54819         (CRAMFS_MAGIC): Fix typo in comment.
54820         (EXT2_SUPER_MAGIC): Update comment.
54821         (USBDEVFS_SUPER_MAGIC): Fix sorting order by moving further down.
54823 2014-02-08  Joseph Myers  <joseph@codesourcery.com>
54825         * sysdeps/arm: Move directory from ports/sysdeps/arm.
54826         * sysdeps/unix/arm: Move directory from ports/sysdeps/unix/arm.
54827         * sysdeps/unix/sysv/linux/arm: Move directory from
54828         ports/sysdeps/unix/sysv/linux/arm.
54829         * README: Update listing for arm-*-linux-gnueabi.
54831         * README: Remove mention of am33.
54833 2014-02-07  Roland McGrath  <roland@hack.frob.com>
54835         * bits/sigset.h (__sigemptyset): Use a statement expression rather
54836         than the comma operator, to avoid "rhs of comma has no effect"
54837         compiler warnings.
54838         (__sigfillset, __sigandset, __sigorset): Likewise.
54839         * include/signal.h (__sigemptyset): Likewise.
54840         * sysdeps/generic/malloc-machine.h (mutex_lock): Likewise.
54842 2014-02-07  Allan McRae  <allan@archlinux.org>
54844         * version.h (RELEASE): Set to "development".
54845         (VERSION): Set to "2.19.90"
54846         * NEWS: Add 2.20 section.
54848 2014-02-06  Carlos O'Donell  <carlos@redhat.com>
54850         [BZ #16529]
54851         * inet/netinet/in.h: Remove comma after IPPROTO_MH.
54853 2014-02-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
54855         * manual/contrib.texi: Update entry for Carlos O'Donell,
54856         Joseph Myers, Roland McGrath, Alexandre Oliva and Ryan Arnold.
54858 2014-02-05  Carlos O'Donell  <carlos@rehdat.com>
54860         * sysdeps/unix/sysv/linux/kernel-features.h: Fix comment.
54862         * sysdeps/unix/sysv/linux/kernel-features.h
54863         [__LINUX_KERNEL_VERSION >= 0x020621]
54864         (__ASSUME_PROC_PID_TASK_COMM): Define.
54866 2014-02-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
54868         [BZ #16398]
54869         * libio/wfileops.c (_IO_wfile_seekoff): Break out form
54870         conversion when destination buffer does not have enough space.
54871         * libio/tst-ftell-partial-wide.c: New test case.
54872         * libio/Makefile (tests): Add tst-ftell-partial-wide.
54874         * manual/contrib.texi: Update entry for Ondrej Bilka, Will
54875         Newton and Alexandre Oliva.  Add entries for Steve Ellcey, Chris
54876         Leonard and Allan McRae.
54878 2014-02-04  David S. Miller  <davem@davemloft.net>
54880         * sysdeps/sparc/fpu/libm-test-ulps: Update for some 64-bit differences from
54881         32-bit.
54883 2014-02-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54885         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld-le.abilist:
54886         New file
54887         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale-le.abilist:
54888         New file
54889         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl-le.abilist:
54890         New file.
54891         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc-le.abilist:
54892         New file.
54893         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt-le.abilist:
54894         New file.
54895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl-le.abilist:
54896         New file.
54897         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm-le.abilist:
54898         New file.
54899         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl-le.abilist:
54900         New file.
54901         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread-le.abilist:
54902         New file.
54903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv-le.abilist:
54904         New file.
54905         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt-le.abilist:
54906         New file.
54907         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db-le.abilist:
54908         New file.
54909         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil-le.abilist:
54910         New file.
54912 2014-02-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54914         * nptl/shlib-versions: Change powerpc*le start to 2.17.
54915         * shlib-versions: Likewise.
54917 2014-02-04  Roland McGrath  <roland@hack.frob.com>
54918             Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
54920         * sysdeps/powerpc/Makefile [$(config-machine) ends with 'le']
54921         (abilist-pattern): New variable, set to %-le.abilist.
54923         * Makerules (abilist-pattern): New variable.
54924         (vpath): Use $(abilist-pattern) in place of %.abilist.
54925         (check-abi-% pattern rule): Likewise.
54926         (check-abi, update-abi): Likewise.
54928 2014-02-04  Eric Wong  <normalperson@yhbt.net>
54930         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
54932 2014-02-03  Carlos O'Donell  <carlos@redhat.com>
54934         * manual/startup.texi: Add next, previous, and top entries for
54935         the `Program Arguments' and `Environment Variables' nodes.
54937 2014-02-03  Alexandre Oliva <aoliva@redhat.com>
54939         * manual/macros.texi: Add comments before MTASC-safety macros.
54941         * manual/users.texi: Document MTASC-safety properties.
54943         * manual/threads.texi (pthread_key_create, pthread_key_delete)
54944         (pthread_getspecific, pthread_setspecific): Format with
54945         @deftypefun, and add @safety note.
54946         * manual/signal.texi: Move comments that analyze the above
54947         functions to their home place.
54949 2014-02-03  Allan McRae  <allan@archlinux.org>
54951         * po/sl.po: Update Slovenian translation from translation project.
54953 2014-02-02  Alexandre Oliva <aoliva@redhat.com>
54955         * manual/time.texi (timegm): Add missing blank after @c.
54956         Reported by Joseph Myers <joseph@codesourcery.com>.
54958 2014-02-01  Alexandre Oliva <aoliva@redhat.com>
54960         * manual/check-safety.sh: New.
54961         * manual/Makefile ($(objpfx)stamp-summary): Run it.
54963         * manual/terminal.texi: Document MTASC-safety properties.
54965         * manual/filesys.texi: Document MTASC-safety properties.
54967         * manual/errno.texi: Document MTASC-safety properties.
54969         * manual/intro.texi: Document safety identifiers and
54970         conditionals.
54972         * manual/string.texi (wcstok): Fix prototype.
54973         (wcstok, strtok, strtok_r): Adjust reentrancy remarks.
54975         * manual/time.texi: Document MTASC-safety properties.
54977         * manual/string.texi: Document MTASC-safety properties.
54979         * manual/threads.texi: Document MTASC-safety properties.
54981         * manual/stdio.texi: Document MTASC-safety properties.
54983         * manual/syslog.texi: Document MTASC-safety properties.
54985         * manual/sysinfo.texi: Document MTASC-safety properties.
54987         * manual/startup.texi: Document MTASC-safety properties.
54989         * manual/socket.texi: Document MTASC-safety properties.
54991         * manual/signal.texi: Document MTASC-safety properties.
54993 2014-01-31  Alexandre Oliva <aoliva@redhat.com>
54995         * manual/setjmp.texi: Document MTASC-safety properties.
54997         * manual/search.texi: Document MTASC-safety properties.
54999         * manual/resource.texi: Document MTASC-safety properties.
55001         * manual/process.texi: Document MTASC-safety properties.
55003         * manual/platform.texi: Document MTASC-safety properties.
55005         * manual/pipe.texi: Document MTASC-safety properties.
55007         * manual/pattern.texi: Document MTASC-safety properties.
55009         * manual/message.texi: Document MTASC-safety properties.
55011         [BZ #12751]
55012         * manual/memory.texi: Document MTASC-safety properties.
55014         * manual/math.texi: Document MTASC-safety properties.
55016         * manual/locale.texi: Document MTASC-safety properties.
55018         * manual/llio.texi: Document MTASC-safety properties.
55020         * manual/libdl.texi: New.
55022         * manual/lang.texi: Document MTASC-safety properties.
55024         * manual/job.texi: Document MTASC-safety properties.
55026         * manual/getopt.texi: Document MTASC-safety properties.
55028         * manual/ctype.texi: Document MTASC-safety properties.
55030 2014-01-31  Maciej W. Rozycki  <macro@codesourcery.com>
55032         [BZ #16046]
55033         * csu/libc-tls.c (static_map): Remove variable.
55034         (__libc_setup_tls): Use main executable's link map for TLS data.
55035         * elf/dl-close.c (_dl_close_worker) [!SHARED]: Remove special
55036         casing for LM_ID_BASE and GL(dl_nns).
55037         * elf/dl-iteratephdr.c [!SHARED] (dl_iterate_phdr): Remove
55038         function.  Alias dl_iterate_phdr to __dl_iterate_phdr.
55039         * elf/dl-load.c (_dl_map_object) [!SHARED]: Remove special
55040         casing for GL(dl_ns)[LM_ID_BASE]._ns_loaded.
55041         * elf/dl-support.c (_dl_main_map): Also initialize l_flags_1
55042         member.
55043         (_dl_non_dynamic_init): Also initialize _dl_main_map's l_phdr and
55044         l_phnum members.
55046 2014-01-30  Alexandre Oliva <aoliva@redhat.com>
55048         * manual/debug.texi: Document MTASC-safety properties.
55050 2014-01-29  H.J. Lu  <hongjiu.lu@intel.com>
55052         [BZ #16510]
55053         * sysdeps/x86/fpu/bits/mathinline.h: Check __SSE2_MATH__ instead
55054         of __x86_64__ when disabling x87 inline functions.
55056 2014-01-29  Alexandre Oliva <aoliva@redhat.com>
55058         * manual/charset.texi: Document MTASC-safety properties.
55060         * manual/crypt.texi: Document MTASC-safety properties.
55062         * manual/conf.texi: Document MTASC-safety properties.
55064         * manual/arith.texi: Document MTASC-safety properties.
55066         * manual/argp.texi: Document MTASC-safety properties.
55068         * manual/macros.texi: Introduce macros to document multi
55069         thread, asynchronous signal and asynchronous cancellation
55070         safety properties.
55071         * manual/intro.texi: Introduce the properties themselves.
55073 2014-01-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55075         * sysdeps/sh/sh4/Makefile: New file.
55077 2014-01-27  Andreas Schwab  <schwab@linux-m68k.org>
55079         * math/gen-libm-test.pl ($srcdir): New variable.
55080         ($auto_input): Use it.
55082 2014-01-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
55084         [BZ #16506]
55085         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Avoid
55086         access beyond array bounds when parsing netgroups file.
55088         * nscd/netgroupcache.c (addgetnetgrentX): Compute offset from
55089         the old buffer before realloc.
55091 2014-01-27  Allan McRae  <allan@archlinux.org>
55093         * po/fr.po: Update French translation from translation project.
55095 2014-01-26  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55097         * sysdeps/sh/libm-test-ulps: Regenerate.
55099 2014-01-24  David S. Miller  <davem@davemloft.net>
55101         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate.
55103 2014-01-25  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55105         * sysdeps/sh/sh4/fpu/libm-test-ulps: Move to ...
55106         * sysdeps/sh/libm-test-ulps: ... here and regenerated.
55108 2013-01-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
55110         [BZ #16474]
55111         * nscd/netgroupcache.c (addgetnetgrentX): Adjust triplet
55112         string pointers after reallocation.
55114 2014-01-24  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55116         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: Use __SH4__ and
55117         __SH4A__ instead of __SH_FPU_ANY__.
55119 2014-01-23  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
55121         * sysdeps/sh/fpu_control.h: New file.
55122         * sysdeps/sh/sh4/fpu/fpu_control.h: Remove.
55123         * sysdeps/unix/sysv/linux/sh/sys/ucontext.h: New file.
55124         * sysdeps/unix/sysv/linux/sh/sh3/sys/ucontext.h: Remove.
55125         * sysdeps/unix/sysv/linux/sh/sh3/sys: Remove directory.
55126         * sysdeps/unix/sysv/linux/sh/sh4/sys/ucontext.h: Remove.
55127         * sysdeps/unix/sysv/linux/sh/sh4/sys: Remove directory.
55128         * sysdeps/sh/sys/ucontext.h: Remove.
55129         * sysdeps/sh/sys: Remove directory.
55131 2014-01-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55133         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Merge into
55134         s390/sys/ucontext.h.
55135         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Likewise.
55136         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: New file.
55138 2014-01-20  H.J. Lu  <hongjiu.lu@intel.com>
55140         [BZ #15605]
55141         * sysdeps/x86_64/x32/symbol-hacks.h: Include generic symbol-hacks.h.
55143 2014-01-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55145         [BZ #16431]
55146         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
55147         Adjust the vDSO correctly for internal calls.
55148         * sysdeps/unix/sysv/linux/powerpc/time.c (time): Likewise.
55150 2014-01-20  Allan McRae  <allan@archlinux.org>
55152         * po/ca.po: Update Catalan translation from translation project.
55154 2014-01-16  Mike Frysinger  <vapier@gentoo.org>
55156         * sysdeps/s390/sotruss-lib.c: New file.
55158 2014-01-16  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55160         [BZ #16430]
55161         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c
55162         (__GI___gettimeofday): Alias for a different internal symbol to avoid
55163         local calls issues by not having a PLT stub required for IFUNC calls.
55164         * sysdeps/unix/sysv/linux/powerpc/time.c (__GI_time): Likewise.
55166 2014-01-16 Joseph Myers  <joseph@codesourcery.com>
55168         * math/test-fpucw-ieee.c: Use <> in #include of test-fpucw.c.
55169         * math/test-fpucw-static.c: Likewise.
55171 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
55173         [BZ #16453]
55174         * nscd/netgroupcache.c (addgetnetgrentX): Don't use alloca.
55176 2014-01-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55178         * sysdeps/powerpc/sotruss-lib.c: New file: sotruss-lib.so
55179         implementation for powerpc.
55181 2014-01-15  Ondřej Bílka  <neleai@seznam.cz>
55183         [BZ #14782]
55184         * sysdeps/posix/system.c (__libc_system): Do not enable
55185         asynchronous cancellation.
55187 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55189         [BZ #16427]
55190         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Invoke the non-IEEE
55191         handling only for numbers special also in the IEEE case.
55193 2014-01-15  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55195         * sysdeps/s390/fpu/libm-test-ulps: Regenerate.
55197 2014-01-11  Allan McRae  <allan@archlinux.org>
55199         * po/bg.po: Update Bulgarian translation from translation project.
55201         * po/de.po: Update German translation from translation project.
55203 2014-01-10  Roland McGrath  <roland@hack.frob.com>
55205         * sysdeps/generic/gcc-compat.h: New file.
55207 2014-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
55209         * benchtests/asin-inputs: Correct slow inputs.
55210         * benchtests/acos-inputs: Likewise.
55212 2014-01-10  Allan McRae  <allan@archlinux.org>
55214         * po:sv.po: Update Swedish translation from translation project.
55216         * po/vi.po: Update Vietnamese translation from translation project.
55218         * po/eo.po: Update Esperanto translation from translation project.
55220         * po/cs.po: Update Czech translation from translation project.
55222         * po/nl.po: Update Dutch translation from translation project.
55224         * po/pl.po: Update Polish translation from translation project.
55226         * po/ru.po: Update Russian translation from translation project.
55228         * po/uk.po: Update Ukrainian translation from translation project.
55230 2014-01-08  Brooks Moses  <bmoses@google.com>
55232         * elf/dl-load.c: Fix comment typo.
55234 2014-01-08  Carlos O'Donell  <carlos@redhat.com>
55236         * po/header.pot: Rename to...
55237         * po/pot.header: ... this.
55238         * po/Makefile: Use pot.header.
55240 2014-01-08  Yuriy Kaminskiy  <yumkam@gmail.com>
55241             Maxim Kuvyrkov  <maxim@kugelworks.com>
55243         [BZ #16394]
55244         * sysdeps/i386/i686/memmove.S (memmove): Compare distance between
55245         SRC and DEST against LEN.
55247 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55249         [BZ #16414]
55250         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Remove wrong
55251         implementation.
55252         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Remove bogus comment.
55254 2014-01-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55256         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55258 2014-01-08  Joseph Myers  <joseph@codesourcery.com>
55260         [BZ #16408]
55261         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Use __expl
55262         for large positive arguments.
55264 2014-01-07  Joseph Myers  <joseph@codesourcery.com>
55266         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
55268         * math/auto-libm-test-in: Mark various tests with
55269         xfail-rounding:ldbl-128ibm.
55270         * math/auto-libm-test-out: Regenerated.
55272         [BZ #16407]
55273         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl):
55274         Increase overflow threshold.
55276 2014-01-07  Ondřej Bílka  <neleai@seznam.cz>
55278         [BZ #14286]
55279         * stdio-common/vfprintf.c: Check for integer overflow.
55281 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55283         * sysdeps/s390/dl-tls.h: sysdeps/s390/dl-tls.h: Remove casts for
55284         the first argument and return value of __tls_get_addr_internal.
55286 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55288         * sysdeps/s390/s390-32/dl-machine.h: Gate the definition of refsym
55289         also with !RTLD_BOOTSTRAP to get rid of unused variable warning.
55291 2014-01-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
55293         * sysdeps/s390/Makefile: Build rtld-global-offsets.sym.
55294         * sysdeps/s390/rtld-global-offsets.sym: New file.
55295         * sysdeps/unix/sysv/linux/s390/Versions: Add getcontext as new
55296         GLIBC_2.19 symbol.
55297         * sysdeps/unix/sysv/linux/s390/getcontext.S: New file.
55298         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Rename to ...
55299         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext-common.S:
55300         ... this.
55301         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Rename to ...
55302         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext-common.S:
55303         ... this.
55304         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
55305         Regenerate.
55306         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
55307         Regenerate.
55308         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Restore upper
55309         halfs of GPRs for high_gprs contexts.
55310         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Save and
55311         restore upper halfs of GPRs for high_gprs contexts.  Copy uc_flags
55312         field.
55313         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Copy
55314         uc_flags field.
55315         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h: Split into 32 and
55316         64 bit versions:
55317         * sysdeps/unix/sysv/linux/s390/s390-32/sys/ucontext.h: Add field
55318         for high GPRs (uc_high_gprs) and for future extensions
55319         (__reserved).
55320         * sysdeps/unix/sysv/linux/s390/s390-64/sys/ucontext.h: Add field
55321         for future extensions (__reserved).
55322         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Split into 32 and
55323         64 bit versions:
55324         * sysdeps/unix/sysv/linux/s390/s390-32/ucontext_i.sym: Add
55325         SC_HIGHGPRS offset definition.
55326         * sysdeps/unix/sysv/linux/s390/s390-64/ucontext_i.sym: New file.
55327         * sysdeps/unix/sysv/linux/s390/rtld-getcontext.S: New file.
55329         * Versions.def: Add GLIBC_2.19 for libpthread.
55330         * nptl/sysdeps/unix/sysv/linux/s390/Versions: Add longjmp and
55331         siglongjmp for libpthread with GLIBC_2.19 symver.
55332         * nptl/sysdeps/unix/sysv/linux/s390/pt-longjmp.c: New file.
55333         * sysdeps/s390/Makefile: Build v1-longjmp.c and v1-sigjmp.c.
55334         * sysdeps/s390/Versions: New GLIBC_2.19 and GLIBC_PRIVATE symbols.
55335         * sysdeps/s390/__longjmp.c: New file.
55336         * sysdeps/s390/bits/setjmp.h: Add new fields to __s390_jmp_buf.
55337         * sysdeps/s390/longjmp.c: New file.
55338         * sysdeps/s390/setjmp.S: New file.
55339         * sysdeps/s390/sigjmp.S: New file.
55340         * sysdeps/s390/v1-longjmp.c: New file.
55341         * sysdeps/s390/v1-setjmp.h: New file.
55342         * sysdeps/s390/v1-sigjmp.c: New file.
55343         * sysdeps/unix/sysv/linux/s390/Makefile: Build __longjmp_chk.
55344         * sysdeps/unix/sysv/linux/s390/Versions: Add __longjmp_chk with
55345         GLIBC_2.19 version.
55346         * sysdeps/unix/sysv/linux/s390/longjmp_chk.c: New file.
55347         * sysdeps/unix/sysv/linux/s390/s390-32/____longjmp_chk.c: Provide
55348         versioned symbols for ____longjmp_chk.
55349         * sysdeps/unix/sysv/linux/s390/s390-64/____longjmp_chk.c:
55350         Likewise.
55351         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
55352         Regenerate.
55353         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
55354         Regenerate.
55355         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
55356         Regenerate.
55357         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
55358         Regenerate.
55359         * sysdeps/unix/sysv/linux/s390/v1-longjmp_chk.c: New file.
55360         * sysdeps/s390/s390-32/__longjmp.c: Rename to ...
55361         * sysdeps/s390/s390-32/__longjmp-common.c: ... this.
55362         * sysdeps/s390/s390-32/setjmp.S: Rename and adjust to ...
55363         * sysdeps/s390/s390-32/setjmp-common.S: ... this.
55364         * sysdeps/s390/s390-64/__longjmp.c: Rename to ...
55365         * sysdeps/s390/s390-64/__longjmp-common.c: ... this.
55366         * sysdeps/s390/s390-64/setjmp.S: Rename and adjust to ...
55367         * sysdeps/s390/s390-64/setjmp-common.S: ... this.
55368         * sysdeps/s390/rtld-__longjmp.c: New file.
55369         * sysdeps/s390/rtld-setjmp.S: New file.
55371 2014-01-06  Joseph Myers  <joseph@codesourcery.com>
55373         [BZ #16400]
55374         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
55375         Return -__logl (x) for small positive arguments without evaluating
55376         a polynomial.
55378 2014-01-06  Mike Frysinger  <vapier@gentoo.org>
55380         * sysdeps/unix/sysv/linux/sys/ptrace.h (ptrace_peeksiginfo_args):
55381         Rename to ...
55382         (__ptrace_peeksiginfo_args): ... this.
55383         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
55384         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
55385         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
55387 2014-01-06  Allan McRae  <allan@archlinux.org>
55389         * inet/netinet/in.h: Fix typo in comment.
55391 2014-01-05  Andreas Jaeger  <aj@suse.de>
55393         * sysdeps/i386/fpu/libm-test-ulps: Update.
55395 2014-01-05  Allan McRae  <allan@archlinux.org>
55397         * po/libc.pot: Regenerated.
55399         * malloc/memusagestat.c: Fix gettext call formatting.
55401 2014-01-04  Sami Kerola  <kerolasa@iki.fi>
55403         * nscd/nscd.c: Improve usage() output.
55405 2014-01-04  Mike Frysinger  <vapier@gentoo.org>
55407         * config.h.in: Add HAVE_LINUX_FANOTIFY_H template.
55408         * sysdeps/unix/sysv/linux/configure: Regenerated.
55409         * sysdeps/unix/sysv/linux/configure.ac: Call AC_DEFINE.
55410         * sysdeps/unix/sysv/linux/tst-fanotify.c: Include config.h.
55412 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
55414         [BZ #16390]
55415         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
55416         (CFLAGS-e_atan2l.c): Use -fno-builtin-fabsl.
55418 2014-01-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55420         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: Remove
55421         extra tokens at end of #undef directive.
55422         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: Likewise.
55423         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: Likewise.
55424         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c: Likewise.
55426 2014-01-03  Joseph Myers  <joseph@codesourcery.com>
55428         * sysdeps/powerpc/nofpu/libm-test-ulps: Regenerated.
55430         * math/auto-libm-test-in: Mark various tests with
55431         xfail-rounding:ldbl-128ibm.
55432         * math/auto-libm-test-out: Regenerated.
55434 2014-01-02  Joseph Myers  <joseph@codesourcery.com>
55436         [BZ #16386]
55437         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Adjust
55438         numbers with subnormal high part when calculating exponent.
55440         [BZ #16385]
55441         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Use fabsl not
55442         fabs.
55444         [BZ #16384]
55445         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (ln2): Initialize with
55446         M_LN2l.
55447         (__ieee754_acoshl): Use __log1pl not __log1p.
55449 2013-01-02  Ondřej Bílka  <neleai@seznam.cz>
55451         * malloc/arena.c (malloc_atfork, free_atfork, ptmalloc_lock_all)
55452         (ptmalloc_unlock_all, ptmalloc_unlock_all2, next_env_entry)
55453         (__failing_morecore, ptmalloc_init, dump_heap, new_heap)
55454         (grow_heap, heap_trim, _int_new_arena, get_free_list)
55455         (reused_arena, arena_get2): Convert to GNU style.
55456         * malloc/hooks.c (memalign_hook_ini, __malloc_check_init)
55457         (mem2mem_check, mem2chunk_check, top_check, realloc_check)
55458         (memalign_check, __malloc_set_state): Likewise.
55459         * malloc/mallocbug.c (main): Likewise.
55460         * malloc/malloc.c (__malloc_assert, malloc_init_state)
55461         (free_perturb, do_check_malloced_chunk, do_check_malloc_state)
55462         (sysmalloc, systrim, mremap_chunk, __libc_malloc, __libc_free)
55463         (__libc_realloc, _mid_memalign, _int_malloc, malloc_consolidate)
55464         (_int_realloc, _int_memalign, mtrim, musable, __libc_mallopt)
55465         (__posix_memalign, malloc_info): Likewise.
55466         * malloc/malloc.h: Likewise.
55467         * malloc/mcheck.c (checkhdr, unlink_blk, link_blk, freehook)
55468         (mallochook, memalignhook, reallochook, mabort): Likewise.
55469         * malloc/mcheck.h: Likewise.
55470         * malloc/memusage.c (update_data, me, malloc, realloc, calloc)
55471         (free, mmap, mmap64, mremap, munmap, dest): Likewise.
55472         * malloc/memusagestat.c (main, parse_opt, more_help): Likewise.
55473         * malloc/morecore.c (__default_morecore): Likewise.
55474         * malloc/mtrace.c (tr_break, lock_and_info, mtrace): Likewise.
55475         * malloc/obstack.c (_obstack_begin, _obstack_newchunk)
55476         (_obstack_allocated_p, obstack_free, _obstack_memory_used)
55477         (print_and_abort): Likewise.
55478         * malloc/obstack.h: Likewise.
55479         * malloc/set-freeres.c (__libc_freeres): Likewise.
55480         * malloc/tst-mallocstate.c (main): Likewise.
55481         * malloc/tst-mtrace.c (main): Likewise.
55482         * malloc/tst-realloc.c (do_test): Likewise.
55484 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
55486         [BZ #16366]
55487         * nscd/netgroupcache.c (do_notfound): New function.
55488         (addgetnetgrentX): Use it.
55490         [BZ # 16365]
55491         * nscd/netgroupcache.c (addgetnetgrentX): Break if status is
55492         NSS_STATUS_NOTFOUND.
55494 2014-01-01  Joseph Myers  <joseph@codesourcery.com>
55496         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
55497         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55499 2014-01-01  Allan McRae  <allan@archlinux.org>
55501         * scripts/update-copyrights: Update configure input file suffix.
55503         * NEWS: Update copyright year.
55504         * catgets/gencat.c: Likewise.
55505         * csu/version.c: Likewise.
55506         * debug/catchsegv.sh: Likewise.
55507         * debug/pcprofiledump.c: Likewise.
55508         * debug/xtrace.sh: Likewise.
55509         * elf/ldconfig.c: Likewise.
55510         * elf/ldd.bash.in: Likewise.
55511         * elf/pldd.c: Likewise.
55512         * elf/sotruss.ksh: Likewise.
55513         * elf/sprof.c: Likewise.
55514         * iconv/iconv_prog.c: Likewise.
55515         * iconv/iconvconfig.c: Likewise.
55516         * locale/programs/locale.c: Likewise.
55517         * locale/programs/localedef.c: Likewise.
55518         * login/programs/pt_chown.c: Likewise.
55519         * malloc/memusage.sh: Likewise.
55520         * malloc/memusagestat.c: Likewise.
55521         * malloc/mtrace.pl: Likewise.
55522         * manual/libc.texinfo: Likewise.
55523         * nscd/nscd.c: Likewise.
55524         * nss/getent.c: Likewise.
55525         * nss/makedb.c: Likewise.
55526         * posix/getconf.c: Likewise.
55527         * scripts/test-installation.pl: Likewise.
55529         * All files with FSF copyright notices: Update copyright dates
55530         using scripts/update-copyrights.
55531         * intl/plural.c: Regenerated.
55532         * locale/programs/charmap-kw.h: Likewise.
55533         * locale/programs/locfile-kw.h: Likewise.
55535 2013-12-31  Mike Frysinger  <vapier@gentoo.org>
55537         * sysdeps/unix/sysv/linux/configure: Regenerated.
55538         * sysdeps/unix/sysv/linux/configure.ac: Call AC_CHECK_HEADER on
55539         the linux/fanotify.h header.
55540         * sysdeps/unix/sysv/linux/tst-fanotify.c: Check if
55541         HAVE_LINUX_FANOTIFY_H is defined.
55543 2013-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
55545         * benchtests/cos-inputs: New inputs.
55546         * benchtests/sin-inputs: Likewise.
55548         * benchtests/atan-inputs: New inputs. Fix name of multiple
55549         precision fallback inputs.
55551         * benchtests/atanh-inputs: New inputs.
55552         * benchtests/tanh-inputs: Likewise.
55554         * benchtests/acosh-inputs: New inputs.
55555         * benchtests/asinh-inputs: Likewise.
55557         * benchtests/cosh-inputs: New inputs.
55558         * benchtests/sinh-inputs: Likewise.
55560         * benchtests/acos-inputs: Add more inputs.
55561         * benchtests/asin-inputs: Likewise.
55563 2013-12-30  Ville Skytta  <ville.skytta@iki.fi>
55565         [BZ #16375]
55566         * manual/arith.texi: Fix spelling.
55567         * manual/charset.texi: Likewise.
55568         * manual/errno.texi: Likewise.
55569         * manual/filesys.texi: Likewise.
55570         * manual/lang.texi: Likewise.
55571         * manual/llio.texi: Likewise.
55572         * manual/locale.texi: Likewise.
55573         * manual/message.texi: Likewise.
55574         * manual/resource.texi: Likewise.
55575         * manual/search.texi: Likewise.
55576         * manual/setjmp.texi: Likewise.
55577         * manual/stdio.texi: Likewise.
55578         * manual/string.texi: Likewise.
55579         * manual/sysinfo.texi: Likewise.
55580         * manual/time.texi: Likewise.
55582 2013-12-27  Carlos O'Donell  <carlos@redhat.com>
55584         * po/sl.po: New file.
55586 2013-12-27  Mike Frysinger  <vapier@gentoo.org>
55588         * .gitignore: Add core/.gdbinit/.gdb_history.
55590 2013-12-27  Allan McRae  <allan@archlinux.org>
55592         [BZ #16369]
55593         * sysdeps/ieee754/dbl-64/s_sin.c (csloww): Fix variable name.
55594         Reported by Il'ya Malakhov <ilmalakhov@yandex.ru>
55596 2013-12-24  Brooks Moses  <bmoses@google.com>
55598         * string/string.h (__CORRECT_ISO_CPP_STRING_H_PROTO): Define for
55599         all compilers that claim C++98 compliance, not just GCC.
55600         * string/strings.h (__CORRECT_ISO_CPP_STRINGS_H_PROTO):
55601         Likewise.
55603 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
55605         * NEWS: Restore accidentally deleted bug-fix entries.
55607 2013-12-24  Maxim Kuvyrkov  <maxim@kugelworks.com>
55608             Ondřej Bílka  <neleai@seznam.cz>
55610         [BZ #15073]
55611         * malloc/malloc.c (_int_free): Perform sanity check only if we
55612         have_lock.
55614 2013-12-23  Ondřej Bílka  <neleai@seznam.cz>
55616         [BZ #12986]
55617         * manual/stdio.texi (String Input Conversions): Clarify that character
55618         classes are not supported.
55620 2013-12-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55622         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55624 2013-12-22  Joseph Myers  <joseph@codesourcery.com>
55626         [BZ #16337]
55627         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c (__ieee754_lgammal_r):
55628         Calculate results for small negative arguments directly rather
55629         than using reflection formula with special underflow handling.
55631         * sysdeps/mach/hurd/Implies: Change unix/bsd/bsd4.4 to unix/bsd.
55632         * sysdeps/unix/bsd/syscalls.list (chflags): Add entry from
55633         sysdeps/unix/bsd/bsd4.4/syscalls.list.
55634         (fchflags): Likewise.
55635         (revoke): Likewise.
55636         (setlogin): Likewise.
55637         (sigaltstack): Likewise.
55638         (wait4): Likewise.
55639         (sigblock): Remove.
55640         (sigsetmask): Likewise.
55641         (wait3): Likewise.
55642         (waitpid): Likewise.
55643         * sysdeps/unix/bsd/bsd4.4/syscalls.list: Remove file.
55644         * sysdeps/unix/sysv/linux/wait3.c: Update directory of included
55645         file.
55646         * sysdeps/unix/bsd/bsd4.4/Makefile: Move to ...
55647         * sysdeps/unix/bsd/Makefile: ... here.
55648         * sysdeps/unix/bsd/bsd4.4/Versions: Move to ...
55649         * sysdeps/unix/bsd/Versions: ... here.
55650         * sysdeps/unix/bsd/bsd4.4/bits/sockaddr.h: Move to ...
55651         * sysdeps/unix/bsd/bits/sockaddr.h: ... here.
55652         * sysdeps/unix/bsd/bsd4.4/cmsg_nxthdr.c: Move to ...
55653         * sysdeps/unix/bsd/cmsg_nxthdr.c: ... here.
55654         * sysdeps/unix/bsd/bsd4.4/sigblock.c: Move to ...
55655         * sysdeps/unix/bsd/sigblock.c: ... here.
55656         * sysdeps/unix/bsd/bsd4.4/sigsetmask.c: Move to ...
55657         * sysdeps/unix/bsd/sigsetmask.c: ... here.
55658         * sysdeps/unix/bsd/bsd4.4/sigvec.c: Move to ...
55659         * sysdeps/unix/bsd/sigvec.c: ... here.
55660         * sysdeps/unix/bsd/bsd4.4/tcdrain.c: Move to ...
55661         * sysdeps/unix/bsd/tcdrain.c: ... here.
55662         * sysdeps/unix/bsd/bsd4.4/tcgetattr.c: Move to ...
55663         * sysdeps/unix/bsd/tcgetattr.c: ... here.
55664         * sysdeps/unix/bsd/bsd4.4/tcsetattr.c: Move to ...
55665         * sysdeps/unix/bsd/tcsetattr.c: ... here.
55666         * sysdeps/unix/bsd/bsd4.4/wait.c: Move to ...
55667         * sysdeps/unix/bsd/wait.c: ... here.
55668         * sysdeps/unix/bsd/bsd4.4/wait3.c: Move to ...
55669         * sysdeps/unix/bsd/wait3.c: ... here.
55670         * sysdeps/unix/bsd/bsd4.4/waitpid.c: Move to ...
55671         * sysdeps/unix/bsd/waitpid.c: ... here.
55673 2013-12-21  Joseph Myers  <joseph@codesourcery.com>
55675         [BZ #16356]
55676         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Also set
55677         round-to-nearest for [!USE_AS_EXPM1L].
55678         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Likewise.
55679         * math/auto-libm-test-in: Do not expect cosh tests to fail.  Add
55680         more tests of exp and exp10.  Expect some exp10 tests to miss
55681         exceptions or fail in directed rounding modes.
55682         * math/auto-libm-test-out: Regenerated.
55683         * math/libm-test.inc (exp10_tonearest_test_data): New array.
55684         (exp10_test_tonearest): New function.
55685         (exp10_towardzero_test_data): New array.
55686         (exp10_test_towardzero): New function.
55687         (exp10_downward_test_data): New array.
55688         (exp10_test_downward): New function.
55689         (exp10_upward_test_data): New array.
55690         (exp10_test_upward): New function.
55691         (main): Call the new functions.
55692         * sysdeps/i386/fpu/libm-test-ulps: Update.
55693         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55695 2013-12-20  Joseph Myers  <joseph@codesourcery.com>
55697         * math/auto-libm-test-in: Add more tests of acos, acosh, asin,
55698         asinh, atan, atan2, atanh, cbrt, cos and cosh.
55699         * math/auto-libm-test-out: Regenerated.
55700         * math/libm-test.inc (acosh_test_data): Add more tests.
55701         (atanh_test_data): Likewise.
55702         (ceil_test_data): Likewise.
55703         (copysign_test_data): Likewise.
55704         * sysdeps/i386/fpu/libm-test-ulps: Update.
55705         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55707         * timezone/checktab.awk: Update from tzcode 2013i.
55708         * timezone/private.h: Likewise.
55709         * timezone/scheck.c: Likewise.
55710         * timezone/tzfile.h: Likewise.
55711         * timezone/tzselect.ksh: Likewise.
55712         * timezone/zdump.c: Likewise.
55713         * timezone/zic.c: Likewise.
55715         * math/auto-libm-test-in: Add tests of cpow.
55716         * math/auto-libm-test-out: Regenerated.
55717         * math/libm-test.inc (cpow_test_data): Use AUTO_TESTS_cc_c.
55718         * math/gen-auto-libm-tests.c (func_calc_method): Add value
55719         mpc_cc_c.
55720         (func_calc_desc): Add mpc_cc_c union field.
55721         (test_functions): Add cpow.
55722         (special_fill_2pi): New function.
55723         (special_real_inputs): Add 2pi.
55724         (calc_generic_results): Handle mpc_cc_c.
55725         * sysdeps/i386/fpu/libm-test-ulps: Update.
55726         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55728         * math/auto-libm-test-in: Add tests of ccos, ccosh, cexp, clog,
55729         csqrt, ctan and ctanh.
55730         * math/auto-libm-test-out: Regenerated.
55731         * math/libm-test.inc (TEST_COND_x86_64): New macro.
55732         (TEST_COND_x86): Likewise.
55733         (ccos_test_data): Use AUTO_TESTS_c_c.
55734         (ccosh_test_data): Likewise.
55735         (cexp_test_data): Likewise.
55736         (clog_test_data): Likewise.
55737         (csqrt_test_data): Likewise.
55738         (ctan_test_data): Likewise.
55739         (ctan_tonearest_test_data): Likewise.
55740         (ctan_towardzero_test_data): Likewise.
55741         (ctan_downward_test_data): Likewise.
55742         (ctan_upward_test_data): Likewise.
55743         (ctanh_test_data): Likewise.
55744         (ctanh_tonearest_test_data): Likewise.
55745         (ctanh_towardzero_test_data): Likewise.
55746         (ctanh_downward_test_data): Likewise.
55747         (ctanh_upward_test_data): Likewise.
55748         * math/gen-auto-libm-tests.c (func_calc_method): Add value
55749         mpc_c_c.
55750         (func_calc_desc): Add mpc_c_c union field.
55751         (FUNC_mpc_c_c): New macro.
55752         (test_functions): Add cacos, cacosh, casin, casinh, catan, catanh,
55753         ccos, ccosh, cexp, clog, clog10, csin, csinh, csqrt, ctan and
55754         ctanh.
55755         (special_fill_min_subnorm_p120): New function.
55756         (special_real_inputs): Add min_subnorm_p120.
55757         (calc_generic_results): Handle mpc_c_c.
55758         * sysdeps/i386/fpu/libm-test-ulps: Update.
55759         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55761 2013-12-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
55763         * sysdeps/ieee754/dbl-64/s_sin.c (do_cos, do_cos_slow, do_sin)
55764         (do_sin_slow): New functions.
55765         (__sin, __cos, slow1, slow2, sloww1, sloww2, bsloww1, bsloww2)
55766         (cslow2, csloww1, csloww2): Use the new functions.
55768         * sysdeps/ieee754/dbl-64/s_sin.c (sloww1): Add new argument M.
55769         Use M to change sign of result instead of X.  Assume X is
55770         positive.
55771         (csloww1): Likewise.
55772         (__sin): Adjust.
55773         (__cos): Adjust.
55775         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): Remove
55776         arguments A and DA.
55777         (__sin): Adjust.
55778         (__cos): Likewise.
55780         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use DA directly.
55781         (__cos): Likewise.
55782         (sloww1): Don't adjust sign of DX.
55783         (csloww1): Likewise.
55784         (sloww2): Use X directly and don't adjust sign of DX.
55785         (csloww2): Likewise.
55787 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
55789         * math/auto-libm-test-in: Add tests of cabs and carg.
55790         * math/auto-libm-test-out: Regenerated.
55791         * math/libm-test.inc (cabs_test_data): Use AUTO_TESTS_c_f.
55792         (carg_test_data): Likewise.
55793         * math/gen-auto-libm-tests.c (func_calc_method): Add value
55794         mpc_c_f.
55795         (func_calc_desc): Add mpc_c_f union field.
55796         (test_functions): Add cabs and carg.
55797         (calc_generic_results): Handle mpc_c_f.
55799         * sysdeps/powerpc/powerpc32/libgcc-compat.S
55800         [_SOFT_FLOAT || __NO_FPRS__] (__fixdfdi_v_glibc20): Do not define
55801         as a macro and a compat symbol.
55802         [_SOFT_FLOAT || __NO_FPRS__] (__fixsfdi_v_glibc20): Likewise.
55803         [_SOFT_FLOAT || __NO_FPRS__] (__fixunsdfdi_v_glibc20): Likewise.
55804         [_SOFT_FLOAT || __NO_FPRS__] (__fixunssfdi_v_glibc20): Likewise.
55805         [_SOFT_FLOAT || __NO_FPRS__] (__floatdidf_v_glibc20): Likewise.
55806         [_SOFT_FLOAT || __NO_FPRS__] (__floaddisf_v_glibc20): Likewise.
55807         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixdfdi): Do
55808         not use .hidden.
55809         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixsfdi):
55810         Likewise.
55811         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunsdfdi):
55812         Likewise.
55813         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__fixunssfdi):
55814         Likewise.
55815         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddidf):
55816         Likewise.
55817         [HAVE_DOT_HIDDEN && (_SOFT_FLOAT || __NO_FPRS__)] (__floaddisf):
55818         Likewise.
55819         * sysdeps/powerpc/nofpu/Versions (libc): Remove __fixdfdi,
55820         __fixsfdi, __fixunsdfdi, __fixunssfdi, __floatdidf and __floatdisf
55821         from GLIBC_2.3.2.
55823 2013-12-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
55825         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
55827 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
55829         * manual/texinfo.tex: Update to version 2013-11-26.10 with
55830         trailing whitespace removed.
55831         * scripts/config.guess: Update to version 2013-11-29.
55832         * scripts/config.sub: Update to version 2013-10-01.
55834         * math/auto-libm-test-in: Add tests of sincos.
55835         * math/auto-libm-test-out: Regenerated.
55836         * math/libm-test.inc (sincos_test_data): Use AUTO_TESTS_fFF_11.
55837         * math/gen-auto-libm-tests.c (func_calc_method): Add value
55838         mpfr_f_11.
55839         (func_calc_desc): Add mpfr_f_11 union field.
55840         (test_functions): Add sincos.
55841         (calc_generic_results): Handle mpfr_f_11.
55842         * sysdeps/i386/fpu/libm-test-ulps: Update.
55843         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55845 2013-12-19  Andreas Schwab  <schwab@suse.de>
55847         * sysdeps/powerpc/powerpc64/power7/memchr.S: Fix argument of
55848         CALL_MCOUNT.
55849         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
55850         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S
55851         [USE_IN_EXTENDED_LOCALE_MODEL]: Likewise.
55853 2013-12-19  Joseph Myers  <joseph@codesourcery.com>
55855         * math/gen-libm-test.pl (%beautify): Remove M_* constants.
55856         * sysdeps/i386/fpu/libm-test-ulps: Update.
55857         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55859         [BZ #16293]
55860         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]: Set
55861         round-to-nearest mode when using frndint.
55862         * sysdeps/i386/fpu/s_expm1.S (__expm1): Likewise.
55863         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
55864         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL) [USE_AS_EXPM1L]:
55865         Likewise.
55866         * math/auto-libm-test-in: Add more tests of expm1.  Do not expect
55867         sinh test to fail.
55868         * math/auto-libm-test-out: Regenerated.
55869         * math/libm-test.inc (TEST_COND_x86_64): Remove macro.
55870         (TEST_COND_x86): Likewise.
55871         (expm1_tonearest_test_data): New array.
55872         (expm1_test_tonearest): New function.
55873         (expm1_towardzero_test_data): New array.
55874         (expm1_test_towardzero): New function.
55875         (expm1_downward_test_data): New array.
55876         (expm1_test_downward): New function.
55877         (expm1_upward_test_data): New array.
55878         (expm1_test_upward): New function.
55879         (main): Run the new test functions.
55880         * sysdeps/i386/fpu/libm-test-ulps: Update.
55881         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55883         * include/features.h: Update comment documenting feature test
55884         macros.  Mention _DEFAULT_SOURCE in comment.
55885         [_GNU_SOURCE] (_DEFAULT_SOURCE): Undefine and redefine.
55886         [_DEFAULT_SOURCE]: Undefine and redefine _DEFAULT_SOURCE,
55887         _BSD_SOURCE and _SVID_SOURCE.
55888         [!__STRICT_ANSI__ && !_ISOC99_SOURCE && !_POSIX_SOURCE &&
55889         !_POSIX_C_SOURCE && !_XOPEN_SOURCE && !_BSD_SOURCE &&
55890         !_SVID_SOURCE]: Likewise.
55891         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
55892         (__USE_POSIX_IMPLICITLY): Define.
55893         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
55894         (_POSIX_SOURCE): Undefine and redefine.
55895         [_DEFAULT_SOURCE && !_POSIX_SOURCE && !_POSIX_C_SOURCE]
55896         (_POSIX_C_SOURCE): Likewise.
55897         * manual/creature.texi (_DEFAULT_SOURCE): Document.
55898         (Feature Test Macros): Update documentation of default features.
55900 2013-12-19  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
55902         * benchtests/Makefile: Add bench-strtok.
55903         * benchtests/bench-strtok.c: New file: strtok benchtest.
55905 2013-12-19  Allan McRae  <allan@archlinux.org>
55907         * manual/install.texi: Suppress menu for plain text output.
55908         * INSTALL: Regenerated.
55910 2013-12-18  Brooks Moses  <bmoses@google.com>
55912         [BZ #15846]
55913         * misc/getauxval.c: Include errno.h.
55914         (__getauxval): Set errno to ENOENT if the requested type is not
55915         found.
55916         * misc/sys/auxv.h (getauxval): Document that it may set errno;
55917         don't declare with __attribute_const__.
55918         * elf/tst-auxv.c: Add tests for errno and type-not-found case.
55919         * manual/startup.texi: Document that getauxval sets errno.
55921 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
55923         * math/auto-libm-test-in: Add tests of jn and yn.
55924         * math/auto-libm-test-out: Regenerated.
55925         * math/libm-test.inc (jn_test_data): Use AUTO_TESTS_if_f.
55926         (yn_test_data): Likewise.
55927         * math/gen-auto-libm-tests.c (func_calc_method): Add value
55928         mpfr_if_f.
55929         (func_calc_desc): Add mpfr_if_f union field.
55930         (FUNC_mpfr_if_f): New macro.
55931         (test_functions): Add jn and yn.
55932         (calc_generic_results): Assert type of second input for
55933         mpfr_ff_f.  Handle mpfr_if_f.
55934         (output_for_one_input_case): Disable all checking for arguments
55935         fitting floating-point types in case of an integer argument.
55936         * sysdeps/i386/fpu/libm-test-ulps: Update.
55937         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55939         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
55940         Don't expect fegetround reference in libm.so.
55942 2013-12-17  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
55944         * sysdeps/ieee754/dbl-64/Makefile (CFLAGS-e_sqrt.c): Add
55945         $(config-cflags-nofma).
55947 2013-12-18  Joseph Myers  <joseph@codesourcery.com>
55949         * math/auto-libm-test-in: Mark some hypot tests no-test-inline.
55950         * math/auto-libm-test-out: Regenerated.
55952         [BZ #16338]
55953         * sysdeps/ieee754/ldbl-128/e_logl.c (__ieee754_logl): Use __frexpl
55954         to determine exponent and adjust argument to have exponent of -1.
55955         * math/auto-libm-test-in: Add more tests of log, log10, log1p and
55956         log2.
55957         * math/auto-libm-test-out: Regenerated.
55958         * sysdeps/i386/fpu/libm-test-ulps: Update.
55959         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
55961 2013-12-18  Ondřej Bílka  <neleai@seznam.cz>
55963         * manual/probes.texi: Remove cases when per-thread arenas are
55964         disabled.
55966 2013-12-18  Andreas Schwab  <schwab@suse.de>
55968         * sysdeps/i386/i686/multiarch/strstr.c: Remove.
55969         * sysdeps/i386/i686/multiarch/strstr-c.c: Remove.
55970         * sysdeps/i386/i686/multiarch/strcasestr.c: Remove.
55971         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: Remove.
55972         * sysdeps/i386/i686/multiarch/Makefile: Update.
55973         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: Update.
55975 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
55977         * sysdeps/unix/bsd/bsd4.4/bits/errno.h: Remove file.
55978         * sysdeps/unix/bsd/bsd4.4/bits/ioctls.h: Likewise.
55980 2013-12-17  Paul Eggert  <eggert@cs.ucla.edu>
55982         [BZ #15968]
55983         Support TZ transition times < 00:00:00.
55984         This is needed for version-3 tz-format files; it supports time
55985         stamps past 2037 for America/Godthab (the only entry in the tz
55986         database for which this change is relevant).
55987         * manual/time.texi (TZ Variable): Document transition times
55988         from -167:59:59 through -00:00:01.
55989         * time/tzset.c (tz_rule): Time of day is now signed.
55990         (__tzset_parse_tz): Parse negative time of day.
55992         Document TZ transition times >= 25:00:00.
55993         * manual/time.texi (TZ Variable): Document transition times from
55994         25:00:00 through 167:59:59.  These are already supported, and this
55995         support will help with version-3 tz-format files.
55997         * manual/time.texi (TZ Variable): Modernize North America example
55998         to reflect current (i.e., 2007-and-later) daylight saving rules.
56000         * manual/time.texi (TZ Variable): POSIX.1 hour can be 24.
56002 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
56004         * sysdeps/unix/bsd/bits/posix_opt.h: Remove file.
56005         * sysdeps/unix/bsd/bits/stat.h: Likewise.
56006         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/environments.h: Likewise.
56007         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
56008         * sysdeps/unix/bsd/bsd4.4/freebsd/sys/sysmacros.h: Likewise.
56009         * sysdeps/unix/bsd/bsdstat.h: Likewise.
56010         * sysdeps/unix/bsd/clock.c: Likewise.
56011         * sysdeps/unix/bsd/i386/vfork.S: Likewise.
56012         * sysdeps/unix/bsd/i386/wait3.S: Likewise.
56013         * sysdeps/unix/bsd/init-posix.c: Likewise.
56014         * sysdeps/unix/bsd/poll.c: Likewise.
56015         * sysdeps/unix/bsd/ptsname.c: Likewise.
56016         * sysdeps/unix/bsd/seekdir.c: Likewise.
56017         * sysdeps/unix/bsd/setegid.c: Likewise.
56018         * sysdeps/unix/bsd/seteuid.c: Likewise.
56019         * sysdeps/unix/bsd/setgid.c: Likewise.
56020         * sysdeps/unix/bsd/setrgid.c: Likewise.
56021         * sysdeps/unix/bsd/setruid.c: Likewise.
56022         * sysdeps/unix/bsd/setsid.c: Likewise.
56023         * sysdeps/unix/bsd/setuid.c: Likewise.
56024         * sysdeps/unix/bsd/sigaction.c: Likewise.
56025         * sysdeps/unix/bsd/sigprocmask.c: Likewise.
56026         * sysdeps/unix/bsd/sigsuspend.c: Likewise.
56027         * sysdeps/unix/bsd/sys/reboot.h: Likewise.
56028         * sysdeps/unix/bsd/telldir.c: Likewise.
56029         * sysdeps/unix/bsd/times.c: Likewise.
56030         * sysdeps/unix/bsd/usleep.c: Likewise.
56032         * misc/Makefile (install-lib): Remove libbsd-compat.a.
56033         ($(objpfx)libbsd-compat.a): Remove rule.
56035         * include/features.h (__FAVOR_BSD): Do not define.
56036         * manual/creature.texi (_BSD_SOURCE): Do not document as enabling
56037         features conflicting with POSIX.
56038         (_GNU_SOURCE): Do not mention interaction with _BSD_SOURCE.
56039         (_BSD_SOURCE): Remove description of not being a subset of other
56040         feature test macros.
56041         * manual/job.texi (getpgrp): Do not document BSD version.
56042         (getpgid): Do not document by reference to BSD getpgrp.
56043         * posix/unistd.h [__FAVOR_BSD]: Remove conditional code.
56044         * setjmp/setjmp.h [__FAVOR_BSD]: Likewise.
56045         * signal/signal.h [__FAVOR_BSD]: Likewise.
56046         * sysdeps/gnu/netinet/tcp.h (struct tcphdr): Use anonymous unions
56047         instead of making contents conditional on [__FAVOR_BSD].
56048         * sysdeps/gnu/netinet/udp.h (struct udphdr): Likewise.
56050 2013-12-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56052         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56054 2013-12-17  Joseph Myers  <joseph@codesourcery.com>
56056         [BZ #16314]
56057         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Adjust up
56058         values below 2**-450, not 2**-500.
56059         * math/auto-libm-test-in: Don't allow spurious underflow from
56060         hypot.
56061         * math/auto-libm-test-out: Regenerated.
56063         [BZ #16316]
56064         [BZ #16330]
56065         * sysdeps/ieee754/dbl-64/e_hypot.c (__ieee754_hypot): Update
56066         values of ha and hb and sort them after adjusting subnormal
56067         arguments.
56068         * sysdeps/ieee754/ldbl-128/e_hypotl.c (__ieee754_hypotl):
56069         Likewise.
56070         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Update
56071         values of ea and eb and sort them after adjusting subnormal
56072         arguments.
56073         * math/auto-libm-test-in: Do not expect some hypot tests of
56074         subnormals to fail.  Add more hypot tests.
56075         * math/auto-libm-test-out: Regenerated.
56077 2013-12-16  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56079         [BZ #13304]
56080         * sysdeps/sh/s_fma.c: New file.
56081         * sysdeps/sh/s_fmaf.c: New file.
56082         * sysdeps/sh/soft-fp/sfp-machine.h: New file.  Based on arm
56083         version.
56084         * sysdeps/sh/Implies: Add sh/soft-fp.
56086 2013-12-16  Roland McGrath  <roland@hack.frob.com>
56088         * elf/dl-error.c (struct catch): Add new member `errcode'.  Add a
56089         level of indirection to members `objname', `errstring', `malloced'.
56090         (_dl_signal_error): Store through pointers in *LCATCH rather modifying
56091         *LCATCH itself.  Set *LCATCH->errcode to ERRCODE rather than passing
56092         it as the __longjmp argument (just pass 1 instead).
56093         (_dl_catch_error): Initialize C with argument pointers and address of
56094         volatile local ERRCODE rather than copying values out of C at return.
56096 2013-12-16  Joseph Myers  <joseph@codesourcery.com>
56098         * math/auto-libm-test-in: Add tests of atan2, hypot and pow.
56099         * math/auto-libm-test-out: Regenerated.
56100         * math/libm-test.inc (atan2_test_data): Use AUTO_TESTS_ff_f.
56101         (hypot_test_data): Likewise.
56102         (pow_test_data): Likewise.
56103         (pow_tonearest_test_data): Likewise.
56104         * math/gen-auto-libm-tests.c (func_calc_method): Add value
56105         mpfr_ff_f.
56106         (func_calc_desc): Add mpfr_ff_f union field.
56107         (FUNC_mpfr_ff_f): New macro.
56108         (test_functions): Add atan2, hypot and pow.
56109         (special_fill_min): New function.
56110         (special_fill_minus_min): Likewise.
56111         (special_fill_min_subnorm): Likewise.
56112         (special_fill_minus_min_subnorm): Likewise.
56113         (special_real_inputs): Add min, -min, min_subnorm and
56114         -min_subnorm.
56115         (calc_generic_results): Handle mpfr_ff_f.
56116         * sysdeps/i386/fpu/libm-test-ulps: Update.
56117         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56119 2013-12-16  Will Newton  <will.newton@linaro.org>
56121         * manual/memory.texi (Malloc Examples): Mention aligned_alloc.
56122         (Aligned Memory Blocks): Add documentation for aligned_alloc
56123         and suggest it as an alternative to posix_memalign.
56124         (Hooks for Malloc): Document __memalign_hook is also called
56125         for aligned_alloc.  (Summary of Malloc): Add summary for
56126         aligned alloc.  Document __memalign_hook is also called
56127         for aligned_alloc.
56129 2013-12-16  Will Newton  <will.newton@linaro.org>
56131         * manual/memory.texi (Malloc Examples): Clarify default
56132         alignment documentation.  Suggest posix_memalign rather
56133         than memalign or valloc.
56134         (Aligned Memory Blocks): Remove suggestion to use memalign
56135         or valloc.  Remove obsolete comment about BSD.
56136         Document memalign errno values and mark the function obsolete.
56137         Document posix_memalign returned error codes.  Mark valloc
56138         as obsolete.  (Hooks for Malloc): __memalign_hook is also
56139         called for posix_memalign and valloc.
56140         (Summary of Malloc): Add posix_memalign to function summary.
56141         __memalign_hook is also called for posix_memalign and valloc.
56143 2013-12-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
56145         * sysdeps/ieee754/dbl-64/s_sin.c (TAYLOR_SINCOS): Rename to
56146         TAYLOR_SIN.
56147         (__sin): Adjust.
56148         (__cos): Likewise.
56149         (sloww): Use mynumber union.  Expand ternary operator into
56150         if-else statements.
56151         (cslow): use mynumber union.
56153 2013-12-16  Allan McRae  <allan@archlinux.org>
56155         * configure.ac: Set AUTOCONF when maintainer-mode is not used.
56156         * configure: Regenerated.
56158         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update file name.
56160         [BZ #14120]
56161         * configure.ac: Added --enable-maintainer-mode. Check for
56162         autoconf when enabled.
56163         * configure: Regenerated.
56165         * nscd/nscd.service: New file.
56166         * nscd/nscd.tmpfiles: New file.
56168 2013-12-14  Ondřej Bílka  <neleai@seznam.cz>
56170         [BZ #12100]
56171         * sysdeps/x86_64/multiarch/strstr-sse2-unaligned.S: New file
56172         * sysdeps/x86_64/multiarch/strstr-c.c: Moved to ...
56173         * sysdeps/x86_64/multiarch/strstr.c: ... here.
56174         (strstr): Add __strstr_sse2_unaligned ifunc.
56175         * sysdeps/x86_64/multiarch/strcasestr-c.c: Moved to ...
56176         * sysdeps/x86_64/multiarch/strcasestr.c ... here.
56177         (strcasestr): Remove __strcasestr_sse42 ifunc.
56178         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Remove.
56179         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
56180         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
56182 2013-12-14  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56184         * sysdeps/sh/sh4/fpu/bits/fenv.h: Move to ...
56185         * sysdeps/sh/bits/fenv.h: ... here.
56186         * sysdeps/sh/sh4/fpu/bits: Remove directory.
56188 2013-12-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56190         * NEWS: Mention ppc64 STT_GNU_IFUNC support.
56192         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add hypot and
56193         hypotf multiarch implementations.
56194         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-power7.c: New file.
56195         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot-ppc64.c: New file.
56196         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypot.c: New file:
56197         multiarch hypot for PPC64.
56198         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-power7.c: New file.
56199         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf-ppc64.c: New file.
56200         * sysdeps/powerpc/powerpc64/fpu/multiarch/e_hypotf.c : New file:
56201         multiarch hypotf for PPC64.
56203         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add modf and
56204         modff multiarch implementations.
56205         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-power5+.c: New file.
56206         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf-ppc64.c: New file.
56207         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modf.c: New file:
56208         multiarch modf for PPC64.
56209         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-power5+.c: New file.
56210         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff-ppc64.c: New file.
56211         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_modff.c : New file:
56212         multiarch modff for PPC64.
56214         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add logb, logbf,
56215         and logl multiarch implementations.
56216         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-power7.c: New file.
56217         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb-ppc64.c: New file.
56218         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logb.c: New file:
56219         multiarch logb for PPC64.
56220         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-power7.c: New file.
56221         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf-ppc64.c: New file.
56222         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbf.c: New file:
56223         multiarch logb for PPC64.
56224         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-power7.c: New file.
56225         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl-ppc64.c: New file.
56226         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_logbl.c: New file:
56227         multiarch logb for PPC64.
56229         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isinf and
56230         isinff multiarch implementation.
56231         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-power7.S: New
56232         file.
56233         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf-ppc64.S: New file.
56234         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinf.c: New file:
56235         multiarch isinf for PPC64.
56236         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff-ppc64.c: New
56237         file.
56238         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isinff.c: New file:
56239         multiarch isinff for PPC64.
56241         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add finite and
56242         finitef multiarch implementation.
56243         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-power7.S: New
56244         file.
56245         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite-ppc64.S: New file.
56246         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finite.c: New file:
56247         multiarch finite for PPC64.
56248         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef-ppc64.c: New
56249         file.
56250         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_finitef.c: New file:
56251         multiarch finitef for PPC64.
56253         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llrint and
56254         lrint multiarch implementation.
56255         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-power6x.S: New
56256         file.
56257         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint-ppc64.S: New file.
56258         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llrint.c: New file:
56259         multiarch llrint for PPC64.
56260         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lrint.c: New file:
56261         multiarch lrint for PPC64.
56263         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add copysign/
56264         copysignf multiarch implementation.
56265         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-power6.S: New
56266         file.
56267         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign-ppc64.S: New
56268         file.
56269         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysign.c: New file:
56270         multiarch copysign for PPC64.
56271         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_copysignf.c: New file:
56272         multiarch copysignf for PPC64.
56274         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add trunc/truncf
56275         multiarch implementation.
56276         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-power5+.S: New
56277         file.
56278         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc-ppc64.S: New
56279         file.
56280         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-power5+.S: New
56281         file.
56282         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf-ppc64.S: New
56283         file.
56284         multiarch llround for PPC64.
56285         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_trunc.c: New file:
56286         multiarch trunc for PPC64.
56287         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_truncf.c: New file:
56288         multiarch truncf for PPC64.
56290         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add round/roundf
56291         multiarch implementation.
56292         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-power5+.S: New
56293         file.
56294         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round-ppc64.S: New
56295         file.
56296         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-power5+.S: New
56297         file.
56298         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf-ppc64.S: New
56299         file.
56300         multiarch llround for PPC64.
56301         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_round.c: New file:
56302         multiarch round for PPC64.
56303         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_roundf.c: New file:
56304         multiarch roundf for PPC64.
56306         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add floor/floorf
56307         multiarch implementation.
56308         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-power5+.S: New
56309         file.
56310         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor-ppc64.S: New
56311         file.
56312         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-power5+.S: New
56313         file.
56314         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf-ppc64.S: New
56315         file.
56316         multiarch llround for PPC64.
56317         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floor.c: New file:
56318         multiarch floor for PPC64.
56319         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_floorf.c: New file:
56320         multiarch floorf for PPC64.
56322         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add ceil/ceilf
56323         multiarch implementation.
56324         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-power5+.S: New
56325         file.
56326         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil-ppc64.S: New
56327         file.
56328         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-power5+.S: New
56329         file.
56330         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf-ppc64.S: New
56331         file.
56332         multiarch llround for PPC64.
56333         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceil.c: New file:
56334         multiarch ceil for PPC64.
56335         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_ceilf.c: New file:
56336         multiarch ceilf for PPC64.
56338         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add llround
56339         multiarch implementation.
56340         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power5+.S: New
56341         file.
56342         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-power6x.S: New
56343         file.
56344         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround-ppc64.S: New
56345         file.
56346         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_llround.c: New file:
56347         multiarch llround for PPC64.
56348         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_lround.c: New file:
56349         multiarch lround for PPC64.
56351         * sysdeps/powerpc/powerpc64/fpu/multiarch/Makefile: Add isnan
56352         multiarch implementation.
56353         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power5.S: New file.
56354         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6.S: New file.
56355         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power6x.S: New
56356         file.
56357         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-power7.S: New file.
56358         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan-ppc64.S: New file.
56359         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnan.c: New file:
56360         multiarch isnan for PPC64.
56361         * sysdeps/powerpc/powerpc64/fpu/multiarch/s_isnanf.c: New file:
56362         multiarch isnanf for PPC64.
56364         * sysdeps/powerpc/powerpc64/power5+/fpu/multiarch/Implies: New file.
56365         * sysdeps/powerpc/powerpc64/power5/fpu/multiarch/Implies: New file.
56366         * sysdeps/powerpc/powerpc64/power6/fpu/multiarch/Implies: New file.
56367         * sysdeps/powerpc/powerpc64/power6x/fpu/multiarch/Implies: New file.
56368         * sysdeps/powerpc/powerpc64/power7/fpu/multiarch/Implies: New file
56369         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/Implies: Remove.
56371         * sysdeps/powerpc/fpu/w_sqrt.c: Remove file
56372         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
56373         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
56374         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
56376         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add stpcpy
56377         multiarch implementations.
56378         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56379         (__libc_ifunc_impl_list): Likewise.
56380         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-power7.c: New file.
56381         * sysdeps/powerpc/powerpc64/multiarch/stpcpy-ppc64.c: New file.
56382         * sysdeps/powerpc/powerpc64/multiarch/stpcpy.c : New file:
56383         multiarch stpcpy for PPC64.
56385         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcpy
56386         multiarch implementations.
56387         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56388         (__libc_ifunc_impl_list): Likewise.
56389         * sysdeps/powerpc/powerpc64/multiarch/strcpy-power7.c: New file.
56390         * sysdeps/powerpc/powerpc64/multiarch/strcpy-ppc64.c: New file.
56391         * sysdeps/powerpc/powerpc64/multiarch/strcpy.c : New file:
56392         multiarch strcpy for PPC64.
56394         * string/wordcopy.c (_wordcopy_fwd_aligned): Add define to
56395         redefine function name.
56396         (_wordcopy_fwd_dest_aligned): Likewise.
56397         (_wordcopy_bwd_aligned): Likewise.
56398         (_wordcopy_bwd_dest_aligned): Likewise.
56399         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wordcopy
56400         multiarch implementations.
56401         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56402         (__libc_ifunc_impl_list): Likewise.
56403         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power6.c: New file.
56404         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-power7.c: New file.
56405         * sysdeps/powerpc/powerpc64/multiarch/wordcopy-ppc64.c: New file.
56406         * sysdeps/powerpc/powerpc64/multiarch/wordcopy.c : New file:
56407         multiarch wcscpy for PPC64.
56409         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcscpy
56410         multiarch implementations.
56411         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56412         (__libc_ifunc_impl_list): Likewise.
56413         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power6.c: New file.
56414         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-power7.c: New file.
56415         * sysdeps/powerpc/powerpc64/multiarch/wcscpy-ppc64.c: New file.
56416         * sysdeps/powerpc/powerpc64/multiarch/wcscpy.c : New file:
56417         multiarch wcscpy for PPC64.
56419         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcsrchr
56420         multiarch implementations.
56421         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56422         (__libc_ifunc_impl_list): Likewise.
56423         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power6.c: New file.
56424         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-power7.c: New file.
56425         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr-ppc64.c: New file.
56426         * sysdeps/powerpc/powerpc64/multiarch/wcsrchr.c : New file:
56427         multiarch wcsrchr for PPC64.
56429         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add wcschr
56430         multiarch implementations.
56431         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56432         (__libc_ifunc_impl_list): Likewise.
56433         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power6.c: New file.
56434         * sysdeps/powerpc/powerpc64/multiarch/wcschr-power7.c: New file.
56435         * sysdeps/powerpc/powerpc64/multiarch/wcschr-ppc64.c: New file.
56436         * sysdeps/powerpc/powerpc64/multiarch/wcschr.c : New file:
56437         multiarch wcschr for PPC64.
56439         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchrnul
56440         multiarch implementations.
56441         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56442         (__libc_ifunc_impl_list): Likewise.
56443         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-power7.S: New file.
56444         * sysdeps/powerpc/powerpc64/multiarch/strchrnul-ppc64.c: New file.
56445         * sysdeps/powerpc/powerpc64/multiarch/strchrnul.c: New file:
56446         multiarch strchrnul for PPC64.
56448         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strchr multiarch
56449         implementations.
56450         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56451         (__libc_ifunc_impl_list): Likewise.
56452         * sysdeps/powerpc/powerpc64/multiarch/rtld-strchr.S: New file.
56453         * sysdeps/powerpc/powerpc64/multiarch/strchr-power7.S: New file.
56454         * sysdeps/powerpc/powerpc64/multiarch/strchr-ppc64.S: New file.
56455         * sysdeps/powerpc/powerpc64/multiarch/strchr.c: New file: multiarch
56456         strchr for PPC64.
56458         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncmp multiarch
56459         implementations.
56460         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56461         (__libc_ifunc_impl_list): Likewise.
56462         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power4.S: New file.
56463         * sysdeps/powerpc/powerpc64/multiarch/strncmp-power7.S: New file.
56464         * sysdeps/powerpc/powerpc64/multiarch/strncmp-ppc64.S: New file.
56465         * sysdeps/powerpc/powerpc64/multiarch/strncmp.c: New file: multiarch
56466         strncmp for PPC64.
56468         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strncasecmp
56469         multiarch implementations.
56470         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56471         (__libc_ifunc_impl_list): Likewise.
56472         * sysdeps/powerpc/powerpc64/multiarch/strncase-power7.c: New file.
56473         * sysdeps/powerpc/powerpc64/multiarch/strncase.c: New file: multiarch
56474         strncasecmp for PPC64.
56475         * sysdeps/powerpc/powerpc64/multiarch/strncase_l-power7.c: New file.
56476         * sysdeps/powerpc/powerpc64/multiarch/strncase_l.c: New file:
56477         multiarch strncasecmp_l for PPC64.
56479         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strcasecmp
56480         multiarch implementations.
56481         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c:
56482         (__libc_ifunc_impl_list): Likewise.
56483         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp-power7.S: New file.
56484         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp.c: New file:
56485         multiarch strcasecmp for PPC64.
56486         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l-power7.S: New
56487         file.
56488         * sysdeps/powerpc/powerpc64/multiarch/strcasecmp_l.c: new file:
56489         multiarch strcasecmp_l for PPC64.
56491         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strnlen multiarch
56492         implementations.
56493         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56494         (__libc_ifunc_impl_list): Likewise.
56495         * sysdeps/powerpc/powerpc64/multiarch/strnlen-power7.S: New file.
56496         * sysdeps/powerpc/powerpc64/multiarch/strnlen-ppc64.c: New file.
56497         * sysdeps/powerpc/powerpc64/multiarch/strnlen.c: New file: multiarch
56498         strnlen for PPC64.
56500         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add strlen multiarch
56501         implementations.
56502         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56503         (__libc_ifunc_impl_list): Likewise.
56504         * sysdeps/powerpc/powerpc64/multiarch/strlen-power7.S: New file.
56505         * sysdeps/powerpc/powerpc64/multiarch/strlen-ppc64.S: New file.
56506         * sysdeps/powerpc/powerpc64/multiarch/strlen.c: New file: multiarch
56507         strlen for PPC64.
56509         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add rawmemch multiarch
56510         implementations.
56511         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56512         (__libc_ifunc_impl_list): Likewise.
56513         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-power7.S: New file.
56514         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr-ppc64.c: New file.
56515         * sysdeps/powerpc/powerpc64/multiarch/rawmemchr.c: New file: multiarch
56516         rawmemrchr for PPC64.
56518         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memrchr multiarch
56519         implementation.
56520         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56521         (__libc_ifunc_impl_list): Likewise.
56522         * sysdeps/powerpc/powerpc64/multiarch/memrchr-power7.S: New file.
56523         * sysdeps/powerpc/powerpc64/multiarch/memrchr-ppc64.c: New file.
56524         * sysdeps/powerpc/powerpc64/multiarch/memrchr.c: New file: multiarch
56525         memrchr for PPC64.
56527         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memchr multiarch
56528         implementation.
56529         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56530         (__libc_ifunc_impl_list): Likewise.
56531         * sysdeps/powerpc/powerpc64/multiarch/memchr-power7.S: New file.
56532         * sysdeps/powerpc/powerpc64/multiarch/memchr-ppc64.c: New file.
56533         * sysdeps/powerpc/powerpc64/multiarch/memchr.c: New file: multiarch
56534         memchr for PPC64.
56536         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add mempcpy multiarch
56537         implementation.
56538         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56539         (__libc_ifunc_impl_list): Likewise.
56540         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-power7.S: New file.
56541         * sysdeps/powerpc/powerpc64/multiarch/mempcpy-ppc64.c: New file.
56542         * sysdeps/powerpc/powerpc64/multiarch/mempcpy.c: New file: multiarch
56543         mempcpy for PPC64.
56545         * sysdeps/powerpc/powerpc64/memset.S (NO_BZERO_IMPL): Add macro to
56546         avoid cretion of __bzero symbol.
56547         * sysdeps/powerpc/powerpc64/power4/memset.S (NO_BZERO_IMPL):
56548         Likewise.
56549         * sysdeps/powerpc/powerpc64/power6/memset.S (NO_BZERO_IMPL):
56550         Likewise.
56551         * sysdeps/powerpc/powerpc64/power7/memset.S (NO_BZERO_IMPL):
56552         Likewise.
56553         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memset/bzero
56554         multiarch implementations.
56555         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56556         (__libc_ifunc_impl_list): Likewise.
56557         * sysdeps/powerpc/powerpc64/multiarch/bzero-power4.S: New file.
56558         * sysdeps/powerpc/powerpc64/multiarch/bzero-power6.S: New file.
56559         * sysdeps/powerpc/powerpc64/multiarch/bzero-power7.S: New file.
56560         * sysdeps/powerpc/powerpc64/multiarch/bzero.c: New file: multiarch
56561         bzero for PPC32.
56562         * sysdeps/powerpc/powerpc64/multiarch/memset-power4.S: New file.
56563         * sysdeps/powerpc/powerpc64/multiarch/memset-power6.S: New file.
56564         * sysdeps/powerpc/powerpc64/multiarch/memset-power7.S: New file.
56565         * sysdeps/powerpc/powerpc64/multiarch/memset-ppc64.S: New file.
56566         * sysdeps/powerpc/powerpc64/multiarch/memset.c: New file: multiarch
56567         memset for PPC64.
56568         * sysdeps/powerpc/powerpc64/multiarch/rtld-memset.c: New file.
56570         * string/memcmp.c (memcmp): Using macro to redefine symbol name.
56571         * sysdeps/powerpc/powerpc64/multiarch/Makefile: Add memcpy multiarch
56572         implementations.
56573         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c
56574         (__libc_ifunc_impl_list): Likewise.
56575         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power4.S: New file.
56576         * sysdeps/powerpc/powerpc64/multiarch/memcmp-power7.S: New file.
56577         * sysdeps/powerpc/powerpc64/multiarch/memcmp-ppc64.c: New file.
56578         * sysdeps/powerpc/powerpc64/multiarch/memcmp.c: New file: multiarch
56579         memcmp for PPC64.
56581         * sysdeps/powerpc/powerpc64/multiarch/Makefile: New file to support
56582         multiarch for POWER/PPC64.
56583         * sysdeps/powerpc/powerpc64/multiarch/ifunc-impl-list.c: Likewise.
56584         * sysdeps/powerpc/powerpc64/multiarch/init-arch.h: Likewise.
56585         * sysdeps/powerpc/powerpc64/multiarch/memcpy-a2.S: New file.
56586         * sysdeps/powerpc/powerpc64/multiarch/memcpy-cell.S: New file.
56587         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power4.S: New file.
56588         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power6.S: New file.
56589         * sysdeps/powerpc/powerpc64/multiarch/memcpy-power7.S: New file.
56590         * sysdeps/powerpc/powerpc64/multiarch/memcpy-ppc64.S: New file.
56591         * sysdeps/powerpc/powerpc64/multiarch/memcpy.c: New file: multiarch
56592         memcpy for PPC64.
56594         * sysdeps/powerpc/powerpc64/power4/fpu/Implies: New file.
56595         * sysdeps/powerpc/powerpc64/power4/fpu/multiarch/Implies: New File.
56596         * sysdeps/powerpc/powerpc64/power4/multiarch/Implies: New File.
56597         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: New File.
56598         * sysdeps/powerpc/powerpc64/power5+/multiarch/Implies: New File.
56599         * sysdeps/powerpc/powerpc64/power5/Implies: New File.
56600         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: New File.
56601         * sysdeps/powerpc/powerpc64/power5/multiarch/Implies: New File.
56602         * sysdeps/powerpc/powerpc64/power6/fpu/Implies: New File.
56603         * sysdeps/powerpc/powerpc64/power6/multiarch/Implies: New File.
56604         * sysdeps/powerpc/powerpc64/power7/fpu/Implies: New File.
56605         * sysdeps/powerpc/powerpc64/power7/multiarch/Implies: New File.
56606         * sysdeps/powerpc/powerpc64/power8/fpu/Implies: New File.
56607         * sysdeps/powerpc/powerpc64/power8/fpu/multiarch/Implies: New File.
56608         * sysdeps/powerpc/powerpc64/power8/multiarch/Implies: New File.
56609         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: Remove.
56610         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/Implies: Remove.
56611         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: Remove.
56612         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: Remove.
56613         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: Remove.
56614         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: Remove.
56615         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Remove.
56617 2013-12-12  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
56619         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Use $$ver.
56621 2013-12-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
56623         * benchtests/Makefile (bench): Add exp2 and log2.
56624         (LDLIBS-bench-exp2): Add -lm.
56625         (LDLIBS-bench-log2): Likewise.
56626         * benchtests/exp2-inputs: New inputs file.
56627         * benchtests/log2-inputs: New inputs file.
56628         * benchtests/log-inputs: Add new inputs.
56629         * benchtests/tan-inputs: Likewise.
56631 2013-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
56633         * sysdeps/ieee754/dbl-64/s_sin.c (t22): Consolidate const
56634         definition...
56635         (slow1, slow2, sloww1, sloww2, bsloww1, bsloww2, cslow2, csloww1)
56636         (csloww2): ... from here.
56638         * sysdeps/ieee754/dbl-64/usncs.h: Define constants as double
56639         instead of structures.
56640         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): Adjust.
56641         (POLYNOMIAL): Likewise.
56642         (TAYLOR_SLOW): Likewise.
56643         (__sin): Likewise.
56644         (__cos): Likewise.
56645         (slow1): Likewise.
56646         (slow2): Likewise.
56647         (sloww): Likewise.
56648         (sloww1); Likewise.
56649         (sloww2): Likewise.
56650         (bsloww1): Likewise.
56651         (bsloww2): Likewise.
56652         (cslow2): Likewise.
56653         (csloww): Likewise.
56654         (csloww1): Likewise.
56655         (csloww2): Likewise.
56657 2013-12-10  Ondřej Bílka  <neleai@seznam.cz>
56659         * malloc/malloc.c (MALLOC_COPY, MALLOC_ZERO): Delete.
56660         (__malloc_assert, __libc_realloc, __libc_calloc, _int_realloc):
56661         Expand MALLOC_COPY and MALLOC_ZERO to memcpy and memset.
56662         * malloc/hooks.c (realloc_check): Likewise.
56664         * malloc/Makefile (CPPFLAGS-malloc.c): Remove -DPER_THREAD flag.
56665         * malloc/arena.c: Remove PER_THREAD conditional.
56666         [!PER_THREAD]: Remove code.
56667         (ptmalloc_unlock_all2): Likewise.
56668         (ptmalloc_init): Likewise.
56669         (_int_new_arena): Likewise.
56670         (arena_get2): Likewise.
56671         * malloc/hooks.c (__malloc_get_state): Likewise.
56672         (__malloc_set_state): Likewise.
56673         * malloc/malloc.c: Likewise.
56674         (struct malloc_state): Likewise.
56675         (struct malloc_par): Likewise.
56676         (__libc_realloc): Likewise.
56677         (__libc_mallopt): Likewise.
56679 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56681         * Versions.def (libm): Add GLIBC_2.3 and GLIBC_2.19.
56683 2013-12-09  Ondřej Bílka  <neleai@seznam.cz>
56685         * malloc/malloc.c (alloc_perturb, free_perturb): Convert from
56686         macro to a function.  Check for zero perturb_byte.
56687         (_int_malloc, _int_free): Remove zero perturb_byte checks.
56689         * malloc/malloc.c: (force_reg): Remove.
56690         (__malloc_assert, __libc_malloc, __libc_free, __libc_realloc)
56691         (_mid_memalign, __libc_calloc, sysmalloc, systrim): Replace
56692         force_reg by atomic_forced_read.
56693         * malloc/arena.c (ptmalloc_init): Likewise.
56694         * malloc/hooks.c (top_check): Likewise.
56696 2013-12-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56698         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
56700 2013-12-09  Markus Trippelsdorf  <markus@trippelsdorf.de>
56702         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
56704 2013-12-08  Joseph Myers  <joseph@codesourcery.com>
56706         * math/auto-libm-test-in: Add tests of lgamma.
56707         * math/auto-libm-test-out: Regenerated.
56708         * math/libm-test.inc (M_LOG_SQRT_PIl): Remove macro.
56709         (M_LOG_2_SQRT_PIl): Likewise.
56710         (lgamma_test_data): Use AUTO_TESTS_f_f1.
56711         * math/gen-auto-libm-tests.c (func_calc_method): Add value
56712         mpfr_f_f1.
56713         (func_calc_desc): Add mpfr_f_f1 union field.
56714         (ARGS1): New macro.
56715         (ARGS2): Likewise.
56716         (ARGS3): Likewise.
56717         (ARGS4): Likewise.
56718         (RET1): Likewise.
56719         (RET2): Likewise.
56720         (CALC): Likewise.
56721         (FUNC): Likewise.
56722         (FUNC_mpfr_f_f): Use new macros FUNC, ARGS1, RET1 and CALC.
56723         (test_functions): Add lgamma.
56724         (calc_generic_results): Handle mpfr_f_f1.
56725         * sysdeps/i386/fpu/libm-test-ulps: Update.
56726         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
56728 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56730         * sysdeps/powerpc/powerpc64/power7/add_n.S: New file: optimized
56731         __mpn_add_n for PowerPC64/POWER7.
56732         * sysdeps/powerpc/powerpc64/power7/sub_n.S: New file: optimized
56733         __mpn_sub_n for PowerPC64/POWER7.
56735         * sysdeps/powerpc/powerpc64/addmul_1.S: New file: optimized
56736         __mpn_addmul_1 for PowerPC64.
56737         * sysdeps/powerpc/powerpc64/submul_1.S: New file: optimized
56738         __mpn_submul_1 for PowerPC64.
56739         * sysdeps/powerpc/powerpc64/lshift.S: New file: optimized __mpn_lshift
56740         for PowerPC64.
56741         * sysdeps/powerpc/powerpc64/mul_1.S: New file: optimized __mpn_mul_1
56742         for PowerPC64.
56744 2013-12-06  Fernando J. V. da Silva  <fernandojvdasilva@gmail.com>
56746         [BZ #15089]
56747         * malloc/malloc.c: Exit systrim() if pad is bigger than heap top size.
56749 2013-12-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
56751         * NEWS: Mention ppc32/power4+ STT_GNU_IFUNC support.
56753         * sysdeps/powerpc/powerpc32/power5+/fpu/multiarch/Implies: New file:
56754         add multiarch folders.
56755         * sysdeps/powerpc/powerpc32/power5+/multiarch/Implies: Likewise.
56756         * sysdeps/powerpc/powerpc32/power5/fpu/multiarch/Implies: Likewise.
56757         * sysdeps/powerpc/powerpc32/power5/multiarch/Implies: Likewise.
56758         * sysdeps/powerpc/powerpc32/power6/fpu/multiarch/Implies: Likewise.
56759         * sysdeps/powerpc/powerpc32/power6/multiarch/Implies: Likewise.
56760         * sysdeps/powerpc/powerpc32/power6x/fpu/multiarch/Implies: Likewise.
56761         * sysdeps/powerpc/powerpc32/power6x/multiarch/Implies: Likewise.
56762         * sysdeps/powerpc/powerpc32/power7/fpu/multiarch/Implies: Likewise.
56763         * sysdeps/powerpc/powerpc32/power7/multiarch/Implies: Likewise.
56764         * sysdeps/powerpc/powerpc32/power8/fpu/multiarch/Implies: Likewise.
56765         * sysdeps/powerpc/powerpc32/power8/multiarch/Implies: Likewise.
56766         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/Implies: Remove.
56767         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: Remove.
56768         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: Remove.
56769         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: Remove.
56770         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: Remove.
56771         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Remove.
56773         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
56774         __ieee754_hypot and __ieee754_hypotf multiarch implementations.
56775         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-power7.c:
56776         New file.
56777         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot-ppc32.c:
56778         New file.
56779         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypot.c: New file:
56780         multiarch __ieee754_hypot for PowerPC32.
56781         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-power7.c:
56782         New file.
56783         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf-ppc32.c:
56784         New file.
56785         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/e_hypotf.c: New file:
56786         multiarch __ieee754_hypotf for PowerPC32.
56788         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Define
56789         long_double_symbol only if __logbl is defined.
56790         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Moved to ...
56791         * sysdeps/powerpc/power7/fpu/s_logb.c: ... here.
56792         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: Move to ...
56793         * sysdeps/powerpc/power7/fpu/s_logbf.c: ... here.
56794         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: Move to ...
56795         * sysdeps/powerpc/power7/fpu/s_logbl.c: ... here.
56796         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: Adjust to use new
56797         path for implementation.
56798         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: Likewise.
56799         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: Likewise.
56800         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add logbf,
56801         logb, and logbl multiarch implementations for PowerPC32.
56802         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-power7.c: New
56803         file.
56804         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb-ppc32.c: New
56805         file.
56806         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logb.c: New file:
56807         multiarch logb for PowerPC32.
56808         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-power7.c: New
56809         file.
56810         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf-ppc32.c: New
56811         file.
56812         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbf.c: New file:
56813         multiarch logbf for PowerPC32.
56814         * sysdeps/powerpc/power4/fpu/multiarch/s_logbl-power7.c: New file.
56815         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl-ppc32.c: New
56816         file.
56817         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_logbl.c: New file:
56818         multiarch logbl implementation for PowerPC32.
56820         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add modf
56821         and modff multiarch implementations.
56822         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-power5+.c:
56823         New file.
56824         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf-ppc32.c:
56825         New file.
56826         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modf.c: New file:
56827         multiarch modf for PowerPC32.
56828         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-power5+.c:
56829         New file.
56830         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff-ppc32.c:
56831         New file.
56832         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_modff.c: New file:
56833         multiarch modff for PowerPC32.
56835         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lrint
56836         and lrintf multiarch implementations.
56837         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-power6x.S:
56838         New file.
56839         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint-ppc32.S:
56840         New file.
56841         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrint.c: New file:
56842         multiarch lrint for PowerPC32.
56843         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lrintf.c: New
56844         file: multiarch lrintf for PowerPC32.
56846         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add lround
56847         and lroundf multiarch implementations.
56848         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power5+.S:
56849         New file.
56850         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-power6.S:
56851         New file.
56852         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround-ppc32.S:
56853         New file.
56854         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lround.c: New file:
56855         multiarch lround for PowerPC32.
56856         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_lroundf.c: New
56857         file: multiarch lroundf for PowerPC32.
56859         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add
56860         copysign and copysignf multiarch implementations.
56861         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-power6.S:
56862         New file.
56863         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign-ppc32.S:
56864         New file.
56865         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysign.c: New
56866         file: multiarch copysign for PowerPC32.
56867         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_copysignf.c: New
56868         file: multiarch copysignf for PowerPC32.
56870         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add trunc
56871         and truncf multiarch implementations.
56872         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-power5+.S:
56873         New file.
56874         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc-ppc32.S: New
56875         file.
56876         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_trunc.c: New file:
56877         multiarch trunc for PowerPC32.
56878         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-power5+.S:
56879         New file.
56880         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf-ppc32.S:
56881         New file.
56882         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_truncf.c: New file:
56883         multiarch truncf for PowerPC32.
56885         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add round
56886         and roundf multiarch implementations.
56887         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-power5+.S:
56888         New file.
56889         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round-ppc32.S: New
56890         file.
56891         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_round.c: New file:
56892         multiarch round for PowerPC32.
56893         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-power5+.S:
56894         New file.
56895         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf-ppc32.S:
56896         New file.
56897         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_roundf.c: New file:
56898         multiarch roundf for PowerPC32.
56900         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add floor
56901         and floorf multiarch implementations.
56902         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-power5+.S:
56903         New file.
56904         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor-ppc32.S: New
56905         file.
56906         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floor.c: New file:
56907         multiarch floor for PowerPC32.
56908         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-power5+.S:
56909         New file.
56910         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf-ppc32.S:
56911         New file.
56912         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_floorf.c: New file:
56913         multiarch floorf for PowerPC32.
56915         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add ceil
56916         and ceilf multiarch implementations.
56917         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-power5+.S:
56918         New file.
56919         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil-ppc32.S: New
56920         file.
56921         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceil.c: New file:
56922         multiarch ceil for PowerPC32.
56923         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-power5+.S:
56924         New file.
56925         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf-ppc32.S: New
56926         file.
56927         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_ceilf.c: New file:
56928         multiarch ceilf for PowerPC32.
56930         * sysdeps/ieee754/dbl-64/s_finite.c (__finite): Redefine it if FINITE
56931         is defined.
56932         * sysdeps/ieee754/flt-32/s_finitef.c (__finitef): Redefine it if
56933         FINITEF is defined.
56934         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add finite
56935         and finitef multiarch implementations.
56936         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-power7.S:
56937         New file.
56938         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite-ppc32.c: New
56939         file.
56940         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finite.c: New file:
56941         multiarch finite for PowerPC32.
56942         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef-ppc32.c:
56943         New file.
56944         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_finitef.c: New
56945         file: multiarch finitef for PowerPC32.
56947         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isinf
56948         and isinff multiarch implementations.
56949         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-power7.S: New
56950         file.
56951         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf-ppc32.c: New
56952         file.
56953         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinf.c: New file:
56954         multiarch isinf for PowerPC32.
56955         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff-ppc32.c:
56956         New file.
56957         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isinff.c: New file:
56958         multiarch isinff for PowerPC32.
56960         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S (__isnan): Only implement
56961         alias when __isnan is defined.
56962         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add isnan
56963         and isnanf multiarch implementations.
56964         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power5.S: New
56965         file.
56966         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power6.S: New
56967         file.
56968         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-power7.S: New
56969         file.
56970         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan-ppc32.S: New
56971         file.
56972         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnan.c: New file:
56973         multiarch isnan for PowerPC32.
56974         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power6.S:
56975         New file.
56976         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf-power7.S:
56977         New file.
56978         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_isnanf.c: New file:
56979         multiarch isnanf for PowerPC32.
56981         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add sqrt
56982         and sqrtf multiarch implementations.
56983         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-power5.S: New
56984         file.
56985         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt-ppc32.S: New
56986         file.
56987         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrt.c: New file:
56988         multiarch sqrt for PowerPC32.
56989         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-power5.S: New
56990         file.
56991         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf-ppc32.S: New
56992         file.
56993         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/w_sqrtf.c: New file:
56994         multiarch sqrtf for PowerPC32.
56996         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: Add llround
56997         and llroundf multiarch implementations.
56998         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power5+.S:
56999         New file.
57000         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-power6.S:
57001         New file.
57002         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround-ppc32.S:
57003         New file.
57004         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llround.c: New
57005         file: multiarch llround for PowerPC32.
57006         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llroundf.c: New
57007         file: multiarch llroundf for PowerPC32.
57009         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/Makefile: New file:
57010         multiarch PowerPC32 fpu implementations.
57011         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-power6.S:
57012         New file.
57013         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint-ppc32.S:
57014         New file.
57015         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrint.c: New file:
57016         multiarch llrint for PowerPC32.
57017         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-power6.S:
57018         New file.
57019         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf-ppc32.S:
57020         New file.
57021         * sysdeps/powerpc/powerpc32/power4/fpu/multiarch/s_llrintf.c: New
57022         file.
57024         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/Implies: Remove.
57026         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power6.c: New
57027         file.
57028         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-power7.c: New
57029         file.
57030         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy-ppc32.c: New
57031         file.
57032         * sysdeps/powerpc/powerpc32/power4/multiarch/wordcopy.c: New file:
57033         multiarch wordcopy for PPC32.
57034         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
57035         wordcopy objects.
57036         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
57037         (__libc_ifunc_impl_list): Likewise.
57038         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Move ...
57039         * sysdeps/powerpc/power4/wordcopy.c: ... to here.
57040         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Move ...
57041         * sysdeps/powerpc/power6/wordcopy.c: ... to here.
57042         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Remove uneeded file.
57043         * sysdeps/powerpc/powerpc64/power4/wordcopy.c: Likewise.
57045         * wcsmbs/wcscpy.c (wcscpy): Using macro to redefine symbol name
57046         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power6.c: New
57047         file.
57048         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-power7.c: New
57049         file.
57050         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy-ppc32.c: New
57051         file.
57052         * sysdeps/powerpc/powerpc32/power4/multiarch/wcscpy.c: New file:
57053         multiarch wcscpy for PPC32.
57054         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcscpy
57055         multiarch objects.
57056         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
57057         (__libc_ifunc_impl_list): Likewise.
57058         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
57059         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
57060         * sysdeps/powerpc/powerpc64/power6/wcscpy.c: Adjust to use
57061         sysdeps/powerpc/power6/wcscpy.c.
57063         * wcsmbs/wcsrchr.c (wcsrchr): Using macro to redefine symbol name
57064         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power6.c: New
57065         file.
57066         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-power7.c: New
57067         file.
57068         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr-ppc32.c: New
57069         file.
57070         * sysdeps/powerpc/powerpc32/power4/multiarch/wcsrchr.c: New file:
57071         multiarch wcsrchr for PPC32.
57072         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
57073         multiarch objects.
57074         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
57075         (__libc_ifunc_impl_list): Likewise.
57076         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c: Move ...
57077         * sysdeps/powerpc/power6/wcsrchr.c: ... to here.
57078         * sysdeps/powerpc/powerpc64/power6/wcsrchr.c: Adjust to use
57079         sysdeps/powerpc/power6/wcsrchr.c.
57081         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power6.c: New
57082         file.
57083         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-power7.c: New
57084         file.
57085         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr-ppc32.c: New file.
57086         * sysdeps/powerpc/powerpc32/power4/multiarch/wcschr.c: New file:
57087         multiarch wcschr for PPc32.
57088         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added wcschr
57089         multiarch objects.
57090         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
57091         (__libc_ifunc_impl_list): Likewise.
57092         * sysdeps/powerpc/powerpc32/power6/wcschr.c: Move ...
57093         * sysdeps/powerpc/power6/wcschr.c: ... to here.
57094         * sysdeps/powerpc/powerpc64/power6/wcschr.c: Adjust to use
57095         sysdeps/powerpc/power6/wcschr.c.
57097         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strchr.S: New file.
57098         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-power7.S: New
57099         file.
57100         * sysdeps/powerpc/powerpc32/power4/multiarch/strchr-ppc32.S: New file.
57101         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/strchr.c: New
57102         file: multiarch strchr for PPC32.
57103         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchr
57104         multiarch objects.
57105         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
57106         (__libc_ifunc_impl_list): Likewise.
57108         * string/strchrnul.c (__strchrnul): Using macro to redefine symbol
57109         name.
57110         * sysdeps/powerpc/powerpc32/power4//multiarch/strchrnul-power7.S: New
57111         file.
57112         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul-ppc32.c: New
57113         file.
57114         * sysdeps/powerpc/powerpc32/power4/multiarch/strchrnul.c: New file:
57115         multiarch strchrnul for PPC32.
57116         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strchrnul
57117         multiarch objects.
57118         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
57119         (__libc_ifunc_impl_list): Likewise.
57121         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase-power7.c: New
57122         file.
57123         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase.c: New file:
57124         multiarch strncasecmp for PPC32.
57125         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l-power7.c: New
57126         file.
57127         * sysdeps/powerpc/powerpc32/power4/multiarch/strncase_l.c: New file:
57128         multiarch strncasecmp_l for PPC32.
57129         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added
57130         strncasecmp multiarch objects.
57131         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
57132         (__libc_ifunc_impl_list): Likewise.
57134         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp-power7.S: New
57135         file.
57136         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp.c: New file:
57137         multiarch strncasecmp for PPC32.
57138         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l-power7.S:
57139         New file.
57140         * sysdeps/powerpc/powerpc32/power4/multiarch/strcasecmp_l.c: New file:
57141         multiarch strcasecmp_l for PPC32.
57142         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strcasecmp
57143         multiarch objects.
57144         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
57145         (__libc_ifunc_impl_list): Likewise.
57147         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-power7.S: New
57148         file.
57149         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp-ppc32.S: New
57150         file.
57151         * sysdeps/powerpc/powerpc32/power4/multiarch/strncmp.c: New file:
57152         multiarch strncmp for PPC32.
57153         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strncmp
57154         multiarch objects.
57155         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
57156         (__libc_ifunc_impl_list): Likewise.
57158         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-strnlen.c: New file.
57159         * sysdeps/powerpc/powerpc32//power4/multiarch/strnlen-power7.S: New
57160         file.
57161         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen-ppc32.c: New file.
57162         * sysdeps/powerpc/powerpc32/power4/multiarch/strnlen.c: New file.
57163         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strnlen
57164         multiarch objects.
57165         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
57166         (__libc_ifunc_impl_list): Likewise.
57168         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-power7.S: New
57169         file.
57170         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen-ppc32.S: New
57171         file.
57172         * sysdeps/powerpc/powerpc32/power4/multiarch/strlen.c: New file.
57173         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added strlen
57174         multiarch objects.
57175         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
57176         (__libc_ifunc_impl_list): Likewise.
57178         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-power7.S: New
57179         file.
57180         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr-ppc32.c: New
57181         file.
57182         * sysdeps/powerpc/powerpc32/power4/multiarch/rawmemchr.c: New file:
57183         multiarch rawmemchr for PPC32.
57184         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added rawmemchr
57185         multiarch objects.
57186         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
57187         (__libc_ifunc_impl_list): Likewise.
57189         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-power7.S: New
57190         file.
57191         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr-ppc32.c: New
57192         file.
57193         * sysdeps/powerpc/powerpc32/power4/multiarch/memrchr.c: New
57194         file: memrchr multiarch for PPC32.
57195         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Added memrchr
57196         multiarch objects.
57197         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list
57198         (__libc_ifunc_impl_list): Likewise.
57200         * string/memchr.c (__memchr): Using macro to redefine symbol name.
57201         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-power7.S: New
57202         file.
57203         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr-ppc32.c: New File.
57204         * sysdeps/powerpc/powerpc32/power4/multiarch/memchr.c: New file:
57205         multiarch memchr for PPC32.
57206         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memchr
57207         multiarch objects.
57208         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
57209         (__libc_ifunc_impl_list): Likewise.
57211         * string/mempcpy.c (__mempcpy): Using macro to redefine symbol name.
57212         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-power7.S: New
57213         file.
57214         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy-ppc32.c: New
57215         file.
57216         * sysdeps/powerpc/powerpc32/power4/multiarch/mempcpy.c: New
57217         file: multiarch mempcpy for PPC32.
57218         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add mempcpy
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/bzero-power6.S: New file.
57224         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-power7.S: New file.
57225         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero-ppc32.S: New file.
57226         * sysdeps/powerpc/powerpc32/power4/multiarch/bzero.c: New file:
57227         multiarch bzero for PPC32.
57228         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power6.S: New
57229         file.
57230         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-power7.S: New
57231         file.
57232         * sysdeps/powerpc/powerpc32/power4/multiarch/memset-ppc32.S: New file.
57233         * sysdeps/powerpc/powerpc/powerpc32/power4/multiarch/memset.c: New
57234         file: multiarch memset for PPC32.
57235         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memset.S: New file.
57236         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add bzero and
57237         memset multiarch objects.
57238         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
57239         (__libc_ifunc_impl_list): Likewise.
57241         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-power7.S: New
57242         file.
57243         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp-ppc32.S: New file.
57244         * sysdeps/powerpc/powerpc32/power4/multiarch/memcmp.c: multiarch
57245         memcmp for PPC32.
57246         * sysdeps/powerpc/powerpc32/power4/multiarch/rtld-memcmp.S: New file.
57247         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcmp
57248         multiarch objects.
57249         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
57250         (__libc_ifunc_impl_list): Likewise.
57252         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-a2.S: New file.
57253         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-cell.S: New file.
57254         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power6.S: New
57255         file.
57256         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-power7.S: New
57257         file.
57258         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy-ppc32.S: New
57259         file.
57260         * sysdeps/powerpc/powerpc32/power4/multiarch/memcpy.c: New file:
57261         multiarch memcpy for PPC32.
57262         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: Add memcpy
57263         multiarch objects.
57264         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c
57265         (__libc_ifunc_impl_list): Likewise.
57267         * sysdeps/powerpc/powerpc32/power4/multiarch/Makefile: New file to
57268         support multiarch for POWER/PPC32.
57269         * sysdeps/powerpc/powerpc32/power4/multiarch/ifunc-impl-list.c:
57270         Likewise.
57271         * sysdeps/powerpc/powerpc32/power4/multiarch/init-arch.h: Likewise.
57272         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: Remove
57273         Implies file to make multiarch folder appers before the fpu and
57274         default folder for power4 configuration.
57276 2013-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
57278         * scripts/bench.pl: Append volatile keyword to type.
57280 2013-12-05  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
57282         * sysdeps/sh/sotruss-lib.c: New file.
57283         * sysdeps/unix/sysv/linux/sh/nptl/c++-types.data: New file.
57285 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57287         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57289 2013-12-05  Joseph Myers  <joseph@codesourcery.com>
57291         [BZ #6810]
57292         * math/w_tgamma.c: Include <errno.h>.
57293         (__tgamma): Use __glibc_unlikely.  Set errno on underflow to 0.
57294         * math/w_tgammaf.c: Include <errno.h>.
57295         (__tgammaf): Use __glibc_unlikely.  Set errno on underflow to 0.
57296         * math/w_tgammal.c: Include <errno.h>.
57297         (__tgammal): Use __glibc_unlikely.  Set errno on underflow to 0.
57298         * math/auto-libm-test-in: Do not allow missing errno on tgamma
57299         underflow.  Add more tgamma tests.
57300         * math/auto-libm-test-out: Regenerated.
57301         * sysdeps/i386/fpu/libm-test-ulps: Update.
57302         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57304         * math/auto-libm-test-in: Add tests of log, log10, log1p, log2,
57305         sin, sinh, tan, tanh, tgamma, y0 and y1.
57306         * math/auto-libm-test-out: Regenerated.
57307         * math/libm-test.inc (TEST_COND_x86_64): New macro.
57308         (TEST_COND_x86): Likewise.
57309         (M_E2l): Remove macro.
57310         (M_E3l): Likewise.
57311         (M_2_SQRT_PIl): Likewise.
57312         (M_SQRT_PIl): Likewise.
57313         (M_1_DIV_El): Likewise.
57314         (log_test_data): Use AUTO_TESTS_f_f.
57315         (log10_test_data): Likewise.
57316         (log1p_test_data): Likewise.
57317         (log2_test_data): Likewise.
57318         (sin_test_data): Likewise.
57319         (sin_tonearest_test_data): Likewise.
57320         (sin_towardzero_test_data): Likewise.
57321         (sin_downward_test_data): Likewise.
57322         (sin_upward_test_data): Likewise.
57323         (sinh_test_data): Likewise.
57324         (sinh_tonearest_test_data): Likewise.
57325         (sinh_towardzero_test_data): Likewise.
57326         (sinh_downward_test_data): Likewise.
57327         (sinh_upward_test_data): Likewise.
57328         (tan_test_data): Likewise.
57329         (tan_tonearest_test_data): Likewise.
57330         (tan_towardzero_test_data): Likewise.
57331         (tan_downward_test_data): Likewise.
57332         (tan_upward_test_data): Likewise.
57333         (tanh_test_data): Likewise.
57334         (tgamma_test_data): Likewise.
57335         (y0_test_data): Likewise.
57336         (y1_test_data): Likewise.
57337         * math/gen-auto-libm-tests.c (special_fill_pi_4): New function.
57338         (special_real_inputs): Add pi/4.
57339         * sysdeps/i386/fpu/libm-test-ulps: Update.
57340         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57342 2013-12-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57344         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Add "longjmp" and
57345         "longjmp_target" static probes.
57346         (__longjmp): Rename to __longjmp_symbol.
57347         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
57348         * sysdeps/powerpc/powerpc32/__longjmp.S: Define __longjmp_symbol based
57349         on which longjmp to generate.
57350         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
57351         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Add "setjmp" static
57352         probe.
57353         (__sigsetjmp): Rename to __sigsetjmp_symbol.
57354         (__sigjmp_save): Rename to __sigjmp_save_symbol.
57355         * sysdeps/powerpc/powerpc32/setjmp-common.S: Likewise.
57356         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Define __sigsetjmp_symbol
57357         and __sigjmp_save_symbol based on which sigsetjmp to generated.
57358         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
57359         * sysdeps/unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Define
57360         __longjmp_symbol based on which __longjmp to generate.
57361         * sysdeps/powerpc/powerpc64/setjmp-common.S: Add "setjmp" static
57362         probe.
57363         (setjmp): Rename to setjmp_symbol.
57364         (__sigsetjmp): Rename to __sigsetjmp_symbol.
57365         (_setjmp): Rename to _setjmp_symbol.
57366         (__sigsetjmp): Rename to __sigsetjmp_symbol.
57367         * sysdeps/powerpc/powerpc64/setjmp.S: Define setjmp_symbol,
57368         _setjmp_symbol, __sigsetjmp_symbol, and __sigjmp_save_symbol based on
57369         which setjmp to generate.
57370         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Add "longjmp" and
57371         "longjmp_target" static probes.
57373 2013-12-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
57375         * benchtests/README: Add note about output arguments.
57376         * benchtests/bench-sincos.c: Remove file.
57377         * benchtests/sincos-inputs: New file.
57378         * scripts/bench.pl: Identify output arguments and define
57379         static variables for them.
57381         * debug/stpncpy_chk.c (__stpncpy_chk): Remove unused variables.
57383         [BZ #15941]
57384         * Makefile (INSTALL): Add install-plain.texi as the primary
57385         dependency.
57386         * manual/install-plain.texi: New file.
57387         * manual/install.texi: Include node directive only for
57388         non-plaintext output.
57390 2013-12-04  Joseph Myers  <joseph@codesourcery.com>
57392         * stdlib/longlong.h: Update from GCC.
57394         [BZ #6807]
57395         [BZ #15901]
57396         * math/w_j0.c (y0): Raise FE_DIVBYZERO on zero argument.
57397         * math/w_j0f.c (y0f): Likewise.
57398         * math/w_j0l.c (__y0l): Likewise.
57399         * math/w_j1.c (y1): Likewise.
57400         * math/w_j1f.c (y1f): Likewise.
57401         * math/w_j1l.c (__y1l): Likewise.
57402         * math/w_jn.c (yn): Likewise.
57403         * math/w_jnf.c (ynf): Likewise.
57404         * sysdeps/ieee754/k_standard.c (__kernel_standard): Use ERANGE for
57405         Bessel function pole errors in _POSIX_ mode.  Use NAN as return
57406         value for Bessel function domain errors outside _SVID_ mode.
57407         Adjust sign of return value for yn (negative integer, 0).
57408         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Use division
57409         by zero in return for negative x and set sign appropriately for
57410         negative n.
57411         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Likewise.
57412         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
57413         * math/libm-test.inc (y0_test_data): Add more tests and adjust
57414         expectations in error cases.
57415         (y1_test_data): Likewise.
57416         (yn_test_data): Likewise.
57417         * sysdeps/i386/fpu/libm-test-ulps: Update.
57418         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57420 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
57422         * sysdeps/unix/sysv/linux/powerpc/Makefile (abi-variants): Rename
57423         "64" to "64-v1".  Add "64-v2".
57424         (abi-64-options): Rename to ...
57425         (abi-64-v1-options): ... this.   Redefine _CALL_ELF.
57426         (abi-64-condition): Rename to ...
57427         (abi-64-v1-condition): ... this.  Add _CALL_ELF check.,
57428         (abi-64-ld-soname): Rename to ...
57429         (abi-64-v1-ld-soname): ... this.
57430         (abi-64-v2-options): Define.
57431         (abi-64-v2-condition): Likewise.
57432         (abi-64-v2-ld-soname): Likewise.
57433         * sysdeps/unix/sysv/linux/powerpc/ldconfig.h
57434         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add "/lib64/ld64.so.2".
57435         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: Delete file.
57436         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure.ac: New file.
57437         * sysdeps/unix/sysv/linux/powerpc/powerpc64/configure: Generate.
57439 2013-11-12  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
57440             Alan Modra  <amodra@gmail.com>
57442         * sysdeps/powerpc/bits/link.h (La_ppc64v2_regs, La_ppc64v2_retval):
57443         New versions for use with the ELFv2 ABI.
57444         (la_ppc64v2_gnu_pltenter, la_ppc64v2_gnu_pltexit): Add prototypes.
57445         * sysdeps/powerpc/lsdodefs.h (struct La_ppc64v2_regs): Add forward
57446         declaration.
57447         (struct La_ppc64v2_retval): Likewise.
57448         (ARCH_PLTENTER_MEMBERS): Add ppc64v2_gnu_pltenter.
57449         (ARCH_PLTEXIT_MEMBERS): Add ppc64v2_gnu_pltexit.
57450         * sysdeps/powerpc/powerpc64/dl-machine.h (ARCH_LA_PLTENTER): Define
57451         to ppc64v2_gnu_pltenter if _CALL_ELF == 2.
57452         (ARCH_LA_PLTEXIT): Define to ppc64v2_gnu_pltexit if _CALL_ELF == 2.
57453         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
57454         Do not save or restore CR.
57455         (FRAME_SIZE, VR_RTN): Provide updated values for _CALL_ELF == 2.
57456         (_dl_profile_resolve): Do no save or restore CR.  Support extended
57457         return values for ELFv2 ABI.  Fix location of FPR return registers.
57458         * sysdeps/powerpc/powerpc64/tst-audit.h (pltenter, pltexit): Provide
57459         updated values for _CALL_ELF == 2.
57460         (La_regs, La_retval, int_retval): Likewise.
57462 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
57464         * sysdeps/powerpc/powerpc64/sysdep.h (FRAME_MIN_SIZE): Define.
57465         (FRAME_MIN_SIZE_PARM): Likewise.
57466         (FRAME_BACKCHAIN): Likewise.
57467         (FRAME_CR_SAVE): Likewise.
57468         (FRAME_LR_SAVE): Likewise.
57469         (FRAME_TOC_SAVE): Likewise.
57470         (FRAME_PARM_SAVE): Likewise.
57471         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE,
57472         FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE,
57473         FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
57474         (call_mcount_parm_offset): New macro.
57475         (SAVE_ARG, REST_ARG, CFI_SAVE_ARG): Use it.
57476         (PROF): Use symbolic stack frame offsets.
57477         (TAIL_CALL_SYSCALL_ERROR): Likewise.
57478         * sysdeps/powerpc/powerpc64/dl-trampoline.S (FRAME_SIZE, INT_PARMS):
57479         Redefine in terms of FRAME_MIN_SIZE.
57480         (_dl_runtime_resolve): Use symbolic stack frame offsets.
57481         (_dl_profile_resolve): Likewise.  Update comment.
57482         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Use
57483         symbols stack frame offsets.
57484         (__sigsetjmp): Likewise.
57485         * sysdeps/powerpc/powerpc64/__longjmp-common.S (__longjmp): Likewise.
57486         * sysdeps/powerpc/powerpc64/ppc-mcount.S (_mcount): Likewise.
57487         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Likewise.
57488         * sysdeps/powerpc/powerpc64/crtn.S (_init, _fini): Likewise.
57490         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ucontext_i.sym
57491         (FRAME_BACKCHAIN): Remove.
57492         (FRAME_CR_SAVE): Likewise.
57493         (FRAME_LR_SAVE): Likewise.
57494         (FRAME_COMPILER_DW): Likewise.
57495         (FRAME_LINKER_DW): Likewise.
57496         (FRAME_TOC_SAVE): Likewise.
57497         (FRAME_PARM_SAVE): Likewise.
57498         (FRAME_PARM1_SAVE, FRAME_PARM2_SAVE, FRAME_PARM3_SAVE)
57499         (FRAME_PARM4_SAVE, FRAME_PARM5_SAVE, FRAME_PARM6_SAVE)
57500         (FRAME_PARM7_SAVE, FRAME_PARM8_SAVE, FRAME_PARM9_SAVE): Likewise.
57501         * sysdeps/unix/sysv/linux/powerpc/powerpc64/____longjmp_chk.S
57502         (CHECK_SP): Use symbolic stack frame offsets.
57503         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Use "red
57504         zone" instead of caller's parameter save area for temp storage.
57505         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
57506         Likewise.  Also, use symbolic stack frame offsets.
57507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (FRAMESIZE,
57508         stackblock): Redefine for _CALL_ELF == 2 to save parameters into
57509         our own stack frame instead of the caller's.
57510         (__socket): Use symbolic stack frame offsets.
57512 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
57513             Alan Modra  <amodra@gmail.com>
57515         * elf/elf.h (DT_PPC64_OPT, PPC64_OPT_TLS, PPC64_OPT_MULTI_TOC):
57516         Define.
57517         (STO_PPC64_LOCAL_BIT, STO_PPC64_LOCAL_MASK)
57518         (PPC64_LOCAL_ENTRY_OFFSET): Define.
57519         * sysdeps/powerpc/powerpc64/dl-machine.h (ppc64_local_entry_offset):
57520         New function.
57521         (elf_machine_fixup_plt): Call it.
57522         (elf_machine_plt_conflict): Likewise.  Add map, sym_map, and
57523         reloc arguments.
57524         (elf_machine_rela): Update call to elf_machine_plt_conflict.
57525         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
57526         (_dl_profile_resolve) [_CALL_ELF == 2]: Restore caller's TOC into
57527         r2 before calling target.
57529 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
57530             Alan Modra  <amodra@gmail.com>
57532         * sysdeps/powerpc/powerpc64/sysdep.h [_CALL_ELF == 2]
57533         (PPC64_LOAD_FUNCPTR, DOT_LABEL, BODY_LABEL, ENTRY_2, END_2): New
57534         versions of macros to support ELFv2 ABI.
57535         (LOCALENTRY): New macro.
57536         (ENTRY, EALIGN): Use it.
57537         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use LOCALENTRY.
57538         * sysdeps/powerpc/powerpc64/setjmp-common.S (__GI__setjmp): Do not
57539         fall through into ENTRY entry point.
57540         * libc/sysdeps/powerpc/powerpc64/dl-machine.h (Elf64_FuncDesc):
57541         Only define if _CALL_ELF != 2.
57543         (elf_machine_matches_host): Verify ABI version matches.
57544         (RTLD_START): Use LOCALENTRY.
57545         (elf_machine_type_class): Use SHN_UNDEF PLT handling for ELFv2 ABI.
57546         (PLT_INITIAL_ENTRY_WORDS): New version for _CALL_ELF != 2.
57547         (PLT_ENTRY_WORDS): New macro.
57548         (GLINK_INITIAL_ENTRY_WORDS, GLINK_ENTRY_WORDS): Likewise.
57549         (elf_machine_runtime_setup): Support ELFv2 ABI.
57550         (elf_machine_fixup_plt): Likewise.
57551         (elf_machine_plt_conflict): Likewise.
57552         (resolve_ifunc): Likewise.
57553         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_irela): Likewise.
57554         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
57555         Likewise.
57556         * sysdeps/unix/sysv/linux/powerpc/powerpc64/ldsodefs.h
57557         (DL_ADDR_SYM_MATCH): Only define if _CALL_ELF != 2.
57558         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
57559         (makecontext): Support ELFv2 ABI.
57560         * elf/elf.h (EF_PPC64_ABI): Define.
57562 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
57564         * sysdeps/powerpc/powerpc64/sysdep.h
57565         (PPC64_LOAD_FUNCPTR) [ASSEMBLER]: New assembler macro.
57566         (ENTRY_1) [ASSEMBLER]: Do not switch to .text section here ...
57567         (ENTRY) [ASSEMBLER]: ... but instead here ...
57568         (EALIGN) [ASSEMBLER]: ... and here.
57569         (PPC64_LOAD_FUNCPTR) [!ASSEMBLER]: New macro.
57570         (ENTRY_1) [!ASSEMBLER]: New macro; set up .opd entry.
57571         (ENTRY_2) [!ASSEMBLER]: Use it.
57572         * sysdeps/powerpc/powerpc64/dl-machine.h (RTLD_START): Update for
57573         ENTRY_2 changes.  Use PPC64_LOAD_FUNCPTR.
57574         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve)
57575         (_dl_profile_resolve): Use PPC64_LOAD_FUNCPTR.
57576         * sysdeps/powerpc/powerpc64/crti.S (_init, _fini): Use ENTRY_2.
57577         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (clone):
57578         Use PPC64_LOAD_FUNCPTR.
57580         * sysdeps/powerpc/tls.h (tcbhead_t): Add __private_ss field.
57582 2013-12-04  Alan Modra  <amodra@gmail.com>
57584         * elf/elf.h (R_PPC64_TLSGD, R_PPC64_TLSLD, R_PPC64_TOCSAVE): Define.
57585         (R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA): Likewise.
57586         (R_PPC64_TPREL16_HIGH, R_PPC64_TPREL16_HIGHA): Likewise.
57587         (R_PPC64_DTPREL16_HIGH, R_PPC64_DTPREL16_HIGHA): Likewise.
57589         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Add
57590         overflow checking for R_PPC64_ADDR16_HI, R_PPC64_ADDR16_HA,
57591         R_PPC64_TPREL16_HI, and R_PPC64_TPREL16_HA.
57592         Support new R_PPC64_ADDR16_HIGH, R_PPC64_ADDR16_HIGHA,
57593         R_PPC64_TPREL16_HIGH, and R_PPC64_TPREL16_HIGHA relocations.
57594         Fix overflow checking for R_PPC64_ADDR30 and R_PPC64_ADDR32.
57596 2013-12-04  Ulrich Weigand  <Ulrich.Weigand@de.ibm.com>
57598         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
57599         (__makecontext): Fix incorrect CFI when backtracing out of
57600         context created via makecontext.
57601         * sysdeps/unix/sysv/linux/powerpc/powerpc64/secontext.S
57602         (__setcontext): Fix incorrect CFI during switch to new context.
57603         (__novec_setcontext): Likewise.
57605 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
57607         [BZ #4772]
57608         * time/strptime_l.c (__strptime_internal): Allow modifiers
57609         in strptime.
57610         * time/tst-strptime.c (day_tests): Add testcase.
57612 2013-12-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
57614         * scripts/bench.pl: Skip over blank lines.
57616 2013-12-04  Paul Eggert  <eggert@cs.ucla.edu>
57618         [BZ #926]
57619         * manual/time.texi (Calendar Time): Clarify what timezone functions
57620         use.
57622 2013-12-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57624         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57626 2013-12-04  Ondřej Bílka  <neleai@seznam.cz>
57628         * debug/memcpy_chk.c (__memcpy_chk): Use call instead of custom
57629         implementation.
57630         * debug/memmove_chk.c (MEMMOVE_CHK): Likewise.
57631         * debug/mempcpy_chk.c (__mempcpy_chk): Likewise.
57632         * debug/memset_chk.c (__memset_chk): Likewise.
57633         * debug/stpncpy_chk.c (__stpncpy_chk): Likewise.
57634         * debug/strncpy_chk.c: Likewise.
57636 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
57638         [BZ #15268]
57639         [BZ #15425]
57640         * sysdeps/ieee754/dbl-64/e_exp.c: Include <float.h>.
57641         (__ieee754_exp): For possibly underflowing results, check size of
57642         result and force underflow exception if required.
57643         * math/auto-libm-test-in: Add more tests of exp.
57644         * math/auto-libm-test-out: Regenerated.
57645         * sysdeps/i386/fpu/libm-test-ulps: Update.
57646         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57648         [BZ #16283]
57649         * math/w_exp2.c (__exp2): Handle a zero result as underflow.
57650         * math/w_exp2f.c (__exp2f): Likewise.
57651         * math/w_exp2l.c (__exp2l): Likewise.
57652         * math/auto-libm-test-in: Do not allow missing errno on exp2
57653         underflow.
57654         * math/auto-libm-test-out: Regenerated.
57656 2013-12-03  Ondřej Bílka  <neleai@seznam.cz>
57658         [BZ #16274]
57659         * sysdeps/unix/sysv/linux/shm_open.c (shm_open): Correctly
57660         handle filename validation.
57661         * rt/tst-shm.c (do_test): Do not skip a test when shm_open fails.
57662         (do_open): Delete.
57664 2013-12-03  Joseph Myers  <joseph@codesourcery.com>
57666         [BZ #6786]
57667         * sysdeps/ieee754/dbl-64/s_erf.c: Include <errno.h> and <float.h>.
57668         (__erfc): Set errno to ERANGE when returning 0 or tiny * tiny.
57669         * sysdeps/ieee754/flt-32/s_erff.c: Include <errno.h> and
57670         <float.h>.
57671         (__erfcf): Set errno to ERANGE when returning 0 or tiny * tiny.
57672         * sysdeps/ieee754/ldbl-128/s_erfl.c: Include <errno.h>.
57673         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
57674         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Include <errno.h>.
57675         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
57676         * sysdeps/ieee754/ldbl-96/s_erfl.c: Include <errno.h>.
57677         (__erfcl): Set errno to ERANGE when returning 0 or tiny * tiny.
57678         * math/auto-libm-test-in: Don't allow missing errno from erfc.
57679         Add more erfc tests.
57680         * math/auto-libm-test-out: Regenerated.
57681         * sysdeps/i386/fpu/libm-test-ulps: Update.
57682         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57684         * math/auto-libm-test-in: Add tests of erf, erfc, exp, exp10,
57685         exp2, expm1, j0 and j1.
57686         * math/auto-libm-test-out: Regenerated.
57687         * math/libm-test.inc (erf_test_data): Use AUTO_TESTS_f_f.
57688         (erfc_test_data): Likewise.
57689         (exp_test_data): Likewise.
57690         (exp_tonearest_test_data): Likewise.
57691         (exp_towardzero_test_data): Likewise.
57692         (exp_downward_test_data): Likewise.
57693         (exp_upward_test_data): Likewise.
57694         (exp10_test_data): Likewise.
57695         (exp2_test_data): Likewise.
57696         (expm1_test_data): Likewise.
57697         (j0_test_data): Likewise.
57698         (j1_test_data): Likewise.
57699         * math/gen-auto-libm-tests.c: Mention "xfail-rounding" in comment.
57700         (input_flag_type): Add flag_xfail_rounding.
57701         (input_flags): Add xfail-rounding.
57702         (adjust_real): Assert mpfr_number_p not mpfr_regular_p.
57703         (output_for_one_input_case): Handle flag_xfail_rounding.
57704         * sysdeps/i386/fpu/libm-test-ulps: Update.
57705         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57707 2013-12-03  Aurelien Jarno  <aurelien@aurel32.net>
57709         [BZ #16289]
57710         * locale/loadarchive.c (_nl_load_locale_from_archive): Avoid
57711         division by 0.
57713 2013-12-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
57715         [BZ #16195]
57716         * include/stap-probe.h [!USE_STAP_PROBE && !__ASSEMBLER__]
57717         (LIBC_PROBE): Change definition to call STAP_PROBE* macros.
57718         (STAP_PROBE0): New macro.
57719         (STAP_PROBE1): Likewise.
57720         (STAP_PROBE2): Likewise.
57721         (STAP_PROBE3): Likewise.
57722         (STAP_PROBE4): Likewise.
57724 2013-12-02  Ondřej Bílka  <neleai@seznam.cz>
57726         * manual/llio.texi (Memory-mapped I/O): Add shm_open and shm_close.
57728 2013-12-02  Steve Ellcey  <sellcey@mips.com>
57730         * benchtests/Makefile (bench): Add sqrt.
57731         (LDLIBS-bench-sqrt): New.
57732         * benchtests/sqrt-input: New.
57734 2013-12-02  Pavel Simerda  <psimerda@redhat.com>
57736         * sysdeps/posix/getaddrinfo.c (GAIH_OKIFUNSPEC): Remove macro.
57737         (GAIH_EAI): Likewise.
57738         (gaih_inet_serv): Don't use GAIH_OKIFUNSPEC.
57739         (gaih_inet): Likewise.
57740         (getaddrinfo): Don't use GAIH_EAI.
57742         * sysdeps/posix/getaddrinfo.c (UNIX_PATH_MAX): Remove macro.
57743         (struct gaih): Remove definition.
57745 2013-12-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
57747         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname4_r):
57748         Use HERRNOP directly.
57750 2013-12-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57752         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
57754 2013-11-30  Joseph Myers  <joseph@codesourcery.com>
57756         * math/gen-auto-libm-tests.c (test_functions): Add more
57757         single-argument functions.
57758         (special_fill_pi_2): New function.
57759         (special_fill_minus_pi_2): Likewise.
57760         (special_fill_pi_6): Likewise.
57761         (special_fill_minus_pi_6): Likewise.
57762         (special_fill_pi_3): Likewise.
57763         (special_fill_2pi_3): Likewise.
57764         (special_fill_e): Likewise.
57765         (special_fill_1_e): Likewise.
57766         (special_fill_e_minus_1): Likewise.
57767         (special_real_inputs): Add more special inputs.
57768         (output_for_one_input_case): Do not require ERANGE on underflow to
57769         zero if round-to-nearest result does not underflow to zero, unless
57770         exact results required.
57771         * math/auto-libm-test-in: Add tests of acos, acosh, asin, asinh,
57772         atan, atanh, cbrt, cos and cosh.
57773         * math/auto-libm-test-out: Regenerated.
57774         * math/libm-test.inc (acos_test_data): Use AUTO_TESTS_f_f.
57775         (acos_tonearest_test_data): Likewise.
57776         (acos_towardzero_test_data): Likewise.
57777         (acos_downward_test_data): Likewise.
57778         (acos_upward_test_data): Likewise.
57779         (acosh_test_data): Likewise.
57780         (asin_test_data): Likewise.
57781         (asin_tonearest_test_data): Likewise.
57782         (asin_towardzero_test_data): Likewise.
57783         (asin_upward_test_data): Likewise.
57784         (asinh_test_data): Likewise.
57785         (atan_test_data): Likewise.
57786         (atanh_test_data): Likewise.
57787         (cbrt_test_data): Likewise.
57788         (cos_test_data): Likewise.
57789         (cos_tonearest_test_data): Likewise.
57790         (cos_towardzero_test_data): Likewise.
57791         (cos_downward_test_data): Likewise.
57792         (cos_upward_test_data): Likewise.
57793         (cosh_test_data): Likewise.
57794         (cosh_tonearest_test_data): Likewise.
57795         (cosh_towardzero_test_data): Likewise.
57796         (cosh_downward_test_data): Likewise.
57797         (cosh_upward_test_data): Likewise.
57798         * sysdeps/i386/fpu/libm-test-ulps: Update.
57799         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
57801 2013-11-29  Joseph Myers  <joseph@codesourcery.com>
57803         [BZ #6787]
57804         * math/w_exp10.c (__exp10): Handle a zero result as underflow.
57805         * math/w_exp10f.c (__exp10f): Likewise.
57806         * math/w_exp10l.c (__exp10l): Likewise.
57807         * math/libm-test.inc (exp10_test_data): Add more tests and expect
57808         errno settings in existing tests.
57810         [BZ #14032]
57811         * sysdeps/i386/fpu/e_sqrt.S (__ieee754_sqrt): Do fsqrt with
57812         precision control set to double precision.
57813         * sysdeps/i386/fpu/w_sqrt.c: New file.
57814         * math/auto-libm-test-in: Add more tests.
57815         * math/auto-libm-test-out: Update.
57817         * math/libm-test.inc (sqrt_tonearest_test_data): New variable.
57818         (sqrt_test_tonearest): New function.
57819         (sqrt_towardzero_test_data): New variable.
57820         (sqrt_test_towardzero): New function.
57821         (sqrt_downward_test_data): New variable.
57822         (sqrt_test_downward): New function.
57823         (sqrt_upward_test_data): New variable.
57824         (sqrt_test_upward): New function.
57825         (main): Call the new functions.
57827         * math/gen-auto-libm-tests.c: New file.
57828         * math/auto-libm-test-in: Likewise.
57829         * math/auto-libm-test-out: New generated file.
57830         * math/gen-libm-test.pl ($auto_input, %auto_tests): New global
57831         variables.
57832         (%beautify): Add generated representations of zero.
57833         (top level): Set $auto_input and call parse_auto_input.
57834         (beautify): Remove trailing "f" from hex float constants.
57835         (parse_args): Handle XFAIL_TEST.
57836         (convert_condition): New function.
57837         (or_value): Likewise.
57838         (or_cond_value): Likewise.
57839         (generate_testfile): Handle AUTO_TESTS_* lines.
57840         (parse_auto_input): New function.
57841         * math/libm-test.inc (XFAIL_TEST): New macro.
57842         (ERRNO_UNCHANGED): Update value.
57843         (ERRNO_EDOM): Likewise.
57844         (ERRNO_ERANGE): Likewise.
57845         (IGNORE_RESULT): Likewise.
57846         (TEST_COND_flt_32): New macro.
57847         (TEST_COND_dbl_64): Likewise.
57848         (TEST_COND_ldbl_96_intel): Likewise.
57849         (TEST_COND_ldbl_96_m68k): Likewise.
57850         (TEST_COND_ldbl_128): Likewise.
57851         (TEST_COND_ldbl_128ibm): Likewise.
57852         (TEST_COND_long32): Likewise.
57853         (TEST_COND_long64): Likewise.
57854         (TEST_COND_before_rounding): Likewise.
57855         (TEST_COND_after_rounding): Likewise.
57856         (enable_test): Handle XFAIL_TEST flag.
57857         (sqrt_test_data): Use AUTO_TESTS_f_f for tests of finite inputs
57858         with finite results.
57859         * math/Makefile ($(objpfx)libm-test.stmp): Depend on
57860         auto-libm-test-out.
57862 2013-11-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
57863             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
57865         [BZ #16214]
57866         * sysdeps/s390/dl-tls.h (__TLS_GET_ADDR): Invoke
57867         __tls_get_addr_internal instead of __tls_get_offset in order to
57868         avoid GOT pointer dependency.  Make rtld export
57869         __tls_get_addr_internal@@GLIBC_PRIVATE while still hiding
57870         __tls_get_addr since we are a __tls_get_offset platform.
57871         * sysdeps/s390/s390-64/tls-macros.h (TLS_IE PIC): Don't rely on
57872         GOT pointer being set up before.
57873         * sysdeps/s390/s390-32/tls-macros.h (TLS_IE PIC): Likewise.
57875 2013-11-28  Joseph Myers  <joseph@codesourcery.com>
57877         * manual/math.texi (Errors in Math Functions): Document accuracy
57878         goals.
57880         [BZ #15004]
57881         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Remove file.
57882         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: Likewise.
57883         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
57884         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
57885         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
57886         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
57887         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
57888         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
57889         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
57890         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
57891         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
57892         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
57893         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
57894         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
57895         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
57896         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
57898         * sysdeps/powerpc/nofpu/atomic-feclearexcept.c: New file.
57899         * sysdeps/powerpc/nofpu/atomic-feholdexcept.c: Likewise.
57900         * sysdeps/powerpc/nofpu/atomic-feupdateenv.c: Likewise.
57901         * sysdeps/powerpc/nofpu/flt-rounds.c: Likewise.
57902         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feclearexcept.c:
57903         Likewise.
57904         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feholdexcept.c:
57905         Likewise.
57906         * sysdeps/powerpc/powerpc32/e500/nofpu/atomic-feupdateenv.c:
57907         Likewise.
57908         * sysdeps/powerpc/powerpc32/e500/nofpu/flt-rounds.c: Likewise.
57909         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = soft-fp]
57910         (sysdep_routines): Add atomic-feholdexcept, atomic-feclearexcept,
57911         atomic-feupdateenv and flt-rounds.
57912         * sysdeps/powerpc/nofpu/Versions (libc): Add
57913         __atomic_feholdexcept, __atomic_feclearexcept,
57914         __atomic_feupdateenv and __flt_rounds to GLIBC_2.19.
57915         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h
57916         (__feraiseexcept_soft): Declare and use libc_hidden_proto here.
57917         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c
57918         (__feraiseexcept_soft): Don't declare and use libc_hidden_proto
57919         here.
57920         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/libc.abilist:
57921         Update.
57923         * manual/arith.texi (FP Exceptions): Document that exceptions may
57924         not be raised when matherr is used.
57925         (Math Error Reporting): Document overflow in directed rounding
57926         modes.  Document that errno may not be set when finite values are
57927         returned on overflow.  Document intent to set errno on underflow
57928         only for underflow to zero.
57930         [BZ #16271]
57931         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Set
57932         round-to-nearest then adjust result for other rounding modes.
57933         * include/fenv.h (fegetround): Use libm_hidden_proto.
57934         * math/fegetround.c (fegetround): Use libm_hidden_def.
57935         * sysdeps/i386/fpu/fegetround.c (fegetround): Likewise.
57936         * sysdeps/powerpc/fpu/fegetround.c (fegetround): Likewise.
57937         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
57938         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c (fegetround):
57939         Likewise.
57940         * sysdeps/s390/fpu/fegetround.c (fegetround): Likewise.
57941         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
57942         * sysdeps/sparc/fpu/fegetround.c (fegetround): Likewise.
57943         * sysdeps/x86_64/fpu/fegetround.c (fegetround): Likewise.
57945 2013-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
57947         [BZ #16077]
57948         * nss/Versions (libnss_files): Add
57949         _nss_files_gethostbyname3_r.
57950         * nss/nss_files/files-hosts.c (_nss_files_gethostbyname3_r):
57951         New function.
57952         (HOST_DB_LOOKUP): Remove macro.
57953         (_nss_files_gethostbyname_r): Implement function without the
57954         HOST_DB_LOOKUP macro.
57955         (_nss_files_gethostbyname2_r): Likewise.
57957 2013-11-28  Ondřej Bílka  <neleai@seznam.cz>
57959         * malloc/malloc.c (__libc_calloc): Make memset a tail call.
57961 2013-11-26  Uros Bizjak  <ubizjak@gmail.com>
57963         * soft-fp/op-4.h (_FP_FRAC_ASSEMBLE_4): Check rsize against
57964         _FP_W_TYPE_SIZE to avoid "left shift count >= width of type"
57965         warning.
57967 2013-11-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
57969         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Use
57970         __fe_nomask_env_priv instead of __fe_nomask_env to avoid a PLT call.
57971         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Likewise.
57972         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Likewise.
57973         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Rename to
57974         __fe_nomask_env_priv and attribute_hidden.
57975         * sysdeps/powerpc/fpu/fenv_private.h (libc_fesetenv_ppc): Likewise.
57976         (libc_feupdateenv_test_ppc): Likewise.
57977         (libc_feresetround_ppc): Likewise.
57978         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
57979         (__fe_nomask_env): Rename to __fe_nomask_env_priv and adjust
57980         compat_symbol macro.
57981         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
57982         (__fe_nomask_env): Likewise.
57983         * sysdeps/powerpc/fpu/fe_nomask.c (__fe_nomask_env): Likewise.
57985 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
57987         * string/Makefile: Remove ifunc tests.
57988         * string/test-string.h: Define TEST_IFUNC.
57989         * string/test-bcopy-ifunc.c: Remove.
57990         * string/test-bzero-ifunc.c: Likewise.
57991         * string/test-memccpy-ifunc.c: Likewise.
57992         * string/test-memchr-ifunc.c: Likewise.
57993         * string/test-memcmp-ifunc.c: Likewise.
57994         * string/test-memcpy-ifunc.c: Likewise.
57995         * string/test-memmem-ifunc.c: Likewise.
57996         * string/test-memmove-ifunc.c: Likewise.
57997         * string/test-mempcpy-ifunc.c: Likewise.
57998         * string/test-memrchr-ifunc.c: Likewise.
57999         * string/test-memset-ifunc.c: Likewise.
58000         * string/test-rawmemchr-ifunc.c: Likewise.
58001         * string/test-stpcpy-ifunc.c: Likewise.
58002         * string/test-stpncpy-ifunc.c: Likewise.
58003         * string/test-strcasecmp-ifunc.c: Likewise.
58004         * string/test-strcasestr-ifunc.c: Likewise.
58005         * string/test-strcat-ifunc.c: Likewise.
58006         * string/test-strchr-ifunc.c: Likewise.
58007         * string/test-strchrnul-ifunc.c: Likewise.
58008         * string/test-strcmp-ifunc.c: Likewise.
58009         * string/test-strcpy-ifunc.c: Likewise.
58010         * string/test-strcspn-ifunc.c: Likewise.
58011         * string/test-strlen-ifunc.c: Likewise.
58012         * string/test-strncasecmp-ifunc.c: Likewise.
58013         * string/test-strncat-ifunc.c: Likewise.
58014         * string/test-strncmp-ifunc.c: Likewise.
58015         * string/test-strncpy-ifunc.c: Likewise.
58016         * string/test-strnlen-ifunc.c: Likewise.
58017         * string/test-strpbrk-ifunc.c: Likewise.
58018         * string/test-strrchr-ifunc.c: Likewise.
58019         * string/test-strspn-ifunc.c: Likewise.
58020         * string/test-strstr-ifunc.c: Likewise.
58022 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
58024         * benchtests/Makefile: Remove ifunc tests.
58025         * benchtests/bench-string.h: Define TEST_IFUNC.
58026         * benchtests/bench-bcopy-ifunc.c: Remove.
58027         * benchtests/bench-bzero-ifunc.c: Likewise.
58028         * benchtests/bench-memccpy-ifunc.c: Likewise.
58029         * benchtests/bench-memchr-ifunc.c: Likewise.
58030         * benchtests/bench-memcmp-ifunc.c: Likewise.
58031         * benchtests/bench-memcpy-ifunc.c: Likewise.
58032         * benchtests/bench-memmem-ifunc.c: Likewise.
58033         * benchtests/bench-memmove-ifunc.c: Likewise.
58034         * benchtests/bench-mempcpy-ifunc.c: Likewise.
58035         * benchtests/bench-memrchr-ifunc.c: Likewise.
58036         * benchtests/bench-memset-ifunc.c: Likewise.
58037         * benchtests/bench-rawmemchr-ifunc.c: Likewise.
58038         * benchtests/bench-stpcpy_chk-ifunc.c: Likewise.
58039         * benchtests/bench-stpcpy-ifunc.c: Likewise.
58040         * benchtests/bench-stpncpy-ifunc.c: Likewise.
58041         * benchtests/bench-strcasecmp-ifunc.c: Likewise.
58042         * benchtests/bench-strcasestr-ifunc.c: Likewise.
58043         * benchtests/bench-strcat-ifunc.c: Likewise.
58044         * benchtests/bench-strchr-ifunc.c: Likewise.
58045         * benchtests/bench-strchrnul-ifunc.c: Likewise.
58046         * benchtests/bench-strcmp-ifunc.c: Likewise.
58047         * benchtests/bench-strcpy_chk-ifunc.c: Likewise.
58048         * benchtests/bench-strcpy-ifunc.c: Likewise.
58049         * benchtests/bench-strcspn-ifunc.c: Likewise.
58050         * benchtests/bench-strlen-ifunc.c: Likewise.
58051         * benchtests/bench-strncasecmp-ifunc.c: Likewise.
58052         * benchtests/bench-strncat-ifunc.c: Likewise.
58053         * benchtests/bench-strncmp-ifunc.c: Likewise.
58054         * benchtests/bench-strncpy-ifunc.c: Likewise.
58055         * benchtests/bench-strnlen-ifunc.c: Likewise.
58056         * benchtests/bench-strpbrk-ifunc.c: Likewise.
58057         * benchtests/bench-strrchr-ifunc.c: Likewise.
58058         * benchtests/bench-strsep-ifunc.c: Likewise.
58059         * benchtests/bench-strspn-ifunc.c: Likewise.
58060         * benchtests/bench-strstr-ifunc.c: Likewise.
58062 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
58064         * sysdeps/x86_64/dl-tlsdesc.S (_dl_tlsdesc_resolve_hold): Fix typo.
58066 2013-11-26  Ondřej Bílka  <neleai@seznam.cz>
58068         * resolv/netdb.h: Use __glibc_reserved instead __unused.
58069         * rt/aio.h: Likewise.
58070         * sysdeps/gnu/bits/utmp.h: Likewise.
58071         * sysdeps/gnu/bits/utmpx.h: Likewise.
58072         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
58073         * sysdeps/unix/sysv/linux/bits/ipc.h: Likewise.
58074         * sysdeps/unix/sysv/linux/bits/msq.h: Likewise.
58075         * sysdeps/unix/sysv/linux/bits/sem.h: Likewise.
58076         * sysdeps/unix/sysv/linux/bits/shm.h: Likewise.
58077         * sysdeps/unix/sysv/linux/bits/stat.h: Likewise.
58078         * sysdeps/unix/sysv/linux/kernel_stat.h: Likewise.
58079         * sysdeps/unix/sysv/linux/ntp_gettimex.c: Likewise.
58080         * sysdeps/unix/sysv/linux/powerpc/bits/ipc.h: Likewise.
58081         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h: Likewise.
58082         * sysdeps/unix/sysv/linux/powerpc/bits/sem.h: Likewise.
58083         * sysdeps/unix/sysv/linux/powerpc/bits/shm.h: Likewise.
58084         * sysdeps/unix/sysv/linux/powerpc/bits/stat.h: Likewise.
58085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/kernel_stat.h: Likewise.
58086         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
58087         * sysdeps/unix/sysv/linux/s390/bits/ipc.h: Likewise.
58088         * sysdeps/unix/sysv/linux/s390/bits/msq.h: Likewise.
58089         * sysdeps/unix/sysv/linux/s390/bits/sem.h: Likewise.
58090         * sysdeps/unix/sysv/linux/s390/bits/shm.h: Likewise.
58091         * sysdeps/unix/sysv/linux/s390/bits/stat.h: Likewise.
58092         * sysdeps/unix/sysv/linux/s390/bits/utmp.h: Likewise.
58093         * sysdeps/unix/sysv/linux/s390/bits/utmpx.h: Likewise.
58094         * sysdeps/unix/sysv/linux/s390/s390-32/utmp32.h: Likewise.
58095         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
58096         * sysdeps/unix/sysv/linux/sh/bits/shm.h: Likewise.
58097         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
58098         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h: Likewise.
58099         * sysdeps/unix/sysv/linux/sparc/bits/msq.h: Likewise.
58100         * sysdeps/unix/sysv/linux/sparc/bits/sem.h: Likewise.
58101         * sysdeps/unix/sysv/linux/sparc/bits/shm.h: Likewise.
58102         * sysdeps/unix/sysv/linux/sparc/bits/stat.h: Likewise.
58103         * sysdeps/unix/sysv/linux/sparc/sparc32/kernel_stat.h: Likewise.
58104         * sysdeps/unix/sysv/linux/sparc/sparc64/kernel_stat.h: Likewise.
58105         * sysdeps/unix/sysv/linux/sparc/sparc64/xstatconv.c: Likewise.
58106         * sysdeps/unix/sysv/linux/sparc/sys/procfs.h: Likewise.
58107         * sysdeps/unix/sysv/linux/sys/timex.h: Likewise.
58108         * sysdeps/unix/sysv/linux/x86/bits/msq.h: Likewise.
58109         * sysdeps/unix/sysv/linux/x86/bits/sem.h: Likewise.
58110         * sysdeps/unix/sysv/linux/x86/bits/shm.h: Likewise.
58111         * sysdeps/unix/sysv/linux/x86/bits/stat.h: Likewise.
58112         * sysdeps/unix/sysv/linux/xstatconv.c: Likewise.
58113         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
58115 2013-11-25  Carlos O'Donell  <carlos@redhat.com>
58117         [BZ #16245]
58118         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes):
58119         Rename PTRAVE_EVENT_SECCOMP to PTRACE_EVENT_SECCOMP.
58121 2013-11-25  Joseph Myers  <joseph@codesourcery.com>
58123         * sysdeps/powerpc/nofpu/fenv_libc.h (__fegetround): New macro.
58124         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h (__fegetround):
58125         Likewise.
58127 2013-11-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58129         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Use
58130         SET_RESTORE_ROUND instead of feholdexcept/fesetround/fesetenv.
58131         * sysdeps/powerpc/fpu/fenv_libc.h (__fegetround): Remove define.
58132         (__fesetround): Remove define.
58133         * sysdeps/powerpc/fpu/fenv_private.h: New file: Inline floating point
58134         rounding and exceptions handling.
58135         * sysdeps/powerpc/fpu/math_private.h: Include fenv_private.h.
58136         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_mask_env): Define as hidden.
58137         (__fe_nomask_env): Likewise.
58138         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c (__llrintl): Use
58139         __fegetround instead of fegetround.
58140         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c (__lrintl): Likewise.
58141         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c (__rintl): Likewise.
58143 2013-11-21  Roland McGrath  <roland@hack.frob.com>
58145         * malloc/malloc.c: Move #include <sys/param.h> to the top; comment why
58146         it's there.
58148         * sysdeps/generic/sys/swap.h (swapon): Add FLAGS argument to prototype.
58150 2013-11-21  Meador Inge  <meadori@codesourcery.com>
58152         [BZ #11157]
58153         * crypt/crypt.h (encrypt): Use __glibc_block instead of __block.
58154         (encrypt_r): Likewise.
58155         * malloc/obstack.h (obstack_free): Likewise.
58156         * posix/unistd.h (encrypt): Likewise.
58158 2013-11-21  Guy Martin  <gmsoft@tuxicoman.be>
58160         * sysdeps/generic/ldsodefs.h: Replace DL_DT_INIT_ADDRESS() and
58161         DL_DT_FINI_ADDRESS() macro with DL_CALL_DT_INIT() and
58162         DL_CALL_DT_FINI() that call the functions directly.
58163         * elf/dl-init.c: Use the new DL_CALL_DT_INIT() macro.
58164         * elf/dl-close.c: Use the new DL_CALL_DT_FINI() macro.
58165         * elf/dl-fini.c: Likewise.
58167 2013-11-20  Ondřej Bílka  <neleai@seznam.cz>
58169         * malloc/hooks.c (memalign_check): Add alignment rounding.
58170         * malloc/malloc.c (_mid_memalign): New function.
58171         (__libc_valloc, __libc_pvalloc, __libc_memalign, __posix_memalign):
58172         Implement by calling _mid_memalign.
58173         * manual/probes.texi (Memory Allocation Probes): Remove
58174         memory_valloc_retry and memory_pvalloc_retry.
58176 2013-11-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
58178         * locale/programs/locarchive.c (open_archive): Add const
58179         qualifier to ARCHIVEFNAME and copy default fname to
58180         DEFAULT_FNAME.
58182         [BZ #15601]
58183         * libio/tst-widetext.input: Rename Oriya to Odia.
58184         * locale/iso-639.def: Likewise.
58186         * manual/probes.texi (Mathematical Function Probes): Add
58187         documentation for sin, cos, asin and acos probes.
58188         * sysdeps/ieee754/dbl-64/sincos32.c: Include stap-probe.h.
58189         (__sin32): Add slowasin probe.
58190         (__cos32): Add slowacos probe.
58191         (__mpsin): Add slowsin probe.
58192         (__mpcos): Add slowcos probe.
58194 2013-11-19  Joseph Myers  <joseph@codesourcery.com>
58196         [BZ #15483]
58197         * sysdeps/powerpc/nofpu/sim-full.c (__sim_exceptions): Change to
58198         thread-local __sim_exceptions_thread and global
58199         __sim_exceptions_global.
58200         (__sim_disabled_exceptions): Change to thread-local
58201         __sim_disabled_exceptions_thread and global
58202         __sim_disabled_exceptions_global.
58203         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
58204         and global __sim_round_mode_global.
58205         (__simulate_exceptions): Use thread-local floating-point state and
58206         set global state from it as needed.
58207         * sysdeps/powerpc/nofpu/Versions (GLIBC_PRIVATE): Add
58208         __sim_exceptions_thread, __sim_disabled_exceptions_thread and
58209         __sim_round_mode_thread.
58210         * sysdeps/powerpc/nofpu/soft-supp.h: Include <shlib-compat.h>.
58211         (__sim_exceptions): Change to thread-local __sim_exceptions_thread
58212         and global __sim_exceptions_global.
58213         (__sim_disabled_exceptions): Change to thread-local
58214         __sim_disabled_exceptions_thread and global
58215         __sim_disabled_exceptions_global.
58216         (__sim_round_mode): Change to thread-local __sim_round_mode_thread
58217         and global __sim_round_mode_global.
58218         [SIM_GLOBAL_COMPAT] (SIM_COMPAT_SYMBOL): New macro.
58219         (SIM_SET_GLOBAL): Likewise.
58220         * sysdeps/powerpc/soft-fp/sfp-machine.h
58221         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_ROUNDMODE): Use
58222         __sim_round_mode_thread.
58223         [!(__NO_FPRS__ && !_SOFT_FLOAT)] (FP_TRAPPING_EXCEPTIONS): Use
58224         __sim_disabled_exceptions_thread.
58225         (__sim_exceptions): Change to __sim_exceptions_thread.
58226         (__sim_disabled_exceptions): Change to
58227         __sim_disabled_exceptions_thread.
58228         (__sim_round_mode): Change to __sim_round_mode_thread.
58229         * sysdeps/powerpc/nofpu/fclrexcpt.c (__feclearexcept): Use
58230         thread-local floating-point state and set global state from it as
58231         needed.
58232         * sysdeps/powerpc/nofpu/fedisblxcpt.c (fedisableexcept): Likewise.
58233         * sysdeps/powerpc/nofpu/feenablxcpt.c: Include "soft-supp.h".
58234         (__sim_disabled_exceptions): Remove extern declaration.
58235         (feenableexcept): Use thread-local floating-point state and set
58236         global state from it as needed.
58237         * sysdeps/powerpc/nofpu/fegetenv.c (__sim_exceptions): Remove
58238         extern declaration.
58239         (__sim_disabled_exceptions): Likewise.
58240         (__sim_round_mode): Likewise.
58241         (__fegetenv): Use thread-local floating-point state.
58242         * sysdeps/powerpc/nofpu/fegetexcept.c (fegetexcept): Likewise.
58243         * sysdeps/powerpc/nofpu/fegetround.c (fegetround): Likewise.
58244         * sysdeps/powerpc/nofpu/fesetenv.c (__fesetenv): Use thread-local
58245         floating-point state and set global state from it as needed.
58246         * sysdeps/powerpc/nofpu/fesetround.c (fesetround): Likewise.
58247         * sysdeps/powerpc/nofpu/feupdateenv.c (__feupdateenv): Likewise.
58248         * sysdeps/powerpc/nofpu/fgetexcptflg.c (__fegetexceptflag):
58249         Likewise.
58250         * sysdeps/powerpc/nofpu/fraiseexcpt.c (__feraiseexcept): Likewise.
58251         * sysdeps/powerpc/nofpu/fsetexcptflg.c (__fesetexceptflag):
58252         Likewise.
58253         sysdeps/powerpc/nofpu/ftestexcept.c (fetestexcept): Likewise.
58254         * sysdeps/powerpc/nofpu/get-rounding-mode.h (get_rounding_mode):
58255         Use __sim_round_mode_thread.
58256         * math/test-fenv-tls.c: New file.
58257         * math/Makefile (tests): Add test-fenv-tls.
58258         ($(objpfx)test-fenv-tls): Depend on
58259         $(common-objpfx)nptl/libpthread.so.
58261 2013-11-19  Andreas Schwab  <schwab@suse.de>
58263         * locale/programs/locale.c (show_info): Decode wordarray elements.
58264         * locale/categories.def (LC_MONETARY): Add element for
58265         _NL_MONETARY_CRNCYSTR.
58266         * locale/C-monetary.c (conversion_rate): New variable.
58267         (_nl_C_LC_MONETARY): Use it for _NL_MONETARY_CONVERSION_RATE
58268         element.
58270 2013-11-18  Chris Metcalf  <cmetcalf@tilera.com>
58272         * math/test-fpucw-ieee.c [!defined _FPU_IEEE] (FPU_CONTROL):
58273         Omit definition of FPU_CONTROL and use default if no _FPU_IEEE.
58275 2013-11-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
58277         * elf/Makefile (tst-auxv): New test.
58278         * elf/tst-auxv.c: New
58279         * elf/rtld.c (dl_main): Adjust AT_EXECFN
58281 2013-11-18  Joseph Myers  <joseph@codesourcery.com>
58283         * include/libc-symbols.h (__hidden_proto): Add argument "thread".
58284         (hidden_proto): Caller changed.
58285         (hidden_tls_proto): New macro.
58286         (libc_hidden_tls_proto): Likewise.
58287         (rtld_hidden_tls_proto): Likewise.
58288         (libm_hidden_tls_proto): Likewise.
58289         (libresolv_hidden_tls_proto): Likewise.
58290         (librt_hidden_tls_proto): Likewise.
58291         (libdl_hidden_tls_proto): Likewise.
58292         (libnss_files_hidden_tls_proto): Likewise.
58293         (libnsl_hidden_tls_proto): Likewise.
58294         (libnss_nisplus_hidden_tls_proto): Likewise.
58295         (libutil_hidden_tls_proto): Likewise.
58297 2013-11-18  Ondřej Bílka  <neleai@seznam.cz>
58299         [BZ #10253]
58300         * elf/dl-load.c (fillin_rpath): Add linkmap parameter and expand path.
58301         (decompose_rpath): Defer expansion to fillin_rpath.
58302         (_dl_init_paths): Pass linkmap to fillin_rpath.
58304 2013-11-18  Rajalakshmi Srinivasaraghavan  <raji@linux.vnet.ibm.com>
58306         * benchtests/Makefile: Add strsep.
58307         * benchtests/bench-strsep.c: New file: strsep benchtest.
58308         * benchtests/bench-strsep-ifunc.c: New file: strsep benchtest.
58310 2013-11-18  Andreas Schwab  <schwab@suse.de>
58312         * locale/programs/locale.c (show_info) [case byte]: Check for
58313         '\377' instead of '\177'.
58314         * locale/C-monetary.c (not_available): Always use "\377".
58315         * stdlib/strfmon_l.c (__vstrfmon_l): Use -2 as marker for
58316         unspecified p_sign_posn and n_sign_posn.  Check for '\377' to
58317         detect unavailable sign_posn locale elements.
58318         * locale/localeconv.c (__localeconv): For grouping and
58319         mon_grouping handle "\177" and "\377" like no grouping.
58320         (INT_ELEM): New macro.  Use it to set all numeric members.
58321         * locale/programs/ld-monetary.c (monetary_read)
58322         <tok_mon_grouping>: Normalize single -1 to the empty string.
58323         * locale/programs/ld-numeric.c (numeric_read) <tok_grouping>:
58324         Likewise.
58326 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
58328         [BZ #16055]
58329         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Limit width
58330         when we match (nil).
58331         * stdio-common/tst-sscanf.c (struct test): Add testcase.
58333 2013-11-16  Joseph Myers  <joseph@codesourcery.com>
58335         * math/libm-test.inc (TEST_NAN_SIGN): New macro.
58336         (NO_TEST_INLINE): Update value.
58337         (ERRNO_UNCHANGED): Likewise.
58338         (ERRNO_EDOM): Likewise.
58339         (ERRNO_ERANGE): Likewise.
58340         (IGNORE_RESULT): Likewise.
58341         (check_float_internal): Check signs of NaN results if
58342         TEST_NAN_SIGN used.
58343         (check_complex): Pass TEST_NAN_SIGN flag through to second
58344         check_float_internal call.
58345         (copysign_test_data): Add tests with quiet NaNs as second
58346         argument.  Use TEST_NAN_SIGN.
58347         (fabs_test_data): Add test of negative quiet NaN argument.  Use
58348         TEST_NAN_SIGN.
58349         (signbit_test_data): Add tests of quiet NaN argument.
58350         * math/gen-libm-test.pl (parse_args): Handle TEST_NAN_SIGN.
58352         * math/gen-libm-test.pl (show_exceptions): Take extra argument
58353         $ignore_result.
58354         (parse_args): Handle function results specified as IGNORE.
58355         * math/libm-test.inc (IGNORE_RESULT): New macro.
58356         (check_float_internal): Do not check numerical result if flag
58357         IGNORE_RESULT set.
58358         (check_complex): Pass through IGNORE_RESULT to second
58359         check_float_internal call.
58360         (check_int): Do not check numerical result if flag IGNORE_RESULT
58361         set.
58362         (check_long): Likewise.
58363         (check_bool): Likewise.
58364         (check_longlong): Likewise.
58365         (lrint_test_data): Add tests of infinite and NaN arguments.
58366         (lrint_tonearest_test_data): Likewise.
58367         (lrint_towardzero_test_data): Likewise.
58368         (lrint_downward_test_data): Likewise.
58369         (lrint_upward_test_data): Likewise.
58370         (llrint_test_data): Likewise.
58371         (llrint_tonearest_test_data): Likewise.
58372         (llrint_towardzero_test_data): Likewise.
58373         (llrint_downward_test_data): Likewise.
58374         (llrint_upward_test_data): Likewise.
58375         (lround_test_data): Likewise.
58376         (llround_test_data): Likewise.
58378         * math/libm-test.inc (NO_TEST_INLINE): New macro.
58379         (ERRNO_UNCHANGED): Update value.
58380         (ERRNO_EDOM): Likewise.
58381         (ERRNO_ERANGE): Likewise.
58382         (NO_TEST_INLINE_FLOAT): New macro.
58383         (NO_TEST_INLINE_DOUBLE): Likewise.
58384         (enable_test): New function.
58385         (RUN_TEST_f_f): Check enable_test before running test.
58386         (RUN_TEST_2_f): Likewise.
58387         (RUN_TEST_fff_f): Likewise.
58388         (RUN_TEST_c_f): Likewise.
58389         (RUN_TEST_f_f1): Likewise.
58390         (RUN_TEST_fF_f1): Likewise.
58391         (RUN_TEST_fI_f1): Likewise.
58392         (RUN_TEST_ffI_f1): Likewise.
58393         (RUN_TEST_c_c): Likewise.
58394         (RUN_TEST_cc_c): Likewise.
58395         (RUN_TEST_f_i): Likewise.
58396         (RUN_TEST_f_i_tg): Likewise.
58397         (RUN_TEST_ff_i_tg): Likewise.
58398         (RUN_TEST_f_b): Likewise.
58399         (RUN_TEST_f_b_tg): Likewise.
58400         (RUN_TEST_f_l): Likewise.
58401         (RUN_TEST_f_L): Likewise.
58402         (RUN_TEST_fFF_11): Likewise.
58403         (asinh_test_data): Use NO_TEST_INLINE instead of [!TEST_INLINE]
58404         conditionals.
58405         (cosh_test_data): Likewise.
58406         (exp_test_data): Likewise.
58407         (expm1_test_data): Likewise.
58408         (hypot_test_data): Likewise.
58409         (pow_test_data): Likewise.
58410         (sinh_test_data): Likewise.
58411         (tanh_test_data): Likewise.
58412         * math/gen-libm-test.pl (parse_args): Allow NO_TEST_INLINE as
58413         flags argument.
58415         * libm-test.inc (acos_test_data): Disallow inexact exceptions for
58416         tests with quiet NaN input and output.
58417         (acosh_test_data): Likewise.
58418         (asin_test_data): Likewise.
58419         (asinh_test_data): Likewise.
58420         (atan_test_data): Likewise.
58421         (atanh_test_data): Likewise.
58422         (atan2_test_data): Likewise.
58423         (cbrt_test_data): Likewise.
58424         (cos_test_data): Likewise.
58425         (cosh_test_data): Likewise.
58426         (erf_test_data): Likewise.
58427         (erfc_test_data): Likewise.
58428         (exp_test_data): Likewise.
58429         (exp10_test_data): Likewise.
58430         (exp2_test_data): Likewise.
58431         (expm1_test_data): Likewise.
58432         (hypot_test_data): Likewise.
58433         (j0_test_data): Likewise.
58434         (j1_test_data): Likewise.
58435         (jn_test_data): Likewise.
58436         (lgamma_test_data): Likewise.
58437         (log_test_data): Likewise.
58438         (log10_test_data): Likewise.
58439         (log1p_test_data): Likewise.
58440         (log2_test_data): Likewise.
58441         (pow_test_data): Likewise.
58442         (scalb_test_data): Likewise.
58443         (sin_test_data): Likewise.
58444         (sincos_test_data): Likewise.
58445         (sinh_test_data): Likewise.
58446         (tan_test_data): Likewise.
58447         (tanh_test_data): Likewise.
58448         (tgamma_test_data): Likewise.
58449         (y0_test_data): Likewise.
58450         (y1_test_data): Likewise.
58451         (yn_test_data): Likewise.
58453         [BZ #16167]
58454         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Check for first
58455         argument being NaN and avoid computations with second argument in
58456         that case.
58457         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
58458         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.
58459         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
58461 2013-11-15  Arun Kumar Pyasi <arun@chitwanix.com>
58463         * locale/iso-639.def: Add Chitwani Tharu (the).
58465 2013-11-14  Andreas Schwab  <schwab@suse.de>
58467         * locale/C-address.c (_nl_C_LC_ADDRESS): Set country_num to zero
58468         word instead of empty string.
58470 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58472         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
58473         (__fe_nomask_env): Fir compat symbol to be remove for GLIBC_2.19.
58474         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
58475         (__fe_nomask_env): Likewise.
58477 2013-11-13  Steve Ellcey  <sellcey@mips.com>
58479         * benchtests/bench-timing.h: Include time.h.
58481 2013-11-13  H.J. Lu  <hongjiu.lu@intel.com>
58483         [BZ #15997]
58484         * sysdeps/unix/sysv/linux/configure.ac (arch_minimum_kernel): Set
58485         to 3.4.0 for x32.
58486         * sysdeps/unix/sysv/linux/configure: Regenerated.
58488 2013-11-13  Joseph Myers  <joseph@codesourcery.com>
58490         [BZ #16151]
58491         * stdlib/strtod_l.c (round_and_return): Do not consider
58492         retval[RETURN_LIBM_SIZE - 1] when determining more_bits for an
58493         exponent one less than half the least subnormal exponent.
58494         * stdlib/test-strtod-round-data: Add more tests.
58495         * stdlib/tst-strtod-round.c (tests): Regenerated.
58497 2013-11-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58499         [BZ #14143]
58500         * sysdeps/powerpc/bits/fenv.h (__fe_nomask_env): Remove declaration.
58501         (__fe_mask_env): Likewise.
58502         * sysdeps/powerpc/fpu/fenv_libc.h (__fe_nomask_env): Remove
58503         libm_hidden_proto and add function prototype.
58504         (__fe_mask_env): Add function prototype.
58505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
58506         (__fe_nomask_env): Add compat symbol for GLIBC_2.1.
58507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
58508         (__fe_mask_env): Remove compiler warnings regarding ununsed variables.
58509         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
58510         (__fe_nomask_env): Add compat symbol for GLIBC_2.3.
58512 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58514         * elf/dl-lookup.c (_dl_lookup_symbol_x): If UNDEF_MAP is false
58515         set reference_name to "" to avoid passing NULL to DSO_FILENAME.
58517 2013-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
58519         * elf/tlsdeschtab.h (_dl_make_tlsdesc_dynamic): Handle failure
58520         of htab_find_slot().
58522 2013-11-11  David S. Miller  <davem@davemloft.net>
58524         [BZ #16150]
58525         * sysdeps/sparc/sparc64/multiarch/add_n.S: Resolve to the correct generic
58526         symbol in the non-vis3 case in static builds.
58527         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: Likewise.
58528         * sysdeps/sparc/sparc64/multiarch/mul_1.S: Likewise.
58529         * sysdeps/sparc/sparc64/multiarch/sub_n.S: Likewise.
58530         * sysdeps/sparc/sparc64/multiarch/submul_1.S: Likewise.
58532 2013-11-11  Jan Kratochvil  <jan.kratochvil@redhat.com>
58534         [BZ #387]
58535         * elf/dl-object.c (_dl_new_object): Initialize L_NAME from NEWNAME if
58536         it is empty.
58538 2013-11-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58540         * benchtests/Makefile: Add bench-strtod.
58541         * benchtests/bench-strtod.c: New file: strtod benchtest
58543 2013-11-11  Andreas Schwab  <schwab@suse.de>
58545         [BZ #16153]
58546         * nscd/nscd_getserv_r.c (__nscd_getservbyport_r): Don't include
58547         terminating NUL in key length.
58549 2013-11-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58551         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET):
58552         Add artificial ODP entry for vDSO symbol for PPC64.
58553         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Adjust includes.
58554         * sysdeps/unix/sysv/linux/powerpc/time.c: Likewise.
58556 2013-11-07  Ondřej Bílka  <neleai@seznam.cz>
58558         [BZ #15374]
58559         * nss/getent.c (services_keys): Recognize services starting with digit.
58561 2013-11-06  David S. Miller  <davem@davemloft.net>
58563         [BZ #15985]
58564         * sysdeps/sparc/sparc32/fpu/s_fdim.S (__fdim): Do not use fnegd
58565         on pre-v9 cpus, use a fnegs+fmovs sequence instead.
58567 2013-11-06  Will Newton  <will.newton@linaro.org>
58569         * manual/memory.texi (Malloc Examples): Remove register
58570         keyword from examples.
58572 2013-11-04  Chris Leonard  <cjl@sugarlabs.org>
58574         * locale/iso-639.def: Correct Walaita (wal) and add Unami Delaware (unm).
58576 2013-11-04  Joseph Myers  <joseph@codesourcery.com>
58578         [BZ #6981]
58579         * include/stdc-predef.h [__GCC_IEC_559] (__STDC_IEC_559__): Define
58580         depending on [__GCC_IEC_559 > 0].
58581         [__GCC_IEC_559_COMPLEX] (__STDC_IEC_559_COMPLEX__): Define
58582         depending on [__GCC_IEC_559_COMPLEX > 0].
58584 2013-11-03  Chris Leonard  <cjl@sugarlabs.org>
58586         * locale/iso-639.def: Add Quechua, Southern (quz) and Silesian (szl)
58587         to iso-639.def.
58589 2013-11-03  Ondřej Bílka  <neleai@seznam.cz>
58591         * elf/rtld.c: Remove unused NONTLS_INIT_TP.
58593 2013-11-01  Ondřej Bílka  <neleai@seznam.cz>
58595         [BZ #16112]
58596         * malloc/malloc (malloc_info): Do not handle first bin as
58597         special case.
58599 2013-11-01  Chris Leonard  <cjl@sugarlabs.org>
58601         * locale/iso-639.def: Add Central Nahuatl (nhn).
58603 2013-11-01  Bruno Haible  <bruno@clisp.org>
58605         [BZ #7003]
58606         * manual/math.texi (BSD Random): Specify range upper bound as
58607         in POSIX.
58609 2013-10-31  Chris Leonard  <cjl@sugarlabs.org>
58611         * locale/iso-639.def: Add Meadow Mari (mhr).
58613 2013-10-31  Ondřej Bílka  <neleai@seznam.cz>
58615         [BZ #14752], [BZ #15763]
58616         * sysdeps/unix/sysv/linux/shm_open.c (shm_open, shm_unlink):
58617         Validate name.
58618         * rt/tst_shm.c: Add test for escaping directory.
58620 2013-10-31  Andreas Schwab  <schwab@suse.de>
58622         [BZ #15917]
58623         * stdio-common/vfscanf.c (_IO_vfwscanf): Handle leading '0' not
58624         followed by 'x' as part of digit sequence.
58625         * stdio-common/tst-sscanf.c (double_tests2): New tests.
58627 2013-10-31  Marc-Antoine Perennou <Marc-Antoine@Perennou.com>
58629         [BZ #16037]
58630         * configure.ac: allow GNU Make 4.0 and greater.
58631         * configure: Regenerated.
58633 2013-10-30  Will Newton  <will.newton@linaro.org>
58635         [BZ #16038]
58636         * malloc/hooks.c (memalign_check): Limit alignment to the
58637         maximum representable power of two.
58638         * malloc/malloc.c (__libc_memalign): Likewise.
58639         * malloc/tst-memalign.c (do_test): Add test for very
58640         large alignment values.
58641         * malloc/tst-posix_memalign.c (do_test): Likewise.
58643 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
58645         [BZ #11087]
58646         * malloc/malloc.c (sysmalloc): Compute statistics atomically.
58647         (munmap_chunk): Likewise.
58648         (mremap_chunk): Likewise.
58650 2013-10-30  Ondřej Bílka  <neleai@seznam.cz>
58652         [BZ #15799]
58653         * stdlib/div.c (div): Remove obsolete code.
58654         * stdlib/ldiv.c (ldiv): Likewise.
58655         * stdlib/lldiv.c (lldiv): Likewise.
58657 2013-10-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
58659         [BZ #16071]
58660         * nss/nss_files/files-XXX.c (get_contents_ret): New
58661         enumerator.
58662         (get_contents): New function.
58663         (internal_getent): Use it.  Expand size of LINEBUFLEN.
58665 2013-10-30  Mike Frysinger  <vapier@gentoo.org>
58667         * configure.in: Moved to ...
58668         * configure.ac: ... here. Change reference to configure.in
58669         to configure.ac.
58670         * sysdeps/arm/preconfigure.ac: ... here.
58671         configure.in to configure.ac.
58672         * sysdeps/gnu/configure.in: Moved to ...
58673         * sysdeps/gnu/configure.ac: ... here.
58674         * sysdeps/i386/configure.in: Moved to ...
58675         * sysdeps/i386/configure.ac: ... here.
58676         * sysdeps/ieee754/ldbl-opt/configure.in: Moved to ...
58677         * sysdeps/ieee754/ldbl-opt/configure.ac: ... here.
58678         * sysdeps/mach/configure.in: Moved to ...
58679         * sysdeps/mach/configure.ac: ... here.
58680         * sysdeps/mach/hurd/configure.in: Moved to ...
58681         * sysdeps/mach/hurd/configure.ac: ... here.
58682         * sysdeps/powerpc/configure.in: Moved to ...
58683         * sysdeps/powerpc/configure.ac: ... here.
58684         * sysdeps/powerpc/powerpc32/configure.in: Moved to ...
58685         * sysdeps/powerpc/powerpc32/configure.ac: ... here.
58686         * sysdeps/powerpc/powerpc64/configure.in: Moved to ...
58687         * sysdeps/powerpc/powerpc64/configure.ac: ... here.
58688         * sysdeps/s390/s390-32/configure.in: Moved to ...
58689         * sysdeps/s390/s390-32/configure.ac: ... here.
58690         * sysdeps/s390/s390-64/configure.in: Moved to ...
58691         * sysdeps/s390/s390-64/configure.ac: ... here.
58692         * sysdeps/sh/configure.in: Moved to ...
58693         * sysdeps/sh/configure.ac: ... here.
58694         * sysdeps/sparc/configure.in: Moved to ...
58695         * sysdeps/sparc/configure.ac: ... here.
58696         * sysdeps/unix/sysv/linux/configure.in: Moved to ...
58697         * sysdeps/unix/sysv/linux/configure.ac: ... here.
58698         * sysdeps/unix/sysv/linux/powerpc/configure.in: Moved to ...
58699         * sysdeps/unix/sysv/linux/powerpc/configure.ac: ... here.
58700         * sysdeps/x86_64/configure.in: Moved to ...
58701         * sysdeps/x86_64/configure.ac: ... here.
58702         * sysdeps/x86_64/preconfigure.in: Moved to ...
58703         * sysdeps/x86_64/preconfigure.ac: ... here.
58704         * aclocal.m4: Change reference to configure.in to configure.ac.
58705         * config.h.in: Likewise.
58706         * manual/install.texi: Likewise.
58707         * manual/maint.texi: Likewise.
58708         * Makefile: Likewise.
58709         * malloc/Makefile: Likewise.
58710         * nscd/Makefile: Likewise.
58711         * Makeconfig: Change reference to configure.in and
58712         preconfigure.in to configure.ac and preconfigure.ac
58713         respectively.
58714         * INSTALL: Regenerated.
58715         * configure: Likewise.
58716         * sysdeps/gnu/configure: Likewise.
58717         * sysdeps/i386/configure: Likewise.
58718         * sysdeps/ieee754/ldbl-opt/configure: Likewise.
58719         * sysdeps/mach/configure: Likewise.
58720         * sysdeps/mach/hurd/configure: Likewise.
58721         * sysdeps/powerpc/configure: Likewise.
58722         * sysdeps/powerpc/powerpc32/configure: Likewise.
58723         * sysdeps/powerpc/powerpc64/configure: Likewise.
58724         * sysdeps/s390/s390-32/configure: Likewise.
58725         * sysdeps/s390/s390-64/configure: Likewise.
58726         * sysdeps/sh/configure: Likewise.
58727         * sysdeps/sparc/configure: Likewise.
58728         * sysdeps/unix/sysv/linux/configure: Likewise.
58729         * sysdeps/unix/sysv/linux/powerpc/configure: Likewise.
58730         * sysdeps/x86_64/configure: Likewise.
58731         * sysdeps/x86_64/preconfigure: Likewise.
58733 2013-10-29  Andreas Schwab  <schwab@suse.de>
58735         * stdio-common/Makefile (tst-swscanf-ENV): Define.
58737 2013-10-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
58739         * benchtests/pow-inputs: Add new inputs.
58741         * benchtests/exp-inputs: Add new inputs.
58743         * sysdeps/ieee754/dbl-64/sincos32.c (__sin32): Consolidate
58744         conditional check for return value.
58745         (__cos32): Likewise.
58747 2013-10-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
58749         * sysdeps/powerpc/powerpc64/strcpy.S (strcpy): Add word load/store
58750         to provide a boost for large inputs with word alignment.
58751         * sysdeps/powerpc/powerpc64/stpcpy.S (__stpcpy): Rewrite
58752         implementation based on optimized PPC64 strcpy.
58753         * sysdeps/powerpc/powerpc64/power7/strcpy.S: New file: optimized
58754         strcpy for PPC64/POWER7 based on both doubleword and word load/store.
58755         * sysdeps/powerpc/powerpc64/power7/stpcpy.S: New file: optimized
58756         stpcpy for PPC64/POWER7 based on PPC64/POWER7 strcpy.
58758 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
58760         [BZ #2801]
58761         * manual/socket.texi (Host Names): Fix gethostbyname_r example.
58763 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
58765         [BZ #14876]
58766         * time/strptime_l.c (__strptime_internal): 14876 Read timezone entry.
58767         * time/tst-strptime.c (day_tests): Add testcase.
58769 2013-10-25   Ondřej Bílka  <neleai@seznam.cz>
58771         [BZ #14029]
58772         * manual/pattern.texi: Acknowledge that fnmatch can fail.
58774 2013-10-25  Fabrice Bauzac  <fbauzac@debian71.nce.amadeus.net>
58776         [BZ #16074]
58777         * manual/llio.texi (Memory-mapped I/O): Indicate that mmap returns
58778         MAP_FAILED on error.
58780 2013-10-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
58782         [BZ #16072]
58783         * sysdeps/posix/getaddrinfo.c (gethosts): Allocate tmpbuf on
58784         heap for large requests.
58786 2013-10-25  Aurelien Jarno  <aurelien@aurel32.net>
58788         [BZ #9954]
58789         * sysdeps/posix/getaddrinfo.c (rfc3484_sort): do not assign native
58790         result if the result has no associated interface.
58791         * sysdeps/posix/getaddrinfo.c (getaddrinfo): correctly detect
58792         interface for all 127.X.Y.Z addresses.
58794 2013-10-24  Chris Leonard  <cjl@sugarlabs.org>
58796         * locale/iso-639.def: Add Ligurian (lij)
58798 2013-10-21  Ondřej Bílka  <neleai@seznam.cz>
58800         [BZ #15825]
58801         * sunrpc/rpc_main.c: Document rpcgen -5.
58803 2013-10-19  Michael Stahl  <mstahl@redhat.com>
58805         * elf/rtld.c (do_preload): Print the reason why preloading failed.
58807 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
58809         [BZ #10278]
58810         * posix/glob.c: Match only directories when trailing slash is present.
58811         * posix/tst-gnuglob.c (my_opendir): Do not open files.
58812         (main): Add testcase.
58814 2013-10-19  Ondřej Bílka  <neleai@seznam.cz>
58816         [BZ #15670]
58817         * time/tzfile.c (__tzfile_read): Replace alloca with malloc.
58819 2013-10-18  Carlos O'Donell  <carlos@redhat.com>
58821         * manual/crypt.texi (Cryptographic Functions): Using SunRPC and
58822         AUTH_DES will prevent FIPS 140-2 compliance. Add vindex for
58823         AUTH_DES and cindex for FIPS 140-2.
58824         (DES Encryption): Add cindex FIPS 46-3.
58826         * locale/locarchive.h (struct locarhandle): Add fname.
58827         * locale/programs/localedef.c (main): Pass ARGV[remaining]
58828         if an optional argument was specified to --list-archive,
58829         otherwise NULL.
58830         * locale/programs/locarchive.c (show_archive_content): Take new
58831         argument fname and pass it via ah.fname to open_archive.
58832         * locale/programs/localedef.h: Update decl.
58833         (open_archive): If AH->fname is non-null, open that file
58834         rather than the default file name, and don't ignore ENOENT.
58835         (create_archive): Set AH.fname to NULL.
58836         (delete_locales_from_archive): Likewise.
58837         (add_locales_to_archive): Likewise.
58838         * locale/programs/locfile.c (write_all_categories): Likewise.
58840 2013-10-18  Joseph Myers  <joseph@codesourcery.com>
58841             Aldy Hernandez  <aldyh@redhat.com>
58843         * sysdeps/powerpc/powerpc32/e500/nofpu/Makefile: New file.
58844         * sysdeps/powerpc/powerpc32/e500/nofpu/fclrexcpt.c: Likewise.
58845         * sysdeps/powerpc/powerpc32/e500/nofpu/fe_note_change.c: Likewise.
58846         * sysdeps/powerpc/powerpc32/e500/nofpu/fedisblxcpt.c: Likewise.
58847         * sysdeps/powerpc/powerpc32/e500/nofpu/feenablxcpt.c: Likewise.
58848         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetenv.c: Likewise.
58849         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetexcept.c: Likewise.
58850         * sysdeps/powerpc/powerpc32/e500/nofpu/fegetround.c: Likewise.
58851         * sysdeps/powerpc/powerpc32/e500/nofpu/feholdexcpt.c: Likewise.
58852         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_const.c: Likewise.
58853         * sysdeps/powerpc/powerpc32/e500/nofpu/fenv_libc.h: Likewise.
58854         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetenv.c: Likewise.
58855         * sysdeps/powerpc/powerpc32/e500/nofpu/fesetround.c: Likewise.
58856         * sysdeps/powerpc/powerpc32/e500/nofpu/feupdateenv.c: Likewise.
58857         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_prctl.c:
58858         Likewise.
58859         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_from_spe.c:
58860         Likewise.
58861         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_prctl.c:
58862         Likewise.
58863         * sysdeps/powerpc/powerpc32/e500/nofpu/fexcepts_to_spe.c:
58864         Likewise.
58865         * sysdeps/powerpc/powerpc32/e500/nofpu/fgetexcptflg.c: Likewise.
58866         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcept-soft.c:
58867         Likewise.
58868         * sysdeps/powerpc/powerpc32/e500/nofpu/fraiseexcpt.c: Likewise.
58869         * sysdeps/powerpc/powerpc32/e500/nofpu/fsetexcptflg.c: Likewise.
58870         * sysdeps/powerpc/powerpc32/e500/nofpu/ftestexcept.c: Likewise.
58871         * sysdeps/powerpc/powerpc32/e500/nofpu/get-rounding-mode.h:
58872         Likewise.
58873         * sysdeps/powerpc/powerpc32/e500/nofpu/s_fabsf.S: Likewise.
58874         * sysdeps/powerpc/powerpc32/e500/nofpu/spe-raise.c: Likewise.
58875         * sysdeps/powerpc/preconfigure: Likewise.
58876         * sysdeps/unix/sysv/linux/powerpc/powerpc32/e500/nofpu/Implies:
58877         Likewise.
58878         * sysdeps/powerpc/nofpu/soft-supp.h [__NO_FPRS__ && !_SOFT_FLOAT]:
58879         Replace contents of file by #include of <fenv_libc.h>.
58880         * sysdeps/powerpc/soft-fp/sfp-machine.h
58881         [__NO_FPRS__ && !_SOFT_FLOAT]: Include <fenv_libc.h>, <sysdep.h>
58882         and <sys/prctl.h>.
58883         [__NO_FPRS__ && !_SOFT_FLOAT] (__feraiseexcept_soft): Declare.
58884         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INEXACT): Define macro.
58885         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_INVALID): Likewise.
58886         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_DIVZERO): Likewise.
58887         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_UNDERFLOW): Likewise.
58888         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_EX_OVERFLOW): Likewise.
58889         [__NO_FPRS__ && !_SOFT_FLOAT] (_FP_DECL_EX): Likewise.
58890         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_ROUNDMODE): Likewise.
58891         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_INIT_EXCEPTIONS): Likewise.
58892         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_HANDLE_EXCEPTIONS): Likewise.
58893         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_ROUNDMODE): Likewise.
58894         [__NO_FPRS__ && !_SOFT_FLOAT] (FP_TRAPPING_EXCEPTIONS): Likewise.
58895         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu/nptl/localplt.data:
58896         Allow copysignl PLT reference to be missing.
58898 2013-10-18  Richard Sandiford  <richard@codesourcery.com>
58899             Joseph Myers  <joseph@codesourcery.com
58901         [BZ #15948]
58902         * locale/programs/ld-collate.c (new_element): Handle <U0000> as a
58903         single character.
58904         (add_to_tablewc): Assert sequence of wide characters is nonempty.
58906 2013-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
58908         * elf/tst-tls-dlinfo.c: Don't include tls.h.
58909         * elf/tst-tls1.c: Likewise.
58910         * elf/tst-tls10.h: Likewise.
58911         * elf/tst-tls14.c: Likewise.
58912         * elf/tst-tls2.c: Likewise.
58913         * elf/tst-tls3.c: Likewise.
58914         * elf/tst-tls4.c: Likewise.
58915         * elf/tst-tls5.c: Likewise.
58916         * elf/tst-tls6.c: Likewise.
58917         * elf/tst-tls7.c: Likewise.
58918         * elf/tst-tls8.c: Likewise.
58919         * elf/tst-tls9.c: Likewise.
58920         * elf/tst-tlsmod1.c: Likewise.
58921         * elf/tst-tlsmod13.c: Likewise.
58922         * elf/tst-tlsmod13a.c: Likewise.
58923         * elf/tst-tlsmod14a.c: Likewise.
58924         * elf/tst-tlsmod16a.c: Likewise.
58925         * elf/tst-tlsmod16b.c: Likewise.
58926         * elf/tst-tlsmod2.c: Likewise.
58927         * elf/tst-tlsmod3.c: Likewise.
58928         * elf/tst-tlsmod4.c: Likewise.
58929         * elf/tst-tlsmod5.c: Likewise.
58930         * elf/tst-tlsmod6.c: Likewise.
58932 2013-10-18  Ondřej Bílka  <neleai@seznam.cz>
58934         [BZ #12486]
58935         * malloc/malloc.c: remove checks for statistics.
58937 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
58939         [BZ #15277]
58940         * inet/inet_net.c (inet_network): Detect additional invalid strings.
58941         * inet/tst-network.c: Add testcase.
58943 2013-10-17  Andreas Schwab  <schwab@suse.de>
58945         [BZ #15218]
58946         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't use gethostbyaddr
58947         to determine canonical name.
58949 2013-10-17  Ondřej Bílka  <neleai@seznam.cz>
58951         * sysdeps/ieee754/dbl-64/dbl2mpn.c: Fix formatting.
58952         * sysdeps/ieee754/dbl-64/dla.h: Likewise.
58953         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
58954         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
58955         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
58956         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
58957         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
58958         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
58959         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
58960         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
58961         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
58962         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
58963         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
58964         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
58965         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
58966         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
58967         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
58968         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
58969         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
58970         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
58971         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
58972         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
58973         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
58974         * sysdeps/ieee754/dbl-64/MathLib.h: Likewise.
58975         * sysdeps/ieee754/dbl-64/mpa-arch.h: Likewise.
58976         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
58977         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
58978         * sysdeps/ieee754/dbl-64/mpn2dbl.c: Likewise.
58979         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
58980         * sysdeps/ieee754/dbl-64/mydefs.h: Likewise.
58981         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
58982         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
58983         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
58984         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
58985         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
58986         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
58987         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
58988         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
58989         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
58990         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
58991         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
58992         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
58993         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
58994         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
58995         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
58996         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
58997         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
58998         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
58999         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
59000         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
59001         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
59002         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
59003         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
59004         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
59005         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
59006         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
59007         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
59008         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
59010 2013-10-17  Joseph Myers  <joseph@codesourcery.com>
59012         [BZ #16041]
59013         * soft-fp/op-common.h (FP_EXTEND): When input is a signaling NaN,
59014         make result into a quiet NaN.
59016 2013-10-16  Joseph Myers  <joseph@codesourcery.com>
59018         * soft-fp/adddf3.c: Fix horizontal whitespace.
59019         * soft-fp/addsf3.c: Likewise.
59020         * soft-fp/addtf3.c: Likewise.
59021         * soft-fp/divdf3.c: Likewise.
59022         * soft-fp/divsf3.c: Likewise.
59023         * soft-fp/divtf3.c: Likewise.
59024         * soft-fp/double.h: Likewise.
59025         * soft-fp/eqdf2.c: Likewise.
59026         * soft-fp/eqsf2.c: Likewise.
59027         * soft-fp/eqtf2.c: Likewise.
59028         * soft-fp/extenddftf2.c: Likewise.
59029         * soft-fp/extended.h: Likewise.
59030         * soft-fp/extendsfdf2.c: Likewise.
59031         * soft-fp/extendsftf2.c: Likewise.
59032         * soft-fp/extendxftf2.c: Likewise.
59033         * soft-fp/fixdfdi.c: Likewise.
59034         * soft-fp/fixdfsi.c: Likewise.
59035         * soft-fp/fixdfti.c: Likewise.
59036         * soft-fp/fixsfdi.c: Likewise.
59037         * soft-fp/fixsfsi.c: Likewise.
59038         * soft-fp/fixsfti.c: Likewise.
59039         * soft-fp/fixtfdi.c: Likewise.
59040         * soft-fp/fixtfsi.c: Likewise.
59041         * soft-fp/fixtfti.c: Likewise.
59042         * soft-fp/fixunsdfdi.c: Likewise.
59043         * soft-fp/fixunsdfsi.c: Likewise.
59044         * soft-fp/fixunsdfti.c: Likewise.
59045         * soft-fp/fixunssfdi.c: Likewise.
59046         * soft-fp/fixunssfsi.c: Likewise.
59047         * soft-fp/fixunssfti.c: Likewise.
59048         * soft-fp/fixunstfdi.c: Likewise.
59049         * soft-fp/fixunstfsi.c: Likewise.
59050         * soft-fp/fixunstfti.c: Likewise.
59051         * soft-fp/floatdidf.c: Likewise.
59052         * soft-fp/floatdisf.c: Likewise.
59053         * soft-fp/floatditf.c: Likewise.
59054         * soft-fp/floatsidf.c: Likewise.
59055         * soft-fp/floatsisf.c: Likewise.
59056         * soft-fp/floatsitf.c: Likewise.
59057         * soft-fp/floattidf.c: Likewise.
59058         * soft-fp/floattisf.c: Likewise.
59059         * soft-fp/floattitf.c: Likewise.
59060         * soft-fp/floatundidf.c: Likewise.
59061         * soft-fp/floatundisf.c: Likewise.
59062         * soft-fp/floatunditf.c: Likewise.
59063         * soft-fp/floatunsidf.c: Likewise.
59064         * soft-fp/floatunsisf.c: Likewise.
59065         * soft-fp/floatunsitf.c: Likewise.
59066         * soft-fp/floatuntidf.c: Likewise.
59067         * soft-fp/floatuntisf.c: Likewise.
59068         * soft-fp/floatuntitf.c: Likewise.
59069         * soft-fp/fmadf4.c: Likewise.
59070         * soft-fp/fmasf4.c: Likewise.
59071         * soft-fp/fmatf4.c: Likewise.
59072         * soft-fp/gedf2.c: Likewise.
59073         * soft-fp/gesf2.c: Likewise.
59074         * soft-fp/getf2.c: Likewise.
59075         * soft-fp/ledf2.c: Likewise.
59076         * soft-fp/lesf2.c: Likewise.
59077         * soft-fp/letf2.c: Likewise.
59078         * soft-fp/muldf3.c: Likewise.
59079         * soft-fp/mulsf3.c: Likewise.
59080         * soft-fp/multf3.c: Likewise.
59081         * soft-fp/negdf2.c: Likewise.
59082         * soft-fp/negsf2.c: Likewise.
59083         * soft-fp/negtf2.c: Likewise.
59084         * soft-fp/op-1.h: Likewise.
59085         * soft-fp/op-2.h: Likewise.
59086         * soft-fp/op-4.h: Likewise.
59087         * soft-fp/op-8.h: Likewise.
59088         * soft-fp/op-common.h: Likewise.
59089         * soft-fp/quad.h: Likewise.
59090         * soft-fp/single.h: Likewise.
59091         * soft-fp/soft-fp.h: Likewise.
59092         * soft-fp/sqrtdf2.c: Likewise.
59093         * soft-fp/sqrtsf2.c: Likewise.
59094         * soft-fp/sqrttf2.c: Likewise.
59095         * soft-fp/subdf3.c: Likewise.
59096         * soft-fp/subsf3.c: Likewise.
59097         * soft-fp/subtf3.c: Likewise.
59098         * soft-fp/truncdfsf2.c: Likewise.
59099         * soft-fp/trunctfdf2.c: Likewise.
59100         * soft-fp/trunctfsf2.c: Likewise.
59101         * soft-fp/trunctfxf2.c: Likewise.
59102         * soft-fp/unorddf2.c: Likewise.
59103         * soft-fp/unordsf2.c: Likewise.
59104         * soft-fp/unordtf2.c: Likewise.
59106 2013-10-15  Joseph Myers  <joseph@codesourcery.com>
59108         * soft-fp/op-2.h (_FP_DIV_MEAT_2_gmp): Remove macro.
59109         * soft-fp/soft-fp.h (FP_UNSET_EXCEPTION): Likewise.
59111 2013-10-15   Ondřej Bílka  <neleai@seznam.cz>
59113         * elf/dl-libc.c: Clear initfini list after freeing.
59115 2013-10-14  Joseph Myers  <joseph@codesourcery.com>
59117         * soft-fp/adddf3.c: Fix vertical whitespace and indentation.
59118         * soft-fp/addsf3.c: Likewise.
59119         * soft-fp/addtf3.c: Likewise.
59120         * soft-fp/divdf3.c: Likewise.
59121         * soft-fp/divsf3.c: Likewise.
59122         * soft-fp/divtf3.c: Likewise.
59123         * soft-fp/double.h: Likewise.
59124         * soft-fp/eqdf2.c: Likewise.
59125         * soft-fp/eqsf2.c: Likewise.
59126         * soft-fp/eqtf2.c: Likewise.
59127         * soft-fp/extenddftf2.c: Likewise.
59128         * soft-fp/extended.h: Likewise.
59129         * soft-fp/extendsfdf2.c: Likewise.
59130         * soft-fp/extendsftf2.c: Likewise.
59131         * soft-fp/extendxftf2.c: Likewise.
59132         * soft-fp/fixdfdi.c: Likewise.
59133         * soft-fp/fixdfsi.c: Likewise.
59134         * soft-fp/fixdfti.c: Likewise.
59135         * soft-fp/fixsfdi.c: Likewise.
59136         * soft-fp/fixsfsi.c: Likewise.
59137         * soft-fp/fixsfti.c: Likewise.
59138         * soft-fp/fixtfdi.c: Likewise.
59139         * soft-fp/fixtfsi.c: Likewise.
59140         * soft-fp/fixtfti.c: Likewise.
59141         * soft-fp/fixunsdfdi.c: Likewise.
59142         * soft-fp/fixunsdfsi.c: Likewise.
59143         * soft-fp/fixunsdfti.c: Likewise.
59144         * soft-fp/fixunssfdi.c: Likewise.
59145         * soft-fp/fixunssfsi.c: Likewise.
59146         * soft-fp/fixunssfti.c: Likewise.
59147         * soft-fp/fixunstfdi.c: Likewise.
59148         * soft-fp/fixunstfsi.c: Likewise.
59149         * soft-fp/fixunstfti.c: Likewise.
59150         * soft-fp/floatdidf.c: Likewise.
59151         * soft-fp/floatdisf.c: Likewise.
59152         * soft-fp/floatditf.c: Likewise.
59153         * soft-fp/floatsidf.c: Likewise.
59154         * soft-fp/floatsisf.c: Likewise.
59155         * soft-fp/floatsitf.c: Likewise.
59156         * soft-fp/floattidf.c: Likewise.
59157         * soft-fp/floattisf.c: Likewise.
59158         * soft-fp/floattitf.c: Likewise.
59159         * soft-fp/floatundidf.c: Likewise.
59160         * soft-fp/floatundisf.c: Likewise.
59161         * soft-fp/floatunsidf.c: Likewise.
59162         * soft-fp/floatunsisf.c: Likewise.
59163         * soft-fp/floatuntidf.c: Likewise.
59164         * soft-fp/floatuntisf.c: Likewise.
59165         * soft-fp/floatuntitf.c: Likewise.
59166         * soft-fp/fmadf4.c: Likewise.
59167         * soft-fp/fmasf4.c: Likewise.
59168         * soft-fp/fmatf4.c: Likewise.
59169         * soft-fp/gedf2.c: Likewise.
59170         * soft-fp/gesf2.c: Likewise.
59171         * soft-fp/getf2.c: Likewise.
59172         * soft-fp/ledf2.c: Likewise.
59173         * soft-fp/lesf2.c: Likewise.
59174         * soft-fp/letf2.c: Likewise.
59175         * soft-fp/muldf3.c: Likewise.
59176         * soft-fp/mulsf3.c: Likewise.
59177         * soft-fp/multf3.c: Likewise.
59178         * soft-fp/negdf2.c: Likewise.
59179         * soft-fp/negsf2.c: Likewise.
59180         * soft-fp/negtf2.c: Likewise.
59181         * soft-fp/op-1.h: Likewise.
59182         * soft-fp/op-2.h: Likewise.
59183         * soft-fp/op-4.h: Likewise.
59184         * soft-fp/op-8.h: Likewise.
59185         * soft-fp/op-common.h: Likewise.
59186         * soft-fp/quad.h: Likewise.
59187         * soft-fp/single.h: Likewise.
59188         * soft-fp/soft-fp.h: Likewise.
59189         * soft-fp/sqrtdf2.c: Likewise.
59190         * soft-fp/sqrtsf2.c: Likewise.
59191         * soft-fp/sqrttf2.c: Likewise.
59192         * soft-fp/subdf3.c: Likewise.
59193         * soft-fp/subsf3.c: Likewise.
59194         * soft-fp/subtf3.c: Likewise.
59195         * soft-fp/truncdfsf2.c: Likewise.
59196         * soft-fp/trunctfdf2.c: Likewise.
59197         * soft-fp/trunctfsf2.c: Likewise.
59198         * soft-fp/trunctfxf2.c: Likewise.
59199         * soft-fp/unorddf2.c: Likewise.
59200         * soft-fp/unordsf2.c: Likewise.
59201         * soft-fp/unordtf2.c: Likewise.
59203 2013-10-14   Ondřej Bílka  <neleai@seznam.cz>
59205         [BZ #15672]
59206         * misc/error.c (error_tail): Fix possible buffer overflow.
59208 2013-10-14  Aurelien Jarno  <aurelien@aurel32.net>
59210         [BZ #13028]
59211         * res_send.c(__libc_res_nsend): Correctly copy the nameserver
59212         address.
59214 2013-10-14  P. J. McDermott  <pj@pehjota.net>
59216         [BZ #832]
59217         * elf/ldd.bash.in (try_trace): New function.  Delete previous code
59218         testing pipefail option.
59220 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
59222         * soft-fp/double.h: Indent preprocessor directives inside #if.
59223         * soft-fp/extended.h: Likewise.
59224         * soft-fp/op-2.h: Likewise.
59225         * soft-fp/op-4.h: Likewise.
59226         * soft-fp/op-common.h: Likewise.
59227         * soft-fp/quad.h: Likewise.
59228         * soft-fp/single.h: Likewise.
59229         * soft-fp/soft-fp.h: Likewise.
59231 2013-10-12   Yuri Chornoivan <yurchor@ukr.net>
59233         * iconv/iconv_prog.c: Fix typos.
59234         * stdio-common/psiginfo-data.h: Likewise.
59236 2013-10-12   Reuben Thomas <rrt@sc3d.org>
59238         [BZ #15764]
59239         * locale/setlocale.c: Fix typo.
59241 2013-10-12  Joseph Myers  <joseph@codesourcery.com>
59243         [BZ #16036]
59244         * soft-fp/unorddf2.c (__unorddf2): Raise "invalid" exception for
59245         signaling NaN arguments.
59246         * soft-fp/unordsf2.c (__unordsf2): Likewise.
59247         * soft-fp/unordtf2.c (__unordtf2): Likewise.
59249         [BZ #14910]
59250         * soft-fp/gedf2.c (__gedf2): Raise "invalid" exception for all
59251         unordered operands.
59252         * soft-fp/gesf2.c (__gesf2): Likewise.
59253         * soft-fp/getf2.c (__getf2): Likewise.
59254         * soft-fp/ledf2.c (__ledf2): Likewise.
59255         * soft-fp/lesf2.c (__lesf2): Likewise.
59256         * soft-fp/letf2.c (__letf2): Likewise.
59258         * soft-fp/eqdf2.c (__eqdf2): Use FP_INIT_EXCEPTIONS.
59259         * soft-fp/eqsf2.c (__eqsf2): Likewise.
59260         * soft-fp/eqtf2.c (__eqtf2): Likewise.
59261         * soft-fp/fixdfdi.c (__fixdfdi): Likewise.
59262         * soft-fp/fixdfsi.c (__fixdfsi): Likewise.
59263         * soft-fp/fixdfti.c (__fixdfti): Likewise.
59264         * soft-fp/fixsfdi.c (__fixsfdi): Likewise.
59265         * soft-fp/fixsfsi.c (__fixsfsi): Likewise.
59266         * soft-fp/fixsfti.c (__fixsfti): Likewise.
59267         * soft-fp/fixtfdi.c (__fixtfdi): Likewise.
59268         * soft-fp/fixtfsi.c (__fixtfsi): Likewise.
59269         * soft-fp/fixtfti.c (__fixtfti): Likewise.
59270         * soft-fp/fixunsdfdi.c (__fixunsdfdi): Likewise.
59271         * soft-fp/fixunsdfsi.c (__fixunsdfsi): Likewise.
59272         * soft-fp/fixunsdfti.c (__fixunsdfti): Likewise.
59273         * soft-fp/fixunssfdi.c (__fixunssfdi): Likewise.
59274         * soft-fp/fixunssfsi.c (__fixunssfsi): Likewise.
59275         * soft-fp/fixunssfti.c (__fixunssfti): Likewise.
59276         * soft-fp/fixunstfdi.c (__fixunstfdi): Likewise.
59277         * soft-fp/fixunstfsi.c (__fixunstfsi): Likewise.
59278         * soft-fp/fixunstfti.c (__fixunstfti): Likewise.
59279         * soft-fp/floatdidf.c (__floatdidf): Use FP_INIT_ROUNDMODE.
59280         * soft-fp/floatdisf.c (__floatdisf): Likewise.
59281         * soft-fp/floatsisf.c (__floatsisf): Likewise.
59282         * soft-fp/floattidf.c (__floattidf): Likewise.
59283         * soft-fp/floattisf.c (__floattisf): Likewise.
59284         * soft-fp/floattitf.c (__floattitf): Likewise.
59285         * soft-fp/floatundidf.c (__floatundidf): Likewise.
59286         * soft-fp/floatundisf.c (__floatundisf): Likewise.
59287         * soft-fp/floatunsisf.c (__floatunsisf): Likewise.
59288         * soft-fp/floatuntidf.c (__floatuntidf): Likewise.
59289         * soft-fp/floatuntisf.c (__floatuntisf): Likewise.
59290         * soft-fp/floatuntitf.c (__floatuntitf): Likewise.
59291         * soft-fp/gedf2.c (__gedf2): Use FP_INIT_EXCEPTIONS.
59292         * soft-fp/gesf2.c (__gesf2): Likewise.
59293         * soft-fp/getf2.c (__getf2): Likewise.
59294         * soft-fp/ledf2.c (__ledf2): Likewise.
59295         * soft-fp/lesf2.c (__lesf2): Likewise.
59296         * soft-fp/letf2.c (__letf2): Likewise.
59298         * soft-fp/soft-fp.h [FP_NO_EXCEPTIONS] (FP_SET_EXCEPTION):
59299         Undefine and redefine.
59300         [FP_NO_EXCEPTIONS] (FP_CUR_EXCEPTIONS): Likewise.
59301         [FP_NO_EXCEPTIONS] (FP_TRAPPING_EXCEPTIONS): Likewise.
59302         [FP_NO_EXCEPTIONS] (FP_ROUNDMODE): Likewise.
59303         * soft-fp/floatditf.c (FP_NO_EXCEPTIONS): Define macro.
59304         (__floatditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
59305         * soft-fp/floatsidf.c (FP_NO_EXCEPTIONS): Define macro.
59306         (__floatsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
59307         * soft-fp/floatsitf.c (FP_NO_EXCEPTIONS): Define macro.
59308         (__floatsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
59309         * soft-fp/floatunditf.c (FP_NO_EXCEPTIONS): Define macro.
59310         (__floatunditf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
59311         * soft-fp/floatunsidf.c (FP_NO_EXCEPTIONS): Define macro.
59312         (__floatunsidf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
59313         * soft-fp/floatunsitf.c (FP_NO_EXCEPTIONS): Define macro.
59314         (__floatunsitf): Don't use FP_DECL_EX or FP_HANDLE_EXCEPTIONS.
59316         [BZ #16032]
59317         * soft-fp/op-2.h (_FP_DIV_MEAT_2_udiv): Shift numerator right
59318         without decrementing exponent if mantissa >= that for the
59319         denominator, not >.
59320         (_FP_DIV_MEAT_2_gmp): Test numerator mantissa >= that for the
59321         denominator, not >.  Decrement exponent in < case instead of
59322         incrementing in >= case.
59323         * soft-fp/op-4.h (_FP_DIV_MEAT_4_udiv): Shift numerator right
59324         without decrementing exponent if mantissa >= that for the
59325         denominator, not >.
59327         * soft-fp/op-common.h (_FP_TO_INT): Reverse test of sign for
59328         computing saturated result for unsigned overflow.
59330 2013-10-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
59331             Jeff Law  <law@redhat.com>
59333         * sysdeps/ieee754/dbl-64/e_atan2.c: Include stap-probe.h.
59334         (atan2Mp): Add systemtap probe marker.
59335         * sysdeps/ieee754/dbl-64/e_log.c: include stap-probe.h.
59336         (__ieee754_log): Add systemtap probe marker.
59337         * sysdeps/ieee754/dbl-64/s_atan.c: Include stap-probe.h.
59338         (atanMp): Add systemtap probe marker.
59339         * sysdeps/ieee754/dbl-64/s_tan.c: Include stap-probe.h.
59340         (tanMp): Add systemtap probe marker.
59341         * sysdeps/ieee754/dbl-64/slowexp.c: Include stap-probe.h.
59342         (__slowexp): Add systemtap probe marker.
59343         * sysdeps/ieee754/dbl-64/slowpow.c: Include stap-probe.h.
59344         (__slowpow): Add systemtap probe marker.
59345         * manual/probes.texi: Document probes.
59347 2013-10-11  Eric Biggers  <ebiggers3@gmail.com>
59349         [BZ #15362]
59350         * libio/fileops.c (_IO_new_file_write): Return count of bytes
59351         written.
59352         (_IO_new_file_xsputn): Don't return EOF if nothing has been
59353         written.
59354         * libio/iofwrite.c (_IO_fwrite): Return count if bytes were
59355         written to buffer but not flushed.
59356         * libio/iofwrite_u.c:  Likewise.
59357         * libio/iopadn.c:  Return bytes returned even if EOF was
59358         encountered.
59359         * libio/iowpadn.c:  Likewise.
59360         * stdio-common/vfprintf.c [COMPILE_WPRINTF] (PAD): Return error
59361         if _IO_padn does not write the whole buffer.
59362         [!COMPILE_WPRINTF] (PAD): Likewise.
59364 2013-10-10  David S. Miller  <davem@davemloft.net>
59366         * sysdeps/posix/dirstream.h (struct __dirstream): Fix alignment of
59367         directory block.
59369 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
59371         * soft-fp/extendxftf2.c: Use copyright year range.  Use URL
59372         instead of FSF address.
59373         * soft-fp/fixdfti.c: Likewise.
59374         * soft-fp/fixsfti.c: Likewise.
59375         * soft-fp/fixtfti.c: Likewise.
59376         * soft-fp/fixunsdfti.c: Likewise.
59377         * soft-fp/fixunssfti.c: Likewise.
59378         * soft-fp/fixunstfti.c: Likewise.
59379         * soft-fp/floattidf.c: Likewise.
59380         * soft-fp/floattisf.c: Likewise.
59381         * soft-fp/floattitf.c: Likewise.
59382         * soft-fp/floatuntidf.c: Likewise.
59383         * soft-fp/floatuntisf.c: Likewise.
59384         * soft-fp/floatuntitf.c: Likewise.
59385         * soft-fp/trunctfxf2.c: Likewise.
59387         * soft-fp/extendxftf2.c: New file.  Copied from libgcc.
59388         * soft-fp/fixdfti.c: Likewise.
59389         * soft-fp/fixsfti.c: Likewise.
59390         * soft-fp/fixtfti.c: Likewise.
59391         * soft-fp/fixunsdfti.c: Likewise.
59392         * soft-fp/fixunssfti.c: Likewise.
59393         * soft-fp/fixunstfti.c: Likewise.
59394         * soft-fp/floattidf.c: Likewise.
59395         * soft-fp/floattisf.c: Likewise.
59396         * soft-fp/floattitf.c: Likewise.
59397         * soft-fp/floatuntidf.c: Likewise.
59398         * soft-fp/floatuntisf.c: Likewise.
59399         * soft-fp/floatuntitf.c: Likewise.
59400         * soft-fp/trunctfxf2.c: Likewise.
59402 2013-10-10  David S. Miller  <davem@davemloft.net>
59404         * sysdeps/sparc/fpu/libm-test-ulps: Update.
59406 2013-10-10  Joseph Myers  <joseph@codsourcery.com>
59408         * sysdeps/powerpc/nofpu/Makefile [$(subdir) = math]
59409         (CFLAGS-e_hypotl.c): Add -fno-builtin-fabsl.
59410         [$(subdir) = math] (CFLAGS-w_acosl.c): Likewise.
59411         [$(subdir) = math] (CFLAGS-w_asinl.c): Likewise.
59412         [$(subdir) = math] (CFLAGS-w_atanhl.c): Likewise.
59413         [$(subdir) = math] (CFLAGS-w_j0l.c): Likewise.
59414         [$(subdir) = math] (CFLAGS-w_j1l.c): Likewise.
59416         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Check
59417         for NaNs before doing comparisons on argument.
59418         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl):
59419         Likewise.
59421 2013-10-10  Will Newton  <will.newton@linaro.org>
59423         * malloc/hooks.c (memalign_check): Ensure the value of bytes
59424         passed to _int_memalign does not overflow.
59426 2013-10-10  Torvald Riegel  <triegel@redhat.com>
59428         * scripts/bench.pl: Add include-sources directive.
59429         * benchtests/README: Update documentation.
59431 2013-10-10  Joseph Myers  <joseph@codesourcery.com>
59433         * soft-fp/soft-fp.h (FP_INIT_EXCEPTIONS): New macro.
59434         * soft-fp/extenddftf2.c (__extenddftf2): Use FP_INIT_EXCEPTIONS
59435         instead of FP_INIT_ROUNDMODE.
59436         * soft-fp/extendsfdf2.c (__extendsfdf2): Likewise.
59437         * soft-fp/extendsftf2.c (__extendsftf2): Likewise.
59439         [BZ #16034]
59440         * soft-fp/op-common.h (_FP_NEG): Document input as raw.  Do not
59441         copy class of input value.
59442         * soft-fp/negdf2.c (__negdf2): Use raw unpacking and packing.  Do
59443         not handle exceptions.
59444         * soft-fp/negsf2.c (__negsf2): Likewise.
59445         * soft-fp/negtf2.c (__negtf2): Likewise.
59446         * sysdeps/sparc/sparc32/soft-fp/q_neg.c (_Q_neg): Likewise.
59448 2013-10-09  Joseph Myers  <joseph@codesourcery.com>
59450         * soft-fp/op-4.h (_FP_FRAC_DISASSEMBLE_4): Remove trailing
59451         semicolon.  From Linux kernel.
59453 2013-10-09  Adam Buchbinder  <adam.buchbinder@gmail.com>
59455         * soft-fp/op-common.h (_FP_UNPACK_CANONICAL): Fix typo in comment.
59457 2013-10-08  Yogesh Chaudhari  <mr.yogesh@gmail.com>
59459         [BZ #156]
59460         * manual/socket.texi: Added statement about buffer
59461         for gethostbyname2_r.
59463 2013-10-08  Ondřej Bílka  <neleai@seznam.cz>
59465         * sysdeps/x86_64/memset.S (ALIGN): Macro removed.
59466         Use .p2align directive instead, throughout.
59467         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
59468         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Likewise.
59469         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: Likewise.
59470         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
59471         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
59472         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: Likewise.
59473         * sysdeps/x86_64/strchr.S: Likewise.
59474         * sysdeps/x86_64/strrchr.S: Likewise.
59476 2013-10-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
59478         * sysdeps/ieee754/dbl-64/e_pow.c: Fix code formatting.
59480         * sysdeps/ieee754/dbl-64/e_exp.c: Fix code formatting.
59482         * sysdeps/generic/math_private.h (__mpsin1): Remove
59483         declaration.
59484         (__mpcos1): Likewise.
59485         (__mpsin): New argument __range_reduce.
59486         (__mpcos): Likewise.
59487         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
59488         (slow): Use __mpsin and __mpcos.
59489         (slow1): Likewise.
59490         (slow2): Likewise.
59491         (sloww): Likewise.
59492         (sloww1): Likewise.
59493         (sloww2): Likewise.
59494         (bsloww): Likewise.
59495         (bsloww1): Likewise.
59496         (bsloww2): Likewise.
59497         (cslow2): Likewise.
59498         (csloww): Likewise.
59499         (csloww1): Likewise.
59500         (csloww2): Likewise.
59501         * sysdeps/ieee754/dbl-64/sincos32.c (__mpsin): Add argument
59502         range_reduce.  Merge in __mpsin1.
59503         (__mpcos): Likewise.
59504         (__mpsin1): Remove.
59505         (__mpcos1): Likewise.
59507 2013-10-07  Joseph Myers  <joseph@codesourcery.com>
59509         * locale/loadlocale.c (_nl_intern_locale_data): Use
59510         LOCFILE_ALIGNED_P.
59511         * locale/programs/3level.h (CONCAT(add_locale_,TABLE)): Use
59512         LOCFILE_ALIGN_UP and LOCFILE_ALIGN.
59513         * locale/programs/ld-collate.c (obstack_int32_grow): Assert that
59514         obstack data is appropriately aligned.
59515         (obstack_int32_grow_fast): Likewise.
59516         * locale/programs/ld-ctype.c (ctype_output): Use LOCFILE_ALIGN.
59517         * locale/programs/locfile.c (add_locale_uint32): Likewise.
59518         (add_locale_uint32_array): Likewise.
59520 2013-10-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
59522         * benchtests/Makefile: Remove ARGLIST and RET variables.
59523         ($(objpfx)bench-%.c): Pass only function name to the script.
59524         * benchtests/README: Update documentation.
59525         * benchtests/acos-inputs: Add new directives.
59526         * benchtests/acosh-inputs: Likewise.
59527         * benchtests/asin-inputs: Likewise.
59528         * benchtests/asinh-inputs: Likewise.
59529         * benchtests/atan-inputs: Likewise.
59530         * benchtests/atanh-inputs: Likewise.
59531         * benchtests/cos-inputs: Likewise.
59532         * benchtests/cosh-inputs: Likewise.
59533         * benchtests/exp-inputs: Likewise.
59534         * benchtests/log-inputs: Likewise.
59535         * benchtests/pow-inputs: Likewise.
59536         * benchtests/rint-inputs: Likewise.
59537         * benchtests/sin-inputs: Likewise.
59538         * benchtests/sinh-inputs: Likewise.
59539         * benchtests/tan-inputs: Likewise.
59540         * benchtests/tanh-inputs: Likewise.
59541         * scripts/bench.pl: Add support for new directives.
59543 2013-10-07  Alan Modra  <amodra@gmail.com>
59545         * README: Fix careless merge.
59547 2013-10-05  Alan Modra  <amodra@gmail.com>
59549         * NEWS: Mention powerpc64le support and bugs fixed.
59550         * README: Both big-endian and little-endian powerpc64 supported.
59552 2013-10-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
59554         * sysdeps/mach/hurd/fork.c (_hurd_atfork_prepare_hook)
59555         (_hurd_atfork_child_hook, _hurd_atfork_parent_hook): New hooks.
59556         (__fork): Call _hurd_atfork_prepare_hook hooks before all locking, call
59557         _hurd_atfork_parent_hook or _hurd_atfork_child_hook after all unlocking.
59559 2013-10-04  Ryan S. Arnold  <ryan.arnold@linaro.org>
59561         * misc/swapon.c (swapon): Update definition, adding FLAGS parameter to
59562         match prototype.
59564 2013-10-04  Joseph Myers  <joseph@codesourcery.com>
59566         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = yes] (+cflags):
59567         Move -mhard-float appending from
59568         ports/sysdeps/powerpc/powerpc32/Makefile.
59569         [$(with-fp) = yes] (ASFLAGS): Likewise.
59570         [$(with-fp) = yes] (sysdep-LDFLAGS): Likewise.
59571         * sysdeps/powerpc/nofpu: Move directory from
59572         ports/sysdeps/powerpc/nofpu.
59573         * sysdeps/powerpc/soft-fp: Move directory from
59574         ports/sysdeps/powerpc/soft-fp.
59575         * sysdeps/powerpc/powerpc32/405: Move directory from
59576         ports/sysdeps/powerpc/powerpc32/405.
59577         * sysdeps/powerpc/powerpc32/440: Move directory from
59578         ports/sysdeps/powerpc/powerpc32/440.
59579         * sysdeps/powerpc/powerpc32/464: Move directory from
59580         ports/sysdeps/powerpc/powerpc32/464.
59581         * sysdeps/powerpc/powerpc32/476: Move directory from
59582         ports/sysdeps/powerpc/powerpc32/476.
59583         * sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu: Move directory
59584         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/nofpu.
59585         * sysdeps/unix/sysv/linux/powerpc/powerpc32/405: Move directory
59586         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/405.
59587         * sysdeps/unix/sysv/linux/powerpc/powerpc32/440: Move directory
59588         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/440.
59589         * sysdeps/unix/sysv/linux/powerpc/powerpc32/464: Move directory
59590         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/464.
59591         * sysdeps/unix/sysv/linux/powerpc/powerpc32/476: Move directory
59592         from ports/sysdeps/unix/sysv/linux/powerpc/powerpc32/476.
59593         * README: Update for powerpc-*-linux-gnu software floating point
59594         support in libc.
59596         * sysdeps/unix/sysv/linux/configure.in (powerpc/powerpc32): Change
59597         case to powerpc/powerpc32*.
59598         * sysdeps/unix/sysv/linux/configure: Regenerated.
59600         * sysdeps/powerpc/fpu_control.h [__NO_FPRS__ && !_SOFT_FLOAT]
59601         (_FPU_MASK_OM): Define as 0x04.
59602         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Define as 0x08.
59603         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Define as
59604         0x00c10080.
59605         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Define as
59606         0x0000003c.
59607         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Define as _FPU_DEFAULT.
59609         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S
59610         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
59611         getcontext_e500.
59612         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S
59613         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use
59614         setcontext_e500.
59615         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S
59616         (__CONTEXT_FUNC_NAME) [__CONTEXT_ENABLE_E500]: Use getcontext_e500
59617         and setcontext_e500.
59619 2013-10-04  Chris Leonard  <cjl@sugarlabs,.org>
59621         * locale/iso-3166.def: Update iso-1366.def and related occurrences
59623 2013-10-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
59625         * manual/threads.texi (Default Thread Attributes): Fix typo.
59627 2013-10-04  Will Newton  <will.newton@linaro.org>
59629         * malloc/Makefile: Add tst-memalign.
59630         * malloc/tst-memalign.c: New file.
59632         * malloc/tst-posix_memalign.c: Add comments.
59633         (do_test): Add comments and call free on all potentially
59634         allocated pointers. Add space after cast.
59636         * malloc/tst-pvalloc.c: Add comments.
59637         (do_test): Add comments and call free on all potentially
59638         allocated pointers. Remove duplicate check for NULL pointer.
59639         Add space after cast.
59641         * malloc/tst-valloc.c: Add comments.
59642         (do_test): Add comments and call free on all potentially
59643         allocated pointers. Remove duplicate check for NULL pointer.
59644         Add space after cast.
59646 2013-10-04  Alan Modra  <amodra@gmail.com>
59648         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
59649         Use stdint types in rather than __attribute__((mode())).
59650         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
59652 2013-10-04  Alan Modra  <amodra@gmail.com>
59654         * sysdeps/powerpc/powerpc32/dl-machine.c (__process_machine_rela):
59655         Correct handling of unaligned relocs for little-endian.
59656         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela): Likewise.
59658 2013-10-04  Alan Modra  <amodra@gmail.com>
59660         * configure.in: Map powerpc64le and powerpcle to base_machine/machine.
59661         * configure: Regenerate.
59662         * nptl/shlib-versions: Powerpc*le starts at 2.18.
59663         * shlib-versions: Likewise.
59665 2013-10-04  Alan Modra  <amodra@gmail.com>
59667         * string/tester.c (test_memrchr): Increment reported test cycle.
59669 2013-10-04  Alan Modra  <amodra@gmail.com>
59671         * string/test-memcpy.c (do_one_test): When reporting errors, print
59672         string address and don't overrun end of string.
59674 2013-10-04  Alan Modra  <amodra@gmail.com>
59676         * sysdeps/powerpc/powerpc64/power7/memchr.S: Replace rlwimi with
59677         insrdi.  Make better use of reg selection to speed exit slightly.
59678         Schedule entry path a little better.  Remove useless "are we done"
59679         checks on entry to main loop.  Handle wrapping around zero address.
59680         Correct main loop count.  Handle single left-over word from main
59681         loop inline rather than by using loop_small.  Remove extra word
59682         case in loop_small caused by wrong loop count.  Add little-endian
59683         support.
59684         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
59685         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.  Use proper
59686         cache hint.
59687         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
59688         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Add little-endian
59689         support.  Avoid rlwimi.
59690         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Likewise.
59692 2013-10-04  Alan Modra  <amodra@gmail.com>
59694         * sysdeps/powerpc/powerpc64/memset.S: Replace rlwimi with
59695         insrdi.  Formatting.
59696         * sysdeps/powerpc/powerpc64/power4/memset.S: Likewise.
59697         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
59698         * sysdeps/powerpc/powerpc64/power7/memset.S: Likewise.
59699         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
59700         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
59701         * sysdeps/powerpc/powerpc32/power7/memset.S: Likewise.
59703 2013-10-04  Alan Modra  <amodra@gmail.com>
59705         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Add little endian support.
59706         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
59707         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Likewise.
59708         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Likewise.
59709         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
59710         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
59711         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
59712         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
59713         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Likewise.  Make better
59714         use of regs.  Use power7 mtocrf.  Tidy function tails.
59716 2013-10-04  Alan Modra  <amodra@gmail.com>
59718         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Add little-endian support.
59719         Formatting.  Consistently use rXXX register defines or rN defines.
59720         Use early exit labels that avoid restoring unused non-volatile regs.
59721         Make cr field use more consistent with rWORDn compares.  Rename
59722         regs used as shift registers for unaligned loop, using rN defines
59723         for short lifetime/multiple use regs.
59724         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
59725         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.  Exit with
59726         addi 1,1,64 to pop stack frame.  Simplify return value code.
59727         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
59729 2013-10-04  Alan Modra  <amodra@gmail.com>
59731         * sysdeps/powerpc/powerpc64/power7/strchr.S (strchr): Add little-endian
59732         support.  Correct typos, formatting.  Optimize tail.  Use insrdi
59733         rather than rlwimi.
59734         * sysdeps/powerpc/powerpc32/power7/strchr.S: Likewise.
59735         * sysdeps/powerpc/powerpc64/power7/strchrnul.S (__strchrnul): Add
59736         little-endian support.  Correct typos.
59737         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Likewise.  Use insrdi
59738         rather than rlwimi.
59739         * sysdeps/powerpc/powerpc64/strchr.S (rTMP4, rTMP5): Define.  Use
59740         in loop and entry code to keep "and." results.
59741         (strchr): Add little-endian support.  Comment.  Move cntlzd
59742         earlier in tail.
59743         * sysdeps/powerpc/powerpc32/strchr.S: Likewise.
59745 2013-10-04  Alan Modra  <amodra@gmail.com>
59747         * sysdeps/powerpc/powerpc64/strcpy.S: Add little-endian support:
59748         * sysdeps/powerpc/powerpc32/strcpy.S: Likewise.
59749         * sysdeps/powerpc/powerpc64/stpcpy.S: Likewise.
59750         * sysdeps/powerpc/powerpc32/stpcpy.S: Likewise.
59752 2013-10-04  Alan Modra  <amodra@gmail.com>
59754         * sysdeps/powerpc/powerpc64/strcmp.S (rTMP2): Define as r0.
59755         (rTMP): Define as r11.
59756         (strcmp): Add little-endian support.  Optimise tail.
59757         * sysdeps/powerpc/powerpc32/strcmp.S: Similarly.
59758         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
59759         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
59760         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
59761         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
59762         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
59763         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
59765 2013-10-04  Alan Modra  <amodra@gmail.com>
59767         * sysdeps/powerpc/powerpc64/power7/strnlen.S (strnlen): Add
59768         little-endian support.  Remove unnecessary "are we done" tests.
59769         Handle "s" wrapping around zero and extremely large "size".
59770         Correct main loop count.  Handle single left-over word from main
59771         loop inline rather than by using small_loop.  Correct comments.
59772         Delete "zero" tail, use "end_max" instead.
59773         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Likewise.
59775 2013-10-04  Alan Modra  <amodra@gmail.com>
59777         * sysdeps/powerpc/powerpc64/power7/strlen.S (strlen): Add little-endian
59778         support.  Don't branch over align.
59779         * sysdeps/powerpc/powerpc32/power7/strlen.S: Likewise.
59780         * sysdeps/powerpc/powerpc64/strlen.S (strlen): Add little-endian
59781         support.  Rearrange tmp reg use to suit.  Comment.
59782         * sysdeps/powerpc/powerpc32/strlen.S: Likewise.
59784 2013-10-04  Alan Modra  <amodra@gmail.com>
59786         * sysdeps/unix/sysv/linux/powerpc/bits/sigstack.h: New file.
59788 2013-10-04  Alan Modra  <amodra@gmail.com>
59790         * sysdeps/unix/sysv/linux/powerpc/powerpc32/makecontext.S: Use
59791         conditional form of branch and link when obtaining pc.
59792         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: Likewise.
59794 2013-10-04  Alan Modra  <amodra@gmail.com>
59796         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Use
59797         HIWORD/LOWORD.
59798         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Ditto.
59799         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Ditto.
59801 2013-10-04  Alan Modra  <amodra@gmail.com>
59803         * sysdeps/powerpc/longjmp.c: Use proper symbol versioning macros.
59804         * sysdeps/powerpc/novmx-longjmp.c: Likewise.
59805         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Likewise.
59806         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Likewise.
59807         * sysdeps/powerpc/powerpc32/fpu/__longjmp.S: Likewise.
59808         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
59809         * sysdeps/powerpc/powerpc32/mcount.c: Likewise.
59810         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
59811         * sysdeps/powerpc/powerpc64/setjmp.S: Likewise.
59812         * nptl/sysdeps/unix/sysv/linux/powerpc/pt-longjmp.c: Likewise.
59814 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
59815             Alistair Popple <alistair@ozlabs.au.ibm.com>
59816             Alan Modra <amodra@gmail.com>
59818         [BZ #15723]
59819         * sysdeps/powerpc/jmpbuf-offsets.h: Comment fix.
59820         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Correct
59821         _dl_hwcap access for little-endian.
59822         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Likewise.  Don't
59823         destroy vmx regs when saving unaligned.
59824         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Correct CR load.
59825         * sysdeps/powerpc/powerpc64/setjmp-common.S: Likewise CR save.  Don't
59826         destroy vmx regs when saving unaligned.
59828 2013-10-04  Alan Modra  <amodra@gmail.com>
59830         * sysdeps/powerpc/powerpc32/power4/hp-timing.h (HP_TIMING_NOW):
59831         Don't use a union to pack hi/low value.
59833 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
59835         * sysdeps/powerpc/powerpc64/fpu/s_ceilf.S: Correct float constants
59836         for little-endian.
59837         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
59838         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: Likewise.
59839         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
59840         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
59841         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
59843 2013-10-04  Alan Modra  <amodra@gmail.com>
59845         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Increase alignment of
59846         constants to usual value for .cst8 section, and remove redundant
59847         high address load.
59848         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Use float
59849         constant for 0x1p52.  Load little-endian words of double from
59850         correct stack offsets.
59852 2013-10-04  Alan Modra  <amodra@gmail.com>
59854         * sysdeps/powerpc/sysdep.h (LOWORD, HIWORD, HISHORT): Define.
59855         * sysdeps/powerpc/powerpc32/fpu/s_copysign.S: Load little-endian
59856         words of double from correct stack offsets.
59857         * sysdeps/powerpc/powerpc32/fpu/s_copysignl.S: Likewise.
59858         * sysdeps/powerpc/powerpc32/fpu/s_lrint.S: Likewise.
59859         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
59860         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
59861         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
59862         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
59863         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
59864         * sysdeps/powerpc/powerpc32/power5/fpu/s_isnan.S: Likewise.
59865         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnan.S: Likewise.
59866         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
59867         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
59868         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
59869         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
59870         * sysdeps/powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
59871         * sysdeps/powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
59872         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Use HISHORT.
59873         * sysdeps/powerpc/powerpc64/power7/fpu/s_isinf.S: Likewise.
59875 2013-10-04  Alan Modra  <amodra@gmail.com>
59877         * sysdeps/powerpc/fpu_control.h (_FPU_GETCW): Rewrite using
59878         64-bit int/double union.
59879         (_FPU_SETCW): Likewise.
59880         * sysdeps/powerpc/fpu/tst-setcontext-fpscr.c (_GET_DI_FPSCR): Likewise.
59881         (_SET_DI_FPSCR, _GET_SI_FPSCR, _SET_SI_FPSCR): Likewise.
59883 2013-10-04  Alan Modra  <amodra@gmail.com>
59885         * sysdeps/powerpc/fpu/s_llround.c (__llround): Rewrite.
59886         * sysdeps/powerpc/fpu/s_llroundf.c (__llroundf): Rewrite.
59888 2013-10-04  Alan Modra  <amodra@gmail.com>
59890         * sysdeps/powerpc/fpu/s_float_bitwise.h (__float_and_test28): Don't
59891         use vector int constants.
59892         (__float_and_test24, __float_and8, __float_get_exp): Likewise.
59894 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
59896         * sysdeps/powerpc/fpu/fenv_libc.h (fenv_union_t): Replace int
59897         array with long long.
59898         * sysdeps/powerpc/fpu/e_sqrt.c (__slow_ieee754_sqrt): Adjust.
59899         * sysdeps/powerpc/fpu/e_sqrtf.c (__slow_ieee754_sqrtf): Adjust.
59900         * sysdeps/powerpc/fpu/fclrexcpt.c (__feclearexcept): Adjust.
59901         * sysdeps/powerpc/fpu/fedisblxcpt.c (fedisableexcept): Adjust.
59902         * sysdeps/powerpc/fpu/feenablxcpt.c (feenableexcept): Adjust.
59903         * sysdeps/powerpc/fpu/fegetexcept.c (__fegetexcept): Adjust.
59904         * sysdeps/powerpc/fpu/feholdexcpt.c (feholdexcept): Adjust.
59905         * sysdeps/powerpc/fpu/fesetenv.c (__fesetenv): Adjust.
59906         * sysdeps/powerpc/fpu/feupdateenv.c (__feupdateenv): Adjust.
59907         * sysdeps/powerpc/fpu/fgetexcptflg.c (__fegetexceptflag): Adjust.
59908         * sysdeps/powerpc/fpu/fraiseexcpt.c (__feraiseexcept): Adjust.
59909         * sysdeps/powerpc/fpu/fsetexcptflg.c (__fesetexceptflag): Adjust.
59910         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Adjust.
59912 2013-10-04  Anton Blanchard <anton@au1.ibm.com>
59914         * sysdeps/powerpc/bits/mathinline.h (__signbitf): Use builtin.
59915         (__signbit): Likewise.  Correct for little-endian.
59916         (__signbitl): Call __signbit.
59917         (lrint): Correct for little-endian.
59918         (lrintf): Call lrint.
59920 2013-10-04  Alan Modra  <amodra@gmail.com>
59922         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (mynumber): Replace
59923         union 32-bit int array member with 64-bit int array.
59924         (t515, tm256): Double rather than long double.
59925         (__ieee754_sqrtl): Rewrite using 64-bit arithmetic.
59927 2013-10-04  Alan Modra  <amodra@gmail.com>
59929         * sysdeps/ieee754/ldbl-128ibm/ieee754.h (union ieee854_long_double):
59930         Delete.
59931         (IEEE854_LONG_DOUBLE_BIAS): Delete.
59932         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Don't include ieee854
59933         version of math_ldbl.h.
59935 2013-10-04  Alan Modra  <amodra@gmail.com>
59937         [BZ #15734], [BZ #15735]
59938         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Rewrite
59939         all uses of ieee875 long double macros and unions.  Simplify test
59940         for 0.0L.  Correct |x|<|y| and |x|=|y| test.  Use
59941         ldbl_extract_mantissa value for ix,iy exponents.  Properly
59942         normalize after ldbl_extract_mantissa, and don't add hidden bit
59943         already handled.  Don't treat low word of ieee854 mantissa like
59944         low word of IBM long double and mask off bit when testing for
59945         zero.
59946         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Rewrite
59947         all uses of ieee875 long double macros and unions.  Simplify tests
59948         for 0.0L and inf.  Correct double adjustment of k.  Delete dead code
59949         adjusting ha,hb.  Simplify code setting kld.  Delete two600 and
59950         two1022, instead use their values.  Recognise that tests for large
59951         "a" and small "b" are mutually exclusive.  Rename vars.  Comment.
59952         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c (__ieee754_remainderl):
59953         Rewrite all uses of ieee875 long double macros and unions.  Simplify
59954         test for 0.0L and nan.  Correct negation.
59955         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfl): Rewrite all uses of
59956         ieee875 long double macros and unions.  Correct output for large
59957         magnitude x.  Correct absolute value calculation.
59958         (__erfcl): Likewise.
59959         * math/libm-test.inc: Add tests for errors discovered in IBM long
59960         double versions of fmodl, remainderl, erfl and erfcl.
59962 2013-10-04  Alan Modra  <amodra@gmail.com>
59964         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Rewrite
59965         all uses of ieee854 long double macros and unions.  Simplify tests
59966         for long doubles that are fully specified by the high double.
59967         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c (__ieee754_gammal_r):
59968         Likewise.
59969         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c (__ieee754_ilogbl): Likewise.
59970         Remove dead code too.
59971         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_jnl): Likewise.
59972         (__ieee754_ynl): Likewise.
59973         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c (__ieee754_log10l): Likewise.
59974         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Likewise.
59975         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Likewise.
59976         Remove dead code too.
59977         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c (__kernel_tanl): Likewise.
59978         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (__expm1l): Likewise.
59979         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c (__frexpl): Likewise.
59980         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c (__isinf_nsl): Likewise.
59981         Simplify.
59982         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c (___isinfl): Likewise.
59983         Simplify.
59984         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c (__log1pl): Likewise.
59985         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c (__modfl): Likewise.
59986         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c (__nextafterl): Likewise.
59987         Comment on variable precision.
59988         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c (__nexttoward): Likewise.
59989         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
59990         Likewise.
59991         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c (__remquol): Likewise.
59992         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
59993         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
59994         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c (__tanhl): Likewise.
59995         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust tan_towardzero ulps.
59997 2013-10-04  Alan Modra  <amodra@gmail.com>
59999         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_high): Define.
60000         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Rewrite
60001         all uses of ieee854 long double macros and unions.
60002         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Likewise.
60003         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
60004         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Likewise.
60005         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c (__ieee754_coshl): Likewise.
60006         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c (__ieee754_log2l): Likewise.
60007         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
60008         Likewise.
60009         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Likewise.
60010         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
60011         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl): Likewise.
60012         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
60013         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c (__asinhl): Likewise.
60014         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Likewise.
60015         Simplify sign and nan test too.
60016         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c (__cosl): Likewise.
60017         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c (__fabsl): Likewise.
60018         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c (___finitel): Likewise.
60019         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c (___fpclassifyl):
60020         Likewise.
60021         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
60022         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c (__issignalingl):
60023         Likewise.
60024         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
60025         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c (___signbitl): Likewise.
60026         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c (__sincosl): Likewise.
60027         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c (__sinl): Likewise.
60028         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c (__tanl): Likewise.
60029         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (__logbl): Likewise.
60031 2013-10-04  Alan Modra  <amodra@gmail.com>
60033         * stdio-common/printf_size.c (__printf_size): Don't use
60034         union ieee854_long_double in fpnum union.
60035         * stdio-common/printf_fphex.c (__printf_fphex): Likewise.  Use
60036         signbit macro to retrieve sign from long double.
60037         * stdio-common/printf_fp.c (___printf_fp): Use signbit macro to
60038         retrieve sign from long double.
60039         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Adjust for fpnum change.
60040         * sysdeps/ieee754/ldbl-128/printf_fphex.c: Likewise.
60041         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Likewise.
60042         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
60043         * math/test-misc.c (main): Don't use union ieee854_long_double.
60045 2013-10-04  Alan Modra  <amodra@gmail.com>
60047         [BZ #15680]
60048         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Comment fix.
60049         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c
60050         (PRINT_FPHEX_LONG_DOUBLE): Tidy code by moving -53 into ediff
60051         calculation.  Remove unnecessary test for denormal exponent.
60052         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c (__mpn_extract_long_double):
60053         Correct handling of denormals.  Avoid undefined shift behaviour.
60054         Correct normalisation of low mantissa when low double is denormal.
60055         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h
60056         (ldbl_extract_mantissa): Likewise.  Comment.  Use uint64_t* for hi64.
60057         (ldbl_insert_mantissa): Make both hi64 and lo64 parms uint64_t.
60058         Correct normalisation of low mantissa.  Test for overflow of high
60059         mantissa and normalise.
60060         (ldbl_nearbyint): Use more readable constant for two52.
60061         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c
60062         (__mpn_construct_long_double): Fix test for overflow of high
60063         mantissa and correct normalisation.  Avoid undefined shift.
60065 2013-10-04  Alan Modra  <amodra@gmail.com>
60067         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
60068         (union ibm_extended_long_double): Define as an array of ieee754_double.
60069         (IBM_EXTENDED_LONG_DOUBLE_BIAS): Delete.
60070         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Update all references
60071         to ibm_extended_long_double and IBM_EXTENDED_LONG_DOUBLE_BIAS.
60072         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
60073         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
60074         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c: Likewise.
60075         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
60076         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
60077         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
60078         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c: Likewise.
60079         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
60081 2013-10-03  Joseph Myers  <joseph@codesourcery.com>
60083         * locale/programs/locarchive.c (add_locale): Use constant 4096 for
60084         page size instead of calling getpagesize.
60086         * locale/localeinfo.h (LOCFILE_ALIGN): New macro.
60087         (LOCFILE_ALIGN_MASK): Likewise.
60088         (LOCFILE_ALIGN_UP): Likewise.
60089         (LOCFILE_ALIGNED_P): Likewise.
60090         * locale/programs/ld-collate.c (collate_output): Use the new
60091         macros instead of __alignof__ (int32_t).
60092         * locale/weight.h (findidx): Likewise.
60094 2013-10-03  Ondřej Bílka  <neleai@seznam.cz>
60096         [BZ #431]
60097         * manual/string.texi: Fix strncat and wcsncat.
60099 2013-10-03  Brooks Moses  <bmoses@google.com>
60101         [BZ #15915]
60102         * Makefile (linkobj/libc_pic.a, linkobj/libc.so): Move rules to...
60103         * Makerules: ...here, and adjust associated comments.
60105 2013-10-02  Will Newton  <will.newton@linaro.org>
60107         * malloc/Makefile: Add tst-pvalloc.
60108         * malloc/tst-pvalloc.c: New file.
60110 2013-10-02  Will Newton  <will.newton@linaro.org>
60112         * malloc/tst-valloc.c: Rewrite to use test-skeleton.c and
60113         improve test coverage.
60115 2013-10-02  Will Newton  <will.newton@linaro.org>
60117         * malloc/Makefile: Add tst-posix_memalign.
60118         * malloc/tst-posix_memalign.c: New file.
60120 2013-10-01  Eric Blake  <eblake@redhat.com>
60122         * posix/glob.c (next_brace_sub, prefix_array, collated_compare):
60123         Use __THROWNL rather than __THROW on static functions.
60125 2013-09-30  Petr Machata  <pmachata@redhat.com>
60127         * elf/elf.h (R_AARCH64_ABS16): New macro.
60128         (R_AARCH64_PREL64, R_AARCH64_PREL32): Likewise.
60129         (R_AARCH64_PREL16, R_AARCH64_MOVW_UABS_G0): Likewise.
60130         (R_AARCH64_MOVW_UABS_G0_NC, R_AARCH64_MOVW_UABS_G1): Likewise.
60131         (R_AARCH64_MOVW_UABS_G1_NC, R_AARCH64_MOVW_UABS_G2): Likewise.
60132         (R_AARCH64_MOVW_UABS_G2_NC, R_AARCH64_MOVW_UABS_G3): Likewise.
60133         (R_AARCH64_MOVW_SABS_G0, R_AARCH64_MOVW_SABS_G1): Likewise.
60134         (R_AARCH64_MOVW_SABS_G2, R_AARCH64_LD_PREL_LO19): Likewise.
60135         (R_AARCH64_ADR_PREL_LO21, R_AARCH64_ADR_PREL_PG_HI21): Likewise.
60136         (R_AARCH64_ADR_PREL_PG_HI21_NC, R_AARCH64_ADD_ABS_LO12_NC): Likewise.
60137         (R_AARCH64_LDST8_ABS_LO12_NC, R_AARCH64_LDST16_ABS_LO12_NC): Likewise.
60138         (R_AARCH64_LDST32_ABS_LO12_NC, R_AARCH64_LDST64_ABS_LO12_NC): Likewise.
60139         (R_AARCH64_LDST128_ABS_LO12_NC, R_AARCH64_TSTBR14): Likewise.
60140         (R_AARCH64_CONDBR19, R_AARCH64_JUMP26, R_AARCH64_CALL26): Likewise.
60141         (R_AARCH64_MOVW_PREL_G0, R_AARCH64_MOVW_PREL_G0_NC): Likewise.
60142         (R_AARCH64_MOVW_PREL_G1, R_AARCH64_MOVW_PREL_G1_NC): Likewise.
60143         (R_AARCH64_MOVW_PREL_G2, R_AARCH64_MOVW_PREL_G2_NC): Likewise.
60144         (R_AARCH64_MOVW_PREL_G3, R_AARCH64_MOVW_GOTOFF_G0): Likewise.
60145         (R_AARCH64_MOVW_GOTOFF_G0_NC, R_AARCH64_MOVW_GOTOFF_G1): Likewise.
60146         (R_AARCH64_MOVW_GOTOFF_G1_NC, R_AARCH64_MOVW_GOTOFF_G2): Likewise.
60147         (R_AARCH64_MOVW_GOTOFF_G2_NC, R_AARCH64_MOVW_GOTOFF_G3): Likewise.
60148         (R_AARCH64_GOTREL64, R_AARCH64_GOTREL32): Likewise.
60149         (R_AARCH64_GOT_LD_PREL19, R_AARCH64_LD64_GOTOFF_LO15): Likewise.
60150         (R_AARCH64_ADR_GOT_PAGE, R_AARCH64_LD64_GOT_LO12_NC): Likewise.
60151         (R_AARCH64_LD64_GOTPAGE_LO15, R_AARCH64_TLSGD_ADR_PREL21): Likewise.
60152         (R_AARCH64_TLSGD_ADR_PAGE21, R_AARCH64_TLSGD_ADD_LO12_NC): Likewise.
60153         (R_AARCH64_TLSGD_MOVW_G1, R_AARCH64_TLSGD_MOVW_G0_NC): Likewise.
60154         (R_AARCH64_TLSLD_ADR_PREL21, R_AARCH64_TLSLD_ADR_PAGE21): Likewise.
60155         (R_AARCH64_TLSLD_ADD_LO12_NC, R_AARCH64_TLSLD_MOVW_G1): Likewise.
60156         (R_AARCH64_TLSLD_MOVW_G0_NC, R_AARCH64_TLSLD_LD_PREL19): Likewise.
60157         (R_AARCH64_TLSLD_MOVW_DTPREL_G2): Likewise.
60158         (R_AARCH64_TLSLD_MOVW_DTPREL_G1): Likewise.
60159         (R_AARCH64_TLSLD_MOVW_DTPREL_G1_NC): Likewise.
60160         (R_AARCH64_TLSLD_MOVW_DTPREL_G0): Likewise.
60161         (R_AARCH64_TLSLD_MOVW_DTPREL_G0_NC): Likewise.
60162         (R_AARCH64_TLSLD_ADD_DTPREL_HI12): Likewise.
60163         (R_AARCH64_TLSLD_ADD_DTPREL_LO12): Likewise.
60164         (R_AARCH64_TLSLD_ADD_DTPREL_LO12_NC): Likewise.
60165         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12): Likewise.
60166         (R_AARCH64_TLSLD_LDST8_DTPREL_LO12_NC): Likewise.
60167         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12): Likewise.
60168         (R_AARCH64_TLSLD_LDST16_DTPREL_LO12_NC): Likewise.
60169         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12): Likewise.
60170         (R_AARCH64_TLSLD_LDST32_DTPREL_LO12_NC): Likewise.
60171         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12): Likewise.
60172         (R_AARCH64_TLSLD_LDST64_DTPREL_LO12_NC): Likewise.
60173         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12): Likewise.
60174         (R_AARCH64_TLSLD_LDST128_DTPREL_LO12_NC): Likewise.
60175         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G1): Likewise.
60176         (R_AARCH64_TLSIE_MOVW_GOTTPREL_G0_NC): Likewise.
60177         (R_AARCH64_TLSIE_ADR_GOTTPREL_PAGE21): Likewise.
60178         (R_AARCH64_TLSIE_LD64_GOTTPREL_LO12_NC): Likewise.
60179         (R_AARCH64_TLSIE_LD_GOTTPREL_PREL19): Likewise.
60180         (R_AARCH64_TLSLE_MOVW_TPREL_G2): Likewise.
60181         (R_AARCH64_TLSLE_MOVW_TPREL_G1): Likewise.
60182         (R_AARCH64_TLSLE_MOVW_TPREL_G1_NC): Likewise.
60183         (R_AARCH64_TLSLE_MOVW_TPREL_G0): Likewise.
60184         (R_AARCH64_TLSLE_MOVW_TPREL_G0_NC): Likewise.
60185         (R_AARCH64_TLSLE_ADD_TPREL_HI12): Likewise.
60186         (R_AARCH64_TLSLE_ADD_TPREL_LO12): Likewise.
60187         (R_AARCH64_TLSLE_ADD_TPREL_LO12_NC): Likewise.
60188         (R_AARCH64_TLSLE_LDST8_TPREL_LO12): Likewise.
60189         (R_AARCH64_TLSLE_LDST8_TPREL_LO12_NC): Likewise.
60190         (R_AARCH64_TLSLE_LDST16_TPREL_LO12): Likewise.
60191         (R_AARCH64_TLSLE_LDST16_TPREL_LO12_NC): Likewise.
60192         (R_AARCH64_TLSLE_LDST32_TPREL_LO12): Likewise.
60193         (R_AARCH64_TLSLE_LDST32_TPREL_LO12_NC): Likewise.
60194         (R_AARCH64_TLSLE_LDST64_TPREL_LO12): Likewise.
60195         (R_AARCH64_TLSLE_LDST64_TPREL_LO12_NC): Likewise.
60196         (R_AARCH64_TLSLE_LDST128_TPREL_LO12): Likewise.
60197         (R_AARCH64_TLSLE_LDST128_TPREL_LO12_NC): Likewise.
60198         (R_AARCH64_TLSDESC_LD_PREL19): Likewise.
60199         (R_AARCH64_TLSDESC_ADR_PREL21): Likewise.
60200         (R_AARCH64_TLSDESC_ADR_PAGE21): Likewise.
60201         (R_AARCH64_TLSDESC_LD64_LO12): Likewise.
60202         (R_AARCH64_TLSDESC_ADD_LO12): Likewise.
60203         (R_AARCH64_TLSDESC_OFF_G1): Likewise.
60204         (R_AARCH64_TLSDESC_OFF_G0_NC): Likewise.
60205         (R_AARCH64_TLSDESC_LDR): Likewise.
60206         (R_AARCH64_TLSDESC_ADD): Likewise.
60207         (R_AARCH64_TLSDESC_CALL): Likewise.
60209 2013-09-30  Andreas Schwab  <schwab@suse.de>
60211         [BZ #15048]
60212         * nscd/aicache.c (addhstaiX): Properly use the cache variable for
60213         the nss database lookup.
60214         * nscd/initgrcache.c (addinitgroupsX): Likewise.
60215         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
60217 2013-09-28  Mike Frysinger  <vapier@gentoo.org>
60219         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Fix style.
60221 2013-09-28  P. J. McDermott  <pj@pehjota.net>
60223         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't use
60224         ${Bash-specific parameter/pattern/string} parameter expansion.
60225         * sysdeps/unix/make-syscalls.sh: Likewise.
60227 2013-09-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
60229         * sysdeps/sh/stackguard-macros.h: New file.
60231 2013-09-26  Ondřej Bílka  <neleai@seznam.cz>
60233         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Update.
60234         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove strrchr ifunc.
60235         * sysdeps/x86_64/multiarch/strend-sse4.S Remove.
60236         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S Likewise.
60237         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
60238         * sysdeps/x86_64/strrchr.S (strrchr): Use optimized implementation.
60240 2013-09-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60242         * sysdeps/powerpc/powerpc64/stackguard-macros.h (POINTER_CHK_GUARD:
60243         Fix thread ID register.
60245 2013-09-25  Joseph Myers  <joseph@codesourcery.com>
60247         * conform/data/sched.h-data [XPG3 || XPG4]: Disable whole file.
60248         [POSIX || UNIX98]: Require rather than permitting all symbols from
60249         <time.h>.
60250         [POSIX || UNIX98] (sched_ss_low_priority): Do not specify optional
60251         element of struct sched_param.
60252         [POSIX || UNIX98] (sched_ss_repl_period): Likewise.
60253         [POSIX || UNIX98] (sched_ss_init_budget): Likewise.
60254         [POSIX || UNIX98] (sched_ss_max_repl): Likewise.
60255         [POSIX || UNIX98] (SCHED_SPORADIC): Do not specify optional
60256         constant.
60258 2013-09-24  Olivier Langlois  <olivier@olivierlanglois.net>
60260         * stdio-common/tst-long-dbl-fphex.c (do_test): Fix swprintf length
60261         argument calculation.
60263 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
60265         * conform/data/pthread.h-data [POSIX] (PTHREAD_MUTEX_INITIALIZER):
60266         Expect macro.
60267         [POSIX] (pthread_attr_t): Do not require type.
60268         [POSIX] (pthread_cond_t): Likewise.
60269         [POSIX] (pthread_condattr_t): Likewise.
60270         [POSIX] (pthread_key_t): Likewise.
60271         [POSIX] (pthread_mutex_t): Likewise.
60272         [POSIX] (pthread_mutexattr_t): Likewise.
60273         [POSIX] (pthread_once_t): Likewise.
60274         [POSIX] (pthread_t): Likewise.
60275         [POSIX-based standards] (pthread_atfork): Expect function.
60277 2013-09-24  Joseph Myers  <joseph@codesourcery.com>
60278             Richard Sandiford  <richard@codesourcery.com>
60280         * locale/programs/locfile.h: Include <byteswap.h> and <stdbool.h>.
60281         (swap_endianness_p): New extern variable.
60282         (set_big_endian): New inline function.
60283         (maybe_swap_uint32): Likewise.
60284         (maybe_swap_uint32_array): Likewise.
60285         (maybe_swap_uint32_obstack): Likewise.
60286         * locale/programs/locfile.c: Include <stdbool.h>.
60287         (swap_endianness_p): New variable.
60288         (add_locale_uint32): Call maybe_swap_uint32.
60289         (add_locale_uint32_array): Call maybe_swap_uint32_obstack.
60290         (write_locale_data): Call maybe_swap_uint32_array.
60291         * locale/programs/ld-collate.c (obstack_int32_grow): Call
60292         maybe_swap_uint32.
60293         (obstack_int32_grow_fast): Likewise.
60294         (output_weightwc): Call maybe_swap_uint32_obstack.
60295         (collate_output): Likewise.
60296         * locale/programs/localedef.c (OPT_LITTLE_ENDIAN): New macro.
60297         (OPT_LITTLE_ENDIAN): Likewise.
60298         (options): Add --little-endian and --big-endian options.
60299         (parse_opt): Handle OPT_LITTLE_ENDIAN and OPT_BIG_ENDIAN.
60300         * locale/programs/locarchive.c: Include "locfile.h".
60301         (GET): New macro.
60302         (SET): Likewise.
60303         (INC): Likewise.
60304         (create_archive): Use the new macros to access fields of
60305         structures directly mapped from or written to locale archives.
60306         (oldlocrecentcmp): Likewise.
60307         (enlarge_archive): Likewise.
60308         (insert_name): Likewise.
60309         (add_alias): Likewise.
60310         (add_locale): Likewise.
60311         (delete_locales_from_archive): Likewise.
60312         (show_archive_content): Likewise.
60313         (add_locale_to_archive): Likewise.  Use maybe_swap_uint32 on
60314         locale data.
60316 2013-09-24  Roland McGrath  <roland@hack.frob.com>
60318         * manual/freemanuals.texi: Updated from (newly) canonical copy at
60319         http://www.gnu.org/doc/freemanuals.texi.
60320         * manual/libc.texinfo (Free Manuals): Put the @appendix line here.
60322 2013-09-24  Will Newton  <will.newton@linaro.org>
60324         * sysdeps/mach/hurd/i386/tls.h (TLS_INIT_TP_EXPENSIVE): Remove
60325         macro.
60327 2013-09-23  Joseph Myers  <joseph@codesourcery.com>
60329         * locale/hashval.h (compute_hashval): Interpret bytes of key as
60330         unsigned char.
60332 2013-09-23  Maciej W. Rozycki  <macro@codesourcery.com>
60334         * manual/threads.texi (POSIX Threads): Fix a typo.
60336 2013-09-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
60338         [BZ #14547]
60339         * string/tst-strcoll-overflow.c: New test case.
60340         * string/Makefile (xtests): Add tst-strcoll-overflow.
60341         * string/strcoll_l.c (STRCOLL): Skip allocating memory for
60342         cache if string sizes may cause integer overflow.
60344         [BZ #14547]
60345         * string/strcoll_l.c (coll_seq): New members rule, idx,
60346         save_idx and back_us.
60347         (get_next_seq_nocache): New function.
60348         (do_compare_nocache): New function.
60349         (STRCOLL): Use get_next_seq_nocache and do_compare_nocache
60350         when malloc fails.
60352 2013-09-23  Carlos O'Donell  <carlos@redhat.com>
60354         [BZ #15754]
60355         * sysdeps/generic/stackguard-macros.h: If PTRGUARD_LOCAL use
60356         __pointer_chk_guard_local, otherwise __pointer_chk_guard.
60357         * elf/Makefile: Define CFLAGS-tst-ptrguard1-static.c.
60359         [BZ #15754]
60360         * elf/Makefile (tests): Add tst-ptrguard1.
60361         (tests-static): Add tst-ptrguard1-static.
60362         (tst-ptrguard1-ARGS): Define.
60363         (tst-ptrguard1-static-ARGS): Define.
60364         * elf/tst-ptrguard1.c: New file.
60365         * elf/tst-ptrguard1-static.c: New file.
60366         * sysdeps/x86_64/stackguard-macros.h: Define POINTER_CHK_GUARD.
60367         * sysdeps/i386/stackguard-macros.h: Likewise.
60368         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
60369         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
60370         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
60371         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
60372         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
60373         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
60375 2013-09-23  Hector Marco  <hecmargi@upv.es>
60376             Ismael Ripoll  <iripoll@disca.upv.es>
60377             Carlos O'Donell  <carlos@redhat.com>
60379         [BZ #15754]
60380         * sysdeps/generic/stackguard-macros.h: Define
60381         __pointer_chk_guard_local and POINTER_CHK_GUARD.
60382         * csu/libc-start.c [!SHARED && !THREAD_SET_POINTER_GUARD]:
60383         Define __pointer_chk_guard_local.
60384         (LIBC_START_MAIN) [!SHARED]: Call _dl_setup_pointer_guard.
60385         Use THREAD_SET_POINTER_GUARD or set __pointer_chk_guard_local.
60387 2013-09-15  Vinitha Vijayan <vinitha.vijayann@gmail.com>
60389         [BZ #15859]
60390         * elf/dl-deps.c (_dl_map_object_deps): Remove duplicate declaration.
60392 2013-09-20  Andreas Schwab  <schwab@linux-m68k.org>
60394         * include/string.h (__ffs): Declare as hidden.
60395         * string/ffs.c (__ffs): Define as hidden.
60396         * sysdeps/i386/ffs.c (__ffs): Likewise.
60397         * sysdeps/i386/i686/ffs.c (__ffs): Likewise.
60398         * sysdeps/powerpc/ffs.c (__ffs): Likewise.
60399         * sysdeps/s390/ffs.c (__ffs): Likewise.
60400         * sysdeps/x86_64/ffs.c (__ffs): Likewise.
60402 2013-09-20  Alexandre Oliva <aoliva@redhat.com>
60404         * NEWS: Mention malloc probes.
60406         * malloc/arena.c (new_heap): New memory_heap_new probe.
60407         (grow_heap): New memory_heap_more probe.
60408         (shrink_heap): New memory_heap_less probe.
60409         (heap_trim): New memory_heap_free probe.
60410         * malloc/malloc.c (sysmalloc): New memory_sbrk_more probe.
60411         (systrim): New memory_sbrk_less probe.
60412         * manual/probes.texi: Document them.
60414         * malloc/arena.c (arena_get_retry): Add memory_arena_retry probe.
60415         * manual/probes.texi: Document it.
60417         * malloc/malloc.c (__libc_malloc): Add memory_malloc_retry probe.
60418         (__libc_realloc): Add memory_realloc_retry probe.
60419         (__libc_memalign): Add memory_memalign_retry probe.
60420         (__libc_valloc): Add memory_valloc_retry probe.
60421         (__libc_pvalloc): Add memory_pvalloc_retry probe.
60422         (__libc_calloc): Add memory_calloc_retry probe.
60423         * manual/probes.texi: Document them.
60425         * malloc/arena.c (get_free_list): Add probe
60426         memory_arena_reuse_free_list.
60427         (reused_arena) [PER_THREAD]: Add probes memory_arena_reuse_wait
60428         and memory_arena_reuse.
60429         (arena_get2) [!PER_THREAD]: Likewise.
60430         * malloc/malloc.c (__libc_realloc) [!PER_THREAD]: Add probe
60431         memory_arena_reuse_realloc.
60432         * manual/probes.texi: Document them.
60434         * malloc/malloc.c (__libc_free): Add
60435         memory_mallopt_free_dyn_thresholds probe.
60436         (__libc_mallopt): Add multiple memory_mallopt probes.
60437         * manual/probes.texi: Document them.
60439         * malloc/malloc.c: Include stap-probe.h.
60440         (__libc_mallopt): Add memory_mallopt probe.
60441         * malloc/arena.c (_int_new_arena): Add memory_arena_new probe.
60442         * manual/probes.texi: New.
60443         * manual/Makefile (chapters): Add probes.
60444         * manual/threads.texi: Set next node.
60446 2013-09-19  Wei-Lun Chao  <bluebat@member.fsf.org>
60448         [BZ #15963, #13985]
60449         * locale/iso-639.def: Add Chiga (cgg) and Chinese (gan, hak,
60450         czh, cjy, lzh, cmn, mnp, cdo, czo, cpx, wuu, hsn, yue).
60451         Add `Chinese' to `nan' entry name.
60453 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
60455         * sysdeps/ieee754/dbl-64/s_sin.c (POLYNOMIAL2): New macro.
60456         (POLYNOMIAL): Likewise.
60457         (TAYLOR_SINCOS): Likewise.
60458         (TAYLOR_SLOW): Likewise.
60459         (__sin): Use TAYLOR_SINCOS.
60460         (__cos): Likewise.
60461         (slow): Use TAYLOR_SLOW.
60462         (sloww): Likewise.
60463         (bsloww): Likewise.
60464         (csloww): Likewise.
60466 2013-09-19  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
60468         * stdlib/strtod_l.c: Fix buffer overrun.
60470 2013-09-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
60472         * benchtests/Makefile (bench): Add sincos.
60473         * benchtests/bench-sincos.c: New file.
60475         * math/libm-test.inc (cos_test_data): New test inputs.
60476         (sin_test_data): Likewise.
60478         * sysdeps/ieee754/dbl-64/s_sin.c (SINCOS_TABLE_LOOKUP): New
60479         macro.
60480         (__sin): Use it.
60481         (__cos): Likewise.
60482         (slow1): Likewise.
60483         (slow2): Likewise.
60484         (sloww1): Likewise.
60485         (sloww2): Likewise.
60486         (bsloww1): Likewise.
60487         (bsloww2): Likewise.
60488         (cslow2): Likewise.
60489         (csloww1): Likewise.
60490         (csloww2): Likewise.
60492         * sysdeps/ieee754/dbl-64/s_sin.c (reduce_and_compute): New
60493         function.
60494         (__sin): Use it.
60495         (__cos): Likewise.
60497         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Remove redundant
60498         gotos.
60499         (__cos): Likewise.
60501 2013-09-18  Maciej W. Rozycki  <macro@codesourcery.com>
60503         * config.h.in (HAVE_MIPS_NAN2008): New macro.
60504         * elf/elf.h (EF_MIPS_NAN2008): Likewise.
60505         * sysdeps/generic/ldconfig.h (FLAG_MIPS_LIB32_NAN2008): Likewise.
60506         (FLAG_MIPS64_LIBN32_NAN2008): Likewise.
60507         (FLAG_MIPS64_LIBN64_NAN2008): Likewise.
60508         * elf/cache.c (print_entry): Handle the new cache flags.
60510 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
60511             Aldy Hernandez  <aldyh@redhat.com>
60513         * sysdeps/powerpc/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]:
60514         Change condition to [_SOFT_FLOAT].
60515         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_NEAREST): New macro.
60516         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_DOWN): Likewise.
60517         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_UP): Likewise.
60518         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RC_ZERO): Likewise.
60519         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_ZM): Likewise.
60520         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_OM): Likewise.
60521         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_UM): Likewise.
60522         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_XM): Likewise.
60523         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_MASK_IM): Likewise.
60524         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_RESERVED): Likewise.
60525         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_DEFAULT): Likewise.
60526         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_IEEE): Likewise.
60527         [__NO_FPRS__ && !_SOFT_FLOAT] (fpu_control_t): New typedef.
60528         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_GETCW): New macro.
60529         [__NO_FPRS__ && !_SOFT_FLOAT] (_FPU_SETCW): Likewise.
60530         [__NO_FPRS__ && !_SOFT_FLOAT] (__fpu_control): New variable
60531         declaration.
60533 2013-09-18  Joseph Myers  <joseph@codesourcery.com>
60535         * sysdeps/powerpc/powerpc32/__longjmp-common.S (LOAD_GP): Define
60536         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
60537         (__longjmp): Use LOAD_GP to load saved GPRs.
60538         * sysdeps/powerpc/powerpc32/setjmp-common.S (SAVE_GP): Define
60539         macro conditional on [__SPE__ || (__NO_FPRS__ && !_SOFT_FLOAT)].
60540         (__sigsetjmp): Use SAVE_GP to save GPRs.
60542         * sysdeps/powerpc/powerpc32/Makefile [$(with-fp) = no] (+cflags):
60543         Do not append -msoft-float.
60544         [$(with-fp) = no] (sysdep-LDFLAGS): Likewise.
60546 2013-09-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
60548         * sysdeps/ieee754/dbl-64/sincos32.c: Fix code formatting.
60550 2013-09-17  Joseph Myers  <joseph@codesourcery.com>
60552         [BZ #15966]
60553         * sysdeps/powerpc/fpu_control.h [!_SOFT_FLOAT && !__NO_FPRS__]
60554         (_FPU_GETCW): Use initial "__" on variable and field names but not
60555         on macro parameter name.
60556         [!_SOFT_FLOAT && !__NO_FPRS__] (_FPU_SETCW): Likewise.  Use
60557         parentheses around reference to macro parameter.
60559 2013-09-13  Richard Sandiford  <richard@codesourcery.com>
60561         * locale/programs/ld-ctype.c (find_idx): Use uint32_t in
60562         prototype.
60563         (ctype_startup): Use uint32_t in cast and sizeof for
60564         ctype->charnames.
60566 2013-09-11  Jia Liu  <proljc@gmail.com>
60568         * sunrpc/rpc/types.h [__APPLE_CC__]: Define __u_char_defined and
60569         __daddr_t_defined.
60570         [__FreeBSD__]: Likewise.
60572 2013-09-11  Ondřej Bílka  <neleai@seznam.cz>
60574         * sysdeps/x86_64/multiarch/ifunc-impl-list.c
60575         (__libc_ifunc_impl_list): Remove: __strchr_sse42.
60576         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Remove.
60577         (strchr): Remove __strchr_sse42 ifunc selection.
60578         * sysdeps/x86_64/strchr.S (strchr): Use optimized implementation.
60579         * sysdeps/x86_64/strchrnul.S: Include sysdeps/x86_64/strchr.S.
60581 2013-09-11  Will Newton  <will.newton@linaro.org>
60583         * benchtests/bench-timing.h (TIMING_INIT): Rename ITERS
60584         parameter to RES. Remove hardcoded 1000 value.
60585         * benchtests/bench-skeleton.c (main): Pass RES parameter
60586         to TIMING_INIT and multiply result by 1000.
60588 2013-09-10  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60590         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
60592 2013-09-11  Andreas Schwab  <schwab@suse.de>
60594         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (__O_TMPFILE): Define
60595         if not defined.
60596         (O_TMPFILE) [__USE_GNU]: Define.
60597         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_TMPFILE):
60598         Define.
60600 2013-09-11  Will Newton  <will.newton@linaro.org>
60602         [BZ #15857]
60603         * malloc/malloc.c (__libc_memalign): Check the value of bytes
60604         does not overflow.
60606 2013-09-11  Will Newton  <will.newton@linaro.org>
60608         [BZ #15856]
60609         * malloc/malloc.c (__libc_valloc): Check the value of bytes
60610         does not overflow.
60612 2013-09-11  Will Newton  <will.newton@linaro.org>
60614         [BZ #15855]
60615         * malloc/malloc.c (__libc_pvalloc): Check the value of bytes
60616         does not overflow.
60618 2013-09-10  Ondřej Bílka  <neleai@seznam.cz>
60620         * sysdeps/ieee754/dbl-64/e_j0.c: Remove DO_NOT_USE_THIS conditionals.
60621         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
60622         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
60623         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
60624         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
60626 2013-09-10  Allan McRae  <allan@archlinux.org>
60628         [BZ #15748]
60629         * manual/arith.texi (Parsing of Floats): Clarify
60630         cross-reference.
60632         [BZ #15849]
60633         * manual/install.texi (Running make install): Mention
60634         --enable-pt-chown.
60635         * INSTALL: Regenerated.
60637 2013-09-09  Maciej W. Rozycki  <macro@codesourcery.com>
60639         * csu/init-first.c (_init): Remove the !SHARED condition around
60640         FPU control word initialization.
60641         * elf/dl-support.c (_dl_fpu_control): New variable.
60642         (_dl_aux_init) <AT_FPUCW>: Initialize it.
60643         * math/test-fpucw.c [!FPU_CONTROL] (FPU_CONTROL): New macro.
60644         (main): Replace _FPU_DEFAULT with FPU_CONTROL throughout.
60645         * math/test-fpucw-static.c: New file.
60646         * math/test-fpucw-ieee.c: New file.
60647         * math/test-fpucw-ieee-static.c: New file.
60648         * math/Makefile (tests): Add `test-fpucw-ieee' and
60649         `$(tests-static)'.
60650         (tests-static): New variable.
60651         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests))): Move
60652         dependency to...
60653         [($(build-shared),yes)]
60654         ($(addprefix $(objpfx),$(filter-out $(tests-static),$(tests)))):
60655         ... this.
60656         [($(build-shared),yes)] ($(addprefix $(objpfx),$(tests-static))):
60657         New dependency.
60659 2013-09-09  Allan McRae  <allan@archlinux.org>
60661         [BZ #15939]
60662         * manual/string.texi (Collation Functions): Fix typo in
60663         strcoll example.
60664         Reported by Suren Karapetyan <me@suren.karapetyan.name>.
60666         [BZ #15893]
60667         * stdlib/isomac.c (get_null_defines): Fix memory leak.
60669         [BZ #15892]
60670         * libio/memstream.c (open_memstream): Fix memory leak.
60671         * libio/wmemstream.c (open_wmemstream): Likewise.
60673         [BZ #15895]
60674         * nscd/netgroupcache.c: Fix nesting of ifdefs.
60676 2013-09-09  Will Newton  <will.newton@linaro.org>
60678         * malloc/Makefile: Add tst-realloc to tests.
60679         * malloc/tst-realloc.c: New file.
60681 2013-09-09  Allan McRae  <allan@archlinux.org>
60683         [BZ #15844]
60684         * COPYING: Update from GNU website to fix FSF address.
60685         * COPYING.LIB: Likewise.
60687 2013-09-06  David S. Miller  <davem@davemloft.net>
60689         * po/zh_TW.po: Update Chinese (traditional) translation from
60690         translation project.
60692 2013-09-06  Richard Sandiford  <richard@codesourcery.com>
60693             Joseph Myers  <joseph@codesourcery.com>
60695         * locale/programs/locfile.c: Include <assert.h>, <wchar.h> and
60696         "localeinfo.h".
60697         (obstack_chunk_alloc): New macro.
60698         (obstack_chunk_free): Likewise.
60699         (record_offset): New function.
60700         (init_locale_data): Likewise.
60701         (align_locale_data): Likewise.
60702         (add_locale_empty): Likewise.
60703         (add_locale_raw_data): Likewise.
60704         (add_locale_raw_obstack): Likewise.
60705         (add_locale_string): Likewise.
60706         (add_locale_wstring): Likewise.
60707         (add_locale_uint32): Likewise.
60708         (add_locale_uint32_array): Likewise.
60709         (add_locale_char): Likewise.
60710         (start_locale_structure): Likewise.
60711         (end_locale_structure): Likewise.
60712         (start_locale_prelude): Likewise.
60713         (end_locale_prelude): Likewise.
60714         (write_locale_data): Take locale_file structure rather than an
60715         iovec.
60716         * locale/programs/locfile.h: Include "obstack.h".
60717         (struct locale_file): Change to store locale file contents instead
60718         of header.
60719         (init_locale_data): New prototype.
60720         (align_locale_data): Likewise.
60721         (add_locale_empty): Likewise.
60722         (add_locale_raw_data): Likewise.
60723         (add_locale_raw_obstack): Likewise.
60724         (add_locale_string): Likewise.
60725         (add_locale_wstring): Likewise.
60726         (add_locale_uint32): Likewise.
60727         (add_locale_uint32_array): Likewise.
60728         (add_locale_char): Likewise.
60729         (start_locale_structure): Likewise.
60730         (end_locale_structure): Likewise.
60731         (start_locale_prelude): Likewise.
60732         (end_locale_prelude): Likewise.
60733         (write_locale_data): Update prototype.
60734         * locale/programs/3level.h (struct TABLE): Remove result field.
60735         (CONCAT(TABLE,_finalize)): Change to CONCAT(add_locale_,TABLE).
60736         Use new locale_file interface.
60737         [!NO_FINALIZE]: Change condition to [!NO_ADD_LOCALE].
60738         (NO_FINALIZE): Change #undef to #undef of NO_ADD_LOCALE.
60739         * locale/programs/ld-address.c (address_output): Use new
60740         locale_file interface.
60741         * locale/programs/ld-collate.c (NO_FINALIZE): Change to
60742         NO_ADD_LOCALE.
60743         (collate_finish): Don't call collseq_table_finalize.
60744         (collate_output): Use new locale_file interface.
60745         * locale/programs/ld-ctype.c: Move includes of "3level.h" earlier
60746         in file.
60747         (NO_FINALIZE): Change to NO_ADD_LOCALE.
60748         (TABLE): Move defines earlier in file.
60749         (ELEMENT): Likewise.
60750         (DEFAULT): Likewise.
60751         (wctrans_table_add): Move macro and inline function earlier in
60752         file.
60753         (struct wctype_table): Move type earlier in file.
60754         (add_locale_wctype_table): New static prototype.
60755         (struct locale_ctype_t): Use logical types instead of struct iovec
60756         pointers for members.
60757         (ctype_output): Use new locale_file interface.
60758         (wctype_table_finalize): Change to add_locale_wctype_table.  Use
60759         new locale_file interface.
60760         (allocate_arrays): Update for use of new locale_file interface.
60761         * locale/programs/ld-identification.c (identification_output): Use
60762         new locale_file interface.
60763         * locale/programs/ld-measurement.c (measurement_output): Likewise.
60764         * locale/programs/ld-messages.c (messages_output): Likewise.
60765         * locale/programs/ld-monetary.c (monetary_output): Likewise.
60766         * locale/programs/ld-name.c (name_output): Likewise.
60767         * locale/programs/ld-numeric.c (numeric_output): Likewise.
60768         * locale/programs/ld-paper.c (paper_output): Likewise.
60769         * locale/programs/ld-telephone.c (telephone_output): Likewise.
60770         * locale/programs/ld-time.c (time_output): Likewise.
60772 2013-09-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60774         * benchtests/Makefile: Add memrchr benchmark.
60775         * benchtests/bench-memchr.c (USE_AS_MEMRCHR): Add define to use
60776         benchmark as memrchr.
60777         * benchtests/bench-memrchr-ifunc.c: New file.
60778         * benchtests/bench-memrchr.c: New file.
60780 2013-09-06   Will Newton  <will.newton@linaro.org>
60782         * benchtests/Makefile (string-bench): Add memcpy.
60784 2013-09-05  Carlos O'Donell  <carlos@redhat.com>
60785             Cong Wang  <amwang@redhat.com>
60787         [BZ #15850]
60788         * sysdeps/unix/sysv/linux/bits/in.h
60789         [_UAPI_LINUX_IN6_H]: Define __USE_KERNEL_IPV6_DEFS.
60790         * inet/netinet/in.h: Move in_addr definition and bits/in.h inclusion
60791         before __USE_KERNEL_IPV6_DEFS uses.
60792         * inet/netinet/in.h [!__USE_KERNEL_IPV6_DEFS]: Define IPPROTO_MH, and
60793         IPPROTO_BEETPH.
60794         [__USE_KERNEL_IPV6_DEFS]: Don't define any of IPPROTO_*, in6_addr,
60795         sockaddr_in6, or ipv6_mreq.
60797 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60799         * sysdeps/powerpc/powerpc32/power7/memrchr.S (__memrchr): Fix invalid
60800         memory access for final bytes in some large inputs.
60801         * sysdeps/powerpc/powerpc64/power7/memrchr.S (__memrchr): Likewise.
60803 2013-09-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
60805         * string/test-memrchr.c: New file.
60806         * string/test-memrchr-ifunc.c: New file.
60807         * string/Makefile: Add new memrchr testcase.
60809 2013-09-05  Mike Frysinger  <vapier@gentoo.org>
60811         * sysdeps/unix/sysv/linux/tst-fanotify.c (do_test): Skip test when
60812         fanotify_init returns EPERM.
60814 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
60816         * conform/conformtest.pl (newtoken): Treat tokens not allowed as
60817         errors.
60818         (top level): Treat second token from macro or constant entries for
60819         allowed headers as allowed.
60820         * include/complex.h: Condition internal declarations on
60821         [!_ISOMAC].
60822         * include/fenv.h: Condition include of <stdbool.h> and internal
60823         declarations on [!_ISOMAC].
60825 2013-09-04  Chris Leonard  <cjl@sugarlabs,.org>
60827         [BZ #15923]
60828         * locale/iso-4217.def: Update iso-1427.def and related occurrences.
60830 2013-09-04  Joseph Myers  <joseph@codesourcery.com>
60832         * configure.in (--enable-versioning): Remove configure option.
60833         (libc_cv_asm_symver_directive): Remove configure test.
60834         (libc_cv_ld_version_script_option): Likewise.
60835         (VERSIONING): Remove variable and AC_SUBST.
60836         (DO_VERSIONING): Remove AC_DEFINE.
60837         * configure: Regenerated.
60838         * config.h.in (DO_VERSIONING): Remove macro.
60839         * Makerules [$(versioning) = yes]: Change conditionals to
60840         [$(build-shared) = yes].
60841         * config.make.in (versioning): Remove variable.
60842         * dlfcn/Makefile [$(versioning) = yes]: Change conditionals to
60843         [$(build-shared) = yes].
60844         * dlfcn/modstatic2.c (test) [DO_VERSIONING]: Remove conditional.
60845         * dlfcn/tststatic2.c (main) [DO_VERSIONING]: Likewise.
60846         * elf/Makefile [$(versioning) = yes]: Change conditionals to
60847         [$(build-shared) = yes].
60848         * extra-lib.mk [$(versioning) = yes]: Likewise.
60849         * hurd/Makefile [$(versioning) = yes]: Likewise.
60850         * hurd/geteuids.c [SHARED && DO_VERSIONING]: Change conditional to
60851         [SHARED].
60852         * include/libc-symbols.h [DO_VERSIONING]: Change conditional to
60853         [SHARED].
60854         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
60855         [SHARED && !NO_HIDDEN].
60856         * include/shlib-compat.h [DO_VERSIONING]: Change conditional to
60857         [SHARED].
60858         [SHARED && DO_VERSIONING]: Likewise..
60859         * libio/Makefile [$(versioning) = yes]: Change conditionals to
60860         [$(build-shared) = yes].
60861         * manual/install.texi (--disable-versioning): Remove
60862         documentation.
60863         * INSTALL: Regenerated.
60864         * resolv/res_libc.c [SHARED && DO_VERSIONING]: Change conditional
60865         to [SHARED].
60866         * sunrpc/Makefile [$(versioning) = yes]: Change conditional to
60867         [$(build-shared) = yes].
60868         * sysdeps/gnu/Makefile [$(versioning) = yes]: Likewise.
60869         * sysdeps/i386/i686/multiarch/strstr-c.c
60870         [SHARED && DO_VERSIONING && !NO_HIDDEN]: Change conditional to
60871         [SHARED && !NO_HIDDEN].
60872         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h
60873         [SHARED && DO_VERSIONING]: Change conditional to [SHARED].
60874         * sysdeps/powerpc/powerpc32/dl-machine.c
60875         [SHARED && !(DO_VERSIONING - 0)]: Remove conditional error.
60876         * sysdeps/powerpc/powerpc32/sysdep.h
60877         [SHARED && DO_VERSIONING && PIC && !NO_HIDDEN]: Change conditional
60878         to [SHARED && PIC && !NO_HIDDEN].
60879         * sysdeps/wordsize-32/divdi3.c [SHARED && DO_VERSIONING]: Change
60880         conditional to [SHARED].
60882 2013-09-04   Will Newton  <will.newton@linaro.org>
60884         * benchtests/bench-timing.h (TIMING_PRINT_MEAN): New macro.
60885         * benchtests/bench-string.h: Include bench-timing.h instead
60886         of including hp-timing.h directly. (INNER_LOOP_ITERS): New
60887         define. (HP_TIMING_BEST): Delete macro. (test_init): Remove
60888         call to HP_TIMING_DIFF_INIT.
60889         * benchtests/bench-memccpy.c: Use bench-timing.h macros
60890         instead of hp-timing.h macros.
60891         * benchtests/bench-memchr.c: Likewise.
60892         * benchtests/bench-memcmp.c: Likewise.
60893         * benchtests/bench-memcpy.c: Likewise.
60894         * benchtests/bench-memmem.c: Likewise.
60895         * benchtests/bench-memmove.c: Likewise.
60896         * benchtests/bench-memset.c: Likewise.
60897         * benchtests/bench-rawmemchr.c: Likewise.
60898         * benchtests/bench-strcasecmp.c: Likewise.
60899         * benchtests/bench-strcasestr.c: Likewise.
60900         * benchtests/bench-strcat.c: Likewise.
60901         * benchtests/bench-strchr.c: Likewise.
60902         * benchtests/bench-strcmp.c: Likewise.
60903         * benchtests/bench-strcpy.c: Likewise.
60904         * benchtests/bench-strcpy_chk.c: Likewise.
60905         * benchtests/bench-strlen.c: Likewise.
60906         * benchtests/bench-strncasecmp.c: Likewise.
60907         * benchtests/bench-strncat.c: Likewise.
60908         * benchtests/bench-strncmp.c: Likewise.
60909         * benchtests/bench-strncpy.c: Likewise.
60910         * benchtests/bench-strnlen.c: Likewise.
60911         * benchtests/bench-strpbrk.c: Likewise.
60912         * benchtests/bench-strrchr.c: Likewise.
60913         * benchtests/bench-strspn.c: Likewise.
60914         * benchtests/bench-strstr.c: Likewise.
60916 2013-09-04  Will Newton  <will.newton@linaro.org>
60918         * benchtests/Makefile: Use LDLIBS instead of LDFLAGS.
60920 2013-09-03  Joseph Myers  <joseph@codesourcery.com>
60922         [BZ #15427]
60923         * sysdeps/ieee754/flt-32/e_lgammaf_r.c (__ieee754_lgammaf_r): Use
60924         2**-30 instead of 2**-70 as threshold for returning -log(|x|).
60925         * math/libm-test.inc (lgamma_test_data): Add more tests.
60926         * sysdeps/i386/fpu/libm-test-ulps: Update.
60927         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60929 2013-09-03   Ondřej Bílka  <neleai@seznam.cz>
60931         * sysdeps/x86_64/multiarch/strcmp-sse2-unaligned.S: New file.
60932         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
60933         Add ifunc.
60934         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
60935         Add strcmp-sse2-unaligned
60936         * sysdeps/x86_64/multiarch/strcmp.S (strcmp): Add ifunc.
60938 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
60940         * Versions.def (libc): Add GLIBC_2.19.
60942 2013-09-02  Mike Frysinger  <vapier@gentoo.org>
60944         * sysdeps/unix/sysv/linux/tst-fanotify.c: New test.
60945         * sysdeps/unix/sysv/linux/Makefile (tests): Add tst-fanotify.
60947 2013-09-02  Joseph Myers  <joseph@codesourcery.com>
60949         [BZ #14155]
60950         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_jnf): Use double for
60951         intermediate calculations in recurrence.
60952         (__ieee754_ynf): Likewise.
60953         * math/libm-test.inc (jn_test_data): Do not allow spurious
60954         underflow exception.  Add more tests.
60955         (yn_test_data): Add more tests.
60956         * sysdeps/i386/fpu/libm-test-ulps: Update.
60957         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
60959 2013-09-02   Ondřej Bílka  <neleai@seznam.cz>
60961         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Fix typo.
60963 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
60965         * csu/init-first.c: Fix then/than typos.
60966         * locale/programs/ld-collate.c: Likewise.
60967         * locale/programs/linereader.h: Likewise.
60968         * manual/charset.texi: Likewise.
60969         * manual/filesys.texi: Likewise.
60970         * manual/stdio.texi: Likewise.
60971         * manual/string.texi: Likewise.
60972         * stdlib/fmtmsg.c: Likewise.
60973         * sysdeps/i386/stpncpy.S: Likewise.
60974         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
60975         * sysdeps/powerpc/powerpc32/power6/memset.S: Likewise.
60976         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
60977         * sysdeps/powerpc/powerpc64/power6/memset.S: Likewise.
60979 2013-08-30   Ondřej Bílka  <neleai@seznam.cz>
60981         * elf/dl-open.c: Fix typos.
60982         * iconvdata/gbbig5.c: Likewise.
60983         * iconvdata/iso-2022-jp.c: Likewise.
60984         * iconv/gconv_int.h: Likewise.
60985         * iconv/loop.c: Likewise.
60986         * nis/rpcsvc/nis.h: Likewise.
60987         * resolv/ns_name.c: Likewise.
60988         * stdio-common/vfscanf.c: Likewise.
60989         * streams/stropts.h: Likewise.
60990         * sunrpc/rpc_thread.c: Likewise.
60991         * sysdeps/i386/strpbrk.S: Likewise.
60992         * sysdeps/ieee754/k_standard.c: Likewise.
60993         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
60994         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
60995         * sysdeps/mach/hurd/dl-sysdep.c: Likewise.
60996         * sysdeps/mach/hurd/profil.c: Likewise.
60997         * sysdeps/s390/dl-procinfo.h: Likewise.
60998         * sysdeps/unix/sysv/linux/i386/chown.c: Likewise.
60999         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Likewise.
61000         * sysdeps/unix/sysv/linux/sparc/sparc32/makecontext.c: Likewise.
61001         * sysdeps/x86_64/dl-trampoline.S: Likewise.
61002         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
61004 2013-08-30  Ondřej Bílka  <neleai@seznam.cz>
61006         * sysdeps/x86_64/multiarch/rawmemchr.S: Delete.
61007         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Remove rawmemchr ifunc.
61009 2013-08-29  Ondřej Bílka  <neleai@seznam.cz>
61011         * sysdeps/unix/sysv/linux/powerpc/aix/aix-dirent.h: Remove
61012         aix specific files.
61013         * sysdeps/unix/sysv/linux/powerpc/aix/aix-errno.h: Likewise.
61014         * sysdeps/unix/sysv/linux/powerpc/aix/aix-stat.h: Likewise.
61015         * sysdeps/unix/sysv/linux/powerpc/aix/aix-termios.h: Likewise.
61016         * sysdeps/unix/sysv/linux/powerpc/aix/direntconv.c: Likewise.
61017         * sysdeps/unix/sysv/linux/powerpc/aix/errnoconv.c: Likewise.
61018         * sysdeps/unix/sysv/linux/powerpc/aix/statconv.c: Likewise.
61019         * sysdeps/unix/sysv/linux/powerpc/aix/tcgetattr.c: Likewise.
61020         * sysdeps/unix/sysv/linux/powerpc/aix/tcsetattr.c: Likewise.
61022 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
61023             Roland McGrath  <roland@hack.frob.com>
61025         * sysdeps/mach/hurd/errnos.awk (BEGIN): Emit ESUCCESS.
61026         * sysdeps/mach/hurd/bits/errno.h: Regenerate.
61028 2013-08-29  Samuel Thibault  <samuel.thibault@ens-lyon.org>
61030         * sysdeps/mach/hurd/i386/init-first.c (init1): Use
61031         __executable_start symbol instead of _start.
61033 2013-08-29  Thomas Schwinge  <thomas@codesourcery.com>
61035         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_HEADER)
61036         (VALID_ELF_OSABI, VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA):
61037         Move macros to...
61038         * sysdeps/gnu/ldsodefs.h: ... this new file.
61040         * sysdeps/unix/sysv/linux/ldsodefs.h (VALID_ELF_OSABI)
61041         (VALID_ELF_ABIVERSION, MORE_ELF_HEADER_DATA): Use ELFOSABI_GNU
61042         instead of ELFOSABI_LINUX.
61044         [BZ #15522] strtod ("nan(N)") returning a sNaN in some cases
61045         * stdlib/strtof_l.c (SET_MANTISSA): Rewrite.
61046         * stdlib/strtod_l.c (SET_MANTISSA): Likewise.
61047         * sysdeps/ieee754/ldbl-64-128/strtold_l.c (SET_MANTISSA):
61048         Likewise.
61049         * sysdeps/ieee754/ldbl-96/strtold_l.c (SET_MANTISSA): Likewise.
61050         * sysdeps/ieee754/ldbl-128/strtold_l.c (SET_MANTISSA): Likewise.
61051         * sysdeps/ieee754/ldbl-128ibm/strtold_l.c (SET_MANTISSA):
61052         Likewise.
61053         * sysdeps/ieee754/ldbl-128ibm/ieee754.h
61054         (ibm_extended_long_double): Add ieee_nan member.
61055         * stdlib/tst-strtod6.c (test): New function, renamed from do_test.
61056         (do_test): New function.
61058         * math/basic-test.c (TEST_CONVERT): New macro, renamed from
61059         TEST_TRUNC.
61060         (convert_dfsf_test, convert_tfsf_test, convert_tfdf_test): New
61061         functions, renamed from truncdfsf_test, trunctfsf_test,
61062         trunctfdf_test.
61063         (convert_sfdf_test, convert_sftf_test, convert_dftf_test): New
61064         functions.
61065         (do_test): Run all these.
61067 2013-08-29   Ondřej Bílka  <neleai@seznam.cz>
61069         * argp/argp-help.c: Fix typos.
61070         * argp/argp-parse.c: Likewise.
61071         * debug/backtracesyms.c: Likewise.
61072         * elf/elf.h: Likewise.
61073         * malloc/malloc.c: Likewise.
61074         * nis/nis_print.c: Likewise.
61075         * resolv/res_comp.c: Likewise.
61076         * stdlib/stdlib.h: Likewise.
61077         * sunrpc/clnt_tcp.c: Likewise.
61078         * sunrpc/clnt_udp.c: Likewise.
61079         * sunrpc/clnt_unix.c: Likewise.
61080         * sysdeps/unix/bsd/ptsname.c: Likewise.
61081         * sysdeps/unix/sysv/linux/ifaddrs.c: Likewise.
61082         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Likewise.
61083         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext-common.S:
61084         Likewise.
61085         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext-common.S:
61086         Likewise.
61087         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S:
61088         Likewise.
61089         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
61091 2013-08-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
61093         * nscd/aicache.c (addhstaiX): Use __glibc_unlikely.
61094         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
61096 2013-08-27  Mike Frysinger  <vapier@gentoo.org>
61098         [BZ #15897]
61099         * dlfcn/Makefile (tests): Add bug-dl-leaf.
61100         (modules-names): Add bug-dl-leaf-lib and bug-dl-leaf-lib-cb.
61101         ($(objpfx)bug-dl-leaf): New rule.
61102         ($(objpfx)bug-dl-leaf.so): Likewise.
61103         ($(objpfx)bug-dl-leaf.out): Likewise.
61104         ($(objpfx)bug-dl-leaf-lib.so): Likewise.
61105         ($(objpfx)bug-dl-leaf-lib-cb.so): Likewise.
61106         * dlfcn/bug-dl-leaf.c: New test.
61107         * dlfcn/bug-dl-leaf-lib.c: Likewise.
61108         * dlfcn/bug-dl-leaf-lib-cb.c: Likewise.
61109         * dlfcn/dlfcn.h (dlopen): Change __THROW to __THROWNL.
61110         (dlclose): Likewise.
61111         (dlmopen): Likewise.
61113 2013-08-27  Roland McGrath  <roland@hack.frob.com>
61115         * include/netdb.h [!_ISOMAC]:
61116         Don't include <tls.h>.
61117         (h_errno, __libc_h_errno): Move declaration and macros out of
61118         [_LIBC_REENTRANT].
61120         * include/resolv.h [_RESOLV_H_]:
61121         Don't include <tls.h>.
61122         (__resp, _res): Move declaration and macro out of [_LIBC_REENTRANT].
61123         * resolv/res_libc.c: Don't include <tls.h>.
61124         (_res): Use __attribute__ ((nocommon)) in place of
61125         __attribute__ ((section (".bss"))).
61127         * Makefile ($(common-objpfx)linkobj/libc_pic.a):
61128         If [sunrpc not in $(subdirs)], define to use libc_pic.a directly.
61130         * resolv/res_send.c (send_dg): Don't try to use ioctl unless [FIONREAD].
61132         * resolv/res_hconf.c [!NOT_IN_libc] (ifaddrs): Declare
61133         only under [SIOCGIFCONF && SIOCGIFNETMASK].
61135         * resolv/res_mkquery.c: Include <sys/time.h>.
61137         * inet/ifreq.c: Moved to ...
61138         * sysdeps/unix/ifreq.c: ... here.
61139         * inet/ifreq.c: New file, true stub version.
61141         * socket/sa_len.c: New file.
61142         * socket/Makefile (aux): Add it.
61143         * sysdeps/unix/sysv/linux/Makefile
61144         [$(subdir) = socket] (sysdep_routines): Don't add sa_len here.
61145         * sysdeps/unix/sysv/linux/sa_len.c: Just #define HAVE_NET*_H
61146         and #include <socket/sa_len.c>.
61147         * sysdeps/unix/sysv/linux/s390/sa_len.c: Just #define
61148         HAVE_NETIUCV_IUCV_H and #include <sysdeps/unix/sysv/linux/sa_len.c>.
61150         * sysdeps/unix/bsd/bsd4.4/bits/socket.h: Moved to ...
61151         * bits/socket.h: ... here.
61153         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (enum __socket_type):
61154         Add SOCK_CLOEXEC, SOCK_NONBLOCK with values from FreeBSD.
61155         (SOCK_MAX, SOCK_TYPE_MASK): New macros.
61157 2013-08-27  Andreas Schwab  <schwab@suse.de>
61159         [BZ #15736]
61160         * locale/categories.def (LC_CTYPE): Add "nonascii-case" element.
61161         * string/Makefile (test-strcasecmp-ENV, test-strncasecmp-ENV)
61162         (test-strcasecmp-ifunc-ENV, test-strncasecmp-ifunc-ENV): Define.
61163         * string/test-strcasecmp.c (test_main): Run tests in several
61164         locales.
61165         * string/test-strncasecmp.c (test_main): Likewise.
61167         * sysdeps/i386/i686/multiarch/strcmp-sse4.S (__strcasecmp_sse4_2)
61168         (__strncasecmp_sse4_2) [PIC]: Restore %ebx before falling through
61169         to __strcasecmp_nonascii and __strncasecmp_nonascii.
61170         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (__strcasecmp_ssse3)
61171         (__strncasecmp_ssse3) [PIC]: Likewise.
61173 2013-08-26  Roland McGrath  <roland@hack.frob.com>
61175         * io/lxstat64.c: Just call __xstat64, for parity with stub __lxstat.
61177         * nss/nss_files/files-key.c: Include <rpc/des_crypt.h>
61178         instead of explicitly declaring xdecrypt.
61179         * nis/nss_nis/nis-publickey.c: Likewise.
61181 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
61183         [BZ #15890]
61184         * nscd/aicache.c: Include res_hconf.h.
61185         (addhstaiX): Initialize res_hconf.
61187 2013-08-26  Andreas Schwab  <schwab@suse.de>
61189         * stdlib/Makefile (LDFLAGS-tst-tls-atexit): Remove.
61190         ($(objpfx)tst-tls-atexit): Add dependencies here instead.
61192 2013-08-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
61194         * nscd/aicache.c (addhstaiX): Fix indentation.
61196 2013-08-25  Mike Frysinger  <vapier@gentoo.org>
61198         * configure.ac: Quote $build_pt_chown test.
61199         * configure: Regenerated.
61201 2013-08-23  Joseph Myers  <joseph@codesourcery.com>
61203         [BZ #15532]
61204         * math/s_cexp.c (__cexp): Return NaN + i0 for NaN + i0 argument.
61205         * math/s_cexpf.c (__cexpf): Likewise.
61206         * math/s_cexpl.c (__cexpl): Likewise.
61207         * math/libm-test.inc (cexp_test_data): Correct expected return
61208         value for NaN + i0.  Add another test.
61210 2013-08-22  David S. Miller  <davem@davemloft.net>
61212         * po/ca.po: Update Catalan translation from translation project.
61213         * po/uk.po: Add Ukrainian translations from translation project.
61215 2013-08-21  Joseph Myers  <joseph@codesourcery.com>
61217         [BZ #15797]
61218         * math/s_fdim.c (__fdim): Check for infinite arguments if result
61219         is infinite, not alongside NaN test.
61220         * math/s_fdimf.c (__fdimf): Likewise.
61221         * math/s_fdiml.c (__fdiml): Likewise.
61222         * math/libm-test.inc (fdim_test_data): Add more tests.  Test that
61223         errno is unchanged.
61225 2013-08-21   Ondřej Bílka  <neleai@seznam.cz>
61227         * argp/argp-help.c: Fix typos.
61228         * crypt/speeds.c: Likewise.
61229         * csu/check_fds.c: Likewise.
61230         * elf/dl-load.c: Likewise.
61231         * elf/dl-open.c: Likewise.
61232         * elf/reldep3.c: Likewise.
61233         * elf/reldep.c: Likewise.
61234         * elf/sprof.c: Likewise.
61235         * iconv/iconv_charmap.c: Likewise.
61236         * iconv/skeleton.c: Likewise.
61237         * iconv/strtab.c: Likewise.
61238         * io/lockf64.c: Likewise.
61239         * libio/libioP.h: Likewise.
61240         * resolv/gai_notify.c: Likewise.
61241         * resolv/ns_name.c: Likewise.
61242         * resolv/ns_samedomain.c: Likewise.
61243         * resolv/res_send.c: Likewise.
61244         * stdlib/random.c: Likewise.
61245         * sunrpc/rpc/xdr.h: Likewise.
61246         * sysdeps/i386/fpu/fraiseexcpt.c: Likewise.
61247         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
61248         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
61249         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
61250         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
61251         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
61252         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
61253         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
61254         * sysdeps/mach/hurd/check_fds.c: Likewise.
61255         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
61256         * sysdeps/powerpc/powerpc32/fpu/setjmp.S: Likewise.
61257         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
61258         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
61259         * sysdeps/powerpc/powerpc32/setjmp.S: Likewise.
61260         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
61261         * sysdeps/pthread/aio_notify.c: Likewise.
61262         * sysdeps/sparc/fpu/fraiseexcpt.c: Likewise.
61263         * sysdeps/unix/sysv/linux/socketcall.h: Likewise.
61264         * sysdeps/x86_64/fpu/fraiseexcpt.c: Likewise.
61265         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
61266         * sysdeps/x86/fpu/bits/fenv.h: Likewise.
61268 2013-08-21  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
61270         * sysdeps/i386/i686/multiarch/strcmp.S: Skip SSE4_2
61271         version if bit_Slow_SSE4_2 is set.
61272         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
61273         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
61275 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61277         [BZ #15867]
61278         * sysdeps/powerpc/powerpc32/backtrace.c (__backtrace): Handle signal
61279         trampoline stack frame information.
61280         * sysdeps/powerpc/powerpc64/backtrace.c (__backtrace): Likewise.
61281         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h
61282         (__vdso_sigtramp_rt64): New variable: PPC64 signal trampoline.
61283         (__vdso_sigtramp32): New variable: PPC32 signal trampoline.
61284         (__vdso_sigtramp_rt32): New variable: PPC32 signal trampoline.
61285         * sysdeps/unix/sysv/linux/powerpc/init-first.c
61286         (_libc_vdso_platform_setup): Initialize the signal trampolines.
61287         * debug/tst-backtrace5.c (fn): Add an option set modify sigaction
61288         sa_flags value.
61289         * debug/tst-backtrace6.c: New file: check backtrace for signal frames,
61290         interrupting a syscall and set with option SA_SIGINFO.
61292 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
61294         [BZ #15531]
61295         * math/s_cproj.c (__cproj): Only return an infinity if one part of
61296         argument is infinite.
61297         * math/s_cprojf.c (__cprojf): Likewise.
61298         * math/s_cprojl.c (__cprojl): Likewise.
61299         * sysdeps/ieee754/ldbl-128ibm/s_cprojl.c (__cprojl): Likewise.
61300         * math/libm-test.inc (cproj_test_data): Add more tests.
61302         * sysdeps/unix/sysv/linux/mmap64.c: Include <string.h>.
61304         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64)
61305         [MMAP2_PAGE_SHIFT == -1]: Use __getpagesize to determine page
61306         size.  Use __ffs to determine corresponding shift.
61308 2013-08-20  Joseph Myers  <joseph@codesourcery.com>
61309             Roland McGrath  <roland@hack.frob.com>
61311         * Makefile (INSTALL): Remove trailing blank lines from output of
61312         makeinfo.
61314 2013-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61316         * sysdeps/unix/sysv/linux/s390/sys/procfs.h (struct elf_prstatus):
61317         Align 32 bit compat elf_greg to 8 bytes.
61319 2013-08-20  Andreas Arnez  <arnez@linux.vnet.ibm.com>
61321         * elf/setup-vdso.h (setup_vdso): Fix missing string termination.
61323 2013-08-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
61325         * string/strcoll_l.c (coll_seq): New structure.
61326         (get_next_seq_cached): New function.
61327         (get_next_seq): New function.
61328         (do_compare): New function.
61329         (STRCOLL): Use GNU style definition.  Simplify implementation
61330         by using get_next_seq, get_next_seq_cached and do_compare.
61332 2013-08-16  Florian Weimer  <fweimer@redhat.com>
61334         [BZ #14699]
61335         CVE-2013-4237
61336         * sysdeps/posix/dirstream.h (struct __dirstream): Add errcode
61337         member.
61338         * sysdeps/posix/opendir.c (__alloc_dir): Initialize errcode
61339         member.
61340         * sysdeps/posix/rewinddir.c (rewinddir): Reset errcode member.
61341         * sysdeps/posix/readdir_r.c (__READDIR_R): Enforce NAME_MAX limit.
61342         Return delayed error code.  Remove GETDENTS_64BIT_ALIGNED
61343         conditional.
61344         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Do not define
61345         GETDENTS_64BIT_ALIGNED.
61346         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
61347         * manual/filesys.texi (Reading/Closing Directory): Document
61348         ENAMETOOLONG return value of readdir_r.  Recommend readdir more
61349         strongly.
61350         * manual/conf.texi (Limits for Files): Add portability note to
61351         NAME_MAX, PATH_MAX.
61352         (Pathconf): Add portability note for _PC_NAME_MAX, _PC_PATH_MAX.
61354 2013-08-13  Andreas Schwab  <schwab@suse.de>
61356         [BZ #15749]
61357         * sysdeps/ieee754/ldbl-96/s_cbrtl.c (__cbrtl): Use fabsl instead
61358         of fabs.
61359         * math/libm-test.inc (cbrt_test_data) [TEST_LDOUBLE &&
61360         LDBL_MAX_EXP >= 16384]: Add tests for it.
61362 2013-08-12  David S. Miller  <davem@davemloft.net>
61364         * version.h (RELEASE): Set to "development".
61365         (VERSION): Set to "2.18.90".
61366         * NEWS: Add 2.19 section.
61368 2013-08-03  David S. Miller  <davem@davemloft.net>
61370         * po/ko.po: Update Korean translation from translation project.
61372 2013-08-01  David S. Miller  <davem@davemloft.net>
61374         * manual/contrib.texi: Update entry for Siddhesh Poyarekar.  Add
61375         entries for Will Newton, Andi Kleen, David Holsgrove, and Ondrej
61376         Bilka.
61378 2013-07-30  David S. Miller  <davem@davemloft.net>
61380         * po/fr.po: Update French translation from translation project.
61382 2013-07-28  David S. Miller  <davem@davemloft.net>
61384         * po/cs.po: Update Czech translation from translation project.
61386         * po/sv.po: Update Swedish translation from translation project.
61388 2013-07-27  David S. Miller  <davem@davemloft.net>
61390         * po/eo.po: Update Esperanto translation from translation project.
61392         * po/vi.po: Update Vietnamese translation from translation project.
61394         * po/de.po: Update German translation from translation project.
61396 2013-07-26  David S. Miller  <davem@davemloft.net>
61398         * po/bg.po: Update Bulgarian translation from translation project.
61400         * po/nl.po: Update Dutch translation from translation project.
61401         * po/pl.po: Update Polish translation from translation project.
61402         * po/ru.po: Update Russian translation from translation project.
61404 2013-07-24  David S. Miller  <davem@davemloft.net>
61406         * po/libc.pot: Update.
61408 2013-07-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61410         * sysdeps/unix/sysv/linux/powerpc/dl-static.c: New file to support
61411         variable page size.
61412         * sysdeps/unix/sysv/linux/powerpc/ldsodefs.h: Likewise.
61413         * sysdeps/unix/sysv/linux/powerpc/Makefile: Build dl-static in elf.
61414         * sysdeps/unix/sysv/linux/powerpc/Versions: Add _dl_var_init.
61416 2013-07-22  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
61418         * sysdeps/s390/fpu/libm-test-ulps: Refresh.
61420 2013-07-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
61421             Andreas Schwab  <schwab@suse.de>
61422             Roland McGrath  <roland@hack.frob.com>
61423             Joseph Myers  <joseph@codesourcery.com>
61424             Carlos O'Donell  <carlos@redhat.com>
61426         [BZ #15755]
61427         * config.h.in: Define HAVE_PT_CHOWN.
61428         * config.make.in (build-pt-chown): New variable.
61429         * configure.in (--enable-pt_chown): New configure option.
61430         * configure: Regenerate.
61431         * login/Makefile: Include Makeconfig.  Build pt_chown only if
61432         build-pt-chown is enabled.
61433         * sysdeps/unix/grantpt.c (grantpt) [HAVE_PT_CHOWN]: Spawn
61434         pt_chown to fix pty ownership.
61435         * sysdeps/unix/sysv/linux/grantpt.c [HAVE_PT_CHOWN]: Define
61436         CLOSE_ALL_FDS.
61437         * manual/install.texi (Configuring and compiling): Mention
61438         --enable-pt_chown. Add @findex for grantpt.
61439         * INSTALL: Regenerate.
61441 2013-07-20  David S. Miller  <davem@davemloft.net>
61443         * sysdeps/sparc/fpu/libm-test-ulps: Update ULPs to handle minor
61444         difference between 32-bit and 64-bit.
61446 2013-07-15  Carlos O'Donell  <carlos@redhat.com>
61448         [BZ #15711]
61449         * sysdeps/unix/sysv/linux/Makefile ($(objpfx)bits/syscall%h):
61450         Avoid system header dependency with -ffreestanding.
61451         ($(objpfx)bits/syscall%d): Likewise.
61453 2013-07-13  David S. Miller  <davem@davemloft.net>
61455         * math/libm-test.inc (casin_test_data): Annotate more cases of missing
61456         underflows from atanl/atan2l due to bug 15319.
61457         (casinh_test_data): Likewise.
61459 2013-07-07  David S. Miller  <davem@davemloft.net>
61461         * sysdeps/sparc/fpu/libm-test-ulps: Regenerate from scratch.
61463 2013-07-05  Jeroen Albers  <_jeroen_@yahoo.com>
61465         * sysdeps/i386/fpu/libm-test-ulps: Update.
61466         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61468 2013-07-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
61470         * configure.in (--enable-lock-elision): Fix message text.
61471         * INSTALL: Regenerate.
61472         * configure: Regenerate.
61474 2013-07-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61476         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
61478 2013-07-03  Andreas Jaeger  <aj@suse.de>
61480         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_LISTEN): Add
61481         define.
61482         (PTRACE_PEEKSIGINFO): Add new value from Linux 3.10.
61483         (ptrace_peeksiginfo_args): Add.
61484         (__ptrace_peeksiginfo_flags): Add.
61485         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
61486         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
61487         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
61489 2013-07-03  Allan McRae  <allan@archlinux.org>
61491         * sysdeps/i386/fpu/libm-test-ulps: Update.
61493 2013-07-02  David S. Miller  <davem@davemloft.net>
61495         * sysdeps/sparc/fpu/libm-test-ulps: Update.
61497 2013-07-02  Markus Trippelsdorf  <markus@trippelsdorf.de>
61499         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
61501 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
61503         * sysdeps/i386/fpu/libm-test-ulps: Regenerated.
61504         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
61506 2013-07-02  Andi Kleen <ak@linux.intel.com>
61508         * config.h.in (ENABLE_LOCK_ELISION): Add.
61509         * configure.in (--enable-lock-elision): Add option.
61510         * manual/install.texi: Document --enable lock elision.
61511         * configure: Regenerate
61512         * INSTALL: Regenerate.
61514 2013-07-02  H.J. Lu  <hongjiu.lu@intel.com>
61516         * sysdeps/i386/i686/multiarch/strcasecmp.S (__strcasecmp): Enable
61517         SSE4.2 strcasecmp for libc.a.
61518         * sysdeps/i386/i686/multiarch/strncase.S (__strncasecmp): Likewise.
61520 2013-07-02  Joseph Myers  <joseph@codesourcery.com>
61522         [BZ #13304]
61523         * soft-fp/op-common.h (_FP_FMA): New macro.
61524         * soft-fp/op-1.h (_FP_FRAC_HIGHBIT_DW_1): New macro.
61525         (_FP_MUL_MEAT_DW_1_imm): Likewise.  Split out of ...
61526         (_FP_MUL_MEAT_1_imm): ... here.
61527         (_FP_MUL_MEAT_DW_1_wide): New macro.  Split out of ...
61528         (_FP_MUL_MEAT_1_wide): ... here.
61529         (_FP_MUL_MEAT_DW_1_hard): Likewise.  Split out of ...
61530         (_FP_MUL_MEAT_1_hard): ... here.
61531         * soft-fp/op-2.h (_FP_FRAC_HIGHBIT_DW_2): New macro.
61532         (_FP_MUL_MEAT_DW_2_wide): Likewise.  Split out of ...
61533         (_FP_MUL_MEAT_2_wide): ... here.
61534         (_FP_MUL_MEAT_DW_2_wide_3mul): New macro.  Split out of ...
61535         (_FP_MUL_MEAT_2_wide_3mul): ... here.
61536         (_FP_MUL_MEAT_DW_2_gmp): New macro.  Split out of ...
61537         (_FP_MUL_MEAT_2_gmp): ... here.
61538         * soft-fp/op-4.h (_FP_FRAC_HIGHBIT_DW_4): New macro.
61539         (_FP_MUL_MEAT_DW_4_wide): Likewise.  Split out of ...
61540         (_FP_MUL_MEAT_4_wide): ... here.
61541         (_FP_MUL_MEAT_DW_4_gmp): New macro.  Split out of ...
61542         (_FP_MUL_MEAT_4_gmp): ... here.
61543         * soft-fp/single.h (_FP_FRACTBITS_DW_S): New macro.
61544         (_FP_WFRACBITS_DW_S): Likewise.
61545         (_FP_WFRACXBITS_DW_S): Likewise.
61546         (_FP_HIGHBIT_DW_S): Likewise.
61547         (FP_FMA_S): Likewise.
61548         (_FP_FRAC_HIGH_DW_S): Likewise.
61549         * soft-fp/double.h (_FP_FRACTBITS_DW_D): New macro.
61550         (_FP_WFRACBITS_DW_D): Likewise.
61551         (_FP_WFRACXBITS_DW_D): Likewise.
61552         (_FP_HIGHBIT_DW_D): Likewise.
61553         (FP_FMA_D): Likewise.
61554         (_FP_FRAC_HIGH_DW_D): Likewise.
61555         * soft-fp/extended.h (_FP_FRACTBITS_DW_E): New macro.
61556         (_FP_WFRACBITS_DW_E): Likewise.
61557         (_FP_WFRACXBITS_DW_E): Likewise.
61558         (_FP_HIGHBIT_DW_E): Likewise.
61559         (FP_FMA_E): Likewise.
61560         (_FP_FRAC_HIGH_DW_E): Likewise.
61561         * soft-fp/quad.h (_FP_FRACTBITS_DW_Q): New macro.
61562         (_FP_WFRACBITS_DW_Q): Likewise.
61563         (_FP_WFRACXBITS_DW_Q): Likewise.
61564         (_FP_HIGHBIT_DW_Q): Likewise.
61565         (FP_FMA_Q): Likewise.
61566         (_FP_FRAC_HIGH_DW_Q): Likewise.
61567         * soft-fp/fmasf4.c: New file.
61568         * soft-fp/fmadf4.c: Likewise.
61569         * soft-fp/fmatf4.c: Likewise.
61571 2013-06-28  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
61573         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
61574         bit_Slow_SSE4_2 and bit_Prefer_PMINUB_for_stringop for Intel
61575         Silvermont.
61576         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_SSE4_2): New
61577         macro.
61578         (index_Slow_SSE4_2): Likewise.
61579         (index_Prefer_PMINUB_for_stringop): Likewise.
61580         * sysdeps/x86_64/multiarch/strchr.S: Skip SSE4.2 version if
61581         bit_Slow_SSE4_2 is set.
61582         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
61583         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
61585 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
61587         * sysdeps/powerpc/Makefile: Add comment about generating an offset to
61588         rtld_global._dl_hwcap2.
61589         * sysdeps/powerpc/bits/hwcap.h: Added PPC_FEATURE2_* definitions for
61590         POWER8.
61591         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_cap_flags): Extend for
61592         POWER8 feature descriptions defined in _dl_hwcap2.
61593         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Implement AT_HWCAP2
61594         string handling for POWER8 feature bits.
61595         (_DL_HWCAP_COUNT): Increment to 64 to cover AT_HWCAP2 bits.
61596         (_DL_HWCAP_LAST): New definition for position of last AT_HWCAP bit in
61597         _dl_powerpc_cap_flags.
61598         (_DL_HWCAP2_LAST): New definition for last usable bit of AT_HWCAP2.
61599         * sysdeps/powerpc/rtld-global-offsets.sym
61600         (RTLD_GLOBAL_RO_DL_HWCAP2_OFFSET): New offset macro to locate
61601         _dl_hwcap2 in the rtld_global_ro structure.
61603 2013-06-28  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
61605         * elf/dl-support.c (_dl_hwcap2): Add a new hwcap field for more
61606         hardware capabilities in support of AT_HWCAP2.
61607         (_dl_aux_init): Read AT_HWCAP2 into GLRO(dl_hwcap2).
61608         * elf/dl-sysdep.c (_dl_sysdep_start): Read AT_HWCAP2 into
61609         GLRO(dl_hwcap2).
61610         (_dl_show_auxv): Add support for calling _dl_procinfo to display
61611         AT_HWCAP2.  If a platform doesn't chose to handle displaying AT_HWCAP2
61612         explicitly the unknown a_type display mechanism is used.
61613         * misc/getauxval.c (__getauxval): Return GLRO(dl_hwcap2) on AT_HWCAP2.
61614         * sysdeps/generic/ldsodefs.h (rtld_global_ro): Add _dl_hwcap2 as a new
61615         struct member.
61616         * sysdeps/generic/dl-procinfo.h (_dl_procinfo): Add TYPE parameter
61617         to macro prototype for AT_HWCAP2 support.
61618         * sysdeps/i386/dl-procinfo.h: Likewise.
61619         * sysdeps/s390/dl-procinfo.h: Likewise.
61620         * sysdeps/powerpc/dl-procinfo.h (_dl_procinfo): Add TYPE parameter to
61621         macro prototype for AT_HWCAP2 support.  Make WORD unsigned long int
61622         rather than signed int.  Stub in handler for TYPE == AT_HWCAP2 to
61623         return -1 for unknown a_type display fallback.
61624         * sysdeps/sparc/dl-procinfo.h: Likewise.
61625         * sysdeps/unix/sysv/linux/i386/dl-procinfo.h: Likewise.
61626         * sysdeps/unix/sysv/linux/s390/dl-procinfo.h: Likewise.
61628 2013-06-28  Joseph Myers  <joseph@codesourcery.com>
61630         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Shift by page_shift
61631         instead of MMAP2_PAGE_SHIFT in call to INLINE_SYSCALL.
61633 2013-06-28  Pierre Ynard  <linkfanel@yahoo.fr>
61635         [BZ #12492]
61636         * elf/dl-load.c (_dl_map_object_from_fd): Test for failure of
61637         mprotect making __stack_prot writable.
61639 2013-06-28  Nathan Froyd  <froydnj@codesourcery.com>
61640             Joseph Myers  <joseph@codesourcery.com>
61642         * elf/dl-profile.c (struct here_cg_arc_record): Declare 'count'
61643         as being properly aligned.
61645 2013-06-28  Maciej W. Rozycki  <macro@codesourcery.com>
61647         * dlfcn/modstatic5.c: New file.
61648         * dlfcn/tststatic5.c: New file.
61649         * dlfcn/Makefile (tests): Add tststatic5.
61650         (tests-static): Likewise.
61651         (modules-names): Add modstatic5.
61652         (tststatic5-ENV): New variable.
61653         ($(objpfx)tststatic5, $(objpfx)tststatic5.out): New dependencies.
61655         [BZ #15022]
61656         * elf/dl-support.c (_dl_main_map): New variable.
61657         (_dl_ns): Use it to initialize [LM_ID_BASE] element.
61658         (_dl_nns, _dl_load_adds): Set to 1.
61659         (_dl_initial_searchlist): Refer to _dl_main_map.
61660         (_dl_non_dynamic_init): Initialize _dl_main_map.l_origin.
61661         * elf/dl-load.c (_dl_dst_substitute) [!SHARED]: Remove fallback
61662         call to _dl_get_origin.
61663         * elf/dl-open.c (dl_open_worker): Remove !SHARED special casing
61664         around call_map.
61665         (_dl_open) [!SHARED]: Remove code to initialize GL(dl_nns).
61666         * dlfcn/modstatic3.c: New file.
61667         * dlfcn/tststatic3.c: New file.
61668         * dlfcn/tststatic4.c: New file.
61669         * dlfcn/Makefile (tests): Add tststatic3 and tststatic4.
61670         (tests-static): Likewise.
61671         (modules-names): Add modstatic3.
61672         (tststatic3-ENV, tststatic4-ENV): New variables.
61673         ($(objpfx)tststatic3, $(objpfx)tststatic3.out): New dependencies.
61674         ($(objpfx)tststatic4, $(objpfx)tststatic4.out): Likewise.
61676 2013-06-26  Joseph Myers  <joseph@codesourcery.com>
61678         * configure.in (CC): Require GCC version 4.4 or later.
61679         * configure: Regenerated.
61680         * manual/install.texi (Tools for Compilation): Update GCC version
61681         requirement.
61682         * INSTALL: Regenerated.
61684 2013-06-26  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
61686         [BZ #15674]
61687         * string/test-memcmp.c (check2): New.
61688         (main): Call check2.
61690         * sysdeps/x86_64/multiarch/memcmp-ssse3.S: Fix buffers overrun.
61692 2013-06-26  Maciej W. Rozycki  <macro@codesourcery.com>
61694         [BZ #15022]
61695         * elf/dl-open.c (_dl_open) [!SHARED]: Move call to DL_STATIC_INIT
61696         over to...
61697         (dl_open_worker) [!SHARED]: ... here.
61699 2013-06-26  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
61701         * elf/elf.h (AT_HWCAP2): Add a new a_type entry.
61703 2013-06-25  Richard Henderson  <rth@redhat.com>
61705         * locale/programs/locarchive.c: Include <libc-internal.h>
61707 2013-06-25  Joseph Myers  <joseph@codesourcery.com>
61709         * manual/texinfo.tex: Update to version 2013-06-21.17, with
61710         trailing whitespace removed.
61712 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
61714         [BZ #10283]
61715         * locale/locarchive.h (struct locarhandle): Add mmap_base and mmap_len.
61716         * locale/programs/locarchive.c: Include libc-mmap.h.
61717         (prepare_address_space): Take two new outputs (the mmap base and len).
61718         Align p to MAP_FIXED_ALIGNMENT.  Set mmap base and len to the right
61719         values.
61720         (create_archive): Declare new mmap base and len values for
61721         prepare_address_space, and store the result in ah.
61722         (file_data_available_p): Replace pagesz with MAP_FIXED_ALIGNMENT.
61723         (enlarge_archive): If ah->mmap_base is not NULL, use that and
61724         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
61725         Declare new mmap base and len values for
61726         prepare_address_space, and store the result in new_ah.
61727         (open_archive): Declare new mmap base and len values for
61728         prepare_address_space, and store the result in ah.
61729         (close_archive): If ah->mmap_base is not NULL, use that and
61730         ah->mmap_len to unmap rather than ah->addr and ah->reserved.
61731         * sysdeps/generic/libc-mmap.h: New file.
61733 2013-06-24  Mike Frysinger  <vapier@gentoo.org>
61735         * include/libc-internal.h (ALIGN_DOWN): New helper macro.
61736         (ALIGN_UP): Likewise.
61737         (PTR_ALIGN_DOWN): Likewise.
61738         (PTR_ALIGN_UP): Likewise.
61740 2013-06-24  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
61742         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add "power8"
61743         entry mapped to PPC_PLATFORM_POWER8.
61744         * sysdeps/powerpc/dl-procinfo.h (_DL_PLATFORMS_COUNT): Increment for
61745         POWER8.
61746         (PPC_PLATFORM_POWER8): Add new platform bit for POWER8 processor.
61747         (_dl_string_platform): Add case for exporting platform position for
61748         POWER8.
61749         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power8/Implies: Chain
61750         search path to sysdeps/powerpc/powerpc32/power8 directory.
61751         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power8/Implies: Chain
61752         search path to sysdeps/powerpc/powerpc64/power8 directory.
61753         * sysdeps/powerpc/powerpc32/power8/Implies: Chain search path to
61754         power7 directories.
61755         * sysdeps/powerpc/powerpc64/power8/Implies: Chain search path to
61756         power7 directories.
61758 2013-06-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
61760         * INSTALL: Regenerate.
61762         * nscd/connections.c (nscd_init): Fix comment.
61764 2013-06-22  Joseph Myers  <joseph@codesourcery.com>
61766         * sysdeps/unix/sysv/linux/libc_fatal.c: Include <string.h>.
61768         [BZ #15667]
61769         * soft-fp/op-4.h (__FP_FRAC_ADD_3): Rename variables _c1 and _c2
61770         to __FP_FRAC_ADD_3_c1 and __FP_FRAC_ADD_3_c2.
61772 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
61774         * elf/dl-dst.h (DL_DST_REQUIRED): Remove call to
61775         DL_DST_REQ_STATIC.
61776         (DL_DST_REQ_STATIC): Remove macro.
61778 2013-06-21  Joseph Myers  <joseph@codesourcery.com>
61780         [BZ #7006]
61781         * soft-fp/op-common.h (_FP_FROM_INT): Do not call _FP_FRAC_SLL
61782         with a shift of 0 bits.
61784 2013-06-21  Maciej W. Rozycki  <macro@codesourcery.com>
61786         * dlfcn/Makefile (tststatic2-ENV): Redefine in terms of
61787         $(tststatic-ENV).
61789 2013-06-21  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
61791         [BZ #15655]
61792         * sysdeps/sh/sh4/fpu/fgetexcptflg.c: New file.
61794 2013-06-20  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61796         * config.h.in (HAVE_CC_INHIBIT_LOOP_TO_LIBCALL): New define.
61797         * configure.in (libc_cv_cc_loop_to_function): Check if compiler
61798         accepts -fno-tree-loop-distribute-patterns.
61799         * include/libc-symbols.h (inhibit_loop_to_libcall): New macro.
61800         * string/memmove.c (MEMMOVE): Disable loop transformation to avoid
61801         recursive call.
61802         * string/memset.c (memset): Likewise.
61803         * string/test-memmove.c (simple_memmove): Disable loop transformation
61804         to library calls.
61805         * string/test-memset.c (simple_memset): Likewise.
61806         * benchtests/bench-memmove.c (simple_memmove): Likewise.
61807         * benchtests/bench-memset.c (simple_memset): Likewise.
61808         * configure: Regenerated.
61810 2013-06-20  Joseph Myers  <joseph@codesourcery.com>
61812         * math/test-misc.c (main): Ignore fesetround failure when failures
61813         of subsequent rounding tests would be ignored.
61815         [BZ #15654]
61816         * math/fedisblxcpt.c (fedisableexcept): Return 0.
61817         * math/feenablxcpt.c (feenableexcept): Return 0 for argument 0.
61818         * math/fegetenv.c (__fegetenv): Return 0.
61819         * math/fegetexcept.c (fegetexcept): Return 0.
61820         * math/fegetround.c (fegetround) [FE_TONEAREST]: Return
61821         FE_TONEAREST.
61822         * math/feholdexcpt.c (feholdexcept): Return 0.
61823         * math/fesetenv.c (__fesetenv): Return 0.
61824         * math/fesetround.c (fesetround) [FE_TONEAREST]: Return 0 for
61825         argument FE_TONEAREST.
61826         * math/feupdateenv.c (__feupdateenv): Return 0.
61827         * math/fgetexcptflg.c (__fegetexceptflag): Return 0.
61829 2013-06-18  Roland McGrath  <roland@hack.frob.com>
61831         * elf/rtld-Rules (rtld-compile-command.S): New variable.
61832         (rtld-compile-command.s, rtld-compile-command.c): New variables.
61833         ($(objpfx)rtld-%.os rules): Use them.
61835 2013-06-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61837         * nptl/sysdeps/powerpc/tls.h (tcbhead_t): Add Event-Based Branch
61838         fields.
61840 2013-06-17  Roland McGrath  <roland@hack.frob.com>
61842         * scripts/sysd-rules.awk: Sort sysd_rules_patterns by descending
61843         length of target pattern, then descending length of dependency pattern.
61844         * configure.in (AWK): Require gawk 3.1.2 or newer.
61845         * manual/install.texi (Tools for Compilation): Say that we do.
61846         * configure: Regenerated.
61848         * Makerules [inhibit-sysdep-asm] (check-inhibit-asm): Variable removed.
61849         ($(common-objpfx)sysd-rules): Replace shell logic with running ...
61850         * scripts/sysd-rules.awk: ... this new script.
61851         * sysdeps/mach/hurd/Makefile (inhibit-sysdep-asm): Use a regexp rather
61852         than a glob-style pattern.
61854 2013-06-17  Joseph Myers  <joseph@codesourcery.com>
61856         * math/test-misc.c (main): Do not treat incorrectly rounded
61857         conversions as failure unless ROUNDING_TESTS passes.
61859 2013-06-15  Joseph Myers  <joseph@codesourcery.com>
61861         [BZ #15631]
61862         * sysdeps/ieee754/dbl-64/e_sqrt.c (__ieee754_sqrt): Save and
61863         restore exception state around main square root computation, then
61864         check for inexactness explicitly.
61866         * math/libm-test.inc (fma_test_data): Add another test.
61868 2013-06-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
61870         * manual/threads.texi (Non-POSIX Extensions): New document
61871         node.  Document pthread_getattr_default_np and
61872         pthread_setattr_default_np.
61874         * Versions.def (libpthread): Add GLIBC_2.18.
61875         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: Update.
61876         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
61877         Likewise.
61878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
61879         Likewise.
61880         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
61881         Likewise.
61882         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
61883         Likewise.
61884         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist:
61885         Likewise.
61886         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
61887         Likewise.
61888         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
61889         Likewise.
61890         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
61891         Likewise.
61892         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
61893         Likewise.
61895 2013-06-14  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
61897         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
61898         Set bit_Fast_Unaligned_Load for Intel Silvermont architecture.
61900 2013-06-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
61901             H.J. Lu  <hjl.tools@gmail.com>
61903         [BZ #15627]
61904         * sysdeps/x86_64/rtld-memset.c: Remove file.
61905         * sysdeps/x86_64/rtld-memset.S: New file.
61907 2013-06-14  Joseph Myers  <joseph@codesourcery.com>
61909         * stdlib/tst-strtod-round.c: Include <math-tests.h>.
61910         (test_in_one_mode): Take arguments for whether the rounding mode
61911         is supported for each floating-point type.
61912         (do_test): Pass new arguments to test_in_one_mode using
61913         ROUNDING_TESTS.
61915 2013-06-13  Roland McGrath  <roland@hack.frob.com>
61917         * posix/tst-waitid.c (do_test): Distinguish different instances of
61918         stopped/continued in CHECK_SIGCHLD uses.  Insert a delay between
61919         sending SIGSTOP and calling waitpid to ensure SIGCHLD gets delivered
61920         before entering the kernel for waitpid.
61922 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
61924         * NEWS: Fix note on clock function precision.  Text by Roland
61925         McGrath.
61927 2013-06-13  Roland McGrath  <roland@hack.frob.com>
61929         * elf/Makefile ($(objpfx)ld.so): Link into a temporary file and move
61930         it into place only when and if the sanity check passes.
61932 2013-06-13  Joseph Myers  <joseph@codesourcery.com>
61934         * stdlib/gen-tst-strtod-round.c (round_str): Always generate
61935         output for whether conversion result is exact.  Take argument
61936         indicating whether type is IBM long double.
61937         (round_for_all): Change need_exact field to ibm_ld.
61938         * stdlib/tst-strtod-round.c (struct exactness): New type.
61939         (struct test): Change bool ld_ok field to struct exactness exact.
61940         (TEST): Update all definitions for change to field.
61941         (tests): Regenerate array contents.
61942         (test_in_one_mode): Take pointer to new field instead of old ld_ok
61943         field value.  Check for IBM long double here.
61944         (do_test): Update calls to test_in_one_mode.
61946 2013-06-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
61948         [BZ #12515]
61949         * sysdeps/unix/sysv/linux/clock.c (clock): Use result from
61950         CLOCK_PROCESS_CPUTIME_ID clock instead of __times.
61952 2013-06-12  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
61954         [BZ #15605]
61955         * sysdeps/generic/symbol-hacks.h: Add workaround for memset/memmove calls
61956         generated by the compiler on loop optimizations.
61957         * sysdeps/wordsize-32/symbol-hacks.h: Include next symbol-hacks.h for
61958         general definitions.
61960 2013-06-12  Joseph Myers  <joseph@codesourcery.com>
61962         * math/bug-nextafter.c: Include <math-tests.h>.
61963         (main): Only test for exceptions if EXCEPTION_TESTS is true for
61964         the relevant type.
61965         * math/bug-nexttoward.c: Include <math-tests.h>.
61966         (main): Only test for exceptions if EXCEPTION_TESTS is true for
61967         the relevant type.
61968         * math/test-misc.c: Include <math-tests.h>.
61969         (main): Only test for exceptions if EXCEPTION_TESTS is true for
61970         the relevant type.
61972 2013-06-12  Andreas Jaeger  <aj@suse.de>
61974         * po/ia.po: Update Interlingua translation from translation
61975         project.
61977 2013-06-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
61979         * include/fenv.h: Include stdbool.h.
61980         (struct rm_ctx): New structure.
61981         * sysdeps/generic/math_private.h (SET_RESTORE_ROUND_GENERIC):
61982         Define macro.
61983         (SET_RESTORE_ROUND): Define using SET_RESTORE_ROUND_GENERIC.
61984         (SET_RESTORE_ROUNDF): Likewise.
61985         (SET_RESTORE_ROUNDL): Likewise.
61986         (SET_RESTORE_ROUND_NOEX): Likewise.
61987         (SET_RESTORE_ROUND_NOEXF): Likewise.
61988         (SET_RESTORE_ROUND_NOEXL): Likewise.
61989         (SET_RESTORE_ROUND_53BIT): Likewise.
61990         [HAVE_RM_CTX] (libc_feresetround_noex_ctx): Define macro.
61991         (libc_feresetround_noexf_ctx): Likewise.
61992         (libc_feresetround_noexl_ctx): Likewise.
61993         (libc_feholdsetround_53bit_ctx): Likewise.
61994         (libc_feresetround_53bit_ctx): Likewise.
61995         * sysdeps/i386/fpu/fenv_private.h (HAVE_RM_CTX): Define macro.
61996         (libc_feholdexcept_setround_sse_ctx): New function.
61997         (libc_fesetenv_sse_ctx): Likewise.
61998         (libc_feupdateenv_sse_ctx): Likewise.
61999         (libc_feholdexcept_setround_387_prec_ctx): Likewise.
62000         (libc_feholdexcept_setround_387_ctx): Likewise.
62001         (libc_feholdexcept_setround_387_53bit_ctx): Likewise.
62002         (libc_feholdsetround_387_prec_ctx): Likewise.
62003         (libc_feholdsetround_387_ctx): Likewise.
62004         (libc_feholdsetround_387_53bit_ctx): Likewise.
62005         (libc_feholdsetround_sse_ctx): Likewise.
62006         (libc_feresetround_sse_ctx): Likewise.
62007         (libc_feresetround_387_ctx): Likewise.
62008         (libc_feupdateenv_387_ctx): Likewise.
62009         (libc_feholdexcept_setroundf_ctx): Define macro.
62010         (libc_fesetenvf_ctx): Likewise.
62011         (libc_feupdateenvf_ctx): Likewise.
62012         (libc_feholdsetroundf_ctx): Likewise.
62013         (libc_feresetroundf_ctx): Likewise.
62014         (libc_feholdexcept_setround_ctx): Likewise.
62015         (libc_fesetenv_ctx): Likewise.
62016         (libc_feupdateenv_ctx): Likewise.
62017         (libc_feholdsetround_ctx): Likewise.
62018         (libc_feresetround_ctx): Likewise.
62019         (libc_feholdexcept_setroundl_ctx): Likewise.
62020         (libc_feupdateenvl_ctx): Likewise.
62021         (libc_feholdsetroundl_ctx): Likewise.
62022         (libc_feresetroundl_ctx): Likewise.
62023         [!__SSE2_MATH__] (libc_feholdsetround_53bit_ctx): Likewise.
62024         (libc_feresetround_53bit_ctx): Likewise.
62026 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
62028         * locale/iso-639.def: Convert to UTF-8.
62030 2013-06-11  Joseph Myers  <joseph@codesourcery.com>
62032         * sysdeps/generic/math-tests.h (EXCEPTION_TESTS_float): New macro.
62033         (EXCEPTION_TESTS_double): Likewise.
62034         (EXCEPTION_TESTS_long_double): Likewise.
62035         (EXCEPTION_TESTS): Likewise.
62036         * math/libm-test.inc (test_exceptions): Only test exceptions if
62037         EXCEPTION_TESTS (FLOAT).
62039 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
62041         * benchtests/Makefile (string-bench): Add strcpy_chk and
62042         stpcpy_chk.
62043         * benchtests/bench-stpcpy_chk-ifunc.c: New file.
62044         * benchtests/bench-stpcpy_chk.c: New file.
62045         * benchtests/bench-strcpy_chk-ifunc.c: New file.
62046         * benchtests/bench-strcpy_chk.c: New file.
62047         * debug/test-strcpy_chk.c (do_one_test): Remove HP_TIMING
62048         code.
62049         (do_test): Likewise.
62051 2013-06-11  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
62053         * sysdeps/powerpc/dl-procinfo.c (_dl_powerpc_platforms): Add ppc405,
62054         ppc440, ppc464, and ppc476, merging from ports/ dl-procinfo.c.
62055         * sysdeps/powerpc/dl-procinfo.h: Fix whitespace by correcting spaces
62056         with tabs where appropriate.
62057         [PPC_PLATFORM_PPC405]: Define new platform merging from ports/
62058         dl-procinfo.h.
62059         [PPC_PLATFORM_PPC440]: Likewise.
62060         [PPC_PLATFORM_PPC464]: Likewise.
62061         [PPC_PLATFORM_PPC476]: Likewise.
62062         (_dl_string_platform): Add support for detecting ppc405, ppc440,
62063         ppc464, and ppc476 platform strings merging from ports/
62064         dl-procinfo.h.
62066 2013-06-11  Andreas Schwab  <schwab@suse.de>
62068         [BZ #14991]
62069         * iconvdata/big5hkscs.c (big5hkscs_to_ucs, from_ucs4)
62070         (from_ucs4_idx): Regenerate.
62071         (MIN_NEEDED_FROM, MAX_NEEDED_FROM, MIN_NEEDED_TO): Remove macros.
62072         (FROM_LOOP_MIN_NEEDED_FROM, FROM_LOOP_MAX_NEEDED_FROM)
62073         (FROM_LOOP_MIN_NEEDED_TO, FROM_LOOP_MAX_NEEDED_TO)
62074         (TO_LOOP_MIN_NEEDED_FROM, TO_LOOP_MAX_NEEDED_FROM)
62075         (TO_LOOP_MIN_NEEDED_TO, TO_LOOP_MAX_NEEDED_TO, PREPARE_LOOP)
62076         (EXTRA_LOOP_ARGS, SAVE_RESET_STATE, EMIT_SHIFT_TO_INIT)
62077         (EXTRA_LOOP_DECLS, MAX_NEEDED_OUTPUT): New macros.
62078         (MIN_NEEDED_INPUT, MAX_NEEDED_INPUT, MIN_NEEDED_OUTPUT): Define
62079         from FROM_LOOP and TO_LOOP specific macros.
62080         (BODY): Handle combining characters.
62081         * iconvdata/BIG5HKSCS.irreversible: Update.
62082         * iconvdata/BIG5HKSCS.precomposed: New file.
62083         * iconvdata/testdata/BIG5HKSCS: Regenerate to cover all assigned
62084         characters.
62085         * iconvdata/testdata/BIG5HKSCS..UTF8: Update.
62087 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
62089         * include/sys/time.h: Fix indentation and add copyright header.
62091         * string/test-memccpy.c (do_one_test): Remove HP_TIMING code.
62092         (do_test): Likewise.
62093         * string/test-memchr.c (do_one_test): Likewise.
62094         (do_test): Likewise.
62095         * string/test-memcmp.c (do_one_test): Likewise.
62096         (do_test): Likewise.
62097         * string/test-memcpy.c (do_one_test): Likewise.
62098         (do_test): Likewise.
62099         * string/test-memmem.c (do_one_test): Likewise.
62100         (do_test): Likewise.
62101         (do_random_tests): Likewise.
62102         * string/test-memmove.c (do_one_test): Likewise.
62103         (do_test): Likewise.
62104         * string/test-memset.c (do_one_test): Likewise.
62105         (do_test): Likewise.
62106         * string/test-rawmemchr.c (do_one_test): Likewise.
62107         (do_test): Likewise.
62108         * string/test-strcasecmp.c (do_one_test): Likewise.
62109         (do_test): Likewise.
62110         * string/test-strcasestr.c (do_one_test): Likewise.
62111         (do_test): Likewise.
62112         * string/test-strcat.c (do_one_test): Likewise.
62113         (do_test): Likewise.
62114         * string/test-strchr.c (do_one_test): Likewise.
62115         (do_test): Likewise.
62116         * string/test-strcmp.c (do_one_test): Likewise.
62117         (do_test): Likewise.
62118         * string/test-strcpy.c (do_one_test): Likewise.
62119         (do_test): Likewise.
62120         * string/test-string.h: Likewise.
62121         (test_init): Likewise.
62122         * string/test-strlen.c (do_one_test): Likewise.
62123         (do_test): Likewise.
62124         * string/test-strncasecmp.c (do_one_test): Likewise.
62125         (do_test): Likewise.
62126         * string/test-strncat.c (do_one_test): Likewise.
62127         (do_test): Likewise.
62128         * string/test-strncmp.c (do_one_test): Likewise.
62129         (do_test_limit): Likewise.
62130         (do_test): Likewise.
62131         * string/test-strncpy.c (do_one_test): Likewise.
62132         (do_test): Likewise.
62133         * string/test-strnlen.c (do_one_test): Likewise.
62134         (do_test): Likewise.
62135         * string/test-strpbrk.c (do_one_test): Likewise.
62136         (do_test): Likewise.
62137         * string/test-strrchr.c (do_one_test): Likewise.
62138         (do_test): Likewise.
62139         * string/test-strspn.c (do_one_test): Likewise.
62140         (do_test): Likewise.
62141         * string/test-strstr.c (do_one_test): Likewise.
62142         (do_test): Likewise.
62144         * benchtests/Makefile (string-bench): Add string benchmarks.
62145         * benchtests/bench-bcopy-ifunc.c: New file.
62146         * benchtests/bench-bcopy.c: New file.
62147         * benchtests/bench-bzero-ifunc.c: New file.
62148         * benchtests/bench-bzero.c: New file.
62149         * benchtests/bench-memccpy-ifunc.c: New file.
62150         * benchtests/bench-memccpy.c: New file.
62151         * benchtests/bench-memchr-ifunc.c: New file.
62152         * benchtests/bench-memchr.c: New file.
62153         * benchtests/bench-memcmp-ifunc.c: New file.
62154         * benchtests/bench-memcmp.c: New file.
62155         * benchtests/bench-memmem-ifunc.c: New file.
62156         * benchtests/bench-memmem.c: New file.
62157         * benchtests/bench-memmove-ifunc.c: New file.
62158         * benchtests/bench-memmove.c: New file.
62159         * benchtests/bench-mempcpy-ifunc.c: New file.
62160         * benchtests/bench-mempcpy.c: New file.
62161         * benchtests/bench-memset-ifunc.c: New file.
62162         * benchtests/bench-memset.c: New file.
62163         * benchtests/bench-rawmemchr-ifunc.c: New file.
62164         * benchtests/bench-rawmemchr.c: New file.
62165         * benchtests/bench-stpcpy-ifunc.c: New file.
62166         * benchtests/bench-stpcpy.c: New file.
62167         * benchtests/bench-stpncpy-ifunc.c: New file.
62168         * benchtests/bench-stpncpy.c: New file.
62169         * benchtests/bench-strcasecmp-ifunc.c: New file.
62170         * benchtests/bench-strcasecmp.c: New file.
62171         * benchtests/bench-strcasestr-ifunc.c: New file.
62172         * benchtests/bench-strcasestr.c: New file.
62173         * benchtests/bench-strcat-ifunc.c: New file.
62174         * benchtests/bench-strcat.c: New file.
62175         * benchtests/bench-strchr-ifunc.c: New file.
62176         * benchtests/bench-strchr.c: New file.
62177         * benchtests/bench-strchrnul-ifunc.c: New file.
62178         * benchtests/bench-strchrnul.c: New file.
62179         * benchtests/bench-strcmp-ifunc.c: New file.
62180         * benchtests/bench-strcmp.c: New file.
62181         * benchtests/bench-strcpy-ifunc.c: New file.
62182         * benchtests/bench-strcpy.c: New file.
62183         * benchtests/bench-strcspn-ifunc.c: New file.
62184         * benchtests/bench-strcspn.c: New file.
62185         * benchtests/bench-strlen-ifunc.c: New file.
62186         * benchtests/bench-strlen.c: New file.
62187         * benchtests/bench-strncasecmp-ifunc.c: New file.
62188         * benchtests/bench-strncasecmp.c: New file.
62189         * benchtests/bench-strncat-ifunc.c: New file.
62190         * benchtests/bench-strncat.c: New file.
62191         * benchtests/bench-strncmp-ifunc.c: New file.
62192         * benchtests/bench-strncmp.c: New file.
62193         * benchtests/bench-strncpy-ifunc.c: New file.
62194         * benchtests/bench-strncpy.c: New file.
62195         * benchtests/bench-strnlen-ifunc.c: New file.
62196         * benchtests/bench-strnlen.c: New file.
62197         * benchtests/bench-strpbrk-ifunc.c: New file.
62198         * benchtests/bench-strpbrk.c: New file.
62199         * benchtests/bench-strrchr-ifunc.c: New file.
62200         * benchtests/bench-strrchr.c: New file.
62201         * benchtests/bench-strspn-ifunc.c: New file.
62202         * benchtests/bench-strspn.c: New file.
62203         * benchtests/bench-strstr-ifunc.c: New file.
62204         * benchtests/bench-strstr.c: New file.
62206         * benchtests/Makefile: Disable parallel execution of targets.
62207         (string-bench): Add memcpy.
62208         (benchset): New variable to store a list of benchmark sets.
62209         (bench-func): Renamed from bench.
62210         (bench-set): New target.
62211         (bench): Depend on bench-func and bench-set.
62212         * benchtests/README: Add section on benchmark sets.
62213         * benchtests/bench-memcpy-ifunc.c: New file.
62214         * benchtests/bench-memcpy.c: New file.
62215         * benchtests/bench-string.h: New file.
62217 2013-06-11  Andreas Schwab  <schwab@suse.de>
62219         [BZ #15577]
62220         * nscd/connections.c (nscd_run_worker): Always zero-terminate key.
62221         * nscd/netgroupcache.c (addgetnetgrentX): Properly handle absent
62222         values in the triple.
62223         * nscd/nscd_netgroup.c (__nscd_setnetgrent): Include zero
62224         terminator in the group key.
62226 2013-06-11  Andreas Jaeger  <aj@suse.de>
62228         * po/zh_TW.po: Update Chinese (traditional) translation from
62229         translation project.
62231 2013-06-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
62233         * include/time.h (__clock_gettime): Add libc_hidden_proto.
62234         * rt/clock_getcpuclockid.c (clock_getcpuclockid): Rename to
62235         __clock_getcpuclockid.  Add weak_alias and libc_hidden_def.
62236         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
62237         (clock_getcpuclockid): Likewise.
62238         * rt/clock_getres.c (clock_getres): Rename to __clock_getres.
62239         Add weak_alias and libc_hidden_def.
62240         * sysdeps/posix/clock_getres.c (clock_getres): Likewise.
62241         * rt/clock_gettime.c (clock_gettime): Rename to
62242         __clock_gettime.  Add weak_alias and libc_hidden_def.
62243         * sysdeps/unix/clock_gettime.c (clock_gettime): Likewise.
62244         * rt/clock_nanosleep.c (clock_nanosleep): Rename to
62245         __clock_nanosleep.  Add weak_alias and libc_hidden_def.
62246         * sysdeps/unix/clock_nanosleep.c (clock_nanosleep): Likewise.
62247         * sysdeps/unix/sysv/linux/clock_nanosleep.c (clock_nanosleep):
62248         Likewise.
62249         * rt/clock_settime.c (clock_settime): Rename to
62250         __clock_settime.  Add weak_alias and libc_hidden_def.
62251         * sysdeps/unix/clock_settime.c (clock_settime): Likewise.
62253 2013-06-10  Joseph Myers  <joseph@codesourcery.com>
62255         * mach/err_boot.sub: Remove trailing whitespace.
62256         * mach/err_ipc.sub: Likewise.
62257         * mach/err_mach.sub: Likewise.
62259         * sysdeps/generic/math-tests.h (ROUNDING_TESTS_float): New macro.
62260         (ROUNDING_TESTS_double): Likewise.
62261         (ROUNDING_TESTS_long_double): Likewise.
62262         (ROUNDING_TESTS): Likewise.
62263         * math/libm-test.inc: Include <math-tests.h>.
62264         (IF_ROUND_INIT_FE_DOWNWARD): Use ROUNDING_TESTS.
62265         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
62266         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
62267         (IF_ROUND_INIT_FE_UPWARD): Likewise.
62269 2013-06-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
62271         * benchtests/Makefile (CPPFLAGS-nonlib): Append values instead
62272         of assigning.
62274 2013-06-08  Joseph Myers  <joseph@codesourcery.com>
62276         * sysdeps/gnu/errlist.awk: Do not generate space at end of
62277         otherwise empty TRANS lines.
62278         * sysdeps/gnu/errlist.c: Regenerated.
62280         * catgets/gencat.c (error_print): Use (void) in function
62281         definition.
62282         * crypt/crypt_util.c (__init_des): Likewise.
62283         * crypt/speeds.c (Stop): Likewise.
62284         (main): Likewise.
62285         * hurd/hurdmalloc.c (print_malloc_free_list): Likewise.
62286         * inet/ruserpass.c (token): Likewise.
62287         * intl/finddomain.c (_nl_finddomain_subfreeres): Likewise.
62288         * intl/localealias.c (extend_alias_table): Likewise.
62289         * intl/plural-exp.c (init_germanic_plural): Likewise.
62290         * libio/fcloseall.c (__fcloseall): Likewise.
62291         * libio/genops.c (_IO_flush_all): Likewise.
62292         (_IO_flush_all_linebuffered): Likewise.
62293         (_IO_cleanup): Likewise.
62294         (_IO_iter_begin): Likewise.
62295         (_IO_iter_end): Likewise.
62296         (_IO_list_lock): Likewise.
62297         (_IO_list_unlock): Likewise.
62298         (_IO_list_resetlock): Likewise.
62299         * libio/getchar.c (getchar): Likewise.
62300         * libio/getchar_u.c (getchar_unlocked): Likewise.
62301         * libio/getwchar.c (getwchar): Likewise.
62302         * libio/getwchar_u.c (getwchar_unlocked): Likewise.
62303         * libio/oldstdfiles.c (_IO_check_libio): Likewise.
62304         * login/getpt.c (__getpt): Likewise.
62305         * login/tst-utmp.c (main): Likewise.
62306         * malloc/hooks.c (__malloc_check_init): Likewise.
62307         * malloc/malloc.c (__malloc_stats): Likewise.
62308         * malloc/mtrace.c (tr_break): Likewise.
62309         (mtrace): Likewise.
62310         (muntrace): Likewise.
62311         * misc/fstab.c (endfsent): Likewise.
62312         * misc/getclktck.c (__getclktck): Likewise.
62313         * misc/getdtsz.c (__getdtablesize): Likewise.
62314         * misc/gethostid.c (gethostid): Likewise.
62315         * misc/getpagesize.c (__getpagesize): Likewise.
62316         * misc/getsysstats.c (__get_nprocs_conf): Likewise.
62317         (__get_nprocs): Likewise.
62318         (__get_phys_pages): Likewise.
62319         (__get_avphys_pages): Likewise.
62320         * misc/getttyent.c (getttyent): Likewise.
62321         (setttyent): Likewise.
62322         (endttyent): Likewise.
62323         * misc/getusershell.c (getusershell): Likewise.
62324         (endusershell): Likewise.
62325         (setusershell): Likewise.
62326         (initshells): Likewise.
62327         * misc/hsearch.c (__hdestroy): Likewise.
62328         * misc/sync.c (sync): Likewise.
62329         * misc/syslog.c (closelog_internal): Likewise.
62330         (closelog): Likewise.
62331         * misc/ttyslot.c (ttyslot): Likewise.
62332         * misc/vhangup.c (vhangup): Likewise.
62333         * posix/fork.c (__fork): Likewise.
62334         * posix/getegid.c (__getegid): Likewise.
62335         * posix/geteuid.c (__geteuid): Likewise.
62336         * posix/getgid.c (__getgid): Likewise.
62337         * posix/getpid.c (__getpid): Likewise.
62338         * posix/getppid.c (__getppid): Likewise.
62339         * posix/getuid.c (__getuid): Likewise.
62340         * posix/pause.c (pause): Likewise.
62341         * posix/setpgrp.c (setpgrp): Likewise.
62342         * posix/setsid.c (__setsid): Likewise.
62343         * posix/test-vfork.c (noop): Likewise.
62344         * resolv/gethnamaddr.c (_endhtent): Likewise.
62345         (_gethtent): Likewise.
62346         (ht_endhostent): Likewise.
62347         (gethostent): Likewise.
62348         (dns_service): Likewise.
62349         * stdlib/drand48.c (drand48): Likewise.
62350         * stdlib/lrand48.c (lrand48): Likewise.
62351         * stdlib/mrand48.c (mrand48): Likewise.
62352         * stdlib/rand.c (rand): Likewise.
62353         * stdlib/random.c (__random): Likewise.
62354         * stdlib/setenv.c (clearenv): Likewise.
62355         * sunrpc/clnt_tcp.c (clnttcp_abort): Likewise.
62356         * sunrpc/clnt_unix.c (clntunix_abort): Likewise.
62357         * sysdeps/mach/getpagesize.c (__getpagesize): Likewise.
62358         * sysdeps/mach/getsysstats.c (__get_nprocs_conf): Likewise.
62359         (__get_nprocs): Likewise.
62360         (__get_phys_pages): Likewise.
62361         (__get_avphys_pages): Likewise.
62362         * sysdeps/mach/hurd/dl-sysdep.c (__getpid): Likewise.
62363         * sysdeps/mach/hurd/getclktck.c (__getclktck): Likewise.
62364         * sysdeps/mach/hurd/getdtsz.c (__getdtablesize): Likewise.
62365         * sysdeps/mach/hurd/getegid.c (__getegid): Likewise.
62366         * sysdeps/mach/hurd/geteuid.c (__geteuid): Likewise.
62367         * sysdeps/mach/hurd/getgid.c (__getgid): Likewise.
62368         * sysdeps/mach/hurd/gethostid.c (gethostid): Likewise.
62369         * sysdeps/mach/hurd/getlogin.c (getlogin): Likewise.
62370         * sysdeps/mach/hurd/getpid.c (__getpid): Likewise.
62371         * sysdeps/mach/hurd/getppid.c (__getppid): Likewise.
62372         * sysdeps/mach/hurd/getuid.c (__getuid): Likewise.
62373         * sysdeps/mach/hurd/sync.c (sync): Likewise.
62374         * sysdeps/posix/clock.c (clock): Likewise.
62375         * sysdeps/unix/bsd/setsid.c (__setsid): Likewise.
62376         * sysdeps/unix/getpagesize.c (__getpagesize): Likewise.
62377         * sysdeps/unix/sysv/linux/getclktck.c (__getclktck): Likewise.
62378         * sysdeps/unix/sysv/linux/gethostid.c (gethostid): Likewise.
62379         * sysdeps/unix/sysv/linux/getpagesize.c (__getpagesize): Likewise.
62380         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Likewise.
62381         (__get_nprocs_conf): Likewise.
62382         (__get_phys_pages): Likewise.
62383         (__get_avphys_pages): Likewise.
62384         * time/clock.c (clock): Likewise.
62385         * time/tzset.c (__tzname_max): Likewise.
62387 2013-06-07  Joseph Myers  <joseph@codesourcery.com>
62389         * bits/byteswap.h [__GNUC__ && !__GNUC_PREREQ (4, 3)]
62390         (__bswap_32): Do not use "register".
62391         * crypt/crypt.c (_ufc_doit_r): Likewise.
62392         * debug/stpcpy_chk.c (__stpcpy_chk): Likewise.
62393         * debug/wcscat_chk.c (__wcscat_chk): Likewise.
62394         * gmon/gmon.c (__monstartup): Likewise.
62395         * gmon/mcount.c (_MCOUNT_DECL(frompc, selfpc)): Likewise.
62396         * hurd/hurdmalloc.c (more_memory): Likewise.
62397         (malloc): Likewise.
62398         (free): Likewise.
62399         (realloc): Likewise.
62400         (malloc_fork_prepare): Likewise.
62401         (malloc_fork_parent): Likewise.
62402         (malloc_fork_child): Likewise.
62403         * include/rpc/auth_des.h (xdr_authdes_verf): Likewise.
62404         (_svcauth_des): Likewise.
62405         * inet/inet_lnaof.c (inet_lnaof): Likewise.
62406         * inet/inet_net.c (inet_network): Likewise.
62407         * inet/inet_netof.c (inet_netof): Likewise.
62408         * inet/rcmd.c (__validuser2_sa): Likewise.
62409         * io/fts.c (fts_open): Likewise.
62410         (fts_load): Likewise.
62411         (fts_close): Likewise.
62412         (fts_read): Likewise.
62413         (fts_children): Likewise.
62414         (fts_build): Likewise.
62415         (fts_stat): Likewise.
62416         (fts_sort): Likewise.
62417         (fts_alloc): Likewise.
62418         (fts_lfree): Likewise.
62419         * libio/fileops.c (_IO_new_file_xsputn): Likewise.
62420         (_IO_file_xsgetn): Likewise.
62421         (_IO_file_xsgetn_mmap): Likewise.
62422         * libio/iofopncook.c (_IO_cookie_read): Likewise.
62423         (_IO_cookie_write): Likewise.
62424         * libio/oldfileops.c (_IO_old_file_xsputn): Likewise.
62425         * libio/wfileops.c (_IO_wfile_xsputn): Likewise.
62426         * mach/msgserver.c (__mach_msg_server_timeout): Likewise.
62427         * malloc/obstack.c (_obstack_begin): Likewise.
62428         (_obstack_begin_1): Likewise.
62429         (_obstack_newchunk): Likewise.
62430         (_obstack_allocated_p): Likewise.
62431         (obstack_free): Likewise.
62432         (_obstack_memory_used): Likewise.
62433         * misc/getttyent.c (getttynam): Likewise.
62434         (getttyent): Likewise.
62435         (skip): Likewise.
62436         (value): Likewise.
62437         * misc/getusershell.c (initshells): Likewise.
62438         * misc/syslog.c (__vsyslog_chk): Likewise.
62439         * misc/ttyslot.c (ttyslot): Likewise.
62440         * nis/nis_hash.c (__nis_hash): Likewise.
62441         * posix/fnmatch_loop.c (FCT): Likewise.
62442         * posix/getconf.c (print_all): Likewise.
62443         (main): Likewise.
62444         * posix/getopt.c (exchange): Likewise.
62445         * posix/glob.c (globfree): Likewise.
62446         (prefix_array): Likewise.
62447         (__glob_pattern_type): Likewise.
62448         * resolv/arpa/nameser.h (NS_GET16): Likewise.
62449         (NS_GET32): Likewise.
62450         (NS_PUT16): Likewise.
62451         (NS_PUT32): Likewise.
62452         * resolv/gethnamaddr.c (getanswer): Likewise.
62453         (gethostbyname2): Likewise.
62454         (gethostbyaddr): Likewise.
62455         (_gethtent): Likewise.
62456         (_gethtbyname2): Likewise.
62457         (_gethtbyaddr): Likewise.
62458         * resolv/ns_print.c (dst_s_get_int16): Likewise.
62459         * resolv/nss_dns/dns-host.c (getanswer_r): Likewise.
62460         * resolv/res_init.c (__res_vinit): Likewise.
62461         (net_mask): Likewise.
62462         * resolv/res_mkquery.c (outchar): Likewise.
62463         (PRINT): Likewise.
62464         * stdio-common/printf_fp.c (outchar): Likewise.
62465         (PRINT): Likewise.
62466         * stdio-common/printf_fphex.c (outchar): Likewise.
62467         (PRINT): Likewise.
62468         * stdio-common/printf_size.c (outchar): Likewise.
62469         (PRINT): Likewise.
62470         * stdio-common/test_rdwr.c (main): Likewise.
62471         * stdio-common/tfformat.c (matches): Likewise.
62472         * stdio-common/vfprintf.c (outchar): Likewise.
62473         (printf_unknown): Likewise.
62474         (buffered_vfprintf): Likewise.
62475         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Likewise.
62476         * stdio-common/xbug.c (AppendToBuffer): Likewise.
62477         (ReadFile): Likewise.
62478         * stdlib/qsort.c (SWAP): Likewise.
62479         (_quicksort): Likewise.
62480         * stdlib/setenv.c (__add_to_environ): Likewise.
62481         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Likewise.
62482         * stdlib/strtol_l.c (__strtol_l): Likewise.
62483         * stdlib/tst-strtod.c (main): Likewise.
62484         * stdlib/tst-strtol.c (main): Likewise.
62485         * stdlib/tst-strtoll.c (main): Likewise.
62486         * string/bits/string2.h (__strcmp_cc): Likewise.
62487         (__strcmp_cg): Likewise.
62488         (__strcspn_c1): Likewise.
62489         (__strcspn_c2): Likewise.
62490         (__strcspn_c3): Likewise.
62491         (__strspn_c1): Likewise.
62492         (__strspn_c2): Likewise.
62493         (__strspn_c3): Likewise.
62494         (__strsep_1c): Likewise.
62495         (__strsep_2c): Likewise.
62496         (__strsep_3c): Likewise.
62497         * string/memccpy.c (__memccpy): Likewise.
62498         * string/stpcpy.c (__stpcpy): Likewise.
62499         * string/strcmp.c (strcmp): Likewise.
62500         * string/strrchr.c (strrchr): Likewise.
62501         * sysdeps/generic/sigset-cvt-mask.h (sigset_get_old_mask):
62502         Likewise.
62503         * sysdeps/mach/hurd/getcwd.c
62504         (_hurd_canonicalize_directory_name_internal): Likewise.
62505         * sysdeps/mach/i386/sysdep.h (SNARF_ARGS): Likewise.
62506         * sysdeps/powerpc/powerpc32/power6/wcschr.c (wcschr): Likewise.
62507         * sysdeps/powerpc/powerpc32/power6/wcsrchr.c (wcsrchr): Likewise.
62508         * sysdeps/x86/bits/byteswap-16.h [__GNUC__] (__bswap_16):
62509         Likewise, in both definitions.
62510         * sysdeps/x86/bits/byteswap.h (__bswap_32): Likewise, in multiple
62511         definitions.
62512         [__GNUC_PREREQ (2, 0) && !__GNUC_PREREQ (4, 3) && __WORDSIZE ==
62513         64] (__bswap_64): Likewise.
62514         * time/test_time.c (main): Likewise.
62515         * time/tzfile.c (__tzfile_read): Likewise.
62516         (__tzfile_compute): Likewise.
62517         * time/tzset.c (__tzset_parse_tz): Likewise.
62518         (tzset_internal): Likewise.
62519         (compute_change): Likewise.
62520         * wcsmbs/wcscat.c (__wcscat): Likewise.
62521         * wcsmbs/wcschr.c (wcschr): Likewise.
62522         * wcsmbs/wcschrnul.c (__wcschrnul): Likewise.
62523         * wcsmbs/wcscspn.c (wcscspn): Likewise.
62524         * wcsmbs/wcspbrk.c (wcspbrk): Likewise.
62525         * wcsmbs/wcsrchr.c (wcsrchr): Likewise.
62526         * wcsmbs/wcsspn.c (wcsspn): Likewise.
62527         * wcsmbs/wcsstr.c (wcsstr): Likewise.
62528         * wcsmbs/wmemchr.c (wmemchr): Likewise.
62529         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
62530         * wcsmbs/wmemset.c (wmemset): Likewise.
62532 2013-06-06  Joseph Myers  <joseph@codesourcery.com>
62534         * scripts/config.guess: Update to version 2013-05-16.
62535         * scripts/config.sub: Update to version 2013-04-24.
62536         * scripts/install-sh: Update to version 2011-11-20.07.
62537         * scripts/mkinstalldirs: Update to version 2009-04-28.21.
62538         * scripts/move-if-change: Update to version 2012-01-06 07:23.
62540 2013-06-06   Ondřej Bílka  <neleai@seznam.cz>
62542         * debug/fgetws_u_chk.c: Fix leading whitespaces.
62543         * elf/sln.c: Likewise.
62544         * hurd/hurd/ioctl.h: Likewise.
62545         * hurd/hurdmalloc.c: Likewise.
62546         * hurd/xattr.c: Likewise.
62547         * include/shlib-compat.h: Likewise.
62548         * inet/ruserpass.c: Likewise.
62549         * libio/iofgets_u.c: Likewise.
62550         * libio/iofgetws_u.c: Likewise.
62551         * locale/programs/ld-identification.c: Likewise.
62552         * locale/programs/ld-time.c: Likewise.
62553         * mach/msg-destroy.c: Likewise.
62554         * nss/nss_files/files-netgrp.c: Likewise.
62555         * resolv/res_data.c: Likewise.
62556         * soft-fp/op-1.h: Likewise.
62557         * soft-fp/op-2.h: Likewise.
62558         * soft-fp/op-4.h: Likewise.
62559         * soft-fp/op-common.h: Likewise.
62560         * stdio-common/printf_fphex.c: Likewise.
62561         * stdlib/strtod_l.c: Likewise.
62562         * sunrpc/rpc/clnt.h: Likewise.
62563         * sysdeps/generic/framestate.c: Likewise.
62564         * sysdeps/i386/bsd-_setjmp.S: Likewise.
62565         * sysdeps/i386/bsd-setjmp.S: Likewise.
62566         * sysdeps/i386/__longjmp.S: Likewise.
62567         * sysdeps/i386/setjmp.S: Likewise.
62568         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
62569         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
62570         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
62571         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
62572         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
62573         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
62574         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
62575         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
62576         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
62577         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
62578         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
62579         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
62580         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
62581         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
62582         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
62583         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
62584         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
62585         * sysdeps/ieee754/ldbl-96/ldbl2mpn.c: Likewise.
62586         * sysdeps/ieee754/support.c: Likewise.
62587         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
62588         * sysdeps/powerpc/powerpc32/lshift.S: Likewise.
62589         * sysdeps/sparc/sparc32/__longjmp.S: Likewise.
62590         * sysdeps/sparc/sparc64/soft-fp/qp_cmp.c: Likewise.
62591         * sysdeps/sparc/sparc64/soft-fp/qp_cmpe.c: Likewise.
62592         * sysdeps/sparc/sparc64/soft-fp/qp_feq.c: Likewise.
62593         * sysdeps/sparc/sparc64/soft-fp/qp_fge.c: Likewise.
62594         * sysdeps/sparc/sparc64/soft-fp/qp_fgt.c: Likewise.
62595         * sysdeps/sparc/sparc64/soft-fp/qp_fle.c: Likewise.
62596         * sysdeps/sparc/sparc64/soft-fp/qp_flt.c: Likewise.
62597         * sysdeps/sparc/sparc64/soft-fp/qp_fne.c: Likewise.
62598         * sysdeps/sparc/sparc64/soft-fp/qp_mul.c: Likewise.
62599         * sysdeps/sparc/sparc64/soft-fp/qp_qtoi.c: Likewise.
62600         * sysdeps/sparc/sparc64/soft-fp/qp_qtoui.c: Likewise.
62601         * sysdeps/sparc/sparc64/soft-fp/qp_qtoux.c: Likewise.
62602         * sysdeps/sparc/sparc64/soft-fp/qp_qtox.c: Likewise.
62603         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
62604         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Likewise.
62606 2013-06-05  Ondřej Bílka  <neleai@seznam.cz>
62608         * posix/transbug.c: Remove executable mode.
62610 2013-06-05  Joseph Myers  <joseph@codesourcery.com>
62612         * crypt/speeds.c: Remove trailing whitespace.
62613         * dlfcn/default.c: Likewise.
62614         * elf/ifuncdep2.c: Likewise.
62615         * elf/ifuncmain1.c: Likewise.
62616         * elf/ifuncmain1vis.c: Likewise.
62617         * elf/testobj.h: Likewise.
62618         * elf/tst-stackguard1.c: Likewise.
62619         * gmon/sys/gmon.h: Likewise.
62620         * hurd/hurdmsg.c: Likewise.
62621         * hurd/new-fd.c: Likewise.
62622         * hurd/ports-get.c: Likewise.
62623         * iconvdata/ibm1008_420.c: Likewise.
62624         * inet/tst-getni1.c: Likewise.
62625         * inet/tst-getni2.c: Likewise.
62626         * libio/ioungetc.c: Likewise.
62627         * libio/wfiledoalloc.c: Likewise.
62628         * manual/libm-err-tab.pl: Likewise.
62629         * math/w_dremf.c: Likewise.
62630         * misc/ftruncate.c: Likewise.
62631         * posix/bug-glob2.c: Likewise.
62632         * posix/tst-pcre.c: Likewise.
62633         * posix/wait4.c: Likewise.
62634         * resolv/README: Likewise.
62635         * resolv/res_debug.h: Likewise.
62636         * resolv/tst-inet_ntop.c: Likewise.
62637         * setjmp/bug269-setjmp.c: Likewise.
62638         * soft-fp/extended.h: Likewise.
62639         * soft-fp/op-1.h: Likewise.
62640         * soft-fp/op-2.h: Likewise.
62641         * soft-fp/op-4.h: Likewise.
62642         * soft-fp/op-8.h: Likewise.
62643         * soft-fp/testit.c: Likewise.
62644         * stdio-common/bug16.c: Likewise.
62645         * stdlib/random.c: Likewise.
62646         * sunrpc/rpcsvc/rquota.x: Likewise.
62647         * sysdeps/ieee754/dbl-64/powtwo.tbl: Likewise.
62648         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
62649         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
62650         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
62651         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
62652         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
62653         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
62654         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
62655         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
62656         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
62657         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
62658         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
62659         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
62660         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
62661         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
62662         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
62663         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
62664         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
62665         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
62666         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
62667         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
62668         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
62669         * sysdeps/ieee754/ldbl-128/t_sincosl.c: Likewise.
62670         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
62671         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
62672         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
62673         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
62674         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
62675         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
62676         * sysdeps/ieee754/s_lib_version.c: Likewise.
62677         * sysdeps/mach/hurd/check_fds.c: Likewise.
62678         * sysdeps/mach/hurd/getsockname.c: Likewise.
62679         * sysdeps/mach/hurd/net/if_ppp.h: Likewise.
62680         * sysdeps/mach/hurd/recvfrom.c: Likewise.
62681         * sysdeps/powerpc/bits/link.h: Likewise.
62682         * sysdeps/powerpc/dl-procinfo.c: Likewise.
62683         * sysdeps/powerpc/fpu/feholdexcpt.c: Likewise.
62684         * sysdeps/powerpc/fpu/fenv_const.c: Likewise.
62685         * sysdeps/powerpc/fpu/fesetenv.c: Likewise.
62686         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
62687         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
62688         * sysdeps/powerpc/fpu/t_sqrt.c: Likewise.
62689         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
62690         * sysdeps/powerpc/powerpc32/fpu/s_floor.S: Likewise.
62691         * sysdeps/powerpc/powerpc32/fpu/s_floorf.S: Likewise.
62692         * sysdeps/powerpc/powerpc32/fpu/s_isnan.S: Likewise.
62693         * sysdeps/powerpc/powerpc32/fpu/s_lround.S: Likewise.
62694         * sysdeps/powerpc/powerpc32/fpu/s_round.S: Likewise.
62695         * sysdeps/powerpc/powerpc32/fpu/s_roundf.S: Likewise.
62696         * sysdeps/powerpc/powerpc32/fpu/s_trunc.S: Likewise.
62697         * sysdeps/powerpc/powerpc32/fpu/s_truncf.S: Likewise.
62698         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrint.S: Likewise.
62699         * sysdeps/powerpc/powerpc32/power4/fpu/s_llrintf.S: Likewise.
62700         * sysdeps/powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
62701         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
62702         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
62703         * sysdeps/powerpc/powerpc32/power4/hp-timing.c: Likewise.
62704         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
62705         * sysdeps/powerpc/powerpc32/power4/memset.S: Likewise.
62706         * sysdeps/powerpc/powerpc32/power4/wordcopy.c: Likewise.
62707         * sysdeps/powerpc/powerpc32/power5+/fpu/s_llround.S: Likewise.
62708         * sysdeps/powerpc/powerpc32/power5+/fpu/s_lround.S: Likewise.
62709         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
62710         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
62711         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrint.S: Likewise.
62712         * sysdeps/powerpc/powerpc32/power6/fpu/s_llrintf.S: Likewise.
62713         * sysdeps/powerpc/powerpc32/power6/fpu/s_llround.S: Likewise.
62714         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
62715         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
62716         * sysdeps/powerpc/powerpc32/power6x/fpu/s_lround.S: Likewise.
62717         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
62718         * sysdeps/powerpc/powerpc64/fpu/s_floor.S: Likewise.
62719         * sysdeps/powerpc/powerpc64/fpu/s_floorf.S: Likewise.
62720         * sysdeps/powerpc/powerpc64/fpu/s_isnan.S: Likewise.
62721         * sysdeps/powerpc/powerpc64/fpu/s_llrint.S: Likewise.
62722         * sysdeps/powerpc/powerpc64/fpu/s_llrintf.S: Likewise.
62723         * sysdeps/powerpc/powerpc64/fpu/s_llround.S: Likewise.
62724         * sysdeps/powerpc/powerpc64/fpu/s_llroundf.S: Likewise.
62725         * sysdeps/powerpc/powerpc64/fpu/s_round.S: Likewise.
62726         * sysdeps/powerpc/powerpc64/fpu/s_roundf.S: Likewise.
62727         * sysdeps/powerpc/powerpc64/fpu/s_roundl.S: Likewise.
62728         * sysdeps/powerpc/powerpc64/fpu/s_trunc.S: Likewise.
62729         * sysdeps/powerpc/powerpc64/fpu/s_truncf.S: Likewise.
62730         * sysdeps/powerpc/powerpc64/fpu/s_truncl.S: Likewise.
62731         * sysdeps/powerpc/powerpc64/hp-timing.c: Likewise.
62732         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
62733         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
62734         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
62735         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
62736         * sysdeps/powerpc/powerpc64/power5+/fpu/s_llround.S: Likewise.
62737         * sysdeps/powerpc/powerpc64/power5/fpu/s_isnan.S: Likewise.
62738         * sysdeps/powerpc/powerpc64/power6/fpu/s_isnan.S: Likewise.
62739         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
62740         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Likewise.
62741         * sysdeps/powerpc/powerpc64/power6x/fpu/s_isnan.S: Likewise.
62742         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llrint.S: Likewise.
62743         * sysdeps/powerpc/powerpc64/power6x/fpu/s_llround.S: Likewise.
62744         * sysdeps/powerpc/powerpc64/strlen.S: Likewise.
62745         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
62746         * sysdeps/powerpc/sysdep.h: Likewise.
62747         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
62748         * sysdeps/s390/s390-64/sub_n.S: Likewise.
62749         * sysdeps/sh/dl-trampoline.S: Likewise.
62750         * sysdeps/sh/memset.S: Likewise.
62751         * sysdeps/sh/sh4/fpu/fclrexcpt.c: Likewise.
62752         * sysdeps/sh/strlen.S: Likewise.
62753         * sysdeps/sparc/sparc32/dl-trampoline.S: Likewise.
62754         * sysdeps/sparc/sparc32/dotmul.S: Likewise.
62755         * sysdeps/sparc/sparc32/memcpy.S: Likewise.
62756         * sysdeps/sparc/sparc32/rem.S: Likewise.
62757         * sysdeps/sparc/sparc32/sdiv.S: Likewise.
62758         * sysdeps/sparc/sparc32/soft-fp/q_neg.c: Likewise.
62759         * sysdeps/sparc/sparc32/strchr.S: Likewise.
62760         * sysdeps/sparc/sparc32/udiv.S: Likewise.
62761         * sysdeps/sparc/sparc32/urem.S: Likewise.
62762         * sysdeps/sparc/sparc64/add_n.S: Likewise.
62763         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
62764         * sysdeps/sparc/sparc64/rawmemchr.S: Likewise.
62765         * sysdeps/sparc/sparc64/soft-fp/s_frexpl.c: Likewise.
62766         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h: Likewise.
62767         * sysdeps/sparc/sparc64/stpncpy.S: Likewise.
62768         * sysdeps/sparc/sparc64/strncmp.S: Likewise.
62769         * sysdeps/sparc/sparc64/strncpy.S: Likewise.
62770         * sysdeps/unix/bsd/times.c: Likewise.
62771         * sysdeps/unix/sysv/linux/a.out.h: Likewise.
62772         * sysdeps/unix/sysv/linux/net/if_ppp.h: Likewise.
62773         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S: Likewise.
62774         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S: Likewise.
62775         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions: Likewise.
62776         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h: Likewise.
62777         * sysdeps/unix/sysv/linux/powerpc/sys/ucontext.h: Likewise.
62778         * sysdeps/unix/sysv/linux/s390/s390-32/clone.S: Likewise.
62779         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Likewise.
62780         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Likewise.
62781         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S: Likewise.
62782         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
62783         * sysdeps/unix/sysv/linux/s390/s390-64/mmap.S: Likewise.
62784         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
62785         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
62786         * sysdeps/unix/sysv/linux/s390/s390-64/socket.S: Likewise.
62787         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
62788         * sysdeps/unix/sysv/linux/s390/s390-64/syscall.S: Likewise.
62789         * sysdeps/unix/sysv/linux/scsi/scsi_ioctl.h: Likewise.
62790         * sysdeps/unix/sysv/linux/sh/brk.c: Likewise.
62791         * sysdeps/unix/sysv/linux/sh/clone.S: Likewise.
62792         * sysdeps/unix/sysv/linux/sh/sh3/getcontext.S: Likewise.
62793         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
62794         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S: Likewise.
62795         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S: Likewise.
62796         * sysdeps/unix/sysv/linux/sh/vfork.S: Likewise.
62797         * sysdeps/unix/sysv/linux/sparc/a.out.h: Likewise.
62798         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
62799         * sysdeps/unix/sysv/linux/sys/personality.h: Likewise.
62800         * sysdeps/x86_64/fpu/s_ceill.S: Likewise.
62801         * sysdeps/x86_64/fpu/s_llrintl.S: Likewise.
62802         * sysdeps/x86_64/strcspn.S: Likewise.
62804 2013-06-05  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
62806         * locale/C-translit.h: Revert #include <stdint.h> because this is a
62807         generated file.  Regenerate properly from gen-translit.pl.
62808         * locale/gen-translit.pl: Add #include <stdint.h>.  This generates
62809         locale/C-translit.h.
62811 2013-06-05  Andreas Schwab  <schwab@suse.de>
62813         [BZ #15100]
62814         * time/strptime_l.c (__strptime_internal): Count Sunday in a %W
62815         week as 6 instead of -1.
62816         * time/tst-strptime.c (day_tests): Add test case.
62818 2013-06-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
62820         * sysdeps/generic/math_private.h
62821         (libc_feholdexcept_setround_53bit): Replace with
62822         libc_feholdsetround_53bit.
62823         (libc_feupdateenv_53bit): Replace with
62824         libc_feresetround_53bit.
62825         (SET_RESTORE_ROUND_53BIT): Adjust.
62827 2013-06-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
62829         * string/test-strchrnul.c: Add copyright header.
62831         * posix/tst-getaddrinfo4.c: Increase test timeout.
62833 2013-06-03  Carlos O'Donell  <carlos@redhat.com>
62835         [BZ #15536]
62836         * math/libm-test.inc (MAX_EXP): Remove
62837         (MIN_EXP): Define.
62838         (ulp): Use MIN_EXP - MANT_DIG.
62839         (check_ulp): Verify subnormal ulps. Only allow a range of +/- 1 ulp.
62841 2013-05-31  Carlos O'Donell  <carlos@redhat.com>
62843         * po/be.po: Revert last change.
62844         * po/zh_CN.po: Likewise.
62845         * po/header.pot: Likewise.
62847 2013-05-31  Joseph Myers  <joseph@codesourcery.com>
62849         * Makefile ($(common-objpfx)linkobj/libc.so): Define
62850         link-libc-deps to empty as target-specific variable.
62851         * Makerules (link-libc-args): New variable.
62852         (libc-for-link): Likewise.
62853         (link-libc-deps): Likewise.
62854         (lib%.so): Depend on $(link-libc-deps).  Link with
62855         $(link-libc-args).
62856         (build-module): Link with $(link-libc-args).
62857         (build-module-asneeded): Likewise.
62858         (build-module-helper-objlist): Filter out $(link-libc-deps) from
62859         list of objects.
62860         ($(common-objpfx)libc.so): Define link-libc-deps to empty as
62861         target-specific variable.
62862         ($(extra-modules-build:%=$(objpfx)%.so)): Depend on
62863         $(link-libc-deps) instead of libc.so and libc_nonshared.a.
62864         * crypt/Makefile ($(objpfx)libcrypt.so): Remove dependencies on
62865         libc.
62866         * debug/Makefile ($(objpfx)libSegFault.so): Remove dependencies on
62867         libc and ld.so.
62868         ($(objpfx)libpcprofile.so): Likewise.
62869         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Remove ld.so and
62870         libc_nonshared.a.
62871         ($(objpfx)libdl.so): Remove dependencies on libc and ld.so.
62872         * hesiod/Makefile ($(objpfx)libnss_hesiod.so): Likewise.
62873         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Depend on
62874         $(link-libc-deps).
62875         ($(objpfx)$(mod).so): Remove dependencies on libc and ld.so.
62876         * locale/Makefile ($(objpfx)libBrokenLocale.so): Likewise.
62877         * login/Makefile ($(objpfx)libutil.so): Likewise.
62878         * malloc/Makefile ($(objpfx)libmemusage.so): Likewise.
62879         * math/Makefile ($(objpfx)libm.so): Likewise.
62880         * nis/Makefile ($(services:%=$(objpfx)libnss_%.so)
62881         $(objpfx)libnsl.so): Define libc-for-link as target-specific
62882         variable instead of depending directly on libc.
62883         * nss/Makefile ($(services:%=$(objpfx)libnss_%.so)): Likewise.
62884         ($(objpfx)/libnss_test1.so): Change dependencies on libc to
62885         $(link-libc-deps).
62886         * resolv/Makefile ($(objpfx)libresolv.so): Remove dependencies on
62887         libc.
62888         [$(have-ssp) = yes] (LDLIBS-resolv.so): Remove variable.
62889         ($(objpfx)libnss_dns.so): Remove dependencies on libc.
62890         ($(objpfx)libanl.so): Likewise.
62891         * rt/Makefile ($(objpfx)librt.so): Remove dependencies on libc and
62892         ld.so.
62893         * stdlib/Makefile ($(objpfx)tst-putenvmod.so): Depend on
62894         $(link-libc-deps).
62895         * sysdeps/i386/fpu/Makefile: Remove file.
62896         * sysdeps/powerpc/fpu/Makefile [$(subdir) = math]
62897         ($(objpfx)libm.so): Remove dependency on ld.so.
62899 2013-05-30  Patsy Franklin  <pfrankli@redhat.com>
62901         [BZ # 15553]
62902         * nis/yp_xdr.c (XDRMAXNAME): Define.
62903         (XDRMAXRECORD): Define.
62904         (xdr_domainname): Use XDRMAXNAME.
62905         (xdr_mapname): Likewise.
62906         (xdr_peername): Likewise.
62907         (xdr_keydat): Use XDRMAXRECORD.
62908         (xdr_valdat): Likewise.
62910 2013-05-30  Jeff Law  <law@redhat.com>
62912         [BZ #14256]
62913         * manual/errno.texi (ESTALE): Update to account for more than
62914         just NFS file systems.
62915         * sysdeps/gnu/errlist.c: Regenerated.
62917 2013-05-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
62919         [BZ #15465]
62920         * elf/Makefile (tests): Add tst-null-argv.
62921         (modules-names):  Add tst-null-argv-lib.
62922         ($(objpfx)tst-null-argv): Depend on tst-null-argv-lib.so.
62923         (tst-null-argv-ENV): Set environment for tst-null-argv.
62924         * sysdeps/generic/ldsodefs.h (DSO_FILENAME): New macro.
62925         (RTLD_PROGNAME): New macro.
62926         * elf/tst-null-argv.c: New test case.
62927         * elf/tst-null-argv-lib.c: Library for test case.
62928         * elf/dl-conflict.c (_dl_resolve_conflicts): Use DSO_FILENAME.
62929         * elf/dl-deps.c (_dl_map_object_deps): Likewise.
62930         * elf/dl-error.c (_dl_signal_error): Use RTLD_PROGNAME.
62931         * elf/dl-fini.c (_dl_fini): Use DSO_FILENAME.
62932         * elf/dl-init.c (call_init): Likewise.
62933         (_dl_init): Likewise.
62934         * elf/dl-load.c (print_search_path): Likewise.
62935         (_dl_map_object): Likewise.
62936         * elf/dl-lookup.c (do_lookup_x): Likewise.
62937         (add_dependency): Likewise.
62938         (_dl_lookup_symbol_x): Likewise.
62939         (_dl_debug_bindings): Likewise.
62940         * elf/dl-open.c (_dl_show_scope): Likewise.
62941         * elf/dl-reloc.c (_dl_relocate_object): Likewise.
62942         * elf/dl-version.c (match_symbol): Likewise.
62943         (_dl_check_map_versions): Likewise.
62944         * elf/rtld.c (dl_main): Likewise.
62945         (print_unresolved): Use RTLD_PROGNAME.
62946         (print_missing_version): Likewise.
62947         * sysdeps/i386/dl-machine.h (elf_machine_rel): Likewise.
62948         (elf_machine_rela): Likewise.
62949         * sysdeps/powerpc/powerpc32/dl-machine.c
62950         (__process_machine_rela): Likewise.
62951         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
62952         Likewise.
62953         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
62954         Likewise.
62955         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela):
62956         Likewise.
62957         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
62958         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela):
62959         Likewise.
62960         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela):
62961         Likewise.
62962         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
62964 2013-05-28  Carlos O'Donell  <carlos@redhat.com>
62966         * po/be.po: Add descriptive title.
62967         * po/zh_CN.po: Likewise.
62968         * po/header.pot: Likewise.
62970 2013-05-28  Mike Frysinger  <vapier@gentoo.org>
62972         * locale/programs/locarchive.c (create_archive): Inlucde fname in
62973         error message.
62974         (enlarge_archive): Likewise.
62976 2013-05-28  Ben North  <ben@redfrontdoor.org>
62978         * manual/arith.texi (frexp): It is the magnitude of the return
62979         value which lies in [0.5, 1), not the return value itself.
62981 2013-05-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
62983         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
62985 2013-05-26  Thomas Schwinge  <thomas@codesourcery.com>
62987         * stdio-common/bug26.c (main): Correct fscanf template.
62989         * sysdeps/mach/hurd/dl-sysdep.c (_dl_sysdep_start:go): Don't
62990         declare _dl_skip_args.
62992         * sysdeps/mach/hurd/i386/init-first.c (_dl_non_dynamic_init):
62993         Don't declare.
62995         * manual/platform.texi: Add missing @end deftypefun.
62997 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
62999         [BZ #15529]
63000         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Set high
63001         bit of mantissa of 2^16382.
63002         * math/libm-test.inc (hypot_test_data): Add more tests.
63004         * math/libm-test.inc: Add drem and pow10 to list of tested
63005         functions.
63006         (pow10_test): New function.
63007         (drem_test): Likewise.
63008         (drem_test_tonearest): Likewise.
63009         (drem_test_towardzero): Likewise.
63010         (drem_test_downward): Likewise.
63011         (drem_test_upward): Likewise.
63012         (main): Call the new functions.
63014         * math/libm-test.inc (finite_test_data): Remove.
63015         (finite_test): Run tests from isfinite_test_data.
63016         (gamma_test_data): Remove.
63017         (gamma_test): Run tests from lgamma_test_data.
63018         * sysdeps/i386/fpu/libm-test-ulps: Update.
63019         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63021 2013-05-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63023         * manual/platform.texi: Add PowerPC PPR function set documentation.
63024         * sysdeps/powerpc/sys/platform/ppc.h: Add PowerPC PPR set function
63025         implementation.
63027 2013-05-24  Carlos O'Donell  <carlos@redhat.com>
63029         * math/libm-test.inc (MAX_EXP): Define.
63030         (ULPDIFF): Define.
63031         (ulp): New function.
63032         (check_float_internal): Use ULPDIFF.
63033         (cpow_test): Disable failing test.
63034         (check_ulp): Test ulp() implementation.
63035         (main): Call check_ulp before starting tests.
63037 2013-05-24  Joseph Myers  <joseph@codesourcery.com>
63039         * math/gen-libm-test.pl (generate_testfile): Do not handle
63040         START_DATA and END_DATA.
63041         * math/libm-test.inc (acos_test_data): Do not use START_DATA and
63042         END_DATA.
63043         (acos_tonearest_test_data): Likewise.
63044         (acos_towardzero_test_data): Likewise.
63045         (acos_downward_test_data): Likewise.
63046         (acos_upward_test_data): Likewise.
63047         (acosh_test_data): Likewise.
63048         (asin_test_data): Likewise.
63049         (asin_tonearest_test_data): Likewise.
63050         (asin_towardzero_test_data): Likewise.
63051         (asin_downward_test_data): Likewise.
63052         (asin_upward_test_data): Likewise.
63053         (asinh_test_data): Likewise.
63054         (atan_test_data): Likewise.
63055         (atanh_test_data): Likewise.
63056         (atan2_test_data): Likewise.
63057         (cabs_test_data): Likewise.
63058         (cacos_test_data): Likewise.
63059         (cacosh_test_data): Likewise.
63060         (carg_test_data): Likewise.
63061         (casin_test_data): Likewise.
63062         (casinh_test_data): Likewise.
63063         (catan_test_data): Likewise.
63064         (catanh_test_data): Likewise.
63065         (cbrt_test_data): Likewise.
63066         (ccos_test_data): Likewise.
63067         (ccosh_test_data): Likewise.
63068         (ceil_test_data): Likewise.
63069         (cexp_test_data): Likewise.
63070         (cimag_test_data): Likewise.
63071         (clog_test_data): Likewise.
63072         (clog10_test_data): Likewise.
63073         (conj_test_data): Likewise.
63074         (copysign_test_data): Likewise.
63075         (cos_test_data): Likewise.
63076         (cos_tonearest_test_data): Likewise.
63077         (cos_towardzero_test_data): Likewise.
63078         (cos_downward_test_data): Likewise.
63079         (cos_upward_test_data): Likewise.
63080         (cosh_test_data): Likewise.
63081         (cosh_tonearest_test_data): Likewise.
63082         (cosh_towardzero_test_data): Likewise.
63083         (cosh_downward_test_data): Likewise.
63084         (cosh_upward_test_data): Likewise.
63085         (cpow_test_data): Likewise.
63086         (cproj_test_data): Likewise.
63087         (creal_test_data): Likewise.
63088         (csin_test_data): Likewise.
63089         (csinh_test_data): Likewise.
63090         (csqrt_test_data): Likewise.
63091         (ctan_test_data): Likewise.
63092         (ctan_tonearest_test_data): Likewise.
63093         (ctan_towardzero_test_data): Likewise.
63094         (ctan_downward_test_data): Likewise.
63095         (ctan_upward_test_data): Likewise.
63096         (ctanh_test_data): Likewise.
63097         (ctanh_tonearest_test_data): Likewise.
63098         (ctanh_towardzero_test_data): Likewise.
63099         (ctanh_downward_test_data): Likewise.
63100         (ctanh_upward_test_data): Likewise.
63101         (erf_test_data): Likewise.
63102         (erfc_test_data): Likewise.
63103         (exp_test_data): Likewise.
63104         (exp_tonearest_test_data): Likewise.
63105         (exp_towardzero_test_data): Likewise.
63106         (exp_downward_test_data): Likewise.
63107         (exp_upward_test_data): Likewise.
63108         (exp10_test_data): Likewise.
63109         (exp2_test_data): Likewise.
63110         (expm1_test_data): Likewise.
63111         (fabs_test_data): Likewise.
63112         (fdim_test_data): Likewise.
63113         (finite_test_data): Likewise.
63114         (floor_test_data): Likewise.
63115         (fma_test_data): Likewise.
63116         (fma_towardzero_test_data): Likewise.
63117         (fma_downward_test_data): Likewise.
63118         (fma_upward_test_data): Likewise.
63119         (fmax_test_data): Likewise.
63120         (fmin_test_data): Likewise.
63121         (fmod_test_data): Likewise.
63122         (fpclassify_test_data): Likewise.
63123         (frexp_test_data): Likewise.
63124         (gamma_test_data): Likewise.
63125         (hypot_test_data): Likewise.
63126         (ilogb_test_data): Likewise.
63127         (isfinite_test_data): Likewise.
63128         (isgreater_test_data): Likewise.
63129         (isgreaterequal_test_data): Likewise.
63130         (isinf_test_data): Likewise.
63131         (isless_test_data): Likewise.
63132         (islessequal_test_data): Likewise.
63133         (islessgreater_test_data): Likewise.
63134         (isnan_test_data): Likewise.
63135         (isnormal_test_data): Likewise.
63136         (issignaling_test_data): Likewise.
63137         (isunordered_test_data): Likewise.
63138         (j0_test_data): Likewise.
63139         (j1_test_data): Likewise.
63140         (jn_test_data): Likewise.
63141         (ldexp_test_data): Likewise.
63142         (lgamma_test_data): Likewise.
63143         (lrint_test_data): Likewise.
63144         (lrint_tonearest_test_data): Likewise.
63145         (lrint_towardzero_test_data): Likewise.
63146         (lrint_downward_test_data): Likewise.
63147         (lrint_upward_test_data): Likewise.
63148         (llrint_test_data): Likewise.
63149         (llrint_tonearest_test_data): Likewise.
63150         (llrint_towardzero_test_data): Likewise.
63151         (llrint_downward_test_data): Likewise.
63152         (llrint_upward_test_data): Likewise.
63153         (log_test_data): Likewise.
63154         (log10_test_data): Likewise.
63155         (log1p_test_data): Likewise.
63156         (log2_test_data): Likewise.
63157         (logb_test_data): Likewise.
63158         (logb_downward_test_data): Likewise.
63159         (lround_test_data): Likewise.
63160         (llround_test_data): Likewise.
63161         (modf_test_data): Likewise.
63162         (nearbyint_test_data): Likewise.
63163         (nextafter_test_data): Likewise.
63164         (nexttoward_test_data): Likewise.
63165         (pow_test_data): Likewise.
63166         (pow_tonearest_test_data): Likewise.
63167         (pow_towardzero_test_data): Likewise.
63168         (pow_downward_test_data): Likewise.
63169         (pow_upward_test_data): Likewise.
63170         (remainder_test_data): Likewise.
63171         (remainder_tonearest_test_data): Likewise.
63172         (remainder_towardzero_test_data): Likewise.
63173         (remainder_downward_test_data): Likewise.
63174         (remainder_upward_test_data): Likewise.
63175         (remquo_test_data): Likewise.
63176         (rint_test_data): Likewise.
63177         (rint_tonearest_test_data): Likewise.
63178         (rint_towardzero_test_data): Likewise.
63179         (rint_downward_test_data): Likewise.
63180         (rint_upward_test_data): Likewise.
63181         (round_test_data): Likewise.
63182         (scalb_test_data): Likewise.
63183         (scalbn_test_data): Likewise.
63184         (scalbln_test_data): Likewise.
63185         (signbit_test_data): Likewise.
63186         (sin_test_data): Likewise.
63187         (sin_tonearest_test_data): Likewise.
63188         (sin_towardzero_test_data): Likewise.
63189         (sin_downward_test_data): Likewise.
63190         (sin_upward_test_data): Likewise.
63191         (sincos_test_data): Likewise.
63192         (sinh_test_data): Likewise.
63193         (sinh_tonearest_test_data): Likewise.
63194         (sinh_towardzero_test_data): Likewise.
63195         (sinh_downward_test_data): Likewise.
63196         (sinh_upward_test_data): Likewise.
63197         (sqrt_test_data): Likewise.
63198         (tan_test_data): Likewise.
63199         (tan_tonearest_test_data): Likewise.
63200         (tan_towardzero_test_data): Likewise.
63201         (tan_downward_test_data): Likewise.
63202         (tan_upward_test_data): Likewise.
63203         (tanh_test_data): Likewise.
63204         (tgamma_test_data): Likewise.
63205         (trunc_test_data): Likewise.
63206         (y0_test_data): Likewise.
63207         (y1_test_data): Likewise.
63208         (yn_test_data): Likewise.
63209         (significand_test_data): Likewise.
63211         * math/gen-libm-test.pl (@functions): Remove variable.
63212         (generate_testfile): Don't handle START and END lines.
63213         * math/libm-test.inc (START): New macro.
63214         (END): Likewise.
63215         (END_COMPLEX): Likewise.
63216         (acos_test): Use END macro without arguments.
63217         (acos_test_tonearest): Likewise.
63218         (acos_test_towardzero): Likewise.
63219         (acos_test_downward): Likewise.
63220         (acos_test_upward): Likewise.
63221         (acosh_test): Likewise.
63222         (asin_test): Likewise.
63223         (asin_test_tonearest): Likewise.
63224         (asin_test_towardzero): Likewise.
63225         (asin_test_downward): Likewise.
63226         (asin_test_upward): Likewise.
63227         (asinh_test): Likewise.
63228         (atan_test): Likewise.
63229         (atanh_test): Likewise.
63230         (atan2_test): Likewise.
63231         (cabs_test): Likewise.
63232         (cacos_test): Use END_COMPLEX macro without arguments.
63233         (cacosh_test): Likewise.
63234         (carg_test): Use END macro without arguments.
63235         (casin_test): Use END_COMPLEX macro without arguments.
63236         (casinh_test): Likewise.
63237         (catan_test): Likewise.
63238         (catanh_test): Likewise.
63239         (cbrt_test): Use END macro without arguments.
63240         (ccos_test): Use END_COMPLEX macro without arguments.
63241         (ccosh_test): Likewise.
63242         (ceil_test): Use END macro without arguments.
63243         (cexp_test): Use END_COMPLEX macro without arguments.
63244         (cimag_test): Use END macro without arguments.
63245         (clog_test): Use END_COMPLEX macro without arguments.
63246         (clog10_test): Likewise.
63247         (conj_test): Likewise.
63248         (copysign_test): Use END macro without arguments.
63249         (cos_test): Likewise.
63250         (cos_test_tonearest): Likewise.
63251         (cos_test_towardzero): Likewise.
63252         (cos_test_downward): Likewise.
63253         (cos_test_upward): Likewise.
63254         (cosh_test): Likewise.
63255         (cosh_test_tonearest): Likewise.
63256         (cosh_test_towardzero): Likewise.
63257         (cosh_test_downward): Likewise.
63258         (cosh_test_upward): Likewise.
63259         (cpow_test): Use END_COMPLEX macro without arguments.
63260         (cproj_test): Likewise.
63261         (creal_test): Use END macro without arguments.
63262         (csin_test): Use END_COMPLEX macro without arguments.
63263         (csinh_test): Likewise.
63264         (csqrt_test): Likewise.
63265         (ctan_test): Likewise.
63266         (ctan_test_tonearest): Likewise.
63267         (ctan_test_towardzero): Likewise.
63268         (ctan_test_downward): Likewise.
63269         (ctan_test_upward): Likewise.
63270         (ctanh_test): Likewise.
63271         (ctanh_test_tonearest): Likewise.
63272         (ctanh_test_towardzero): Likewise.
63273         (ctanh_test_downward): Likewise.
63274         (ctanh_test_upward): Likewise.
63275         (erf_test): Use END macro without arguments.
63276         (erfc_test): Likewise.
63277         (exp_test): Likewise.
63278         (exp_test_tonearest): Likewise.
63279         (exp_test_towardzero): Likewise.
63280         (exp_test_downward): Likewise.
63281         (exp_test_upward): Likewise.
63282         (exp10_test): Likewise.
63283         (exp2_test): Likewise.
63284         (expm1_test): Likewise.
63285         (fabs_test): Likewise.
63286         (fdim_test): Likewise.
63287         (finite_test): Likewise.
63288         (floor_test): Likewise.
63289         (fma_test): Likewise.
63290         (fma_test_towardzero): Likewise.
63291         (fma_test_downward): Likewise.
63292         (fma_test_upward): Likewise.
63293         (fmax_test): Likewise.
63294         (fmin_test): Likewise.
63295         (fmod_test): Likewise.
63296         (fpclassify_test): Likewise.
63297         (frexp_test): Likewise.
63298         (gamma_test): Likewise.
63299         (hypot_test): Likewise.
63300         (ilogb_test): Likewise.
63301         (isfinite_test): Likewise.
63302         (isgreater_test): Likewise.
63303         (isgreaterequal_test): Likewise.
63304         (isinf_test): Likewise.
63305         (isless_test): Likewise.
63306         (islessequal_test): Likewise.
63307         (islessgreater_test): Likewise.
63308         (isnan_test): Likewise.
63309         (isnormal_test): Likewise.
63310         (issignaling_test): Likewise.
63311         (isunordered_test): Likewise.
63312         (j0_test): Likewise.
63313         (j1_test): Likewise.
63314         (jn_test): Likewise.
63315         (ldexp_test): Likewise.
63316         (lgamma_test): Likewise.
63317         (lrint_test): Likewise.
63318         (lrint_test_tonearest): Likewise.
63319         (lrint_test_towardzero): Likewise.
63320         (lrint_test_downward): Likewise.
63321         (lrint_test_upward): Likewise.
63322         (llrint_test): Likewise.
63323         (llrint_test_tonearest): Likewise.
63324         (llrint_test_towardzero): Likewise.
63325         (llrint_test_downward): Likewise.
63326         (llrint_test_upward): Likewise.
63327         (log_test): Likewise.
63328         (log10_test): Likewise.
63329         (log1p_test): Likewise.
63330         (log2_test): Likewise.
63331         (logb_test): Likewise.
63332         (logb_test_downward): Likewise.
63333         (lround_test): Likewise.
63334         (llround_test): Likewise.
63335         (modf_test): Likewise.
63336         (nearbyint_test): Likewise.
63337         (nextafter_test): Likewise.
63338         (nexttoward_test): Likewise.
63339         (pow_test): Likewise.
63340         (pow_test_tonearest): Likewise.
63341         (pow_test_towardzero): Likewise.
63342         (pow_test_downward): Likewise.
63343         (pow_test_upward): Likewise.
63344         (remainder_test): Likewise.
63345         (remainder_test_tonearest): Likewise.
63346         (remainder_test_towardzero): Likewise.
63347         (remainder_test_downward): Likewise.
63348         (remainder_test_upward): Likewise.
63349         (remquo_test): Likewise.
63350         (rint_test): Likewise.
63351         (rint_test_tonearest): Likewise.
63352         (rint_test_towardzero): Likewise.
63353         (rint_test_downward): Likewise.
63354         (rint_test_upward): Likewise.
63355         (round_test): Likewise.
63356         (scalb_test): Likewise.
63357         (scalbn_test): Likewise.
63358         (scalbln_test): Likewise.
63359         (signbit_test): Likewise.
63360         (sin_test): Likewise.
63361         (sin_test_tonearest): Likewise.
63362         (sin_test_towardzero): Likewise.
63363         (sin_test_downward): Likewise.
63364         (sin_test_upward): Likewise.
63365         (sincos_test): Likewise.
63366         (sinh_test): Likewise.
63367         (sinh_test_tonearest): Likewise.
63368         (sinh_test_towardzero): Likewise.
63369         (sinh_test_downward): Likewise.
63370         (sinh_test_upward): Likewise.
63371         (sqrt_test): Likewise.
63372         (tan_test): Likewise.
63373         (tan_test_tonearest): Likewise.
63374         (tan_test_towardzero): Likewise.
63375         (tan_test_downward): Likewise.
63376         (tan_test_upward): Likewise.
63377         (tanh_test): Likewise.
63378         (tgamma_test): Likewise.
63379         (trunc_test): Likewise.
63380         (y0_test): Likewise.
63381         (y1_test): Likewise.
63382         (yn_test): Likewise.
63383         (significand_test): Likewise.
63385 2013-05-24  Ondřej Bílka  <neleai@seznam.cz>
63387         [BZ #15381]
63388         * libio/genops.c (_IO_no_init): Initialize wide struct info.
63390 2013-05-23  Edjunior Machado  <emachado@linux.vnet.ibm.com>
63392         [BZ #14894]
63393         * sysdeps/powerpc/sys/platform/ppc.h: Add __ppc_yield,
63394         __ppc_mdoio and __ppc_mdoom.
63395         * manual/platform.texi: Document new functions __ppc_yield,
63396         __ppc_mdoio and __ppc_mdoom.
63398 2013-05-22  Carlos O'Donell  <carlos@redhat.com>
63400         * elf/ldconfig.c (is_hwcap_platform): Make comments full setences.
63401         (main): Mention "tls" pseudo-hwcap is legacy.
63402         * elf/dl-hwcaps.c (_dl_important_hwcaps): Correct rounding comment.
63404 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
63406         * math/gen-libm-test.pl (parse_args): Output only string of
63407         arguments as text for test name, not full call or descriptions of
63408         tests for extra outputs.
63409         (generate_testfile): Do not pass function name to parse_args.
63410         Generate this_func variable from START.
63411         * math/libm-test.inc (struct test_f_f_data): Rename test_name
63412         field to arg_str.
63413         (struct test_ff_f_data): Likewise.
63414         (test_ff_f_data_nexttoward): Likewise.
63415         (struct test_fi_f_data): Likewise.
63416         (struct test_fl_f_data): Likewise.
63417         (struct test_if_f_data): Likewise.
63418         (struct test_fff_f_data): Likewise.
63419         (struct test_c_f_data): Likewise.
63420         (struct test_f_f1_data): Likewise.  Remove field extra_name.
63421         (struct test_fF_f1_data): Likewise.
63422         (struct test_ffI_f1_data): Likewise.
63423         (struct test_c_c_data): Rename test_name field to arg_str.
63424         (struct test_cc_c_data): Likewise.
63425         (struct test_f_i_data): Likewise.
63426         (struct test_ff_i_data): Likewise.
63427         (struct test_f_l_data): Likewise.
63428         (struct test_f_L_data): Likewise.
63429         (struct test_fFF_11_data): Likewise.  Remove fields extra1_name
63430         and extra2_name.
63431         (COMMON_TEST_SETUP): New macro.
63432         (EXTRA_OUTPUT_TEST_SETUP): Likewise.
63433         (COMMON_TEST_CLEANUP): Likewise.
63434         (EXTRA_OUTPUT_TEST_CLEANUP): Likewise.
63435         (RUN_TEST_f_f): Take argument string.  Call new setup and cleanup
63436         macros.
63437         (RUN_TEST_LOOP_f_f): Update call to RUN_TEST_f_f.
63438         (RUN_TEST_2_f): Take argument string.  Call new setup and cleanup
63439         macros.
63440         (RUN_TEST_LOOP_2_f): Update call to RUN_TEST_2_f.
63441         (RUN_TEST_fff_f): Take argument string.  Call new setup and
63442         cleanup macros.
63443         (RUN_TEST_LOOP_fff_f): Update call to RUN_TEST_fff_f.
63444         (RUN_TEST_c_f): Take argument string.  Call new setup and cleanup
63445         macros.
63446         (RUN_TEST_LOOP_c_f): Update call to RUN_TEST_c_f.
63447         (RUN_TEST_f_f1): Take argument string.  Call new setup and cleanup
63448         macros.
63449         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
63450         (RUN_TEST_fF_f1): Take argument string.  Call new setup and
63451         cleanup macros.
63452         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
63453         (RUN_TEST_fI_f1): Take argument string.  Call new setup and
63454         cleanup macros.
63455         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
63456         (RUN_TEST_ffI_f1): Take argument string.  Call new setup and
63457         cleanup macros.
63458         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
63459         (RUN_TEST_c_c): Take argument string.  Call new setup and cleanup
63460         macros.
63461         (RUN_TEST_LOOP_c_c): Update call to RUN_TEST_c_c.
63462         (RUN_TEST_cc_c): Take argument string.  Call new setup and cleanup
63463         macros.
63464         (RUN_TEST_LOOP_cc_c): Update call to RUN_TEST_cc_c.
63465         (RUN_TEST_f_i): Take argument string.  Call new setup and cleanup
63466         macros.
63467         (RUN_TEST_LOOP_f_i): Update call to RUN_TEST_f_i.
63468         (RUN_TEST_f_i_tg): Take argument string.  Call new setup and
63469         cleanup macros.
63470         (RUN_TEST_LOOP_f_i_tg): Update call to RUN_TEST_f_i_tg.
63471         (RUN_TEST_ff_i_tg): Take argument string.  Call new setup and
63472         cleanup macros.
63473         (RUN_TEST_LOOP_ff_i_tg): Update call to RUN_TEST_ff_i_tg.
63474         (RUN_TEST_f_b): Take argument string.  Call new setup and cleanup
63475         macros.
63476         (RUN_TEST_LOOP_f_b): Update call to RUN_TEST_f_b.
63477         (RUN_TEST_f_b_tg): Take argument string.  Call new setup and
63478         cleanup macros.
63479         (RUN_TEST_LOOP_f_b_tg): Update call to RUN_TEST_f_b_tg.
63480         (RUN_TEST_f_l): Take argument string.  Call new setup and cleanup
63481         macros.
63482         (RUN_TEST_LOOP_f_l): Update call to RUN_TEST_f_l.
63483         (RUN_TEST_f_L): Take argument string.  Call new setup and cleanup
63484         macros.
63485         (RUN_TEST_LOOP_f_L): Update call to RUN_TEST_f_L.
63486         (RUN_TEST_fFF_11): Take argument string.  Call new setup and
63487         cleanup macros.
63488         (RUN_TEST_LOOP_fFF_11): Update call to RUN_TEST_fFF_11.
63490 2013-05-22  Edjunior Barbosa Machado  <emachado@linux.vnet.ibm.com>
63492         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add si_addr_lsb
63493         to _sifields.sigfault.
63494         (si_addr_lsb): Define new macro.
63495         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
63496         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
63497         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: Likewise.
63499 2013-05-03  Carlos O'Donell  <carlos at redhat.com>
63501         [BZ #15441]
63502         * intl/dcigettext.c (DCIGETTEXT): Skip translating if _nl_find_msg
63503         returns -1.
63504         (_nl_find_msg): Return -1 if recursive call returned -1. If newmem is
63505         null return -1.
63506         * intl/loadmsgcat.c (_nl_load_domain): If _nl_find_msg returns -1 abort
63507         loading the domain.
63509 2013-05-22  Joseph Myers  <joseph@codesourcery.com>
63511         * math/gen-libm-test.pl (parse_args): Do not include expected
63512         result in test name.
63513         * sysdeps/i386/fpu/libm-test-ulps: Update test names.
63514         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
63515         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
63516         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
63517         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
63518         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63520 2013-05-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
63522         * benchtests/Makefile: Sort function entries.
63524         * benchtests/Makefile (bench): Add asin, acos, sinh, cosh,
63525         tanh, asinh, acosh, atanh.
63526         * benchtests/acos-inputs: New file.
63527         * benchtests/acosh-inputs: New file.
63528         * benchtests/asin-inputs: New file.
63529         * benchtests/asinh-inputs: New file.
63530         * benchtests/atanh-inputs: New file.
63531         * benchtests/cosh-inputs: New file.
63532         * benchtests/log-inputs: New file.
63533         * benchtests/sinh-inputs: New file.
63534         * benchtests/tanh-inputs: New file.
63536 2013-05-21  Dmitry V. Levin  <ldv@altlinux.org>
63538         [BZ #15339]
63539         * posix/tst-getaddrinfo4.c: New test.
63540         * posix/Makefile (tests): Add it.
63542 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
63544         [BZ #15339]
63545         * nss/getXXbyYY_r.c (REENTRANT_NAME): Set NETDB_INTERNAL only
63546         when no services were used.
63547         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set h_errno.
63548         Return EAI_SYSTEM if h_errno is NETDB_INTERNAL.
63550 2013-05-21  Andreas Schwab  <schwab@suse.de>
63552         [BZ #15014]
63553         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME))
63554         [HANDLE_DIGITS_DOTS]: Set any_service when digits-dots parsing was
63555         successful.
63556         * nss/digits_dots.c (__nss_hostname_digits_dots): Remove
63557         redundant variable declarations and reallocation of buffer when
63558         parsing as IPv6 address.  Always set NSS status when called from
63559         reentrant functions.  Use NETDB_INTERNAL instead of TRY_AGAIN when
63560         buffer too small.  Correct computation of needed size.
63561         * nss/Makefile (tests): Add test-digits-dots.
63562         * nss/test-digits-dots.c: New test.
63564 2013-05-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
63566         * benchtests/Makefile: Remove instructions for adding
63567         benchmark tests.
63568         * benchtests/README: New file to explain how to execute and
63569         enhance the benchmark tests.
63571 2013-05-21  Andreas Schwab  <schwab@suse.de>
63573         [BZ #15493]
63574         * setjmp/Makefile (tests): Add tst-sigsetjmp.
63575         * setjmp/tst-sigsetjmp.c: New test.
63577 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
63579         * sysdeps/x86_64/memset.S (memset): New implementation.
63580         (__bzero): Likewise.
63581         (__memset_tail): New function.
63583 2013-05-20  Ondřej Bílka  <neleai@seznam.cz>
63585         * sysdeps/x86_64/multiarch/memcpy-sse2-unaligned.S: New file.
63586         * sysdeps/x86_64/multiarch/memcpy.S (__new_memcpy): Add
63587         __memcpy_sse2_unaligned ifunc selection.
63588         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
63589         Add memcpy-sse2-unaligned.S.
63590         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
63591         Add: __memcpy_sse2_unaligned.
63593 2013-05-19  Joseph Myers  <joseph@codesourcery.com>
63595         [BZ #15490]
63596         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
63597         math_force_eval before restoring floating-point envrionment.
63598         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Likewise.
63599         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl):
63600         Likewise.
63601         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Include
63602         <math_private.h>.
63603         (__nearbyintl): Use math_force_eval before restoring
63604         floating-point environment.
63605         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c (__nearbyintl): Likewise.
63607         * math/gen-libm-test.pl (special_functions): Remove.
63608         (parse_args): Don't handle TEST_extra.  Handle functions with no
63609         return value.
63610         * math/libm-test.inc (struct test_sincos_data): Replace with
63611         struct test_fFF_11_data.
63612         (RUN_TEST_sincos): Replace with RUN_TEST_fFF_11.
63613         (RUN_TEST_LOOP_sincos): Replace with RUN_TEST_LOOP_fFF_11.
63614         (sincos_test_data): Change element type to struct
63615         test_fFF_11_data.  Use TEST_fFF_11 instead of TEST_extra.
63616         (sincos_test): Use RUN_TEST_LOOP_fFF_11 instead of
63617         RUN_TEST_LOOP_sincos.
63618         * math/README.libm-test: Don't mention special handling of
63619         individual functions.
63620         * sysdeps/i386/fpu/libm-test-ulps: Update names of sincos tests.
63621         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
63622         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
63623         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
63624         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
63625         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
63627         * math/gen-libm-test.pl (get_variable): Remove function.
63628         (parse_args): Don't show pointer parameters to call in test
63629         names.  Use "extra output N" in test names for extra outputs
63630         rather than naming variables.
63632 2013-05-18  Joseph Myers  <joseph@codesourcery.com>
63634         [BZ #15488]
63635         * math/complex.h [__USE_ISOC11 && __GNUC_PREREQ (4, 7) &&
63636         __NO_LONG_DOUBLE_MATH] (CMPLXL): Define macro.
63637         * math/tst-CMPLX.c (do_test) [NO_LONG_DOUBLE]: Do not disable long
63638         double tests.
63639         * make/tst-CMPLX2.c [NO_LONG_DOUBLE] (check_long_double): Do not
63640         disable.
63641         (do_test) [NO_LONG_DOUBLE]: Do not disable call to
63642         check_long_double.
63644         * math/gen-libm-test.pl (@tests): Remove variable.
63645         ($count): Likewise.
63646         (new_test): Remove function.
63647         (show_exceptions): New function.
63648         (special_functions): Use show_exceptions instead of new_test.
63649         (parse_args): Likewise.
63650         (generate_testfile): Pass only function name in generated call to
63651         print_max_error or print_complex_max_error.
63652         (get_ulps): Do not handle complex tests specially.
63653         (output_test): Rename to ...
63654         (get_all_ulps_for_test): ... this.  Return a string rather than
63655         printing to a file.  Require ulps to be present.
63656         (output_ulps): Generate arrays rather than #defines.
63657         * math/libm-test.inc: Move down #include of "libm-test-ulps.h".
63658         (struct ulp_data): New type.
63659         (BUILD_COMPLEX_ULP): Remove macro.
63660         (compare_ulp_data): New function.
63661         (find_ulps): Likewise.
63662         (find_test_ulps): Likewise.
63663         (find_function_ulps): Likewise.
63664         (find_complex_function_ulps): Likewise.
63665         (print_max_error): Determine allowed ulps using
63666         find_function_ulps.
63667         (print_complex_max_error): Determine allowed ulps using
63668         find_complex_function_ulps.
63669         (check_float_internal): Determine max ulps using find_test_ulps.
63670         (check_float): Do not take max_ulp parameter.  Update call to
63671         check_float_internal.
63672         (check_complex): Likewise.
63673         (check_int): Do not take max_ulp parameter.
63674         (check_long): Likewise.
63675         (check_bool): Likewise.
63676         (check_longlong): Likewise.
63677         (struct test_f_f_data): Remove max_ulp field.
63678         (struct test_ff_f_data): Likewise.
63679         (struct test_ff_f_data_nexttoward): Likewise.
63680         (struct test_fi_f_data): Likewise.
63681         (struct test_fl_f_data): Likewise.
63682         (struct test_if_f_data): Likewise.
63683         (struct test_fff_f_data): Likewise.
63684         (struct test_c_f_data): Likewise.
63685         (struct test_f_f1_data): Remove max_ulp and extra_ulp fields.
63686         (struct test_fF_f1_data): Likewise.
63687         (struct test_ffI_f1_data): Likewise.
63688         (struct test_c_c_data): Remove max_ulp field.
63689         (struct test_cc_c_data): Likewise.
63690         (struct test_f_i_data): Likewise.
63691         (struct test_ff_i_data): Likewise.
63692         (struct test_f_l_data): Likewise.
63693         (struct test_f_L_data): Likewise.
63694         (struct test_sincos_data): Likewise.
63695         (RUN_TEST_f_f): Do not handle ulps.
63696         (RUN_TEST_LOOP_f_f): Likewise.
63697         (RUN_TEST_2_f): Likewise.
63698         (RUN_TEST_LOOP_2_f): Likewise.
63699         (RUN_TEST_fff_f): Likewise.
63700         (RUN_TEST_LOOP_fff_f): Likewise.
63701         (RUN_TEST_c_f): Likewise.
63702         (RUN_TEST_LOOP_c_f): Likewise.
63703         (RUN_TEST_f_f1): Likewise.
63704         (RUN_TEST_LOOP_f_f1): Likewise.
63705         (RUN_TEST_fF_f1): Likewise.
63706         (RUN_TEST_LOOP_fF_f1): Likewise.
63707         (RUN_TEST_fI_f1): Likewise.
63708         (RUN_TEST_LOOP_fI_f1): Likewise.
63709         (RUN_TEST_ffI_f1): Likewise.
63710         (RUN_TEST_LOOP_ffI_f1): Likewise.
63711         (RUN_TEST_c_c): Likewise.
63712         (RUN_TEST_LOOP_c_c): Likewise.
63713         (RUN_TEST_cc_c): Likewise.
63714         (RUN_TEST_LOOP_cc_c): Likewise.
63715         (RUN_TEST_f_i): Likewise.
63716         (RUN_TEST_LOOP_f_i): Likewise.
63717         (RUN_TEST_f_i_tg): Likewise.
63718         (RUN_TEST_LOOP_f_i_tg): Likewise.
63719         (RUN_TEST_ff_i_tg): Likewise.
63720         (RUN_TEST_LOOP_ff_i_tg): Likewise.
63721         (RUN_TEST_f_b): Likewise.
63722         (RUN_TEST_LOOP_f_b): Likewise.
63723         (RUN_TEST_f_b_tg): Likewise.
63724         (RUN_TEST_LOOP_f_b_tg): Likewise.
63725         (RUN_TEST_f_l): Likewise.
63726         (RUN_TEST_LOOP_f_l): Likewise.
63727         (RUN_TEST_f_L): Likewise.
63728         (RUN_TEST_LOOP_f_L): Likewise.
63729         (RUN_TEST_sincos): Likewise.
63730         (RUN_TEST_LOOP_sincos): Likewise.
63732 2013-05-17  Joseph Myers  <joseph@codesourcery.com>
63734         [BZ #15480]
63735         [BZ #15485]
63736         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder): For
63737         main case of finite arguments, set rounding mode to FE_TONEAREST
63738         and discard exceptions.
63739         * math/libm-test.inc (remainder_test_data): Disallow "inexact"
63740         exceptions.
63741         (remainder_tonearest_test_data): New variable.
63742         (remainder_test_tonearest): New function.
63743         (remainder_towardzero_test_data): New variable.
63744         (remainder_test_towardzero): New function.
63745         (remainder_downward_test_data): New variable.
63746         (remainder_test_downward): New function.
63747         (remainder_upward_test_data): New variable.
63748         (remainder_test_upward): New function.
63749         (main): Call the new test functions.
63751         * math/libm-test.inc (struct test_f_f1_data): Remove field
63752         extra_init.
63753         (struct test_fF_f1_data): Likewise.
63754         (struct test_ffI_f1_data): Likewise.
63755         (RUN_TEST_f_f1): Remove argument EXTRA_INIT.  Initialize EXTRA_VAR
63756         based on value of EXTRA_EXPECTED.
63757         (RUN_TEST_LOOP_f_f1): Update call to RUN_TEST_f_f1.
63758         (RUN_TEST_fF_f1): Remove argument EXTRA_INIT.  Initialize
63759         EXTRA_VAR based on value of EXTRA_EXPECTED.
63760         (RUN_TEST_LOOP_fF_f1): Update call to RUN_TEST_fF_f1.
63761         (RUN_TEST_fI_f1): Remove argument EXTRA_INIT.  Initialize
63762         EXTRA_VAR based on value of EXTRA_EXPECTED.
63763         (RUN_TEST_LOOP_fI_f1): Update call to RUN_TEST_fI_f1.
63764         (RUN_TEST_ffI_f1): Remove argument EXTRA_INIT.  Initialize
63765         EXTRA_VAR based on value of EXTRA_EXPECTED.
63766         (RUN_TEST_LOOP_ffI_f1): Update call to RUN_TEST_ffI_f1.
63767         * math/gen-libm-test.pl (parse_args): Don't output initializers
63768         for extra output values.
63770         * math/libm-test.inc (check_int): Expect result to be exactly
63771         equal to expected value and do not handle ulps.
63772         (check_long): Likewise.
63773         (check_longlong): Likewise.
63775         * math/libm-test.inc (ceil_test_data): Test for "inexact"
63776         exceptions.
63777         (cimag_test_data): Likewise.
63778         (conj_test_data): Likewise.
63779         (copysign_test_data): Likewise.
63780         (cproj_test_data): Likewise.
63781         (creal_test_data): Likewise.
63782         (fabs_test_data): Likewise.
63783         (fdim_test_data): Likewise.
63784         (finite_test_data): Likewise.
63785         (floor_test_data): Likewise.
63786         (fmax_test_data): Likewise.
63787         (fmin_test_data): Likewise.
63788         (fmod_test_data): Likewise.
63789         (fpclassify_test_data): Likewise.
63790         (frexp_test_data): Likewise.
63791         (ilogb_test_data): Likewise.
63792         (isfinite_test_data): Likewise.
63793         (isgreater_test_data): Likewise.
63794         (isgreaterequal_test_data): Likewise.
63795         (isinf_test_data): Likewise.
63796         (isless_test_data): Likewise.
63797         (islessequal_test_data): Likewise.
63798         (islessgreater_test_data): Likewise.
63799         (isnan_test_data): Likewise.
63800         (isnormal_test_data): Likewise.
63801         (issignaling_test_data): Likewise.
63802         (isunordered_test_data): Likewise.
63803         (ldexp_test_data): Likewise.
63804         (lrint_test_data): Likewise.
63805         (lrint_test_data) [TEST_FLOAT]: Disable one test.
63806         (lrint_test_data) [!TEST_LDOUBLE]: Likewise.
63807         (lrint_tonearest_test_data): Test for "inexact" exceptions.
63808         (lrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
63809         (lrint_tonearest_test_data) [!TEST_LDOUBLE]: Likewise.
63810         (lrint_tonearest_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
63811         test input.
63812         (lrint_towardzero_test_data): Test for "inexact" exceptions.
63813         (lrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
63814         (lrint_towardzero_test_data) [!TEST_LDOUBLE]: Likewise.
63815         (lrint_towardzero_test_data) [TEST_LDOUBLE]: Use "L" suffix on
63816         that test input.
63817         (lrint_downward_test_data): Test for "inexact" exceptions.
63818         (lrint_downward_test_data) [TEST_FLOAT]: Disable one test.
63819         (lrint_downward_test_data) [!TEST_LDOUBLE]: Likewise.
63820         (lrint_downward_test_data) [TEST_LDOUBLE]: Use "L" suffix on that
63821         test input.
63822         (lrint_upward_test_data): Test for "inexact" exceptions.
63823         (lrint_upward_test_data) [TEST_LDOUBLE]: Use "L" suffix on one
63824         test input.
63825         (llrint_test_data): Test for "inexact" exceptions.
63826         (llrint_test_data) [TEST_FLOAT]: Disable one test.
63827         (llrint_tonearest_test_data): Test for "inexact" exceptions.
63828         (llrint_tonearest_test_data) [TEST_FLOAT]: Disable one test.
63829         (llrint_towardzero_test_data): Test for "inexact" exceptions.
63830         (llrint_towardzero_test_data) [TEST_FLOAT]: Disable one test.
63831         (llrint_downward_test_data): Test for "inexact" exceptions.
63832         (llrint_downward_test_data) [TEST_FLOAT]: Disable one test.
63833         (llrint_upward_test_data): Test for "inexact" exceptions.
63834         (logb_test_data): Likewise.
63835         (logb_downward_test_data): Likewise.
63836         (nextafter_test_data): Likewise.
63837         (nexttoward_test_data): Likewise.
63838         (remainder_test_data): Likewise.
63839         (remquo_test_data): Likewise.
63840         (scalbn_test_data): Likewise.
63841         (scalbln_test_data): Likewise.
63842         (signbit_test_data): Likewise.
63843         (sqrt_test_data): Likewise.
63844         (significand_test_data): Likewise.
63846 2013-05-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
63848         [BZ #15424]
63849         * benchtests/bench-modf.c (struct args): Mark arg0 as
63850         volatile.
63851         * scripts/bench.pl: Mark members of struct args as volatile.
63853 2013-05-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
63855         [BZ # 15497]
63856         * sysdeps/powerpc/fpu/e_hypot.c (GET_TWO_FLOAT_WORD): Fix test for
63857         negative infinity on POWER6 or lower.
63858         * sysdeps/powerpc/fpu/e_hypotf.c (GET_TWO_FLOAT_WORD): Likewise.
63860 2013-05-16  Maciej W. Rozycki  <macro@codesourcery.com>
63862         [BZ #15442]
63863         * soft-fp/op-common.h (_FP_FRAC_SNANP): New macro.
63864         (_FP_FRAC_SNANP_SEMIRAW): Likewise.
63865         (_FP_UNPACK_CANONICAL): Use _FP_FRAC_SNANP.
63866         (_FP_CHECK_SIGNAN_SEMIRAW): Use _FP_FRAC_SNANP_SEMIRAW.
63867         (_FP_SETQNAN): New macro.
63868         (_FP_SETQNAN_SEMIRAW): Likewise.
63869         (_FP_PACK_SEMIRAW): Use _FP_SETQNAN.
63870         (_FP_PACK_CANONICAL): Use _FP_SETQNAN.
63871         (_FP_ISSIGNAN): Use _FP_FRAC_SNANP.
63872         (FP_EXTEND): Use _FP_FRAC_SNANP.
63873         (FP_TRUNC): Use _FP_SETQNAN_SEMIRAW.
63874         * soft-fp/testit.c (gen_special_double): Take _FP_QNANNEGATEDP
63875         into account.
63876         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
63877         New macro.
63878         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_QNANNEGATEDP):
63879         Likewise.
63881 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
63883         * math/libm-test.inc (atanh_test_data): Use ERRNO_ERANGE together
63884         with DIVIDE_BY_ZERO_EXCEPTION.
63885         (gamma_test_data): Likewise.
63886         (lgamma_test_data): Likewise.
63887         (log_test_data): Likewise.
63888         (log10_test_data): Likewise.
63889         (log2_test_data): Likewise.
63890         (tgamma_test_data): Likewise.
63892         * math/libm-test.inc (acos_test): Don't test for ENOSYS error.
63893         (acos_test_tonearest): Likewise.
63894         (acos_test_towardzero): Likewise.
63895         (acos_test_downward): Likewise.
63896         (acos_test_upward): Likewise.
63897         (acosh_test): Likewise.
63898         (asin_test): Likewise.
63899         (asin_test_tonearest): Likewise.
63900         (asin_test_towardzero): Likewise.
63901         (asin_test_downward): Likewise.
63902         (asin_test_upward): Likewise.
63903         (asinh_test): Likewise.
63904         (atan_test): Likewise.
63905         (atanh_test): Likewise.
63906         (atan2_test): Likewise.
63907         (cabs_test): Likewise.
63908         (cacos_test): Likewise.
63909         (cacosh_test): Likewise.
63910         (casin_test): Likewise.
63911         (casinh_test): Likewise.
63912         (catan_test): Likewise.
63913         (catanh_test): Likewise.
63914         (cbrt_test): Likewise.
63915         (ccos_test): Likewise.
63916         (ccosh_test): Likewise.
63917         (cexp_test): Likewise.
63918         (clog_test): Likewise.
63919         (clog10_test): Likewise.
63920         (cos_test): Likewise.
63921         (cos_test_tonearest): Likewise.
63922         (cos_test_towardzero): Likewise.
63923         (cos_test_downward): Likewise.
63924         (cos_test_upward): Likewise.
63925         (cosh_test): Likewise.
63926         (cosh_test_tonearest): Likewise.
63927         (cosh_test_towardzero): Likewise.
63928         (cosh_test_downward): Likewise.
63929         (cosh_test_upward): Likewise.
63930         (cpow_test): Likewise.
63931         (csin_test): Likewise.
63932         (csinh_test): Likewise.
63933         (csqrt_test): Likewise.
63934         (ctan_test): Likewise.
63935         (ctan_test_tonearest): Likewise.
63936         (ctan_test_towardzero): Likewise.
63937         (ctan_test_downward): Likewise.
63938         (ctan_test_upward): Likewise.
63939         (ctanh_test): Likewise.
63940         (ctanh_test_tonearest): Likewise.
63941         (ctanh_test_towardzero): Likewise.
63942         (ctanh_test_downward): Likewise.
63943         (ctanh_test_upward): Likewise.
63944         (erf_test): Likewise.
63945         (erfc_test): Likewise.
63946         (exp_test): Likewise.
63947         (exp_test_tonearest): Likewise.
63948         (exp_test_towardzero): Likewise.
63949         (exp_test_downward): Likewise.
63950         (exp_test_upward): Likewise.
63951         (exp10_test): Likewise.
63952         (exp2_test): Likewise.
63953         (expm1_test): Likewise.
63954         (fmod_test): Likewise.
63955         (gamma_test): Likewise.
63956         (hypot_test): Likewise.
63957         (j0_test): Likewise.
63958         (j1_test): Likewise.
63959         (jn_test): Likewise.
63960         (lgamma_test): Likewise.
63961         (log_test): Likewise.
63962         (log10_test): Likewise.
63963         (log1p_test): Likewise.
63964         (log2_test): Likewise.
63965         (logb_test_downward): Likewise.
63966         (pow_test): Likewise.
63967         (pow_test_tonearest): Likewise.
63968         (pow_test_towardzero): Likewise.
63969         (pow_test_downward): Likewise.
63970         (pow_test_upward): Likewise.
63971         (remainder_test): Likewise.
63972         (remquo_test): Likewise.
63973         (sin_test): Likewise.
63974         (sin_test_tonearest): Likewise.
63975         (sin_test_towardzero): Likewise.
63976         (sin_test_downward): Likewise.
63977         (sin_test_upward): Likewise.
63978         (sincos_test): Likewise.
63979         (sinh_test): Likewise.
63980         (sinh_test_tonearest): Likewise.
63981         (sinh_test_towardzero): Likewise.
63982         (sinh_test_downward): Likewise.
63983         (sinh_test_upward): Likewise.
63984         (sqrt_test): Likewise.
63985         (tan_test): Likewise.
63986         (tan_test_tonearest): Likewise.
63987         (tan_test_towardzero): Likewise.
63988         (tan_test_downward): Likewise.
63989         (tan_test_upward): Likewise.
63990         (tanh_test): Likewise.
63991         (tgamma_test): Likewise.
63992         (y0_test): Likewise.
63993         (y1_test): Likewise.
63994         (yn_test): Likewise.
63996         * math/gen-libm-test.pl (adjust_arg): Remove function.
63997         (special_function): Remove argument $in_func.  Only handle
63998         generating output for tables of tests, not inside functions.
63999         (parse_args): Likewise.
64000         (generate_testfile): Remove variable $in_func.  Update call to
64001         parse_args.
64002         * math/libm-test.inc (PLUS_ZERO_INIT): Rename macro to plus_zero.
64003         (MINUS_ZERO_INIT): Rename macro to minus_zero.
64004         (PLUS_INFTY_INIT): Rename macro to plus_infty.
64005         (MINUS_INFTY_INIT): Rename macro to minus_infty.
64006         (QNAN_VALUE_INIT): Rename macro to qnan_value.
64007         (MAX_VALUE_INIT): Rename macro to max_value.
64008         (MIN_VALUE_INIT): Rename macro to min_value.
64009         (MIN_SUBNORM_VALUE_INIT): Rename macro to min_subnorm_value.
64010         (plus_zero): Remove variable.
64011         (minus_zero): Likewise.
64012         (plus_infty): Likewise.
64013         (minus_infty): Likewise.
64014         (qnan_value): Likewise.
64015         (max_value): Likewise.
64016         (min_value): Likewise.
64017         (min_subnorm_value): Likewise.
64019 2013-05-16  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
64021         * crypt/sha512-block.c: Add missing #include <stdint.h> due to
64022         uint64_t or uint32_t usage.
64023         * crypt/sha256-block.c: Likewise.
64024         * crypt/sha256-crypt.c: Likewise.
64025         * crypt/sha256.c: Likewise.
64026         * crypt/sha512-block.c: Likewise.
64027         * crypt/sha512-crypt.c: Likewise.
64028         * crypt/sha512.c: Likewise.
64029         * debug/backtrace-tst.c: Likewise.
64030         * debug/pcprofiledump.c: Likewise.
64031         * elf/cache.c: Likewise.
64032         * elf/dl-cache.c: Likewise.
64033         * elf/dl-misc.c: Likewise.
64034         * elf/dl-profile.c: Likewise.
64035         * elf/dl-support.c: Likewise.
64036         * elf/ldconfig.c: Likewise.
64037         * elf/sprof.c: Likewise.
64038         * iconv/dummy-repertoire.c: Likewise.
64039         * iconv/iconv_charmap.c: Likewise.
64040         * iconv/skeleton.c: Likewise.
64041         * iconvdata/8bit-generic.c: Likewise.
64042         * iconvdata/cp737.h: Likewise.
64043         * iconvdata/cp775.h: Likewise.
64044         * iconvdata/ibm1008.h: Likewise.
64045         * iconvdata/ibm1025.h: Likewise.
64046         * iconvdata/ibm1046.h: Likewise.
64047         * iconvdata/ibm1097.h: Likewise.
64048         * iconvdata/ibm1112.h: Likewise.
64049         * iconvdata/ibm1122.h: Likewise.
64050         * iconvdata/ibm1123.h: Likewise.
64051         * iconvdata/ibm1124.h: Likewise.
64052         * iconvdata/ibm1129.h: Likewise.
64053         * iconvdata/ibm1130.h: Likewise.
64054         * iconvdata/ibm1132.h: Likewise.
64055         * iconvdata/ibm1133.h: Likewise.
64056         * iconvdata/ibm1137.h: Likewise.
64057         * iconvdata/ibm1140.h: Likewise.
64058         * iconvdata/ibm1141.h: Likewise.
64059         * iconvdata/ibm1142.h: Likewise.
64060         * iconvdata/ibm1143.h: Likewise.
64061         * iconvdata/ibm1144.h: Likewise.
64062         * iconvdata/ibm1145.h: Likewise.
64063         * iconvdata/ibm1146.h: Likewise.
64064         * iconvdata/ibm1147.h: Likewise.
64065         * iconvdata/ibm1148.h: Likewise.
64066         * iconvdata/ibm1149.h: Likewise.
64067         * iconvdata/ibm1153.h: Likewise.
64068         * iconvdata/ibm1154.h: Likewise.
64069         * iconvdata/ibm1155.h: Likewise.
64070         * iconvdata/ibm1156.h: Likewise.
64071         * iconvdata/ibm1157.h: Likewise.
64072         * iconvdata/ibm1158.h: Likewise.
64073         * iconvdata/ibm1160.h: Likewise.
64074         * iconvdata/ibm1161.h: Likewise.
64075         * iconvdata/ibm1162.h: Likewise.
64076         * iconvdata/ibm1163.h: Likewise.
64077         * iconvdata/ibm1164.h: Likewise.
64078         * iconvdata/ibm1166.h: Likewise.
64079         * iconvdata/ibm1167.h: Likewise.
64080         * iconvdata/ibm12712.h: Likewise.
64081         * iconvdata/ibm1390.h: Likewise.
64082         * iconvdata/ibm1399.h: Likewise.
64083         * iconvdata/ibm16804.h: Likewise.
64084         * iconvdata/ibm4517.h: Likewise.
64085         * iconvdata/ibm4899.h: Likewise.
64086         * iconvdata/ibm4909.h: Likewise.
64087         * iconvdata/ibm4971.h: Likewise.
64088         * iconvdata/ibm5347.h: Likewise.
64089         * iconvdata/ibm803.h: Likewise.
64090         * iconvdata/ibm856.h: Likewise.
64091         * iconvdata/ibm901.h: Likewise.
64092         * iconvdata/ibm902.h: Likewise.
64093         * iconvdata/ibm9030.h: Likewise.
64094         * iconvdata/ibm9066.h: Likewise.
64095         * iconvdata/ibm921.h: Likewise.
64096         * iconvdata/ibm922.h: Likewise.
64097         * iconvdata/ibm9448.h: Likewise.
64098         * iconvdata/isiri-3342.h: Likewise.
64099         * iconvdata/jis0201.h: Likewise.
64100         * include/link.h: Likewise.
64101         * include/netdb.h: Likewise.
64102         * inet/check_native.c: Likewise.
64103         * inet/check_pf.c: Likewise.
64104         * inet/getipv4sourcefilter.c: Likewise.
64105         * inet/getnameinfo.c: Likewise.
64106         * inet/getsourcefilter.c: Likewise.
64107         * inet/htonl.c: Likewise.
64108         * inet/setipv4sourcefilter.c: Likewise.
64109         * inet/setsourcefilter.c: Likewise.
64110         * inet/test-inet6_opt.c: Likewise.
64111         * inet/tst-network.c: Likewise.
64112         * locale/C-collate.c: Likewise.
64113         * locale/C-ctype.c: Likewise.
64114         * locale/C-time.c: Likewise.
64115         * locale/C-translit.h: Likewise.
64116         * locale/loadarchive.c: Likewise.
64117         * locale/programs/3level.h: Likewise.
64118         * locale/programs/charmap.c: Likewise.
64119         * locale/programs/charmap.h: Likewise.
64120         * locale/programs/ld-address.c: Likewise.
64121         * locale/programs/ld-collate.c: Likewise.
64122         * locale/programs/ld-ctype.c: Likewise.
64123         * locale/programs/ld-identification.c: Likewise.
64124         * locale/programs/ld-measurement.c: Likewise.
64125         * locale/programs/ld-messages.c: Likewise.
64126         * locale/programs/ld-monetary.c: Likewise.
64127         * locale/programs/ld-name.c: Likewise.
64128         * locale/programs/ld-numeric.c: Likewise.
64129         * locale/programs/ld-paper.c: Likewise.
64130         * locale/programs/ld-telephone.c: Likewise.
64131         * locale/programs/ld-time.c: Likewise.
64132         * locale/programs/linereader.c: Likewise.
64133         * locale/programs/locale.c: Likewise.
64134         * locale/programs/locarchive.c: Likewise.
64135         * locale/programs/locfile.h: Likewise.
64136         * locale/programs/repertoire.c: Likewise.
64137         * locale/programs/simple-hash.c: Likewise.
64138         * locale/programs/simple-hash.h: Likewise.
64139         * malloc/memusage.c: Likewise.
64140         * malloc/memusagestat.c: Likewise.
64141         * nis/nis_defaults.c: Likewise.
64142         * nis/nis_hash.c: Likewise.
64143         * nis/nis_print.c: Likewise.
64144         * nis/nis_xdr.c: Likewise.
64145         * nscd/connections.c: Likewise.
64146         * nscd/hstcache.c: Likewise.
64147         * nscd/nscd_gethst_r.c: Likewise.
64148         * nscd/nscd_getserv_r.c: Likewise.
64149         * nscd/nscd_helper.c: Likewise.
64150         * nscd/servicescache.c: Likewise.
64151         * nss/makedb.c: Likewise.
64152         * nss/nss_db/db-XXX.c: Likewise.
64153         * nss/nss_db/db-initgroups.c: Likewise.
64154         * nss/nss_db/db-netgrp.c: Likewise.
64155         * nss/nss_files/files-network.c: Likewise.
64156         * nss/nss_files/files-parse.c: Likewise.
64157         * posix/bug-regex5.c: Likewise.
64158         * posix/fnmatch_loop.c: Likewise.
64159         * posix/regcomp.c: Likewise.
64160         * posix/regexec.c: Likewise.
64161         * posix/tst-rfc3484-2.c: Likewise.
64162         * posix/tst-rfc3484-3.c: Likewise.
64163         * posix/tst-rfc3484.c: Likewise.
64164         * resolv/nss_dns/dns-canon.c: Likewise.
64165         * resolv/nss_dns/dns-network.c: Likewise.
64166         * resolv/res_init.c: Likewise.
64167         * resolv/res_mkquery.c: Likewise.
64168         * resolv/tst-aton.c: Likewise.
64169         * stdlib/cxa_atexit.c: Likewise.
64170         * stdlib/cxa_finalize.c: Likewise.
64171         * stdlib/gen-fpioconst.c: Likewise.
64172         * stdlib/strtol_l.c: Likewise.
64173         * string/tst-endian.c: Likewise.
64174         * sunrpc/auth_des.c: Likewise.
64175         * sunrpc/clnt_udp.c: Likewise.
64176         * sunrpc/rtime.c: Likewise.
64177         * sunrpc/svcauth_des.c: Likewise.
64178         * sunrpc/xdr.c: Likewise.
64179         * sunrpc/xdr_intXX_t.c: Likewise.
64180         * sunrpc/xdr_rec.c: Likewise.
64181         * sysdeps/generic/ldconfig.h: Likewise.
64182         * sysdeps/generic/ldsodefs.h: Likewise.
64183         * sysdeps/generic/memusage.h: Likewise.
64184         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
64185         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: Likewise.
64186         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: Likewise.
64187         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
64188         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
64189         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
64190         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
64191         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
64192         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
64193         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h: Likewise.
64194         * sysdeps/posix/getaddrinfo.c: Likewise.
64195         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
64196         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
64197         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
64198         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
64199         * sysdeps/powerpc/test-gettimebase.c: Likewise.
64200         * sysdeps/unix/sysv/linux/check_pf.c: Likewise.
64201         * sysdeps/unix/sysv/linux/getipv4sourcefilter.c: Likewise.
64202         * sysdeps/unix/sysv/linux/getsourcefilter.c: Likewise.
64203         * sysdeps/unix/sysv/linux/netlinkaccess.h: Likewise.
64204         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: Likewise.
64205         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
64206         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
64207         * sysdeps/unix/sysv/linux/setipv4sourcefilter.c: Likewise.
64208         * sysdeps/unix/sysv/linux/setsourcefilter.c: Likewise.
64209         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: Likewise.
64210         * sysdeps/x86_64/dl-tls.h: Likewise.
64211         * sysdeps/x86_64/dl-tlsdesc.h: Likewise.
64212         * time/alt_digit.c: Likewise.
64213         * time/era.c: Likewise.
64214         * wcsmbs/tst-c16c32-1.c: Likewise.
64216 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
64218         * math/libm-test.inc (struct test_sincos_data): New type.
64219         (RUN_TEST_LOOP_sincos): New macro.
64220         (sincos_test_data): New variable.
64221         (sincos_test): Run tests with RUN_TEST_LOOP_sincos.
64223 2013-05-16  Richard Henderson  <rth@redhat.com>
64225         * math/atest-exp2.c (LIMB64): New macro.
64226         (CONSTSZ): New macro.
64227         (mp_exp1, mp_exp_m1, mp_log2): New variables.
64228         (hexdig): Move ...
64229         (print_mpn_fp): ... to function scope.
64230         (read_mpn_hex): Remove.
64231         (get_log2): Remove.
64232         (exp2_mpn): Use mp_log2.
64233         (main): Use mp_exp1.
64235 2013-05-16  Joseph Myers  <joseph@codesourcery.com>
64237         * math/libm-test.inc: Remove comment about not testing "inexact"
64238         exceptions.
64239         (INEXACT_EXCEPTION): New macro.
64240         (NO_INEXACT_EXCEPTION): Likewise.
64241         (INVALID_EXCEPTION_OK): Update value.
64242         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
64243         (OVERFLOW_EXCEPTION_OK): Likewise.
64244         (UNDERFLOW_EXCEPTION_OK): Likewise.
64245         (IGNORE_ZERO_INF_SIGN): Likewise.
64246         (ERRNO_UNCHANGED): Likewise.
64247         (ERRNO_EDOM): Likewise.
64248         (ERRNO_ERANGE): Likewise.
64249         (test_exceptions): Handle testing "inexact" exceptions.
64250         (nearbyint_test_data): Use NO_INEXACT_EXCEPTION on all tests.
64251         (rint_test_data): Use NO_INEXACT_EXCEPTION and INEXACT_EXCEPTION.
64252         (rint_test_data) [LDBL_MANT_DIG <= 100]: Disable some tests.
64253         (rint_tonearest_test_data): Use NO_INEXACT_EXCEPTION and
64254         INEXACT_EXCEPTION.
64255         (rint_towardzero_test_data): Likewise.
64256         (rint_downward_test_data): Likewise.
64257         (rint_upward_test_data): Likewise.
64259         * math/libm-test.inc (exp_test_data): Use ERRNO_ERANGE together
64260         with OVERFLOW_EXCEPTION.
64261         (exp10_test_data): Likewise.
64262         (exp2_test_data): Likewise.
64263         (expm1_test_data): Likewise.
64264         (lgamma_test_data): Likewise.
64265         (pow_test_data): Likewise.
64266         (tgamma_test_data): Likewise.
64267         (yn_test_data): Remove duplicate test of overflow.
64269         * math/libm-test.inc (struct test_cc_c_data): New type.
64270         (RUN_TEST_LOOP_cc_c): New macro.
64271         (cpow_test_data): New variable.
64272         (cpow_test): Run tests with RUN_TEST_LOOP_cc_c.
64274         * math/libm-test.inc (struct test_f_L_data): New type.
64275         (RUN_TEST_LOOP_f_L): New macro.
64276         (llrint_test_data): New variable.
64277         (llrint_test): Run tests with RUN_TEST_LOOP_f_L.
64278         (llrint_tonearest_test_data): New variable.
64279         (llrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_L.
64280         (llrint_towardzero_test_data): New variable.
64281         (llrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_L.
64282         (llrint_downward_test_data): New variable.
64283         (llrint_test_downward): Run tests with RUN_TEST_LOOP_f_L.
64284         (llrint_upward_test_data): New variable.
64285         (llrint_test_upward): Run tests with RUN_TEST_LOOP_f_L.
64286         (llround_test_data): New variable.
64287         (llround_test): Run tests with RUN_TEST_LOOP_f_L.
64289 2013-05-13  Peter Collingbourne  <pcc@google.com>
64291         * math/atest-exp2.c (get_log2): Remove const attribute.
64293 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
64295         * math/libm-test.inc (struct test_f_l_data): New type.
64296         (RUN_TEST_LOOP_f_l): New macro.
64297         (lrint_test_data): New variable.
64298         (lrint_test): Run tests with RUN_TEST_LOOP_f_l.
64299         (lrint_tonearest_test_data): New variable.
64300         (lrint_test_tonearest): Run tests with RUN_TEST_LOOP_f_l.
64301         (lrint_towardzero_test_data): New variable.
64302         (lrint_test_towardzero): Run tests with RUN_TEST_LOOP_f_l.
64303         (lrint_downward_test_data): New variable.
64304         (lrint_test_downward): Run tests with RUN_TEST_LOOP_f_l.
64305         (lrint_upward_test_data): New variable.
64306         (lrint_test_upward): Run tests with RUN_TEST_LOOP_f_l.
64307         (lround_test_data): New variable.
64308         (lround_test): Run tests with RUN_TEST_LOOP_f_l.
64310 2013-05-15  Peter Collingbourne  <pcc@google.com>
64312         * sysdeps/x86_64/fpu/math_private.h (MOVQ): New macro.
64313         (EXTRACT_WORDS64) Use where appropriate.
64314         (INSERT_WORDS64) Likewise.
64316         * sysdeps/x86_64/fpu/multiarch/s_fma.c (__fma_fma4): Replace xm
64317         constraints with x constraints.
64318         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c (__fmaf_fma4): Likewise.
64320         * malloc/obstack.c (_obstack_compat): Add initializer.
64322 2013-05-15  Edjunior Machado  <emachado@linux.vnet.ibm.com>
64324         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Remove
64325         si_trapno and add si_addr_lsb to _sifields.sigfault.
64326         (si_trapno): Remove macro.
64327         (si_addr_lsb): Define new macro.
64328         (BUS_MCEERR_AR, BUS_MCEERR_AO): Define new values.
64330 2013-05-15  Joseph Myers  <joseph@codesourcery.com>
64332         * math/libm-test.inc (llrint_test): Consistently use TEST_f_L
64333         instead of TEST_f_l.
64334         (llrint_test_tonearest): Likewise.
64335         (llrint_test_towardzero): Likewise.
64336         (llrint_test_downward): Likewise.
64337         (llrint_test_upward): Likewise.
64338         (llround_test): Likewise.
64340         * math/libm-test.inc (struct test_f_i_data): Add comment.
64341         (RUN_TEST_LOOP_f_b): New macro.
64342         (RUN_TEST_LOOP_f_b_tg): Likewise.
64343         (finite_test_data): New variable.
64344         (finite_test): Run tests with RUN_TEST_LOOP_f_b.
64345         (isfinite_test_data): New variable.
64346         (isfinite_test): Run tests with RUN_TEST_LOOP_f_b_tg.
64347         (isinf_test_data): New variable.
64348         (isinf_test): Run tests with RUN_TEST_LOOP_f_b_tg.
64349         (isnan_test_data): New variable.
64350         (isnan_test): Run tests with RUN_TEST_LOOP_f_b_tg.
64351         (isnormal_test_data): New variable.
64352         (isnormal_test): Run tests with RUN_TEST_LOOP_f_b_tg.
64353         (issignaling_test_data): New variable.
64354         (issignaling_test): Run tests with RUN_TEST_LOOP_f_b_tg.
64355         (signbit_test_data): New variable.
64356         (signbit_test): Run tests with RUN_TEST_LOOP_f_b_tg.
64358         * math/libm-test.inc (acos_test_data): Use ERRNO_EDOM together
64359         with INVALID_EXCEPTION.
64360         (acosh_test_data): Likewise.
64361         (asin_test_data): Likewise.
64362         (atanh_test_data): Likewise.
64363         (fmod_test_data): Likewise.
64364         (log_test_data): Likewise.
64365         (log10_test_data): Likewise.
64366         (log2_test_data): Likewise.
64367         (pow_test_data): Likewise.
64368         (sqrt_test_data): Likewise.
64369         (y0_test_data): Likewise.
64370         (y1_test_data): Likewise.
64371         (yn_test_data): Likewise.
64373         * math/libm-test.inc (test_single_errno) [TEST_INLINE]: Disable
64374         function contents.
64376         * math/libm-test.inc (struct test_ff_i_data): New type.
64377         (RUN_TEST_LOOP_ff_i_tg): New macro.
64378         (isgreater_test_data): New variable.
64379         (isgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
64380         (isgreaterequal_test_data): New variable.
64381         (isgreaterequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
64382         (isless_test_data): New variable.
64383         (isless_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
64384         (islessequal_test_data): New variable.
64385         (islessequal_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
64386         (islessgreater_test_data): New variable.
64387         (islessgreater_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
64388         (isunordered_test_data): New variable.
64389         (isunordered_test): Run tests with RUN_TEST_LOOP_ff_i_tg.
64391 2013-05-14  David S. Miller  <davem@davemloft.net>
64393         * sysdeps/sparc/fpu/libm-test-ulps: Update.
64395 2013-05-14  Joseph Myers  <joseph@codesourcery.com>
64397         * math/libm-test.inc (RUN_TEST_LOOP_2_f): Fix whitespace.
64399         * math/libm-test.inc (struct test_fF_f1_data): Change type of
64400         extra_test to int.
64401         (struct test_f_i_data): Change type of max_ulp to int.
64403         * math/libm-test.inc (test_ffI_f1_data): New type.
64404         (RUN_TEST_LOOP_ffI_f1): New macro.
64405         (remquo_test_data): New variable.
64406         (remquo_test): Run tests with RUN_TEST_LOOP_ffI_f1.
64408         * setjmp/tst-setjmp-fp.c: New file.
64409         * setjmp/Makefile (tests): Add tst-setjmp-fp.
64410         (link-libm): New variable.
64411         ($(objpfx)tst-setjmp-fp): Depend on $(link-libm).
64413         * math/libm-test.inc (struct test_f_i_data): New type.
64414         (RUN_TEST_LOOP_f_i): New macro.
64415         (RUN_TEST_LOOP_f_i_tg): Likewise.
64416         (fpclassify_test_data): New variable.
64417         (fpclassify_test): Run tests with RUN_TEST_LOOP_f_i_tg.
64418         (ilogb_test_data): New variable.
64419         (ilogb_test): Run tests with RUN_TEST_LOOP_f_i.
64421         * math/libm-test.inc (scalbln_test): Correct function name in END
64422         call.
64424         * math/libm-test.inc (struct test_f_f1_data): Add comment.
64425         (RUN_TEST_LOOP_fI_f1): New macro.
64426         (frexp_test_data): New variable.
64427         (frexp_test): Run tests with RUN_TEST_LOOP_fI_f1.
64429         * math/libm-test.inc (struct test_fF_f1_data): New type.
64430         (RUN_TEST_LOOP_fF_f1): New macro.
64431         (modf_test_data): New variable.
64432         (modf_test): Run tests with RUN_TEST_LOOP_fF_f1.
64434         * math/libm-test.inc (struct test_f_f1_data): New type.
64435         (RUN_TEST_LOOP_f_f1): New macro.
64436         (gamma_test_data): New variable.
64437         (gamma_test): Run tests with RUN_TEST_LOOP_f_f1.
64438         (lgamma_test_data): New variable.
64439         (lgamma_test): Run tests with RUN_TEST_LOOP_f_f1.
64441 2013-05-13  Carlos O'Donell  <carlos@redhat.com>
64443         * elf/dl-hwcaps.c (_dl_important_hwcaps): Comment vDSO hwcap loading.
64444         * elf/ldconfig.c (is_hwcap_platform): Comment each hwcap check.
64445         (main): Comment "tls" pseudo-hwcap.
64447 2013-05-13  Joseph Myers  <joseph@codesourcery.com>
64449         * math/libm-test.inc (struct test_fl_f_data): New type.
64450         (RUN_TEST_LOOP_fl_f): New variable.
64451         (scalbln_test_data): New variable.
64452         (scalbln_test): Run tests with RUN_TEST_LOOP_fl_f.
64454         * math/libm-test.inc (struct test_fi_f_data): New type.
64455         (RUN_TEST_LOOP_fi_f): New macro.
64456         (ldexp_test_data): New variable.
64457         (ldexp_test): Run tests with RUN_TEST_LOOP_fi_f.
64458         (scalbn_test_data): New variable.
64459         (scalbn_test): Run tests with RUN_TEST_LOOP_fi_f.
64461         * math/libm-test.inc (struct test_c_f_data): New type.
64462         (RUN_TEST_LOOP_c_f): New macro.
64463         (cabs_test_data): New variable.
64464         (cabs_test): Run tests with RUN_TEST_LOOP_c_f.
64465         (carg_test_data): New variable.
64466         (carg_test): Run tests with RUN_TEST_LOOP_c_f.
64467         (cimag_test_data): New variable.
64468         (cimag_test): Run tests with RUN_TEST_LOOP_c_f.
64469         (creal_test_data): New variable.
64470         (creal_test): Run tests with RUN_TEST_LOOP_c_f.
64472         * math/libm-test.inc (struct test_if_f_data): New type.
64473         (RUN_TEST_LOOP_if_f): New macro.
64474         (jn_test_data): New variable.
64475         (jn_test): Run tests with RUN_TEST_LOOP_if_f.
64476         (yn_test_data): New variable.
64477         (yn_test): Run tests with RUN_TEST_LOOP_if_f.
64479         * math/libm-test.inc (scalbln_test): Consistently use TEST_fl_f.
64481 2013-05-13  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64483         * math/libm-test.inc (M_1_DIV_El): Define using decimal constant.
64484         (log_test_data): Use M_1_DIV_El instead of 1.0 / M_El.
64486 2013-05-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
64488         * benchtests/Makefile (CPPFLAGS-nonlib): Add
64489         -DUSE_CLOCK_GETTIME if USE_CLOCK_GETTIME is defined.
64490         (bench-deps): Add bench-timing.h.
64491         * benchtests-bench-skeleton.c: Include bench-timing.h.
64492         (main): Use TIMING_* macros instead of clock_gettime.
64493         * benchtests/bench-timing.h: New file.
64495         [BZ #14582]
64496         * sysdeps/ieee754/s_lib_version.c (_LIB_VERSION_INTERNAL):
64497         Renamed from _LIB_VERSION.
64498         (_LIB_VERSION): Set as weak alias of _LIB_VERSION_INTERNAL.
64500 2013-05-12  Joseph Myers  <joseph@codesourcery.com>
64502         * math/libm-test.inc (struct test_fff_f_data): New type.
64503         (RUN_TEST_LOOP_fff_f): New macro.
64504         (fma_test_data): New variable.
64505         (fma_test): Run tests with RUN_TEST_LOOP_fff_f.
64506         (fma_towardzero_test_data): New variable.
64507         (fma_test_towardzero): Run tests with RUN_TEST_LOOP_fff_f.
64508         (fma_downward_test_data): New variable.
64509         (fma_test_downward): Run tests with RUN_TEST_LOOP_fff_f.
64510         (fma_upward_test_data): New variable.
64511         (fma_test_upward): Run tests with RUN_TEST_LOOP_fff_f.
64513         * math/libm-test.inc (BUILD_COMPLEX_ULP): New macro.
64514         (struct test_c_c_data): New type.
64515         (RUN_TEST_LOOP_c_c): New macro.
64516         (cacos_test_data): New variable.
64517         (cacos_test): Run tests with RUN_TEST_LOOP_c_c.
64518         (cacosh_test_data): New variable.
64519         (cacosh_test): Run tests with RUN_TEST_LOOP_c_c.
64520         (casin_test_data): New variable.
64521         (casin_test): Run tests with RUN_TEST_LOOP_c_c.
64522         (casinh_test_data): New variable.
64523         (casinh_test): Run tests with RUN_TEST_LOOP_c_c.
64524         (catan_test_data): New variable.
64525         (catan_test): Run tests with RUN_TEST_LOOP_c_c.
64526         (catanh_test_data): New variable.
64527         (catanh_test): Run tests with RUN_TEST_LOOP_c_c.
64528         (ccos_test_data): New variable.
64529         (ccos_test): Run tests with RUN_TEST_LOOP_c_c.
64530         (ccosh_test_data): New variable.
64531         (ccosh_test): Run tests with RUN_TEST_LOOP_c_c.
64532         (cexp_test_data): New variable.
64533         (cexp_test): Run tests with RUN_TEST_LOOP_c_c.
64534         (clog_test_data): New variable.
64535         (clog_test): Run tests with RUN_TEST_LOOP_c_c.
64536         (clog10_test_data): New variable.
64537         (clog10_test): Run tests with RUN_TEST_LOOP_c_c.
64538         (conj_test_data): New variable.
64539         (conj_test): Run tests with RUN_TEST_LOOP_c_c.
64540         (cproj_test_data): New variable.
64541         (cproj_test): Run tests with RUN_TEST_LOOP_c_c.
64542         (csin_test_data): New variable.
64543         (csin_test): Run tests with RUN_TEST_LOOP_c_c.
64544         (csinh_test_data): New variable.
64545         (csinh_test): Run tests with RUN_TEST_LOOP_c_c.
64546         (csqrt_test_data): New variable.
64547         (csqrt_test): Run tests with RUN_TEST_LOOP_c_c.
64548         (ctan_test_data): New variable.
64549         (ctan_test): Run tests with RUN_TEST_LOOP_c_c.
64550         (ctan_tonearest_test_data): New variable.
64551         (ctan_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
64552         (ctan_towardzero_test_data): New variable.
64553         (ctan_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
64554         (ctan_downward_test_data): New variable.
64555         (ctan_test_downward): Run tests with RUN_TEST_LOOP_c_c.
64556         (ctan_upward_test_data): New variable.
64557         (ctan_test_upward): Run tests with RUN_TEST_LOOP_c_c.
64558         (ctanh_test_data): New variable.
64559         (ctanh_test): Run tests with RUN_TEST_LOOP_c_c.
64560         (ctanh_tonearest_test_data): New variable.
64561         (ctanh_test_tonearest): Run tests with RUN_TEST_LOOP_c_c.
64562         (ctanh_towardzero_test_data): New variable.
64563         (ctanh_test_towardzero): Run tests with RUN_TEST_LOOP_c_c.
64564         (ctanh_downward_test_data): New variable.
64565         (ctanh_test_downward): Run tests with RUN_TEST_LOOP_c_c.
64566         (ctanh_upward_test_data): New variable.
64567         (ctanh_test_upward): Run tests with RUN_TEST_LOOP_c_c.
64568         * math/gen-libm-test.pl (get_ulps): Use BUILD_COMPLEX_ULP instead
64569         of BUILD_COMPLEX.
64571         * math/libm-test.inc (struct test_ff_f_data): New type.
64572         (struct test_ff_f_data_nexttoward): Likewise.
64573         (RUN_TEST_LOOP_2_f): New macro.
64574         (RUN_TEST_LOOP_ff_f): Likewise.
64575         (atan2_test_data): New variable.
64576         (atan2_test): Run tests with RUN_TEST_LOOP_ff_f.
64577         (copysign_test_data): New variable.
64578         (copysign_test): Run tests with RUN_TEST_LOOP_ff_f.
64579         (fdim_test_data): New variable.
64580         (fdim_test): Run tests with RUN_TEST_LOOP_ff_f.
64581         (fmax_test_data): New variable.
64582         (fmax_test): Run tests with RUN_TEST_LOOP_ff_f.
64583         (fmin_test_data): New variable.
64584         (fmin_test): Run tests with RUN_TEST_LOOP_ff_f.
64585         (fmod_test_data): New variable.
64586         (fmod_test): Run tests with RUN_TEST_LOOP_ff_f.
64587         (hypot_test_data): New variable.
64588         (hypot_test): Run tests with RUN_TEST_LOOP_ff_f.
64589         (nextafter_test_data): New variable.
64590         (nextafter_test): Run tests with RUN_TEST_LOOP_ff_f.
64591         (nexttoward_test_data): New variable.
64592         (nexttoward_test): Run tests with RUN_TEST_LOOP_ff_f.
64593         (pow_test_data): New variable.
64594         (pow_test): Run tests with RUN_TEST_LOOP_ff_f.
64595         (pow_tonearest_test_data): New variable.
64596         (pow_test_tonearest): Run tests with RUN_TEST_LOOP_ff_f.
64597         (pow_towardzero_test_data): New variable.
64598         (pow_test_towardzero): Run tests with RUN_TEST_LOOP_ff_f.
64599         (pow_downward_test_data): New variable.
64600         (pow_test_downward): Run tests with RUN_TEST_LOOP_ff_f.
64601         (pow_upward_test_data): New variable.
64602         (pow_test_upward): Run tests with RUN_TEST_LOOP_ff_f.
64603         (remainder_test_data): New variable.
64604         (remainder_test): Run tests with RUN_TEST_LOOP_ff_f.
64605         (scalb_test_data): New variable.
64606         (scalb_test): Run tests with RUN_TEST_LOOP_ff_f.
64607         * sysdeps/i386/fpu/libm-test-ulps: Update.
64609 2013-05-11  Joseph Myers  <joseph@codesourcery.com>
64611         * math/libm-test.inc (fma_test): Use max_value instead of local
64612         variable fltmax.
64613         (nextafter_test): Likewise.
64615         * math/libm-test.inc (acos_towardzero_test_data): New variable.
64616         (acos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
64617         (acos_downward_test_data): New variable.
64618         (acos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
64619         (acos_upward_test_data): New variable.
64620         (acos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
64621         (acosh_test_data): New variable.
64622         (acosh_test): Run tests with RUN_TEST_LOOP_f_f.
64623         (asin_test_data): New variable.
64624         (asin_test): Run tests with RUN_TEST_LOOP_f_f.
64625         (asin_tonearest_test_data): New variable.
64626         (asin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
64627         (asin_towardzero_test_data): New variable.
64628         (asin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
64629         (asin_downward_test_data): New variable.
64630         (asin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
64631         (asin_upward_test_data): New variable.
64632         (asin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
64633         (asinh_test_data): New variable.
64634         (asinh_test): Run tests with RUN_TEST_LOOP_f_f.
64635         (atan_test_data): New variable.
64636         (atan_test): Run tests with RUN_TEST_LOOP_f_f.
64637         (atanh_test_data): New variable.
64638         (atanh_test): Run tests with RUN_TEST_LOOP_f_f.
64639         (cbrt_test_data): New variable.
64640         (cbrt_test): Run tests with RUN_TEST_LOOP_f_f.
64641         (ceil_test_data): New variable.
64642         (ceil_test): Run tests with RUN_TEST_LOOP_f_f.
64643         (cos_test_data): New variable.
64644         (cos_test): Run tests with RUN_TEST_LOOP_f_f.
64645         (cos_tonearest_test_data): New variable.
64646         (cos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
64647         (cos_towardzero_test_data): New variable.
64648         (cos_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
64649         (cos_downward_test_data): New variable.
64650         (cos_test_downward): Run tests with RUN_TEST_LOOP_f_f.
64651         (cos_upward_test_data): New variable.
64652         (cos_test_upward): Run tests with RUN_TEST_LOOP_f_f.
64653         (cosh_test_data): New variable.
64654         (cosh_test): Run tests with RUN_TEST_LOOP_f_f.
64655         (cosh_tonearest_test_data): New variable.
64656         (cosh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
64657         (cosh_towardzero_test_data): New variable.
64658         (cosh_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
64659         (cosh_downward_test_data): New variable.
64660         (cosh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
64661         (cosh_upward_test_data): New variable.
64662         (cosh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
64663         (erf_test_data): New variable.
64664         (erf_test): Run tests with RUN_TEST_LOOP_f_f.
64665         (erfc_test_data): New variable.
64666         (erfc_test): Run tests with RUN_TEST_LOOP_f_f.
64667         (exp_test_data): New variable.
64668         (exp_test): Run tests with RUN_TEST_LOOP_f_f.
64669         (exp_tonearest_test_data): New variable.
64670         (exp_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
64671         (exp_towardzero_test_data): New variable.
64672         (exp_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
64673         (exp_downward_test_data): New variable.
64674         (exp_test_downward): Run tests with RUN_TEST_LOOP_f_f.
64675         (exp_upward_test_data): New variable.
64676         (exp_test_upward): Run tests with RUN_TEST_LOOP_f_f.
64677         (exp10_test_data): New variable.
64678         (exp10_test): Run tests with RUN_TEST_LOOP_f_f.
64679         (exp2_test_data): New variable.
64680         (exp2_test): Run tests with RUN_TEST_LOOP_f_f.
64681         (expm1_test_data): New variable.
64682         (expm1_test): Run tests with RUN_TEST_LOOP_f_f.
64683         (fabs_test_data): New variable.
64684         (fabs_test): Run tests with RUN_TEST_LOOP_f_f.
64685         (floor_test_data): New variable.
64686         (floor_test): Run tests with RUN_TEST_LOOP_f_f.
64687         (j0_test_data): New variable.
64688         (j0_test): Run tests with RUN_TEST_LOOP_f_f.
64689         (j1_test_data): New variable.
64690         (j1_test): Run tests with RUN_TEST_LOOP_f_f.
64691         (log_test_data): New variable.
64692         (log_test): Run tests with RUN_TEST_LOOP_f_f.
64693         (log10_test_data): New variable.
64694         (log10_test): Run tests with RUN_TEST_LOOP_f_f.
64695         (log1p_test_data): New variable.
64696         (log1p_test): Run tests with RUN_TEST_LOOP_f_f.
64697         (log2_test_data): New variable.
64698         (log2_test): Run tests with RUN_TEST_LOOP_f_f.
64699         (logb_test_data): New variable.
64700         (logb_test): Run tests with RUN_TEST_LOOP_f_f.
64701         (logb_downward_test_data): New variable.
64702         (logb_test_downward): Run tests with RUN_TEST_LOOP_f_f.
64703         (nearbyint_test_data): New variable.
64704         (nearbyint_test): Run tests with RUN_TEST_LOOP_f_f.
64705         (rint_test_data): New variable.
64706         (rint_test): Run tests with RUN_TEST_LOOP_f_f.
64707         (rint_tonearest_test_data): New variable.
64708         (rint_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
64709         (rint_towardzero_test_data): New variable.
64710         (rint_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
64711         (rint_downward_test_data): New variable.
64712         (rint_test_downward): Run tests with RUN_TEST_LOOP_f_f.
64713         (rint_upward_test_data): New variable.
64714         (rint_test_upward): Run tests with RUN_TEST_LOOP_f_f.
64715         (round_test_data): New variable.
64716         (round_test): Run tests with RUN_TEST_LOOP_f_f.
64717         (sin_test_data): New variable.
64718         (sin_test): Run tests with RUN_TEST_LOOP_f_f.
64719         (sin_tonearest_test_data): New variable.
64720         (sin_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
64721         (sin_towardzero_test_data): New variable.
64722         (sin_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
64723         (sin_downward_test_data): New variable.
64724         (sin_test_downward): Run tests with RUN_TEST_LOOP_f_f.
64725         (sin_upward_test_data): New variable.
64726         (sin_test_upward): Run tests with RUN_TEST_LOOP_f_f.
64727         (sinh_test_data): New variable.
64728         (sinh_test): Run tests with RUN_TEST_LOOP_f_f.
64729         (sinh_tonearest_test_data): New variable.
64730         (sinh_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
64731         (sinh_towardzero_test_data): New variable.
64732         (sinh_towardzero): Run tests with RUN_TEST_LOOP_f_f.
64733         (sinh_downward_test_data): New variable.
64734         (sinh_test_downward): Run tests with RUN_TEST_LOOP_f_f.
64735         (sinh_upward_test_data): New variable.
64736         (sinh_test_upward): Run tests with RUN_TEST_LOOP_f_f.
64737         (sqrt_test_data): New variable.
64738         (sqrt_test): Run tests with RUN_TEST_LOOP_f_f.
64739         (tan_test_data): New variable.
64740         (tan_test): Run tests with RUN_TEST_LOOP_f_f.
64741         (tan_tonearest_test_data): New variable.
64742         (tan_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
64743         (tan_towardzero_test_data): New variable.
64744         (tan_test_towardzero): Run tests with RUN_TEST_LOOP_f_f.
64745         (tan_downward_test_data): New variable.
64746         (tan_test_downward): Run tests with RUN_TEST_LOOP_f_f.
64747         (tan_upward_test_data): New variable.
64748         (tan_test_upward): Run tests with RUN_TEST_LOOP_f_f.
64749         (tanh_test_data): New variable.
64750         (tanh_test): Run tests with RUN_TEST_LOOP_f_f.
64751         (tgamma_test_data): New variable.
64752         (tgamma_test): Run tests with RUN_TEST_LOOP_f_f.
64753         (trunc_test_data): New variable.
64754         (trunc_test): Run tests with RUN_TEST_LOOP_f_f.
64755         (y0_test_data): New variable.
64756         (y0_test): Run tests with RUN_TEST_LOOP_f_f.
64757         (y1_test_data): New variable.
64758         (y1_test): Run tests with RUN_TEST_LOOP_f_f.
64759         (significand_test_data): New variable.
64760         (significand_test): Run tests with RUN_TEST_LOOP_f_f.
64762 2013-05-10  Christian Grönke  <cgr_bugs@sysgo.com>
64764         [BZ #12387]
64765         * sysdeps/unix/sysv/linux/sh/getgid.c: New file.
64767 2013-05-10  Pino Toscano  <toscano.pino@tiscali.it>
64769         * sysdeps/mach/hurd/bits/statvfs.h: Add ST_NOATIME.
64771 2013-05-10  Andreas Jaeger  <aj@suse.de>
64773         [BZ #15448]
64774         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_SET_S)
64775         (__CPU_CLR_S, __CPU_ISSET_S): Avoid integer overflow.
64777 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
64779         * math/gen-libm-test.pl (adjust_arg): New function.
64780         (special_functions): Handle generating output in both functions
64781         and arrays.
64782         (parse_args): Likewise.
64783         (generate_testfile): Handle START_DATA and END_DATA.  Pass extra
64784         $in_func argument to parse_args.
64785         * math/libm-test.inc (struct test_f_f_data): New type.
64786         (IF_ROUND_INIT_): New macro.
64787         (IF_ROUND_INIT_FE_DOWNWARD): Likewise.
64788         (IF_ROUND_INIT_FE_TONEAREST): Likewise.
64789         (IF_ROUND_INIT_FE_TOWARDZERO): Likewise.
64790         (IF_ROUND_INIT_FE_UPWARD): Likewise.
64791         (ROUND_RESTORE_): Likewise.
64792         (ROUND_RESTORE_FE_DOWNWARD): Likewise.
64793         (ROUND_RESTORE_FE_TONEAREST): Likewise.
64794         (ROUND_RESTORE_FE_TOWARDZERO): Likewise.
64795         (ROUND_RESTORE_FE_UPWARD): Likewise.
64796         (RUN_TEST_LOOP_f_f): New macro.
64797         (acos_test_data): New variable.
64798         (acos_test): Run tests with RUN_TEST_LOOP_f_f.
64799         (acos_tonearest_test_data): New variable.
64800         (acos_test_tonearest): Run tests with RUN_TEST_LOOP_f_f.
64802 2013-05-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
64804         * benchtests/bench-skeleton.c (startup): Fix coding style.
64806 2013-05-10  Joseph Myers  <joseph@codesourcery.com>
64808         [BZ #6809]
64809         * math/w_tgamma.c (__tgamma): Also call __kernel_standard for
64810         negative infinity argument.
64811         * math/w_tgammaf.c (__tgammaf): Also call __kernel_standard_f for
64812         negative infinity argument.
64813         * math/w_tgammal.c (__tgammal): Also call __kernel_standard_l for
64814         negative infinity argument.
64815         * math/libm-test.inc (tgamma_test): Expect errno to be set for
64816         domain errors.
64818 2013-05-10  Florian Weimer  <fweimer@redhat.com>
64820         * elf/sprof.c (load_profdata): Use fstat64 instead of fstat.
64821         * iconv/iconv_charmap.c (charmap_conversion): Likewise.
64822         * iconv/iconv_prog.c (main): Likewise.
64823         * locale/programs/charmap-dir.c (charmap_readdir)
64824         (fopen_uncompressed): Likewise.
64825         * locale/programs/locfile.c (siblings_uncached)
64826         (write_locale_data): Use lstat64 instead of lstat.
64827         * sunrpc/rpc_main.c (find_cpp, checkfiles): Use stat64 instead of
64828         stat.
64830 2013-05-10  Andreas Jaeger  <aj@suse.de>
64832         [BZ #15395]
64833         * sunrpc/rpc_main.c (main): Invoke setlocale and textdomain for
64834         localization.
64835         Include <locale.h>.
64837 2013-05-09  Carlos O'Donell  <carlos@redhat.com>
64839         * elf/dl-close.c (_dl_close_worker): Add comments.
64841 2013-05-09  Joseph Myers  <joseph@codesourcery.com>
64843         [BZ #15359]
64844         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (c): Use 106 bits for
64845         high part of pi/2.
64846         (__ieee754_rem_pio2l): Update comments.
64848         [BZ #15429]
64849         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c (c): Use 113 bits for
64850         high part of pi/2.
64851         (__ieee754_rem_pio2l): Update comments.
64853         * math/libm-test.inc (M_SQRT_2_2): Remove macro.
64854         (csqrt_test): Use M_SQRT1_2l instead of M_SQRT_2_2.
64856         * math/libm-test.inc (carg_test): Use M_PI_34l instead of 3 *
64857         M_PI_4l.
64859         * math/libm-test.inc (M_PI_34l): Define using decimal constant.
64860         (M_PI_34_LOG10El): Likewise.
64861         (M_PI2_LOG10El): Likewise.
64862         (M_PI4_LOG10El): Likewise.
64863         (M_PI_LOG10El): Likewise.
64865 2013-05-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
64867         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
64869 2013-05-08  Joseph Myers  <joseph@codesourcery.com>
64871         * math/libm-test.inc (PLUS_ZERO_INIT): New macro.
64872         (MINUS_ZERO_INIT): Likewise.
64873         (PLUS_INFTY_INIT): Likewise.
64874         (MINUS_INFTY_INIT): Likewise.
64875         (QNAN_VALUE_INIT): Likewise.
64876         (MAX_VALUE_INIT): Likewise.
64877         (MIN_VALUE_INIT): Likewise.
64878         (MIN_SUBNORM_VALUE_INIT): Likewise.
64879         (plus_zero): Initialize with PLUS_ZERO_INIT.
64880         (minus_zero): Initialize with MINUS_ZERO_INIT.
64881         (plus_infty): Initialize with PLUS_INFTY_INIT.
64882         (minus_infty): Initialize with MINUS_INFTY_INIT.
64883         (qnan_value): Initialize with QNAN_VALUE_INIT.
64884         (max_value): Initialize with MAX_VALUE_INIT.
64885         (min_value): Initialize with MIN_VALUE_INIT.
64886         (min_subnorm_value): Initialize with MIN_SUBNORM_VALUE_INIT.
64888         * math/libm-test.inc (RUN_TEST_if_f): New macro.
64889         (jn_test): Use TEST_if_f instead of TEST_ff_f.
64890         (ldexp_text): Use TEST_fi_i instead of TEST_ff_f.
64891         (yn_test): Use TEST_if_f instead of TEST_ff_f.
64893         * math/libm-test.inc (RUN_TEST_f_f): New macro.
64894         (RUN_TEST_2_f): Likewise.
64895         (RUN_TEST_ff_f): Likewise.
64896         (RUN_TEST_fi_f): Likewise.
64897         (RUN_TEST_fl_f): Likewise.
64898         (RUN_TEST_fff_f): Likewise.
64899         (RUN_TEST_c_f): Likewise.
64900         (RUN_TEST_f_f1): Likewise.
64901         (RUN_TEST_fF_f1): Likewise.
64902         (RUN_TEST_fI_f1): Likewise.
64903         (RUN_TEST_ffI_f1): Likewise.
64904         (RUN_TEST_c_c): Likewise.
64905         (RUN_TEST_cc_c): Likewise.
64906         (RUN_TEST_f_i): Likewise.
64907         (RUN_TEST_f_i_tg): Likewise.
64908         (RUN_TEST_ff_i_tg): Likewise.
64909         (RUN_TEST_f_b): Likewise.
64910         (RUN_TEST_f_b_tg): Likewise.
64911         (RUN_TEST_f_l): Likewise.
64912         (RUN_TEST_f_L): Likewise.
64913         (RUN_TEST_sincos): Likewise.
64914         * math/gen-libm-test.pl (new_test): Take new argument to indicate
64915         whether to show exceptions.  Do not include ");\n" in return
64916         value.
64917         (special_functions): Output call to RUN_TEST_sincos instead of
64918         check_float calls.  Update calls to new_test.
64919         (parse_args): Output call to single RUN_TEST_* macro instead of
64920         check_* calls and other assignments.  Update calls to new_test.
64922         [BZ #2546]
64923         [BZ #2560]
64924         [BZ #5159]
64925         [BZ #15426]
64926         * sysdeps/ieee754/k_standard.c (__kernel_standard): Copy sign of
64927         input to result for tgamma overflow.
64928         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Include <float.h>.
64929         (gamma_coeff): New variable.
64930         (NCOEFF): New macro.
64931         (gamma_positive): New function.
64932         (__ieee754_gamma_r): Handle positive infinity, NaN, overflow and
64933         underflow here.  Use gamma_positive instead of exp (lgamma) for
64934         other arguments.
64935         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Include <float.h>.
64936         (gamma_coeff): New variable.
64937         (NCOEFF): New macro.
64938         (gammaf_positive): New function.
64939         (__ieee754_gammaf_r): Handle positive infinity, NaN, overflow and
64940         underflow here.  Use gamma_positive instead of exp (lgamma) for
64941         other arguments.
64942         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Include <float.h>.
64943         (gamma_coeff): New variable.
64944         (NCOEFF): New macro.
64945         (gammal_positive): New function.
64946         (__ieee754_gammal_r): Handle positive infinity, NaN, overflow and
64947         underflow here.  Use gamma_positive instead of exp (lgamma) for
64948         other arguments.
64949         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Include <float.h>.
64950         (gamma_coeff): New variable.
64951         (NCOEFF): New macro.
64952         (gammal_positive): New function.
64953         (__ieee754_gammal_r): Handle positive infinity, overflow and
64954         underflow here.  Handle NaN the same as positive infinity.  Remove
64955         check x < 0xffffffff for negative integers.  Use gamma_positive
64956         instead of exp (lgamma) for other arguments.
64957         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Include <float.h>.
64958         (gamma_coeff): New variable.
64959         (NCOEFF): New macro.
64960         (gammal_positive): New function.
64961         * sysdeps/ieee754/dbl-64/gamma_product.c: New file.
64962         * sysdeps/ieee754/dbl-64/gamma_productf.c: Likewise.
64963         * sysdeps/ieee754/ldbl-128/gamma_productl.c: Likewise.
64964         * sysdeps/ieee754/ldbl-128ibm/gamma_productl.c: Likewise.
64965         * sysdeps/ieee754/ldbl-96/gamma_product.c: Likewise.
64966         * sysdeps/ieee754/ldbl-96/gamma_productl.c: Likewise.
64967         * sysdeps/generic/math_private.h (__gamma_productf): New
64968         prototype.
64969         (__gamma_product): Likewise.
64970         (__gamma_productl): Likewise.
64971         * math/Makefile (libm-calls): Add gamma_product.
64972         * math/libm-test.inc (tgamma_test): Add more tests.
64973         * sysdeps/i386/fpu/libm-test-ulps: Update.
64974         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
64976 2013-05-08  Ondřej Bílka  <neleai@seznam.cz>
64978         * benchtests/bench-skeleton.c (main): Preheat CPU.
64980 2013-05-07  Aurelien Jarno <aurelien@aurel32.net>
64982         * misc/sys/param.h (DEV_BSIZE): Define only if not already defined.
64984 2013-05-07  Roland McGrath  <roland@hack.frob.com>
64986         * sysdeps/generic/ldsodefs.h [IS_IN_rtld]: Declare _dl_skip_args
64987         and _dl_skip_args_internal.
64989 2013-05-07  Carlos O'Donell  <carlos@redhat.com>
64991         * manual/message.texi (Message Translation): Talk about users.
64992         Message to key mapping impacts design.
64994 2013-05-06  Roland McGrath  <roland@hack.frob.com>
64996         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: New file.
64998         * elf/dl-open.c: Remove declaration of _dl_sysdep_start.
65000         * sysdeps/unix/sysv/linux/wordsize-64/glob64.c: Moved to ...
65001         * sysdeps/wordsize-64/glob64.c: ... here.
65003         * sysdeps/generic/not-cancel.h (NO_CANCELLATION): New macro.
65004         (pause_not_cancel, nanosleep_not_cancel, sigsuspend_not_cancel):
65005         New macros.
65007         * debug/getlogin_r_chk.c: Moved to ...
65008         * login/getlogin_r_chk.c: ... here.
65009         * debug/Makefile (routines): Move getlogin_r_chk to ...
65010         * login/Makefile (routines): ... here.
65011         * debug/Versions (libc: GLIBC_2.4): Move getlogin_r_chk to ...
65012         * login/Versions (libc: GLIBC_2.4): ... here.
65014         * io/poll.c (__poll): Renamed from poll.
65015         Add libc_hidden_def.
65016         (poll): Define as weak alias.
65018         * debug/ptsname_r_chk.c: Moved to ...
65019         * login/ptsname_r_chk.c: ... here.
65020         * debug/Makefile (routines): Move ptsname_r_chk to ...
65021         * login/Makefile (routines): ... here.
65022         * debug/Versions (libc: GLIBC_2.4): Move __ptsname_r_chk to ...
65023         * login/Versions (libc: GLIBC_2.4): ... here.
65025         * posix/getlogin.c: Moved to ...
65026         * login/getlogin.c: ... here.
65027         * posix/getlogin_r.c: Moved to ...
65028         * login/getlogin_r.c: ... here.
65029         * posix/getlogin_r.c: Moved to ...
65030         * login/getlogin_r.c: ... here.
65031         * posix/Makefile (routines): Move getlogin, getlogin_r, setlogin to ...
65032         * login/Makefile (routines): ... here.
65033         * posix/Versions (libc: GLIBC_2.0): Move setlogin to ...
65034         * login/Versions (libc: GLIBC_2.0): ... here.
65036         * resource/setrlimit.c (__setrlimit): Renamed from setrlimit.
65037         (setrlimit): Define as weak alias.
65039         * sysdeps/posix/truncate.c (__truncate): Renamed from truncate.
65040         Call __ names for open, ftruncate, and close.
65041         For LENGTH==0 case, just use O_TRUNC rather than calling ftruncate.
65042         (truncate): Define as weak alias.
65044 2013-05-06  Joseph Myers  <joseph@codesourcery.com>
65046         * math/gen-libm-test.pl (parse_args): Initialize x before each
65047         test of frexp, modf and remquo.
65049         * math/libm-test.inc (gamma_test): Consistently use TEST_f_f1 to
65050         test signgam value.
65052 2013-05-06  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65054         [BZ #15418]
65055         [BZ #15419]
65056         * sysdeps/powerpc/fpu/e_hypot.c: Fix spurious FP exception generated by
65057         internal tests.
65058         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
65060 2013-05-06  Roland McGrath  <roland@hack.frob.com>
65062         * elf/dl-writev.h: New file.
65063         * elf/dl-misc.c: Include it.
65064         (_dl_debug_vdprintf): Call _dl_writev instead of __writev et al.
65065         * sysdeps/unix/sysv/linux/dl-writev.h: New file.
65067 2013-05-04  Joseph Myers  <joseph@codesourcery.com>
65069         * math/libm-test.inc (noXFails): Remove variable.
65070         (noXPasses): Likewise.
65071         (BUILD_COMPLEX_INT): Remove macro.
65072         (print_screen): Remove xfail argument.
65073         (print_screen_max_error): Likewise.
65074         (update_stats): Likewise.
65075         (print_max_error): Likewise.  Update calls to other affected
65076         functions.
65077         (print_complex_max_error): Likewise.
65078         (test_single_exception): Update calls to print_screen.
65079         (test_single_errno): Likewise.
65080         (check_float_internal): Remove xfail argument.  Update calls to
65081         other affected functions.
65082         (check_float): Likewise.
65083         (check_complex): Likewise.
65084         (check_int): Likewise.
65085         (check_long): Likewise.
65086         (check_bool): Likewise.
65087         (check_longlong): Likewise.
65088         (main): Don't print noXFails and noXPasses.
65089         * math/gen-libm-test.pl (top level): Don't mention expected
65090         failure handling in comment.
65091         (new_test): Don't handle expected failures.
65092         (parse_args): Don't mention expected failure handling in comment.
65093         (generate_testfile): Don't handle expected failures.
65094         (parse_ulps): Likewise.
65095         (print_ulps_file): Likewise.
65096         (get_failure): Remove function.
65097         (output_test): Don't handle expected failures.
65098         * make/README.libm-test: Don't mention expected failure handling.
65100         * math/libm-test.inc (plus_zero): Make const.  Add initializer.
65101         (minus_zero): Likewise.
65102         (plus_infty): Likewise.
65103         (minus_infty): Likewise.
65104         (qnan_value): Likewise.
65105         (max_value): Likewise.
65106         (min_value): Likewise.
65107         (min_subnorm_value): Likewise.
65108         (initialize): Do not initialize those variables dynamically.
65110 2013-05-03  Roland McGrath  <roland@hack.frob.com>
65112         * io/open.c (__open_2): Moved to ...
65113         * io/open_2.c: ... this new file.
65114         * io/open64.c (__open64_2): Moved to ...
65115         * io/open64_2.c: ... this new file.
65116         * io/openat.c (__openat_2): Moved to ...
65117         * io/openat_2.c: ... this new file.
65118         * io/openat64.c (__openat64_2): Moved to ...
65119         * io/openat64_2.c: ... this new file.
65120         * io/Makefile (routines): Add them.
65121         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Remove them.
65122         * sysdeps/unix/sysv/linux/open_2.c: File removed.
65123         * sysdeps/unix/sysv/linux/open64_2.c: File removed.
65124         * sysdeps/unix/sysv/linux/openat.c (__OPENAT_2): Removed.
65125         * sysdeps/unix/sysv/linux/openat64.c (__OPENAT_2): Removed.
65126         * sysdeps/unix/sysv/linux/wordsize-64/openat.c (__openat_2): Removed.
65127         (__openat64): Add hidden_ver.
65128         * sysdeps/mach/hurd/open.c (__open_2, __open64_2): Removed.
65129         * sysdeps/mach/hurd/openat.c (__openat_2): Removed.
65131         * elf/dl-sysdep.c (_dl_sysdep_start) [NEED_DL_SYSINFO]:
65132         Separately conditionalize setting of GLRO(dl_sysinfo) so
65133         that the GLRO(dl_sysinfo_dso) test is under [NEED_DL_SYSINFO_DSO]
65134         as well, but the actual setting is only under [NEED_DL_SYSINFO].
65136 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65138         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_time symbol.
65139         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Add __vdso_time
65140         definition.
65141         (VDSO_IFUNC_RET): Cast to void * to silence compiler warning.
65142         * sysdeps/unix/sysv/linux/powerpc/init-first.c
65143         (_libc_vdso_platform_setup): Add __vdso_time initialization.
65144         * sysdeps/unix/sysv/linux/powerpc/time.c: New file: time implementation
65145         for PowerPC using vDSO where is avaliable or gettimeofday as a fallback.
65147 2013-05-03  Joseph Myers  <joseph@codesourcery.com>
65149         * math/libm-test.inc (lgamma_test): Consistently use TEST_f_f1 to
65150         test signgam value.
65152         * math/libm-test.inc (hypot_test): Do not use
65153         IGNORE_ZERO_INF_SIGN.
65155 2013-05-03  Andreas Jaeger  <aj@suse.de>
65157         * sysdeps/gnu/netinet/tcp.h (TCP_TIMESTAMP): New value, from
65158         Linux 3.9.
65159         * sysdeps/unix/sysv/linux/bits/socket.h (PF_VSOCK, AF_VSOCK): Add.
65160         (PF_MAX): Adjust for VSOCK change.
65162 2013-05-03  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65164         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65166 2013-05-02  Carlos O'Donell  <carlos@redhat.com>
65168         [BZ #15264]
65169         * localedata/locales/en_CA (LC_MESSAGES): Define yesstr and nostr.
65170         * localedata/locales/es_AR (LC_MESSAGES): Copy es_ES.
65171         * localedata/locales/es_ES (LC_MESSAGES): Define yesstr and nostr.
65173 2013-05-02  David S. Miller  <davem@davemloft.net>
65175         * sysdeps/sparc/fpu/libm-test-ulps: Update.
65177 2013-05-01  Ondřej Bílka  <neleai@seznam.cz>
65179         * string/bits/string2.h (__strcmp_cg): Call __strcmp_gc.
65181 2013-05-01  Roland McGrath  <roland@hack.frob.com>
65183         * sysdeps/posix/opendir.c: Include <sys/param.h> to get MIN/MAX macros.
65185 2013-05-01  Richard Smith  <richard@metafoo.co.uk>
65187         [BZ #14952]
65188         * misc/sys/cdefs.h (__extern_inline, __extern_always_inline)
65189         [__GNUC__ && (__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
65190         Use __attribute__ ((__gnu_inline__)).
65191         [__GNUC__ && !(__GNUC_STDC_INLINE__ || __GNUC_GNU_INLINE__)]:
65192         Don't use __attribute__ ((__gnu_inline__)).
65194 2013-05-01  Joseph Myers  <joseph@codesourcery.com>
65196         [BZ #15423]
65197         * math/s_catan.c (__catan): Handle small real or imaginary part of
65198         input specially to avoid spurious underflow.
65199         * math/s_catanf.c (__catanf): Likewise.
65200         * math/s_catanh.c (__catanh): Likewise.
65201         * math/s_catanhf.c (__catanhf): Likewise.
65202         * math/s_catanhl.c (__catanhl): Likewise.
65203         * math/s_catanl.c (__catanl): Likewise.
65204         * math/libm-test.inc (catan_test): Add more tests.
65205         (catanh_test): Likewise.
65206         * sysdeps/i386/fpu/libm-test-ulps: Update.
65207         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65209 2013-04-30  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65211         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65213 2013-04-30  Joseph Myers  <joseph@codesourcery.com>
65215         [BZ #15416]
65216         * math/s_catan.c (__catan): Compute expressions 1 - x^2 - y^2 more
65217         accurately for denominator in atan2.
65218         * math/s_catanf.c (__catanf): Likewise.
65219         * math/s_catanh.c (__catanh): Likewise.
65220         * math/s_catanhf.c (__catanhf): Likewise.
65221         * math/s_catanhl.c (__catanhl): Likewise.
65222         * math/s_catanl.c (__catanl): Likewise.
65223         * math/libm-test.inc (catan_test): Add more tests.
65224         (catanh_test): Likewise.
65225         * sysdeps/i386/fpu/libm-test-ulps: Update.
65226         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65228 2013-04-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
65230         * sysdeps/ieee754/dbl-64/s_sin.c: Format code.
65232         * benchtests/Makefile (bench): Remove slow benchmarks.
65233         * benchtests/atan-inputs: Add slow benchmark inputs.
65234         * benchtests/bench-modf.c (NUM_VARIANTS): Define.
65235         (BENCH_FUNC): Accept variant offset.
65236         (VARIANT): Define.
65237         * benchtests/bench-skeleton.c (main): Run benchmark for each
65238         variant.
65239         * benchtests/cos-inputs: Add slow benchmark inputs.
65240         * benchtests/exp-inputs: Likewise.
65241         * benchtests/pow-inputs: Likewise.
65242         * benchtests/sin-inputs: Likewise.
65243         * benchtests/slowatan-inputs: Remove.
65244         * benchtests/slowatan.c: Remove.
65245         * benchtests/slowcos-inputs: Remove.
65246         * benchtests/slowcos.c: Remove.
65247         * benchtests/slowexp-inputs: Remove.
65248         * benchtests/slowexp.c: Remove.
65249         * benchtests/slowpow-inputs: Remove.
65250         * benchtests/slowpow.c: Remove.
65251         * benchtests/slowsin-inputs: Remove.
65252         * benchtests/slowsin.c: Remove.
65253         * benchtests/slowtan-inputs: Remove.
65254         * benchtests/slowtan.c: Remove.
65255         * benchtests/tan-inputs: Add slow benchmark inputs.
65256         * scripts/bench.pl: Parse comments and directives.
65258         * benchtests/Makefile: Remove *-ITER.  Define BENCH_DURATION
65259         in CPPFLAGS.
65260         ($(objpfx)bench-%.c): Remove *-ITER.
65261         * benchtests/bench-modf.c: Remove definition of ITER.
65262         * benchtests/bench-skeleton.c (TIMESPEC_AFTER): New macro.
65263         (main): Loop for DURATION seconds instead of fixed number of
65264         iterations.
65265         * scripts/bench.pl: Don't expect iterations in parameters.
65267 2013-04-29  Roland McGrath  <roland@hack.frob.com>
65269         * io/fchdir.c (__fchdir): Renamed from fchdir.
65270         (fchdir): Define as weak alias.
65272 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
65274         * math/libm-test.inc (ERRNO_UNCHANGED): New macro.
65275         (ERRNO_EDOM): Likewise.
65276         (ERRNO_ERANGE): Likewise.
65277         (noErrnoTests): New variable.
65278         (init_max_error): Set errno to 0.
65279         (test_single_errno): New function.
65280         (test_errno): Likewise.
65281         (check_float_internal): Call test_errno.  Set errno to 0.
65282         (check_complex): Refer to errno tests in comment.
65283         (check_int): Call test_errno.  Set errno to 0.
65284         (check_long): Likewise.
65285         (check_bool): Likewise.
65286         (check_longlong): Likewise.
65287         (cos_test): Use ERRNO_* flags for errno tests instead of
65288         check_int.
65289         (expm1_test): Likewise.
65290         (fmod_test): Likewise.
65291         (ilogb_test): Likewise.
65292         (lgamma_test): Likewise.
65293         (pow_test): Likewise.
65294         (remainder_test): Likewise.
65295         (sin_test): Likewise.
65296         (tan_test): Likewise.
65297         (yn_test): Likewise.
65298         (initialize): Set errno to 0.
65299         (main): Print number of errno tests.
65300         * math/gen-libm-test.pl (parse_args): Allow ERRNO flags on tests.
65302 2013-04-29  Andreas Jaeger  <aj@suse.de>
65304         [BZ #15084]
65305         * resolv/res_debug.c (p_option): Fix strings for RES_USEBSTRING
65306         and RES_USEVC.
65308         [BZ #15085]
65309         * resolv/resolv.h (RES_NOCHECKNAME): Mark as unimplemented.
65310         * resolv/res_debug.c (p_option): Mark RES_NOCHECKNAME as
65311         unimplemented.
65313         [BZ #15380]
65314         * stdlib/random.c (__initstate): Return NULL if
65315         __initstate fails.
65317         [BZ #15086]
65318         * resolv/res_debug.c (p_option): Handle RES_NOALIASES,
65319         RES_KEEPTSIG, RES_BLAST, RES_NOIP6DOTINT, RES_SNGLKUP,
65320         RES_SNGLKUPREOP.
65322 2013-04-29  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65324         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
65326 2013-04-29  Joseph Myers  <joseph@codesourcery.com>
65328         * math/libm-test.inc (cacos_test): Add missing semicolons at ends
65329         of individual tests.
65330         (casin_test): Likewise.
65331         (casinh_test): Likewise.
65333 2013-04-27  Joseph Myers  <joseph@codesourcery.com>
65335         [BZ #15409]
65336         * math/s_catan.c (__catan): Handle arguments with large real or
65337         imaginary part separately without squaring.
65338         * math/s_catanf.c (__catanf): Likewise.
65339         * math/s_catanh.c (__catanh): Likewise.
65340         * math/s_catanhf.c (__catanhf): Likewise.
65341         * math/s_catanhl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
65342         and redefine.
65343         (__catanhl): Handle arguments with large real or imaginary part
65344         separately without squaring.
65345         * math/s_catanl.c [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine
65346         and redefine.
65347         (__catanl): Handle arguments with large real or imaginary part
65348         separately without squaring.
65349         * math/libm-test.inc (catan_test): Add more tests.
65350         (catanh_test): Likewise.
65351         * sysdeps/i386/fpu/libm-test-ulps: Update.
65352         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65354 2013-04-27  Andreas Jaeger  <aj@suse.de>
65356         [BZ #15007]
65357         * stdlib/stdlib.h: Update guards for qecvt.
65358         * stdlib/bits/stdlib-ldbl.h: Sync guards for qecvt etc with
65359         <stdlib.h>.
65361 2013-04-27  Allan McRae  <allan@archlinux.org>
65363         * sysdeps/i386/fpu/libm-test-ulps: Update.
65365 2013-04-26  Joseph Myers  <joseph@codesourcery.com>
65367         [BZ #15406]
65368         * math/s_catan.c: Include <float.h>.
65369         (__catan): Ensure underflow exception occurs for underflowed
65370         result.
65371         * math/s_catanf.c: Include <float.h>.
65372         (__catanf): Ensure underflow exception occurs for underflowed
65373         result.
65374         * math/s_catanh.c: Include <float.h>.
65375         (__catanh): Ensure underflow exception occurs for underflowed
65376         result.
65377         * math/s_catanhf.c: Include <float.h>.
65378         (__catanhf): Ensure underflow exception occurs for underflowed
65379         result.
65380         * math/s_catanhl.c: Include <float.h>.
65381         (__catanhl): Ensure underflow exception occurs for underflowed
65382         result.
65383         * math/s_catanl.c: Include <float.h>.
65384         (__catanl): Ensure underflow exception occurs for underflowed
65385         result.
65386         * math/libm-test.inc (catan_test): Add more tests.
65387         (catanh_test): Likewise.
65389         [BZ #15405]
65390         * math/s_ccosh.c (__ccosh): Ensure underflow exception occurs for
65391         underflowed result.
65392         * math/s_ccoshf.c (__ccoshf): Likewise.
65393         * math/s_ccoshl.c (__ccoshl): Likewise.
65394         * math/s_csin.c (__csin): Likewise.
65395         * math/s_csinf.c (__csinf): Likewise.
65396         * math/s_csinh.c (__csinh): Likewise.
65397         * math/s_csinhf.c (__csinhf): Likewise.
65398         * math/s_csinhl.c (__csinhl): Likewise.
65399         * math/s_csinl.c (__csinl): Likewise.
65400         * math/libm-test.inc (ccos_test): Add more tests.
65401         (ccosh_test): Likewise.
65402         (csin_test): Likewise.
65403         (csinh_test): Likewise.
65405 2013-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65407         * sysdeps/powerpc/power5/fpu/s_modf.c: Moved to ...
65408         * sysdeps/powerpc/power5+/fpu/s_modf.c: ... this.
65409         * sysdeps/powerpc/power5/fpu/s_modff.c: Moved to ...
65410         * sysdeps/powerpc/power5+/fpu/s_modff.c: ... this.
65411         * sysdeps/powerpc/powerpc32/power5+/Implies: Add powerpc/power5+ and
65412         powerpc/power5+/fpu folders.
65413         * sysdeps/powerpc/powerpc64/power5+/Implies: Likewise.
65416 2013-04-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
65418         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
65420 2013-04-25  Joseph Myers  <joseph@codesourcery.com>
65422         * elf/Makefile [$(config-machine) = x86_64] (tests): Remove
65423         additions to variable.
65424         [$(config-machine) = x86_64] (modules-names): Likewise.
65425         ($(objpfx)tst-audit3): Remove dependency.
65426         ($(objpfx)tst-audit3.out): Likewise.
65427         ($(objpfx)tst-audit4): Likewise.
65428         ($(objpfx)tst-audit4.out): Likewise.
65429         ($(objpfx)tst-audit5): Likewise.
65430         ($(objpfx)tst-audit5.out): Likewise.
65431         ($(objpfx)tst-audit6): Likewise.
65432         ($(objpfx)tst-audit6.out): Likewise.
65433         ($(objpfx)tst-audit7): Likewise.
65434         ($(objpfx)tst-audit7.out): Likewise.
65435         (tst-audit3-ENV): Remove variable.
65436         (tst-audit4-ENV): Likewise.
65437         (tst-audit5-ENV): Likewise.
65438         (tst-audit6-ENV): Likewise.
65439         (tst-audit7-ENV): Likewise.
65440         [$(config-cflags-avx) = yes] (AVX-CFLAGS): Likewise.
65441         [$(config-cflags-avx) = yes] (CFLAGS-tst-audit4.c): Remove
65442         addition to variable.
65443         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4a.c): Likewise.
65444         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod4b.c): Likewise.
65445         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6b.c): Likewise.
65446         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod6c.c): Likewise.
65447         [$(config-cflags-avx) = yes] (CFLAGS-tst-auditmod7b.c): Likewise.
65448         * sysdeps/x86_64/Makefile [$(subdir) = elf] (tests): Add
65449         tst-audit3, tst-audit4 and tst-audit5.
65450         [$(subdir) = elf && $(config-cflags-avx) = yes] (tests): Add
65451         tst-audit6 and tst-audit7.
65452         [$(subdir) = elf] (modules-names): Add audit modules for those
65453         tests.
65454         [$(subdir) = elf] ($(objpfx)tst-audit3): New dependency.
65455         [$(subdir) = elf] ($(objpfx)tst-audit3.out): Likewise.
65456         [$(subdir) = elf] ($(objpfx)tst-audit4): Likewise.
65457         [$(subdir) = elf] ($(objpfx)tst-audit4.out): Likewise.
65458         [$(subdir) = elf] ($(objpfx)tst-audit5): Likewise.
65459         [$(subdir) = elf] ($(objpfx)tst-audit5.out): Likewise.
65460         [$(subdir) = elf] ($(objpfx)tst-audit6): Likewise.
65461         [$(subdir) = elf] ($(objpfx)tst-audit6.out): Likewise.
65462         [$(subdir) = elf] ($(objpfx)tst-audit7): Likewise.
65463         [$(subdir) = elf] ($(objpfx)tst-audit7.out): Likewise.
65464         [$(subdir) = elf] (tst-audit3-ENV): New variable.
65465         [$(subdir) = elf] (tst-audit4-ENV): Likewise.
65466         [$(subdir) = elf] (tst-audit5-ENV): Likewise.
65467         [$(subdir) = elf] (tst-audit6-ENV): Likewise.
65468         [$(subdir) = elf] (tst-audit7-ENV): Likewise.
65469         [$(subdir) = elf && $(config-cflags-avx) = yes] (AVX-CFLAGS):
65470         Likewise.
65471         [$(subdir) = elf && $(config-cflags-avx) = yes]
65472         (CFLAGS-tst-audit4.c): Append $(AVX-CFLAGS).
65473         [$(subdir) = elf && $(config-cflags-avx) = yes]
65474         (CFLAGS-tst-auditmod4a.c): Likewise.
65475         [$(subdir) = elf && $(config-cflags-avx) = yes]
65476         (CFLAGS-tst-auditmod4b.c): Likewise.
65477         [$(subdir) = elf && $(config-cflags-avx) = yes]
65478         (CFLAGS-tst-auditmod6b.c): Likewise.
65479         [$(subdir) = elf && $(config-cflags-avx) = yes]
65480         (CFLAGS-tst-auditmod6c.c): Likewise.
65481         [$(subdir) = elf && $(config-cflags-avx) = yes]
65482         (CFLAGS-tst-auditmod7b.c): Likewise.
65483         * elf/tst-audit3.c: Move to ...
65484         * sysdeps/x86_64/tst-audit3.c: ... here.
65485         * elf/tst-audit4.c: Move to ...
65486         * sysdeps/x86_64/tst-audit4.c: ... here.
65487         * elf/tst-audit5.c: Move to ...
65488         * sysdeps/x86_64/tst-audit5.c: ... here.
65489         * elf/tst-audit6.c: Move to ...
65490         * sysdeps/x86_64/tst-audit6.c: ... here.
65491         * elf/tst-audit7.c: Move to ...
65492         * sysdeps/x86_64/tst-audit7.c: ... here.
65493         * elf/tst-auditmod3a.c: Move to ...
65494         * sysdeps/x86_64/tst-auditmod3a.c: ... here.
65495         * elf/tst-auditmod3b.c: Move to ...
65496         * sysdeps/x86_64/tst-auditmod3b.c: ... here.
65497         * elf/tst-auditmod4a.c: Move to ...
65498         * sysdeps/x86_64/tst-auditmod4a.c: ... here.
65499         * elf/tst-auditmod4b.c: Move to ...
65500         * sysdeps/x86_64/tst-auditmod4b.c: ... here.
65501         * elf/tst-auditmod5a.c: Move to ...
65502         * sysdeps/x86_64/tst-auditmod5a.c: ... here.
65503         * elf/tst-auditmod5b.c: Move to ...
65504         * sysdeps/x86_64/tst-auditmod5b.c: ... here.
65505         * elf/tst-auditmod6a.c: Move to ...
65506         * sysdeps/x86_64/tst-auditmod6a.c: ... here.
65507         * elf/tst-auditmod6b.c: Move to ...
65508         * sysdeps/x86_64/tst-auditmod6b.c: ... here.
65509         * elf/tst-auditmod6c.c: Move to ...
65510         * sysdeps/x86_64/tst-auditmod6c.c: ... here.
65511         * elf/tst-auditmod7a.c: Move to ...
65512         * sysdeps/x86_64/tst-auditmod7a.c: ... here.
65513         * elf/tst-auditmod7b.c: Move to ...
65514         * sysdeps/x86_64/tst-auditmod7b.c: ... here.
65516 2013-04-25  Paul Pluzhnikov  <ppluzhnikov@google.com>
65518         [BZ #15366]
65519         * sysdeps/generic/inttypes.h (PRId8, PRId16, etc.):
65520         define unconditionally.
65521         * sysdeps/generic/stdint.h (INT8_MIN, INT16_MIN, etc.):
65522         define unconditionally.
65523         (INT8_C, INT16_C, etc.): Likewise.
65525 2013-04-25  Maciej W. Rozycki  <macro@codesourcery.com>
65527         * csu/libc-start.c (__libc_start_main) [!SHARED]: Declare
65528         __ehdr_start with hidden visibility.
65530         * soft-fp/op-common.h (_FP_SQRT): s/sNAN/NAN/ in a comment.
65532 2013-04-24  Carlos O'Donell  <carlos@redhat.com>
65534         * math/libm-test.inc (cos_test): Use accurate hex constants.
65535         (sincost_test): Likewise.
65537 2013-04-24  Joseph Myers  <joseph@codesourcery.com>
65539         * math/libm-test.inc (catan_test): Add more tests.
65540         (catanh_test): Likewise.
65542         * math/s_catanf.c (__catanf): Use suffixed floating-point
65543         constants.
65544         * math/s_catanhf.c (__catanhf): Likewise.
65545         * math/s_catanhl.c (__catanhl): Likewise.
65546         * math/s_catanl.c (__catanl): Likewise.
65548         [BZ #15394]
65549         * math/s_catan.c (__catan): Calculate imaginary part of result
65550         with log1p not log unless computing log of number close to 0.
65551         * math/s_catanf.c (__catanf): Likewise.
65552         * math/s_catanl.c (__catanl): Likewise.
65553         * math/s_catanh.c (__catanh): Calculate real part of result with
65554         log1p not log unless computing log of number close to 0.
65555         * math/s_catanhf.c (__catanhf): Likewise.
65556         * math/s_catanhl.c (__catanhl): Likewise.
65557         * math/libm-test.inc (catan_test): Add more tests.
65558         (catanh_test): Likewise.
65559         * sysdeps/i386/fpu/libm-test-ulps: Update.
65560         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65562 2013-04-24  Siddhesh Poyarekar  <siddhesh@redhat.com>
65564         * benchtests/Makefile: Mention files in which fast and slow
65565         paths of math functions are implemented.
65567 2013-04-23  Roland McGrath  <roland@hack.frob.com>
65569         * sysdeps/posix/timespec_get.c: New file.
65571 2013-04-23  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65573         * sysdeps/powerpc/power5/fpu/s_modf.c: New file: modf optimization for
65574         POWER.
65575         * sysdeps/powerpc/power5/fpu/s_modff.c: New file: modff optimization
65576         for POWER.
65577         * sysdeps/powerpc/powerpc64/power5/Implies: Add powerpc/power5 and
65578         powerpc/power5/fpu folders.
65579         * sysdeps/powerpc/powerpc32/power5/Implies: Likewise.
65580         * benchtests/Makefile: Add modf testcase.
65581         * benchtests/bench-modf.c: New file: Benchmark test for mo
65583 2013-04-23  Siddhesh Poyarekar  <siddhesh@redhat.com>
65585         [BZ #14888]
65586         * time/Makefile (tests): Add tst-strptime-whitespace.
65587         * time/strptime_l.c (get_number): Use ISSPACE.
65588         (__strptime_internal): Likewise.
65589         * time/tst-strptime-whitespace.c: New test case.
65591 2013-04-23  Andreas Schwab  <schwab@linux-m68k.org>
65593         * nss/nss_files/files-init.c (TF): Don't initialize flexible array
65594         member.
65595         (_nss_files_init): Set it here.
65597 2013-04-23  Heiko Carstens  <heiko.carstens@de.ibm.com>
65599         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Change types of
65600         f_type, f_bsize, f_namelen, f_frsize, f_flags,and f_spare to
65601         unsigned.
65603 2013-04-22  Jan-Benedict Glaw  <jbglaw@getslash.de>
65605         * nss/getent.c (shadow_keys): Call endspent, not endpwent.
65607 2013-04-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
65609         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Compute results
65610         size just once.
65612 2013-04-21  David S. Miller  <davem@davemloft.net>
65614         * po/ru.po: Update Russion translation from translation project.
65616 2013-04-17  Adam Conrad  <adconrad@0c3.net>
65618         * sysdeps/unix/sysv/linux/sys/fsuid.h: Remove __wur from setfsuid
65619         and setfsgid.
65621 2013-04-17  Carlos O'Donell  <carlos@redhat.com>
65623         * configure.in: Remove i386 configure warning. Remove i386 case.
65624         * configure: Regenerate.
65625         * sysdeps/i386/configure.in: Raise error if config_machine is i386.
65626         Add example to error message.
65627         * sysdeps/i386/configure: Regenerate.
65629 2013-04-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
65631         * benchtests/Makefile (bench): Add cos, tan, slowcos and
65632         slowtan.
65633         * benchtests/cos-inputs: New file.
65634         * benchtests/slowcos-inputs: New file.
65635         * benchtests/slowcos.c: New file.
65636         * benchtests/slowtan-inputs: New file.
65637         * benchtests/slowtan.c: New file.
65638         * benchtests/tan-inputs: New file.
65640 2013-04-16  Roland McGrath  <roland@hack.frob.com>
65642         * rt/tst-aio7.c (do_test): Don't test O_RDONLY fd case, which is now
65643         considered kosher.
65645 2013-04-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
65647         * benchtests/Makefile: Include cppflags-iterator.mk to add
65648         -DNOT_IN_libc=1 to CPPFLAGS of all benchmark programs.
65650         * Makefile.in (bench-clean): New target.
65651         * benchtests/Makefile (bench-clean): Likewise.
65653 2013-04-16  David Holsgrove  <david.holsgrove@xilinx.com>
65655         * elf/elf.h: Add EM_MICROBLAZE and MicroBlaze relocations.
65657 2013-04-15  Thomas Schwinge  <thomas@codesourcery.com>
65659         * stdio-common/tstdiomisc.c: Fix coding-style violation.
65661 2013-04-15  Andreas Schwab  <schwab@suse.de>
65663         * nscd/grpcache.c (cache_addgr): Properly check for short write.
65664         * nscd/initgrcache.c (addinitgroupsX): Likewise.
65665         * nscd/pwdcache.c (cache_addpw): Likewise.
65666         * nscd/servicescache.c (cache_addserv): Likewise.  Don't write
65667         more than recsize.
65669 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
65671         * benchtests/Makefile (bench): Write all output to
65672         bench-out.tmp together.
65674 2013-04-15  Andreas Schwab  <schwab@suse.de>
65676         * nscd/nscd.c (main): Don't fork again after closing files.
65678 2013-04-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
65680         * libio/tst-fwrite-error.c (do_test): Fix BUF array definition.
65682         * benchtests/Rules (bench-deps): Collect dependencies into a
65683         single variable.  Add Makefile to dependencies.
65684         ($(objpfx)bench-%.c): Depend on bench-deps.
65686 2013-04-12  Roland McGrath  <roland@hack.frob.com>
65687             Xavier Roche  <roche+kml2@exalead.com>
65689         [BZ #15361]
65690         * sysdeps/pthread/aio_fsync.c (aio_fsync): Don't check open modes,
65691         just that it's a file descriptor.
65692         * manual/llio.texi (Synchronizing AIO Operations): Update description
65693         for EBADF error from aio_fsync.
65695 2013-04-12  Siddhesh Poyarekar  <siddhesh@redhat.com>
65697         * Rules (bench): Move target definition...
65698         * benchtests/Makefile: ... here.
65700 2013-04-11  Carlos O'Donell  <carlos@redhat.com>
65702         * math/libm-test.inc (cos_test): Fix PI/2 test.
65703         (sincos_test): Likewise.
65704         * sysdeps/x86_64/fpu/libm-test-ulps: Regenerate.
65705         * sysdeps/i386/fpu/libm-test-ulps: Regenerate.
65707 2013-04-11  Andreas Schwab  <schwab@suse.de>
65709         [BZ #13988]
65710         * stdio-common/vfscanf.c (_IO_vfwscanf): When parsing a float
65711         accept exponent character only when digits were seen.
65712         * stdio-common/Makefile (tests): Add bug26.
65713         * stdio-common/bug26.c: New file.
65715         [BZ #14293]
65716         * elf/dl-load.c (_dl_init_paths): Mark decomposed RUNPATH as
65717         non-freeable.
65719 2013-04-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
65721         * Makeconfig (rtld-prefix): Define built linker prefix.
65722         * Rules (run-bench): Use it.
65723         * math/Makefile (run-regen-ulps): Likewise.
65725         * Rules (bench): Remove eval.
65727 2013-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
65728             Roland McGrath  <roland@hack.frob.com>
65729             Ondrej Bilka  <neleai@seznam.cz>
65731         [BZ #15346]
65732         * time/getdate.c: Include ctype.h and alloca.h.
65733         (__getdate_r): Trim leading and trailing spaces of input.
65734         * time/tst-getdate.c (tests): Add tests with leading and
65735         trailing spaces.
65737 2013-04-08  Roland McGrath  <roland@hack.frob.com>
65739         [BZ #14280]
65740         * sysdeps/mach/hurd/bits/ioctls.h (_IOTS): Cast to enum __ioctl_datum
65741         when computing value.
65743 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
65745         * math/README.libm-test (How can I generate "libm-test-ulps"?):
65746         Use testrun.sh to run libm tests.
65748         [BZ #15309]
65749         * elf/dl-open.c (dl_open_worker): memset all of seen array.
65751 2013-04-06  Marko Myllynen  <myllynen@redhat.com>
65753         [BZ #15264]
65754         * locales/fi_FI (LC_MESSAGES): Define yesstr and nostr.
65756 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
65758         * Makefile.in (regen-ulps): New target.
65759         * math/Makefile [ifneq (no,$(PERL)]: Declare regen-ulps with .PHONY.
65760         [ifneq (no,$(PERL)] (run-regen-ulps): New variable.
65761         [ifneq (no,$(PERL)] (regen-ulps): New target.
65762         [ifeq (no,$(PERL)] (regen-ulps): New target.
65763         * math/libm-test.inc (ulps_file_name): Define.
65764         (output_dir): New variable.
65765         (options): Add "output-dir" option.
65766         (parse_opt): Handle 'o' case.
65767         (main): If output_dir is non-NULL use it as a prefix
65768         otherwise use "".
65769         * math/README.libm-test: Update `How can I generate "libm-test-ulps"?'
65771 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
65773         [BZ #10060, #10062]
65774         * aclocal.m4 (LIBC_COMPILER_BUILTIN_INLINED): New macro.
65775         * sysdeps/i386/configure.in: Use LIBC_COMPILER_BUILTIN_INLINED and
65776         fail configure if __sync_val_compare_and_swap is not inlined.
65777         * sysdeps/i386/configure: Regenerate.
65778         * configure.in: Build for i686 when configured for i386.
65779         * configure: Regenerate.
65780         * README: Remove i386 reference.
65782 2013-04-06  Carlos O'Donell  <carlos@redhat.com>
65784         * sysdeps/s390/s390-32/sysdep.h: Undefine PSEUDO before redefinition.
65785         * sysdeps/s390/s390-64/sysdep.h: Likewise.
65787 2013-04-05  Thomas Schwinge  <thomas@codesourcery.com>
65789         * stdio-common/tstdiomisc.c (snanval, msnanval, lsnanval)
65790         (lmsnanval): New variables.
65791         (F): Add conversion tests.
65792         * stdlib/tst-strtod6.c (do_test): Add issignaling tests.
65793         * stdlib/Makefile ($(objpfx)tst-strtod6): Depend on $(link-libm).
65795         * stdio-common/tstdiomisc.c (F): Properly collect individual
65796         tests' results.
65798         [BZ #14686, #15336]
65799         * sysdeps/ieee754/dbl-64/urem.h (nNAN, NAN): Remove definitions.
65800         * sysdeps/ieee754/dbl-64/e_remainder.c (__ieee754_remainder):
65801         Instead, use input NaN values or generate a qNaN by arithmetic
65802         operation.  Also fix bugs to comply with the standard.
65803         * math/libm-test.inc (remainder_test): Add more tests.
65805         [BZ #15335, #15342]
65806         * sysdeps/ieee754/dbl-64/upow.h (NaNQ): Remove definitions.
65807         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Instead, use
65808         input NaN values or generate a qNaN by arithmetic operation.
65810         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Remove
65811         unreachable code.
65813         * sysdeps/ieee754/dbl-64/usncs.h (NAN): Removed unused
65814         definitions.
65816 2013-04-03  Joseph Myers  <joseph@codesourcery.com>
65818         [BZ #14478]
65819         * math/s_cexp.c (__cexp): Ensure underflow exception occurs for
65820         underflowed result.
65821         * math/s_cexpf.c (__cexpf): Likewise.
65822         * math/s_cexpl.c (__cexpl): Likewise.
65823         * math/libm-test.inc (cexp_test): Add more tests.
65825 2013-04-03  Andreas Schwab  <schwab@suse.de>
65827         [BZ #15330]
65828         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Allocate results and
65829         order arrays from heap if bigger than alloca cutoff.
65831 2013-04-03  Thomas Schwinge  <thomas@codesourcery.com>
65833         * sysdeps/i386/fpu/math-tests.h (SNAN_TESTS_float)
65834         (SNAN_TESTS_double): Refer to GCC PR56831.
65835         * sysdeps/powerpc/math-tests.h (SNAN_TESTS_TYPE_CAST): Refer to
65836         GCC PR56828.
65838 2013-04-03  Siddhesh Poyarekar  <siddhesh@redhat.com>
65840         * Rules (bench): Move bench.out after the run is complete.
65842         * Rules (bench): Echo currently running benchmark.
65844         * benchtests/Makefile (bench): Add atan and slowatan.
65845         * benchtests/atan-inputs: New file.
65846         * benchtests/slowatan-inputs: New file.
65847         * benchtests/slowatan.c: New file.
65849         * sysdeps/ieee754/dbl-64/mpa.h (TWO): Remove definition.
65850         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Replace TWO with
65851         its value.
65853         [BZ #15305]
65854         * sysdeps/unix/sysv/linux/kernel-features.h
65855         [__LINUX_KERNEL_VERSION >= 0x02061d]: Define
65856         __ASSUME_XFS_RESTRICTED_CHOWN.
65857         * sysdeps/unix/sysv/linux/pathconf.c
65858         (__statfs_chown_restricted) [!__ASSUME_XFS_RESTRICTED_CHOWN]:
65859         Save and restore errno.
65861 2013-04-02  Joseph Myers  <joseph@codesourcery.com>
65863         [BZ #15327]
65864         * math/s_cacosh.c (__cacosh): Implement for finite nonzero
65865         arguments using __kernel_casinh.
65866         * math/s_cacoshf.c (__cacoshf): Implement for finite nonzero
65867         arguments using __kernel_casinhf.
65868         * math/s_cacoshl.c (__cacoshl): Implement for finite nonzero
65869         arguments using __kernel_casinhl.
65870         * math/libm-test.inc (cacosh_test): Add more tests.
65871         * sysdeps/i386/fpu/libm-test-ulps: Update.
65872         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65874 2013-04-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
65876         * sysdeps/ieee754/dbl-64/mpa.h (HALFRAD): Define as TWO23.
65877         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Use mantissa_t.
65879         * bench/Makefile (bench): Add sin and slowsin.
65880         * benchtests/sin-inputs: New file.
65881         * benchtests/slowsin-inputs: New file.
65882         * benchtests/slowsin.c: New file.
65884         * benchtests/Makefile: Add benchmarks for slowpow and slowexp.
65885         (bench): Add slowexp and slowpow.
65886         (exp-ITER): Increase iterations.
65887         (pow-ITER): Likewise.
65888         * benchtests/exp-inputs: Change input.
65889         * benchtests/pow-inputs: Likewise.
65890         * benchtests/slowexp-inputs: New file.
65891         * benchtests/slowexp.c: New file.
65892         * benchtests/slowpow-inputs: New file.
65893         * benchtests/slowpow.c: New file.
65895 2013-04-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
65897         * sysdeps/powerpc/powerpc32/fpu/s_rint.S: Remove branch prediction
65898         instructions.
65899         * sysdeps/powerpc/powerpc32/fpu/s_rintf.S: Likewise.
65900         * sysdeps/powerpc/powerpc64/fpu/s_rint.S: Likewise.
65901         * sysdeps/powerpc/powerpc64/fpu/s_rintf.S: Likewise.
65902         * benchtests/Makefile: Add rint benchtest.
65903         * benchtests/rint-inputs: Input for rint benchtest.
65905 2013-04-02  Thomas Schwinge  <thomas@codesourcery.com>
65907         * Versions.def (libm): Add GLIBC_2.18.
65908         * include/math.h [!_ISOMAC] (__issignaling, __issignalingf): Add
65909         hidden libm prototypes.
65910         [!_ISOMAC && !__NO_LONG_DOUBLE_MATH] (__issignalingl): Likewise.
65911         * math/Makefile (libm-calls): Add s_issignaling.
65912         * math/Versions (libm: GLIBC_2.18): Add __issignaling,
65913         __issignalingf, __issignalingl.  Adjust all libm.abilist files.
65914         * math/bits/mathcalls.h [__USE_GNU] (__issignaling): New prototype
65915         declaration.
65916         * math/math.h [__USE_GNU] (issignaling): New macro.
65917         * sysdeps/ieee754/flt-32/s_issignalingf.c: New file.
65918         * sysdeps/ieee754/dbl-64/s_issignaling.c: Likewise.
65919         * sysdeps/ieee754/dbl-64/wordsize-64/s_issignaling.c: Likewise.
65920         * sysdeps/ieee754/ldbl-96/s_issignalingl.c: Likewise.
65921         * sysdeps/ieee754/ldbl-128/s_issignalingl.c: Likewise.
65922         * sysdeps/ieee754/ldbl-128ibm/s_issignalingl.c: Likewise.
65923         * manual/arith.texi (issignaling): New section.
65924         * manual/libm-err-tab.pl (@all_functions): Update comment.
65925         * math/gen-libm-test.pl (parse_args): Apply special handling for
65926         issignaling.
65927         * math/libm-test.inc (print_float, issignaling_test): New
65928         functions.
65929         (check_float_internal): Add issignaling checks.
65930         * sysdeps/generic/math-tests.h (SNAN_TESTS_TYPE_CAST): Provide
65931         default definition.
65932         * sysdeps/powerpc/math-tests.h: New file.
65933         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Add issignaling
65934         tests.
65935         * math/test-snan.c (TEST_FUNC): Likewise.
65937 2013-03-30  David S. Miller  <davem@davemloft.net>
65939         * po/de.po: Update from translation team.
65941 2013-03-30  Joseph Myers  <joseph@codesourcery.com>
65943         [BZ #10357]
65944         * math/k_casinh.c (__kernel_casinh): Handle arguments with
65945         imaginary part less than 1.0 and real part less than 0.5
65946         specially.
65947         * math/k_casinhf.c (__kernel_casinhf): Likewise.
65948         * math/k_casinhl.c (__kernel_casinhl): Likewise.
65949         * math/libm-test.inc (UNDERFLOW_EXCEPTION_OK_DOUBLE): New macro.
65950         (cacos_test): Add more tests.
65951         (casin_test): Likewise.
65952         (casinh_test): Likewise.
65953         * sysdeps/i386/fpu/libm-test-ulps: Update.
65954         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
65956 2013-03-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
65958         * sysdeps/powerpc/power4/fpu/mpa-arch.h (INTEGER_OF): Replace
65959         ONE with its value.
65961         * sysdeps/ieee754/dbl-64/mpa.h (ONE, MONE): Remove defines.
65962         (__pow_mp): Replace ONE and MONE with their values.
65963         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
65964         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Likewise.
65965         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
65966         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Likewise.
65967         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
65968         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
65970         * sysdeps/ieee754/dbl-64/s_tan.c: Fix formatting.
65972         * sysdeps/ieee754/dbl-64/mpa.h (ZERO, MZERO): Remove defines.
65973         (__pow_mp): Replace ZERO and MZERO with their values.
65974         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
65975         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
65976         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
65977         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
65978         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
65979         * sysdeps/powerpc/power4/fpu/mpa.c (__mul): Likewise.
65980         (__sqr): Likewise.
65982         * sysdeps/ieee754/dbl-64/s_atan.c: Fix formatting.
65984         * sysdeps/ieee754/dbl-64/e_log.c: Fix formatting.
65986 2013-03-28  Roland McGrath  <roland@hack.frob.com>
65988         * include/stdlib.h [!SHARED] (__call_tls_dtors):
65989         Declare with __attribute__ ((weak)).
65990         * stdlib/exit.c (__libc_atexit) [!SHARED]:
65991         Call __call_tls_dtors only if it's not NULL.
65993 2013-03-28  Roland McGrath  <roland@hack.frob.com>
65995         * csu/libc-start.c (__libc_start_main) [!SHARED]: If _dl_aux_init
65996         didn't do it already, then set _dl_phdr and _dl_phnum based on the
65997         magic __ehdr_start linker symbol if it's defined.
65998         * sysdeps/mach/hurd/i386/init-first.c (init1) [!SHARED]: Don't set
65999         them up here if it was already done.
66001         * elf/dl-support.c (_dl_phdr): Make pointer to const.
66002         (_dl_aux_init): Use const in cast when setting it.
66003         * sysdeps/mach/hurd/i386/init-first.c (init1): Remove superfluous cast.
66004         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr): Update decl.
66005         * csu/libc-tls.c (__libc_setup_tls): Make PHDR pointer to const.
66007         * sysdeps/generic/ldsodefs.h [!SHARED] (_dl_phdr, _dl_phnum):
66008         Declare them here.
66009         * elf/dl-iteratephdr.c [!SHARED] (_dl_phdr, _dl_phnum): Not here.
66010         * csu/libc-tls.c: Nor here.
66011         * sysdeps/mach/hurd/i386/init-first.c (init1): Nor here.
66013         * sysdeps/posix/libc_fatal.c: Don't include <sys/syslog.h>.
66014         (__libc_message): Never call vsyslog.
66016 2013-03-28  Alan Modra  <amodra@gmail.com>
66018         * sysdeps/powerpc/powerpc32/start.S (cfi_startproc, cfi_endproc):
66019         Define as empty.
66020         * sysdeps/powerpc/powerpc64/start.S (cfi_startproc, cfi_endproc):
66021         Likewise.
66023 2013-03-28  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66025         [BZ #15214]
66026         * sysdeps/ieee754/ldbl-128ibm/e_logl.c (__ieee754_logl): Fix spurious
66027         underflow.
66028         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
66030 2013-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
66032         [BZ #15304]
66033         * hesiod/nss_hesiod/hesiod-grp.c (_nss_hesiod_initgroups_dyn):
66034         Don't add gid passed as argument.
66036         * sysdeps/ieee-754/dbl-64/e_atan2.c: Reformat.
66038 2013-03-27  Joseph Myers  <joseph@codesourcery.com>
66040         [BZ #15307]
66041         * math/k_casinh.c (__kernel_casinh): Handle arguments with
66042         imaginary part between 1.0 and 1.5 and real part less than 0.5
66043         specially.
66044         * math/k_casinhf.c (__kernel_casinhf): Likewise.
66045         * math/k_casinhl.c (__kernel_casinhl): Likewise.
66046         * math/libm-test.inc (cacos_test): Add more tests.
66047         (casin_test): Likewise.
66048         (casinh_test): Likewise.
66049         * sysdeps/i386/fpu/libm-test-ulps: Update.
66050         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66052 2013-03-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
66054         * sysdeps/ieee754/dbl-64/mpa.c (__acr): Use integral
66055         constants.
66056         (norm): Likewise.
66057         (denorm): Likewise.
66058         (__dbl_mp): Likewise.
66059         (add_magnitudes): Likewise.
66060         (sub_magnitudes): Likewise.
66061         (__add): Likewise.
66062         (__sub): Likewise.
66063         (__mul): Likewise.
66064         (__sqr): Likewise.
66065         (__inv): Likewise.
66066         (__dvd): Likewise.
66068         * sysdeps/ieee754/dbl-64/branred.c (__branred): Remove
66069         commented code.
66070         * sysdeps/ieee754/dbl-64/dosincos.c (__dubsin): Likewise.
66071         (__dubcos): Likewise.
66072         * sysdeps/ieee754/dbl-64/e_asin.c (__ieee754_asin): Likewise.
66073         (__ieee754_acos): Likewise.
66074         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Likewise.
66075         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Likewise.
66076         (__exp1): Likewise.
66077         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Likewise.
66078         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
66079         (log1): Likewise.
66080         (my_log2): Likewise.
66081         (checkint): Likewise.
66082         * sysdeps/ieee754/dbl-64/e_remainder.c
66083         (__ieee754_remainder): Likewise.
66084         * sysdeps/ieee754/dbl-64/s_atan.c (atan): Likewise.
66085         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Likewise.
66086         (bsloww): Likewise.
66087         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
66089         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
66090         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T and
66091         MANTISSA_STORE_T to store computations on mantissa.  Use
66092         macros for rounding and division.
66093         (denorm): Likewise.
66094         (__dbl_mp): Likewise.
66095         (add_magnitudes): Likewise.
66096         (sub_magnitudes): Likewise.
66097         (__mul): Likewise.
66098         (__sqr): Likewise.
66099         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
66100         powers of two in terms of TWOPOW macro.
66101         (mp_no): Make type of mantissa as MANTISSA_T.
66102         [!RADIXI]: Define RADIXI.
66103         [!TWO52]: Define TWO52.
66104         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
66106 2013-03-25  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66108         * sysdeps/powerpc/fpu/s_llround.c: Fix libm ABI issue with missing
66109         llroundl symbol when building for PPC32.
66111 2013-03-24  Mark H Weaver  <mhw@netris.org>
66113         * manual/arith.texi (Normalization Functions): Fix prototypes for
66114         scalbn, scalbnf, scalbnl, scalbln, scalblnf, and scalblnl.
66116 2013-03-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66118         [BZ #13889]
66119         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (__ieee754_expl): Increase the
66120         high value to check if expl overflow.
66121         * sysdeps/ieee754/ldbl-128ibm/w_expl.c (__expl): Fix threshold constants
66122         to check for underflow and overflow.
66123         * math/libm-test.inc: Add exp test.
66125 2013-03-21  Dmitry V. Levin  <ldv@altlinux.org>
66127         [BZ #11120]
66128         * sysdeps/x86_64/strcmp.S: Replace all occurrences of NOT_IN_lib
66129         with NOT_IN_libc.
66131 2013-03-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66133         * sysdeps/powerpc/fpu/w_sqrt.c (compat_symbol): Add sqrtl compat
66134         symbol.
66136 2013-03-21  Thomas Schwinge  <thomas@codesourcery.com>
66138         * math/gen-libm-test.pl (parse_args, special_functions): Properly
66139         wrap blocks consisting of several statements.
66141         * sysdeps/generic/math-tests.h: New file.
66142         * sysdeps/i386/fpu/math-tests.h: Likewise.
66143         * math/test-snan.c: Include it.
66144         (TEST_FUNC): Use SNAN_TESTS to short-circuit certain tests.
66146 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
66148         [BZ #15285]
66149         * sysdeps/ieee754/ldbl-128/e_j0l.c: Include <float.h>.
66150         (__ieee754_j0l): Do not improve calculations using cos of twice
66151         input for inputs above LDBL_MAX / 2.0L.
66152         (__ieee754_y0l): Likewise.
66153         * sysdeps/ieee754/ldbl-128/e_j1l.c: Include <float.h>.
66154         (__ieee754_j1l): Do not improve calculations using cos of twice
66155         input for inputs above LDBL_MAX / 2.0L.
66156         (__ieee754_y1l): Likewise.
66157         * math/libm-test.inc (j0_test): Add another test.
66158         (j1_test): Likewise.
66159         (y0_test): Likewise.
66160         (y1_test): Likewise.
66161         * sysdeps/i386/fpu/libm-test-ulps: Update.
66163 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
66165         * Rules ($(objpfx)bench-%.c): Include code from a C source
66166         file.
66168 2013-03-21  Joseph Myers  <joseph@codesourcery.com>
66170         [BZ #15287]
66171         * math/k_casinh.c (__kernel_casinh): Handle arguments with
66172         imaginary part 1.0 and real part less than 0.5 specially.
66173         * math/k_casinhf.c (__kernel_casinhf): Likewise.
66174         * math/k_casinhl.c (__kernel_casinhl): Likewise.
66175         * math/libm-test.inc (cacos_test): Add more tests.
66176         (casin_test): Likewise.
66177         (casinh_test): Likewise.
66178         * sysdeps/i386/fpu/libm-test-ulps: Update.
66179         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66181 2013-03-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
66183         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Use HALFRAD.
66184         * sysdeps/ieee754/dbl-64/sincos32.c (__mpranred): Likewise.
66186 2013-03-20  Joseph Myers  <joseph@codesourcery.com>
66188         * aclocal.m4 (LIBC_CONFIG_VAR): New autoconf macro.
66189         * config.make.in (config-cflags-sse4): Remove variable.
66190         (config-cflags-avx): Likewise.
66191         (config-cflags-sse2avx): Likewise.
66192         (config-cflags-novzeroupper): Likewise.
66193         (config-asflags-i686): Likewise.
66194         (have-mfma4): Likewise.
66195         (have-as-vis3): Likewise.
66196         (MIG): Likewise.
66197         * configure.in (MIG): Do not AC_SUBST.
66198         (libc_cv_cc_nofma): Move AC_SUBST next to configure test.
66199         (libc_cv_cc_sse4): Do not AC_SUBST.
66200         (libc_cv_cc_avx): Likewise.
66201         (libc_cv_cc_sse2avx): Likewise.
66202         (libc_cv_cc_novzeroupper): Likewise.
66203         (libc_cv_cc_fma4): Likewise.
66204         (libc_cv_as_i686): Likewise.
66205         (libc_cv_sparc_as_vis3): Likewise.
66206         * sysdeps/i386/configure.in (config-cflags-sse4): Set using
66207         LIBC_CONFIG_VAR.
66208         (config-asflags-i686): Likewise.
66209         (config-cflags-avx): Likewise.
66210         (config-cflags-sse2avx): Likewise.
66211         (have-mfma4): Likewise.
66212         (config-cflags-novzeroupper): Likewise.
66213         * sysdeps/mach/configure.in (MIG): Likewise.
66214         * sysdeps/sparc/configure.in (have-as-vis3): Likewise.
66215         * sysdeps/x86_64/configure.in (config-cflags-sse4): Set using
66216         LIBC_CONFIG_VAR.
66217         (config-cflags-avx): Likewise.
66218         (config-cflags-sse2avx): Likewise.
66219         (have-mfma4): Likewise.
66220         (config-cflags-novzeroupper): Likewise.
66221         * configure: Regenerated.
66222         * sysdeps/i386/configure: Likewise.
66223         * sysdeps/mach/configure: Likewise.
66224         * sysdeps/sparc/configure: Likewise.
66225         * sysdeps/x86_64/configure: Likewise.
66227 2013-03-20  Roland McGrath  <roland@hack.frob.com>
66229         [BZ #14812]
66230         * locale/programs/localedef.c (options): Put N_ translation marker
66231         on argument names, not just descriptions.
66233 2013-03-20  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
66235         * Makerules ($(inst_libdir)/libc.so): Use $(rtlddir).
66237 2013-03-20  Ondřej Bílka  <neleai@seznam.cz>
66239         [BZ #14176]
66240         * stdlib/stdlib.h (mblen, mbtowc, wctomb): Remove __wur.
66242 2013-03-19  Roland McGrath  <roland@hack.frob.com>
66244         * sysdeps/posix/libc_fatal.c: Include <sys/mman.h>.
66245         [!WRITEV_FOR_FATAL] (writev_for_fatal): New function.
66246         [!WRITEV_FOR_FATAL] (WRITEV_FOR_FATAL): New macro; call that.
66247         [!BEFORE_ABORT] (before_abort): New function.
66248         [!BEFORE_ABORT] (BEFORE_ABORT): New macro; call that.
66249         * sysdeps/unix/sysv/linux/libc_fatal.c: Trim includes.
66250         (writev_for_fatal): New function.
66251         (WRITEV_FOR_FATAL): New macro; call that.
66252         (backtrace_and_maps): New function.
66253         (BEFORE_ABORT): New macro; call that.
66254         (struct str_list): Type removed.
66255         (__libc_message, __libc_fatal): Functions removed.
66256         Include <sysdeps/posix/libc_fatal.c> instead.
66258 2013-03-19  Joseph Myers  <joseph@codesourcery.com>
66260         * math/k_casinhf.c (__kernel_casinhf): Consistently use float
66261         constants.
66262         * math/k_casinhl.c (__kernel_casinhl): Consistently use long
66263         double constants.
66265 2013-03-19  Andreas Schwab  <schwab@suse.de>
66267         * sysdeps/gnu/configure.in: Set libc_cv_rtldir for s390x.
66268         * sysdeps/gnu/configure: Regenerate.
66270         * configure.in: Substitute libc_cv_rtlddir.
66271         * configure: Regenerate.
66272         * config.make.in (rtlddir): Set from libc_cv_rtlddir.
66273         * Makeconfig (rtlddir, inst_rtlddir): New variables.
66274         (rtld-LDFLAGS): Use them with $(rtld-installed-name).
66275         * elf/Makefile (install-others, CFLAGS-interp.c)
66276         (ldso_install, common-ldd-rewrite): Likewise.
66277         ($(inst_rtlddir)/$(rtld-installed-name)): Renamed from
66278         $(inst_slibdir)/$(rtld-installed-name).
66279         * scripts/rellns-sh: Add -p option.
66280         * Makerules (make-shlib-link): Use rellns-sh to get relative name
66281         for source.
66283 2013-03-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
66285         * manual/nptl.texi: Renamed to ...
66286         * manual/threads.texi: ... this.
66287         * manual/Makefile (chapters): Update.
66289 2013-03-18  Roland McGrath  <roland@hack.frob.com>
66291         [BZ #14812]
66292         * argp/argp-parse.c (argp_default_options): Put N_ translation marker
66293         on argument names, not just descriptions.
66294         * malloc/memusagestat.c (options): Likewise.
66295         * nss/getent.c (options): Likewise.
66297 2013-03-18  Benno Schulenberg  <bensberg@justemail.net>
66299         [BZ #14812]
66300         * iconv/iconv_prog.c (options): Put N_ translation marker
66301         on argument names, not just descriptions.
66302         * iconv/iconvconfig.c (options): Likewise.
66304 2013-03-18  Ondrej Bilka  <neleai@seznam.cz>
66306         * sysdeps/x86_64/strlen.S: Replace with new SSE2 based
66307         implementation which is faster on all x86_64 architectures.
66308         Tested on AMD, Intel Nehalem, SNB, IVB.
66309         * sysdeps/x86_64/strnlen.S: Likewise.
66311         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines):
66312         Remove all multiarch strlen and strnlen versions.
66313         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: Update.
66314         Remove strlen and strnlen related parts.
66316         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: Update.
66317         Inline strlen part.
66318         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Likewise.
66320         * sysdeps/x86_64/multiarch/strlen.S: Remove.
66321         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S: Likewise.
66322         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: Likewise.
66323         * sysdeps/x86_64/multiarch/strlen-sse4.S: Likewise.
66324         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
66325         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: Likewise.
66327 2013-03-17  Carlos O'Donell  <carlos@redhat.com>
66329         * manual/memory.texi (Malloc Tunable Parameters):
66330         Sort parameters alphabetically. Add comments for missing entries.
66332 2013-03-17  David S. Miller  <davem@davemloft.net>
66334         * sysdeps/sparc/fpu/libm-test-ulps: Update.
66336 2013-03-16  Joseph Myers  <joseph@codesourcery.com>
66338         [BZ #15283]
66339         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_y1l): Correct test
66340         for arguments at most half maximum finite value.
66341         * math/libm-test.inc (j0_test): Add more tests.
66342         (j1_test): Likewise.
66343         (y0_test): Likewise.
66344         (y1_test): Likewise.
66345         * sysdeps/i386/fpu/libm-test-ulps: Update.
66346         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
66348         [BZ #14155]
66349         * sysdeps/ieee754/ldbl-128/e_j0l.c (__ieee754_j0l): Do not compute
66350         1 / x and functions P and Q for arguments above 0x1p256L.
66351         (__ieee754_y0l): Likewise.
66352         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_j1l): Likewise.
66353         (__ieee754_y1l): Likewise.
66354         * math/libm-test.inc (j0_test): Do not allow spurious underflows.
66355         (j1_test): Likewise.
66356         (y0_test): Likewise.
66357         (y1_test): Likewise.
66359 2013-03-16  Thomas Schwinge  <thomas@codesourcery.com>
66361         * math/test-snan.c (TEST_FUNC): Add and use minus_sNaN_var
66362         variable.
66364 2013-03-15  Roland McGrath  <roland@hack.frob.com>
66366         * elf/dl-support.c (_dl_aux_init): Ignore zero value for AT_PAGESZ.
66367         (_dl_non_dynamic_init): Don't set _dl_pagesize; it will never be
66368         zero since it's initialized to EXEC_PAGESIZE.
66370         * sysdeps/unix/sysv/linux/ldsodefs.h
66371         (_dl_non_dynamic_init, _dl_aux_init): Move declarations to ...
66372         * sysdeps/generic/ldsodefs.h: ... here.
66374 2013-03-15  Thomas Schwinge  <thomas@codesourcery.com>
66376         * math/libm-test.inc (ldexp_test): Add missing START/END markers.
66378         * sysdeps/powerpc/fpu/test-powerpc-snan.c: Rename to
66379         math/test-snan.c.
66380         * math/test-snan.c: Renamed from
66381         sysdeps/powerpc/fpu/test-powerpc-snan.c.
66382         * math/Makefile (tests): Add test-snan.
66383         * sysdeps/powerpc/fpu/Makefile (libm-tests): Don't add
66384         test-powerpc-snan.
66386         * math/basic-test.c (TEST_FUNC): Replace NANFUNC argument with
66387         SUFFIX.  Initialize qNaN_var with __builtin_nan family of
66388         functions.
66389         (TEST_TRUNC): Add SUFFIX argument.  Initialize qNaN_var with
66390         __builtin_nan family of functions.
66391         * math/libm-test.inc (initialize): Initialize qnan_value with
66392         __builtin_nan family of functions.
66393         * sysdeps/powerpc/fpu/test-powerpc-snan.c (SNANf, SNAN, SNANl):
66394         Remove variables.
66395         (init_signaling_nan, snan_float, snan_double, snan_ldouble):
66396         Remove functions.
66397         (TEST_FUNC): Add SUFFIX argument.  Move sNaN_var into static
66398         storage class.  Initialize qNaN_var and sNaN_var with
66399         __builtin_nan and __builtin_nans families of functions,
66400         respectively.
66402         * math/libm-test.inc (acosh_test): Also test with qNaN input.
66403         (sqrt_test): Remove duplicate test with qNaN input.
66404         (lrint_test, llrint_test, lround_test, llround_test, rint_test)
66405         (round_test, signbit_test, significand_test): Note missing +/-Inf
66406         as well as qNaN tests.
66408         * math/basic-test.c (TEST_FUNC, TEST_TRUNC): Rename NaN_var to
66409         qNaN_var.  Fix a few strings, too.
66410         * math/libm-test.inc (nan_value): Rename to qnan_value.
66411         * math/gen-libm-test.pl (%beautify): Adjust to that.
66412         * math/bits/mathcalls.h (nan): Refer to qNaN instead of NaN.
66413         * math/test-misc.c (main): Likewise.
66414         * sysdeps/ieee754/bits/nan.h (__nan_bytes, __nan_union): Rename
66415         to __qnan_bytes, and __qnan_union, respectively.
66416         * ports/sysdeps/mips/bits/nan.h (__nan_bytes, __nan_union):
66417         Likewise.
66418         * stdio-common/tstdiomisc.c (nanval, lnanval): Rename to qnanval,
66419         and lqnanval, respectively.
66420         * sysdeps/powerpc/bits/fenv.h: Fix usage of NaN/qNaN/sNaN.
66421         * sysdeps/powerpc/fpu/fenv_libc.h: Likewise.
66422         * sysdeps/powerpc/fpu/test-powerpc-snan.c (TEST_FUNC): Likewise,
66423         and rename NaN_var to qNaN_var, and SNaN_var to sNaN_var.
66425         * math/libm-test.inc (fpstack_test) [__x86_64__]: Enable test.
66426         * math/test-misc.c (main) [__x86_64__]: Enable test for long
66427         doubles.
66429         * math/test-misc.c (main): Fix copy'n'pastos.
66430         * misc/tst-efgcvt.c (special): Likewise.
66432         * stdio-common/printf_fp.c (__isinfl_internal, __isnanl_internal):
66433         Remove declarations.
66435 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
66437         * sysdeps/ieee754/dbl-64/mpa-arch.h: Remove.
66438         * sysdeps/ieee754/dbl-64/mpa.c: Revert last change.
66439         * sysdeps/ieee754/dbl-64/mpa.h: Revert last change.
66440         * sysdeps/powerpc/power4/fpu/mpa-arch.h: Remove.
66442 2013-03-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66444         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h (VDSO_IFUNC_RET): Add
66445         macro to return vdso values correctly in IFUNC implementations.
66446         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c (__gettimeofday):
66447         Optimization by using IFUNC.
66449 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
66450             Richard Henderson  <rth@redhat.com>
66451             Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
66453         * Makefile.in (bench): New target.
66454         * NEWS: Mention the benchmark framework.
66455         * Rules (bench): Likewise.
66456         (binaries-bench): Generate binaries for functions to
66457         benchmark.
66458         * benchtests/Makefile: New makefile for benchmark tests.
66459         * benchtests/bench-skeleton.c: New skeleton file for benchmark
66460         programs.
66461         * benchtests/exp-inputs: New input file for EXP function.
66462         * benchtests/pow-inputs: New input file for POW function.
66463         * scripts/bench.pl: New script to generate source files for
66464         benchmark programs.
66466 2013-03-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
66468         * sysdeps/ieee754/dbl-64/mpa-arch.h: New file.
66469         * sysdeps/ieee754/dbl-64/mpa.c (norm): Use MANTISSA_T to store
66470         computations on mantissa.  Use macros for rounding and
66471         division.
66472         (denorm): Likewise.
66473         (__dbl_mp): Likewise.
66474         (add_magnitudes): Likewise.
66475         (sub_magnitudes): Likewise.
66476         (__mul): Likewise.
66477         (__sqr): Likewise.
66478         * sysdeps/ieee754/dbl-64/mpa.h: Include mpa-arch.h.  Define
66479         powers of two in terms of TWOPOW macro.
66480         (mp_no): Make type of mantissa as MANTISSA_T.
66481         [!RADIXI]: Define RADIXI.
66482         [!TWO52]: Define TWO52.
66483         * sysdeps/powerpc/power4/fpu/mpa-arch.h: New file.
66485         * manual/nptl.texi (cindex): Modify threads to pthreads.
66487 2013-03-15  Joseph Myers  <joseph@codesourcery.com>
66489         * sysdeps/x86_64/preconfigure: Regenerated.
66491 2013-03-14  Joseph Myers  <joseph@codesourcery.com>
66493         [BZ #14155]
66494         * sysdeps/ieee754/dbl-64/e_j0.c (pzero): Return 1.0 for arguments
66495         0x1p28 and above.
66496         (qzero): Return -0.125 / x for arguments 0x1p28 and above.
66497         * sysdeps/ieee754/dbl-64/e_j1.c (pzero): Return 1.0 for arguments
66498         0x1p28 and above.
66499         (qzero): Return 0.375 / x for arguments 0x1p28 and above.
66500         * math/libm-test.inc (j0_test): Do not allow one spurious
66501         underflow exception.
66502         (y1_test): Likewise.
66504 2013-03-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
66506         * manual/Makefile (chapters): Add nptl.
66507         * manual/debug.texi (Debugging Support): Add link to Threads
66508         chapter.
66509         * manual/nptl.texi: New file.
66511         * sysdeps/unix/sysv/linux/times.c (__times): Fix formatting.
66513 2013-03-14  Petr Baudis  <pasky@ucw.cz>
66515         * sysdeps/unix/sysv/linux/times.c (__times): On EFAULT, test
66516         for non-NULL pointer before the memory validity test. Pointed
66517         out by Holger Brunck <holger.brunck@keymile.com>.
66519 2013-03-13  Andreas Schwab  <schwab@suse.de>
66521         * extra-lib.mk (extra-objs): Add static-only-routines as .oS
66522         instead of .os.
66524 2013-03-13  Joseph Myers  <joseph@codesourcery.com>
66526         * timezone/zic.c: Update from tzcode 2013b.
66528 2013-03-12  Carlos O'Donell  <carlos@redhat.com>
66530         * manual/install.texi (Configuring and compiling):
66531         Mention i686 and i586.
66532         * INSTALL: Regenerate.
66534 2013-03-12  Roland McGrath  <roland@hack.frob.com>
66536         * sysdeps/init_array/elf-init.c: New file.
66537         * csu/elf-init.c
66538         (__libc_csu_init) [!NO_INITFINI]: Conditionalize _init call on this.
66539         (__libc_csu_fini) [!NO_INITFINI]: Conditionalize _fini call on this.
66541         * csu/gmon-start.c [GMON_START_ARRAY_SECTION]: Don't define
66542         __gmon_start__ as global, but as static with a .preinit_array pointer.
66543         * sysdeps/init_array/gmon-start.c: New file.  Use that.
66544         * sysdeps/init_array/crti.S: New file, empty except for comments.
66545         * sysdeps/init_array/crtn.S: Likewise.
66547 2013-03-11  Ondřej Bílka  <neleai@seznam.cz>
66549         * sysdeps/x86_64/memset.S: Remove USE_MULTIARCH conditional for
66550         definining bcopy.
66551         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
66552         Remove Prefer_SSE_for_memop.
66553         * sysdeps/x86_64/multiarch/init-arch.h: Remove
66554         bit_Prefer_SSE_for_memop, index_Prefer_SSE_for_memop,
66555         HAS_PREFER_SSE_FOR_MEMOP.
66556         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Remove
66557         memset-x86-64.
66558         * sysdeps/x86_64/multiarch/ifunc-impl-list.c (__libc_ifunc_impl_list):
66559         Remove bzero, memset ifunc support.
66560         * sysdeps/x86_64/multiarch/bzero.S: Remove file.
66561         * sysdeps/x86_64/multiarch/memset-x86-64.S: Likewise.
66562         * sysdeps/x86_64/multiarch/memset.S: Likewise.
66563         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
66565 2013-03-11  Andreas Schwab  <schwab@suse.de>
66567         [BZ #15234]
66568         * Versions.def (libpthread): Add GLIBC_2.3, so that it can be used
66569         by SHLIB_COMPAT.
66570         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist
66571         (GLIBC_2.16): Remove pthread_atfork.
66573 2013-03-08  Paul Pluzhnikov  <ppluzhnikov@google.com>
66575         * posix/Makefile (testcases.h): Set LC_ALL=C before sed.
66576         (ptestcases.h): Likewise.
66578 2013-03-08  Roland McGrath  <roland@hack.frob.com>
66580         * Makeconfig ($(common-objpfx)config.status): Depend on
66581         sysdeps/*/preconfigure{,.in} too.
66583 2013-03-08  Joseph Myers  <joseph@codesourcery.com>
66585         * malloc/malloc.h (__malloc_ptr_t): Remove macro.
66586         (__free_hook): Use void * instead of __malloc_ptr_t.
66587         (__malloc_hook): Likewise.
66588         (__realloc_hook): Likewise.
66589         (__memalign_hook): Likewise.
66590         (__after_morecore_hook): Likewise.
66591         * malloc/arena.c (save_malloc_hook): Likewise.
66592         (save_free_hook): Likewise.
66593         * malloc/hooks.c (malloc_hook_ini): Likewise.
66594         (realloc_hook_ini): Likewise.
66595         (memalign_hook_ini): Likewise.
66596         * malloc/malloc.c (malloc_hook_ini): Likewise.
66597         (realloc_hook_ini): Likewise.
66598         (memalign_hook_ini): Likewise.
66599         (__free_hook): Likewise.
66600         (__malloc_hook): Likewise.
66601         (__realloc_hook): Likewise.
66602         (__memalign_hook): Likewise.
66603         (__libc_malloc): Likewise.
66604         (__libc_free): Likewise.
66605         (__libc_realloc): Likewise.
66606         (__libc_memalign): Likewise.
66607         (__libc_valloc): Likewise.
66608         (__libc_pvalloc): Likewise.
66609         (__libc_calloc): Likewise.
66610         (__posix_memalign): Likewise.
66611         * malloc/morecore.c (__sbrk): Likewise.
66612         (__default_morecore): Likewise.
66614         * malloc/morecore.c (__default_morecore): Use ISO C prototype.
66616         * malloc/malloc.h (__malloc_ptrdiff_t): Remove macro.
66617         * malloc/morecore.c (__default_morecore): Use ptrdiff_t instead of
66618         __malloc_ptrdiff_t.
66620         * malloc/malloc.h (__malloc_size_t): Remove macro.
66621         * malloc/mcheck.c (old_malloc_hook): Use size_t instead of
66622         __malloc_size_t.
66623         (old_memalign_hook): Likewise.
66624         (old_realloc_hook): Likewise.
66625         (struct hdr): Likewise.
66626         (flood): Likewise.
66627         (mallochook): Likewise.
66628         (memalignhook): Likewise.
66629         (reallochook): Likewise.
66630         * malloc/mtrace.c (tr_old_malloc_hook): Likewise.
66631         (tr_old_realloc_hook): Likewise.
66632         (tr_old_memalign_hook): Likewise.
66633         (tr_mallochook): Likewise.
66634         (tr_reallochook): Likewise.
66635         (tr_memalignhook): Likewise.
66637 2013-03-08  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66639         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_pack): Rename to
66640         default_ldbl_pack and using as default implementation.
66641         (ldbl_unpack): Rename to default_ldbl_unpack and using as default
66642         implementation.
66643         * sysdeps/powerpc/fpu/math_ldbl.h (ldbl_extract_mantissa): Remove
66644         redundant definition.
66645         (ldbl_insert_mantissa): Likewise.
66646         (ldbl_canonicalize): Likewise.
66647         (ldbl_nearbyint): Likewise.
66648         (ldbl_pack): Rename to ldbl_pack_ppc.
66649         (ldbl_unpack): Rename to ldbl_unpack_ppc.
66650         * sysdeps/unix/sysv/linux/powerpc/Implies: Remove file.
66651         * sysdeps/powerpc/Implies: Add ieee754/ldbl-opt after ieee754/ldbl-128ibm.
66653 2013-03-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
66655         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Move file...
66656         * sysdeps/powerpc/power4/fpu/mpa.c: ... here.
66657         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile: Move file...
66658         * sysdeps/powerpc/power4/fpu/Makefile: ... here.
66659         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Remove file.
66660         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile: Remove file.
66661         * sysdeps/powerpc/powerpc32/power4/Implies: New file.
66662         * sysdeps/powerpc/powerpc64/power4/Implies: New file.
66664 2013-03-07  Andreas Jaeger  <aj@suse.de>
66666         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
66667         bits/mman-linux.h.
66669 2013-03-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
66671         * sysdeps/ieee754/dbl-64/slowexp.c [!USE_LONG_DOUBLE_FOR_MP]:
66672         Include mpa.h and declare __MPEXP.
66673         [USE_LONG_DOUBLE_FOR_MP] (__slowexp): Call __IEEE754_EXPL.
66674         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
66675         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
66676         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Remove.
66677         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
66678         (CPPFLAGS-slowexp.c): Define USE_LONG_DOUBLE_FOR_MP.
66679         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Remove.
66681         * sysdeps/ieee754/dbl-64/slowpow.c [USE_LONG_DOUBLE_FOR_MP]
66682         (__slowpow): Use long double EXPL and LOGL functions to
66683         compute POW.
66684         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile
66685         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
66686         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Remove.
66687         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile
66688         (CPPFLAGS-slowpow.c): Define USE_LONG_DOUBLE_FOR_MP.
66689         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Remove.
66691         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Use
66692         intermediate variable to calculate exponent.
66693         (__sqr): Likewise.
66694         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
66695         Likewise.
66696         (__sqr): Likewise.
66698         * sysdeps/ieee754/dbl-64/mpa.c [!NO__MUL]: Define __mul.
66699         [!NO__SQR]: Define __sqr.
66700         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: define NO__MUL
66701         and NO__SQR.  Remove all code except __mul and __sqr.  Include
66702         sysdeps/ieee754/dbl-64/mpa.c.
66703         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
66705         [BZ #12723]
66706         * posix/Makefile (tests): Add tst-pathconf.
66707         * posix/tst-pathconf.c: New test case.
66708         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Remove
66709         _PC_PIPE_BUF.
66710         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Likewise.
66712 2013-03-06  Patsy Franklin  <pfrankli@redhat.com>
66714         * io/fcntl.h: Added a comment about AT_EACCESS and AT_REMOVEDIR.
66716 2013-03-06  Andreas Jaeger  <aj@suse.de>
66718         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_ANONYMOUS): Allow
66719         definition via __MAP_ANONYMOUS.
66721         * sysdeps/unix/sysv/linux/s390/bits/mman.h (MAP_GROWSUP): Remove,
66722         it's not part of Linux headers.
66724         * sysdeps/unix/sysv/linux/bits/mman-linux.h (MAP_HUGE_SHIFT): Define.
66725         (MAP_HUGE_MASK): Define.
66727         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h (PTRACE_O_EXIT_KILL):
66728         Define.
66729         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
66730         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h (PTRACE_O_EXIT_KILL):
66731         Define.
66732         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
66733         * sysdeps/unix/sysv/linux/sys/ptrace.h (PTRACE_O_EXIT_KILL):
66734         Define.
66735         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
66736         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h (PTRACE_O_EXITKILL):
66737         Define.
66738         (PTRACE_O_MASK): Adjust for PTRACE_O_EXITKILL.
66740         * sysdeps/unix/sysv/linux/x86/bits/msq.h (MSG_COPY): Likewise.
66741         * sysdeps/unix/sysv/linux/generic/bits/msq.h (MSG_COPY): Define.
66742         * sysdeps/unix/sysv/linux/powerpc/bits/msq.h (MSG_COPY): Likewise.
66743         * sysdeps/unix/sysv/linux/bits/msq.h (MSG_COPY): Likewise.
66744         * sysdeps/unix/sysv/linux/s390/bits/msq.h (MSG_COPY): Likewise.
66745         * sysdeps/unix/sysv/linux/sparc/bits/msq.h (MSG_COPY): Define.
66747         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
66748         Handle f2fs.
66750         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
66751         Handle f2fs and efivarfs.
66753         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Handle
66754         f2fs.
66756         * sysdeps/unix/sysv/linux/linux_fsinfo.h (F2FS_SUPER_MAGIC): Add.
66757         (EFIVARFS_MAGIC): Add.
66758         (F2FS_LINK_MAX): Add.
66760 2013-03-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
66762         * stdio-common/vfprintf.c: Replace __builtin_expect with
66763         __glibc_unlikely.
66765 2013-03-06  Joseph Myers  <joseph@codesourcery.com>
66767         [BZ #13550]
66768         * sysdeps/generic/bp-sym.h: Remove file.
66769         * sysdeps/powerpc/powerpc64/bp-asm.h: Likewise.
66770         * sysdeps/powerpc/powerpc64/__longjmp-common.S: Don't include
66771         <bp-sym.h> and <bp-asm.h>.
66772         (__longjmp): Don't use BP_SYM.
66773         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Don't include <bp-sym.h>
66774         and <bp-asm.h>.
66775         (memcpy): Don't use BP_SYM.
66776         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Don't include
66777         <bp-sym.h> and <bp-asm.h>.
66778         (memcpy): Don't use BP_SYM.
66779         * sysdeps/powerpc/powerpc64/memcpy.S: Don't include <bp-sym.h> and
66780         <bp-asm.h>.
66781         (memcpy): Don't use BP_SYM.
66782         * sysdeps/powerpc/powerpc64/memset.S: Don't include <bp-sym.h> and
66783         <bp-asm.h>.
66784         (memset): Don't use BP_SYM.
66785         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
66786         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
66787         (__bzero): Don't use BP_SYM.
66788         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
66789         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
66790         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Don't include
66791         <bp-sym.h> and <bp-asm.h>.
66792         (memcmp): Don't use BP_SYM.  Remove comment about bounded
66793         pointers.
66794         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Don't include
66795         <bp-sym.h> and <bp-asm.h>.
66796         (memcpy): Don't use BP_SYM.
66797         * sysdeps/powerpc/powerpc64/power4/memset.S: Don't include
66798         <bp-sym.h> and <bp-asm.h>.
66799         (memset): Don't use BP_SYM.
66800         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
66801         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
66802         (__bzero): Don't use BP_SYM.
66803         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
66804         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
66805         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Don't include
66806         <bp-sym.h> and <bp-asm.h>.
66807         (strncmp): Don't use BP_SYM.  Remove comment about bounded
66808         pointers.
66809         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Don't include
66810         <bp-sym.h> and <bp-asm.h>.
66811         (memcpy): Don't use BP_SYM.
66812         * sysdeps/powerpc/powerpc64/power6/memset.S: Don't include
66813         <bp-sym.h> and <bp-asm.h>.
66814         (memset): Don't use BP_SYM.
66815         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
66816         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
66817         (__bzero): Don't use BP_SYM.
66818         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
66819         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
66820         * sysdeps/powerpc/powerpc64/power7/memchr.S: Don't include
66821         <bp-sym.h> and <bp-asm.h>.
66822         (__memchr): Don't use BP_SYM.
66823         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Don't include
66824         <bp-sym.h> and <bp-asm.h>.
66825         (memcmp): Don't use BP_SYM.  Remove comment about bounded
66826         pointers.
66827         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Don't include
66828         <bp-sym.h> and <bp-asm.h>.
66829         (memcpy): Don't use BP_SYM.
66830         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: Don't include
66831         <bp-sym.h> and <bp-asm.h>.
66832         (__mempcpy): Don't use BP_SYM.
66833         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Don't include
66834         <bp-sym.h> and <bp-asm.h>.
66835         (__memrchr): Don't use BP_SYM.
66836         * sysdeps/powerpc/powerpc64/power7/memset.S: Don't include
66837         <bp-sym.h> and <bp-asm.h>.
66838         (memset): Don't use BP_SYM.
66839         (__bzero): Likewise.
66840         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: Don't include
66841         <bp-sym.h> and <bp-asm.h>.
66842         (__rawmemchr): Don't use BP_SYM.
66843         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Don't include
66844         <bp-sym.h> and <bp-asm.h>.
66845         (__STRCMP): Don't use BP_SYM.
66846         * sysdeps/powerpc/powerpc64/power7/strchr.S: Don't include
66847         <bp-sym.h> and <bp-asm.h>.
66848         (strchr): Don't use BP_SYM.
66849         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: Don't include
66850         <bp-sym.h> and <bp-asm.h>.
66851         (__strchrnul): Don't use BP_SYM.
66852         * sysdeps/powerpc/powerpc64/power7/strlen.S: Don't include
66853         <bp-sym.h> and <bp-asm.h>.
66854         (strlen): Don't use BP_SYM.
66855         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Don't include
66856         <bp-sym.h> and <bp-asm.h>.
66857         (strncmp): Don't use BP_SYM.  Remove comment about bounded
66858         pointers.
66859         * sysdeps/powerpc/powerpc64/power7/strnlen.S: Don't include
66860         <bp-sym.h> and <bp-asm.h>.
66861         (__strnlen): Don't use BP_SYM.
66862         * sysdeps/powerpc/powerpc64/setjmp-common.S: Don't include
66863         <bp-sym.h> and <bp-asm.h>.
66864         (__GI__setjmp): Don't use BP_SYM.
66865         (_setjmp): Likewise.
66866         (__sigsetjmp): Likewise.
66867         * sysdeps/powerpc/powerpc64/start.S: Don't include "bp-sym.h".
66868         (L(start_addresses)): Don't use BP_SYM.
66869         (_start): Likewise.
66870         * sysdeps/powerpc/powerpc64/stpcpy.S: Don't include <bp-sym.h> and
66871         <bp-asm.h>.
66872         (__stpcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW,
66873         STORE_RETURN_BOUNDS, CHECK_BOUNDS_HIGH and STORE_RETURN_VALUE.
66874         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
66875         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
66876         * sysdeps/powerpc/powerpc64/strchr.S: Don't include <bp-sym.h> and
66877         <bp-asm.h>.
66878         (strchr): Don't use BP_SYM, CHECK_BOUNDS_LOW, STORE_RETURN_BOUNDS,
66879         CHECK_BOUNDS_HIGH_RTN and STORE_RETURN_VALUE.  Remove comment
66880         about bounded pointers.
66881         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
66882         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
66883         * sysdeps/powerpc/powerpc64/strcmp.S: Don't include <bp-sym.h> and
66884         <bp-asm.h>.
66885         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
66886         about bounded pointers.  Remove GKM FIXME comments.
66887         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
66888         * sysdeps/powerpc/powerpc64/strcpy.S: Don't include <bp-sym.h> and
66889         <bp-asm.h>.
66890         (strcpy): Don't use BP_SYM, CHECK_BOUNDS_LOW and
66891         STORE_RETURN_BOUNDS.  Remove comment about bounded pointers.
66892         Remove GKM FIXME comments.
66893         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
66894         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
66895         * sysdeps/powerpc/powerpc64/strlen.S: Don't include <bp-sym.h> and
66896         <bp-asm.h>.
66897         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove comment
66898         about bounded pointers.  Remove GKM FIXME comment.
66899         * sysdeps/powerpc/powerpc64/strncmp.S: Don't include <bp-sym.h>
66900         and <bp-asm.h>.
66901         (strncmp): Don't use BP_SYM.  Remove comment about bounded
66902         pointers.
66903         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S: Don't include
66904         <bp-sym.h> and <bp-asm.h>.
66905         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
66906         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S: Don't include
66907         <bp-sym.h> and <bp-asm.h>.
66908         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
66909         comment.
66911 2013-03-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
66913         * stdio-common/vfprintf.c (vfprintf): Check malloc return; don't
66914         call free(NULL).
66916 2013-03-05  David S. Miller  <davem@davemloft.net>
66918         * po/es.po: Update from translation team.
66920 2013-03-05  Andreas Jaeger  <aj@suse.de>
66922         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Include
66923         <bits/mman-linux.h>.
66924         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
66925         is fine.
66926         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Move include of
66927         <bits/mman-linux.h> to end of file.
66928         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
66929         is fine.
66930         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Move include of
66931         <bits/mman-linux.h> to end of file.
66932         (MCL_CURRENT, MCL_FUTURE): Do not define here, the generic value
66933         is fine.
66934         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Move include of
66935         <bits/mman-linux.h> to end of file.
66937         * sysdeps/unix/sysv/linux/bits/mman-linux.h [!MCL_CURRENT]
66938         (MCL_CURRENT, MCL_FUTURE): Define here.
66940 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66942         [BZ #15232]
66943         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Use
66944         attribute_hidden.
66945         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
66947 2013-03-05  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
66949         * sysdeps/unix/sysv/linux/s390/s390-32/getcontext.S: Set the
66950         fourth parameter needed for rt_sigprocmask syscall.
66951         * sysdeps/unix/sysv/linux/s390/s390-32/setcontext.S:
66952         * sysdeps/unix/sysv/linux/s390/s390-32/swapcontext.S: Likewise.
66953         * sysdeps/unix/sysv/linux/s390/s390-64/getcontext.S: Likewise.
66954         * sysdeps/unix/sysv/linux/s390/s390-64/setcontext.S: Likewise.
66955         * sysdeps/unix/sysv/linux/s390/s390-64/swapcontext.S: Likewise.
66956         * sysdeps/unix/sysv/linux/s390/ucontext_i.sym: Define _NSIG8.
66958 2013-03-04  Joseph Myers  <joseph@codesourcery.com>
66960         [BZ #13550]
66961         * sysdeps/powerpc/powerpc32/power4/strncmp.S (strncmp): Remove
66962         comment about bounded pointers.
66963         * sysdeps/powerpc/powerpc32/power7/strncmp.S (strncmp): Likewise.
66964         * sysdeps/powerpc/powerpc32/strncmp.S (strncmp): Likewise.
66966 2013-03-04  Andreas Jaeger  <aj@suse.de>
66968         * sysdeps/unix/sysv/linux/bits/mman-linux.h: New file, with Linux
66969         common definitions.
66971         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Remove all defines
66972         provided by bits/mman-linux.h and include <bits/mman-linux.h>.
66973         * sysdeps/unix/sysv/linux/x86/bits/mman.h: Likewise.
66974         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
66975         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
66976         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
66978 2013-03-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
66980         [BZ #15055]
66981         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c (__ieee754_acoshl): Use
66982         __ieee754_sqrl instead of __sqrl.
66984 2013-03-01  Joseph Myers  <joseph@codesourcery.com>
66986         * sysdeps/powerpc/fpu/fpu_control.h: Move to ...
66987         * sysdeps/powerpc/fpu_control.h: ... here.
66988         * sysdeps/powerpc/fpu/bits/fenvinline.h: Move to ...
66989         * sysdeps/powerpc/bits/fenvinline.h: ... here.
66990         * sysdeps/powerpc/fpu/bits/mathinline.h: Move to ...
66991         * sysdeps/powerpc/bits/mathinline.h: ... here.
66993 2013-03-01  Roland McGrath  <roland@hack.frob.com>
66995         * elf/dl-hwcaps.c (_dl_important_hwcaps):
66996         Change [NEED_DL_SYSINFO || NEED_DL_SYSINFO_DSO] conditionals
66997         to just [NEED_DL_SYSINFO_DSO].
66998         * elf/dl-support.c: Likewise.
66999         * elf/dl-sysdep.c (_dl_sysdep_start): Likewise.
67000         * elf/rtld.c (dl_main): Likewise.
67001         * elf/setup-vdso.h (setup_vdso): Likewise.
67002         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Likewise.
67003         * sysdeps/unix/sysv/linux/dl-sysdep.c
67004         (_dl_discover_osversion): Likewise.
67006 2013-03-01  Carlos O'Donell  <carlos@redhat.com>
67008         * csu/libc-start.c (__pthread_initialize_minimal): Revert last change.
67009         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
67011 2013-03-01  Siddhesh Poyarekar  <siddhesh@redhat.com>
67013         * NEWS: Mention libm performance improvements and non-x86 PI
67014         futex support.
67016         * csu/libc-start.c (__pthread_initialize_minimal): Change
67017         function arguments.
67018         * csu/libc-tls.c (__pthread_initialize_minimal): Likewise.
67020 2013-02-28  Joseph Myers  <joseph@codesourcery.com>
67022         [BZ #13550]
67023         * sysdeps/powerpc/powerpc32/bp-asm.h: Remove file.
67024         * sysdeps/powerpc/powerpc32/__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/a2/memcpy.S: Don't include <bp-sym.h>
67028         and <bp-asm.h>.
67029         (memcpy): Don't use BP_SYM.
67030         * sysdeps/powerpc/powerpc32/add_n.S: Don't include <bp-sym.h> and
67031         <bp-asm.h>.
67032         (__mpn_add_n): Don't use BP_SYM.
67033         (__mpn_add_n) [__BOUNDED_POINTERS_]: Remove conditional code.
67034         * sysdeps/powerpc/powerpc32/addmul_1.S: Don't include <bp-sym.h>
67035         and <bp-asm.h>.
67036         (__mpn_addmul_1): Don't use BP_SYM.
67037         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
67038         * sysdeps/powerpc/powerpc32/bsd-_setjmp.S: Don't include
67039         <bp-sym.h>.
67040         (_setjmp): Don't use BP_SYM.
67041         (__novmx_setjmp): Likewise.
67042         (__GI__setjmp): Likewise.
67043         (__vmx_setjmp): Likewise.
67044         * sysdeps/powerpc/powerpc32/bsd-setjmp.S: Don't include
67045         <bp-sym.h>.
67046         * sysdeps/powerpc/powerpc32/bzero.S: Don't include <bp-sym.h>.
67047         (__bzero): Don't use BP_SYM.
67048         (__bzero) [__BOUNDED_POINTERS__]: Remove conditional code.
67049         (__bzero) [!__BOUNDED_POINTERS__]: Make code unconditional.
67050         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Don't include
67051         <bp-sym.h> and <bp-asm.h>.
67052         (memcpy): Don't use BP_SYM.
67053         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S: Don't include
67054         <bp-sym.h> and <bp-asm.h>.
67055         (__longjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
67056         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S: Don't include
67057         <bp-sym.h> and <bp-asm.h>.
67058         (__sigsetjmp): Don't use BP_SYM and CHECK_BOUNDS_BOTH_WIDE_LIT.
67059         * sysdeps/powerpc/powerpc32/lshift.S: Don't include <bp-sym.h> and
67060         <bp-asm.h>.
67061         (__mpn_lshift): Don't use BP_SYM.
67062         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
67063         * sysdeps/powerpc/powerpc32/memset.S: Don't include <bp-sym.h> and
67064         <bp-asm.h>.
67065         (memset): Don't use BP_SYM.
67066         (memset) [__BOUNDED_POINTERS__]: Remove conditional code.
67067         (memset) [!__BOUNDED_POINTERS__]: Make code unconditional.
67068         * sysdeps/powerpc/powerpc32/mul_1.S: Don't include <bp-sym.h> and
67069         <bp-asm.h>.
67070         (__mpn_mul_1): Don't use BP_SYM.
67071         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
67072         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Don't include
67073         <bp-sym.h> and <bp-asm.h>.
67074         (memcmp): Don't use BP_SYM.
67075         * sysdeps/powerpc/powerpc32/power4/memcpy.S: Don't include
67076         <bp-sym.h> and <bp-asm.h>.
67077         (memcpy): Don't use BP_SYM.
67078         * sysdeps/powerpc/powerpc32/power4/memset.S: Don't include
67079         <bp-sym.h> and <bp-asm.h>.
67080         (memset): Don't use BP_SYM.
67081         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't include
67082         <bp-sym.h> and <bp-asm.h>.
67083         (strncmp): Don't use BP_SYM.
67084         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Don't include
67085         <bp-sym.h> and <bp-asm.h>.
67086         (memcpy): Don't use BP_SYM.
67087         * sysdeps/powerpc/powerpc32/power6/memset.S: Don't include
67088         <bp-sym.h> and <bp-asm.h>.
67089         (memset): Don't use BP_SYM.
67090         * sysdeps/powerpc/powerpc32/power7/memchr.S: Don't include
67091         <bp-sym.h> and <bp-asm.h>.
67092         (__memchr): Don't use BP_SYM.
67093         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Don't include
67094         <bp-sym.h> and <bp-asm.h>.
67095         (memcmp): Don't use BP_SYM.
67096         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Don't include
67097         <bp-sym.h> and <bp-asm.h>.
67098         (memcpy): Don't use BP_SYM.
67099         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: Don't include
67100         <bp-sym.h> and <bp-asm.h>.
67101         (__mempcpy): Don't use BP_SYM.
67102         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Don't include
67103         <bp-sym.h> and <bp-asm.h>.
67104         (__memrchr): Don't use BP_SYM.
67105         * sysdeps/powerpc/powerpc32/power7/memset.S: Don't include
67106         <bp-sym.h> and <bp-asm.h>.
67107         (memset): Don't use BP_SYM.
67108         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: Don't include
67109         <bp-sym.h> and <bp-asm.h>.
67110         (__rawmemchr): Don't use BP_SYM.
67111         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Don't include
67112         <bp-sym.h> and <bp-asm.h>.
67113         (__STRCMP): Don't use BP_SYM.
67114         * sysdeps/powerpc/powerpc32/power7/strchr.S: Don't include
67115         <bp-sym.h> and <bp-asm.h>.
67116         (strchr): Don't use BP_SYM.
67117         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: Don't include
67118         <bp-sym.h> and <bp-asm.h>.
67119         (__strchrnul): Don't use BP_SYM.
67120         * sysdeps/powerpc/powerpc32/power7/strlen.S: Don't include
67121         <bp-sym.h> and <bp-asm.h>.
67122         (strlen): Don't use BP_SYM.
67123         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Don't include
67124         <bp-sym.h> and <bp-asm.h>.
67125         (strncmp): Don't use BP_SYM.
67126         * sysdeps/powerpc/powerpc32/power7/strnlen.S: Don't include
67127         <bp-sym.h> and <bp-asm.h>.
67128         (__strnlen): Don't use BP_SYM.
67129         * sysdeps/powerpc/powerpc32/rshift.S: Don't include <bp-sym.h> and
67130         <bp-asm.h>.
67131         (__mpn_rshift): Don't use BP_SYM.
67132         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
67133         * sysdeps/powerpc/powerpc32/setjmp-common.S: Don't include
67134         <bp-sym.h> and <bp-asm.h>.
67135         (__sigsetjmp): Don't use BP_SYM.
67136         * sysdeps/powerpc/powerpc32/start.S: Don't include "bp-sym.h".
67137         (L(start_addresses)): Don't use BP_SYM.
67138         (_start): Likewise.
67139         * sysdeps/powerpc/powerpc32/stpcpy.S: Don't include <bp-sym.h> and
67140         <bp-asm.h>.
67141         (__stpcpy): Don't use BP_SYM and macros from bp-asm.h.
67142         (__stpcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
67143         (__stpcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
67144         * sysdeps/powerpc/powerpc32/strchr.S: Don't include <bp-sym.h> and
67145         <bp-asm.h>.
67146         (strchr): Don't use BP_SYM.h and macros from bp-asm.h.
67147         (strchr) [__BOUNDED_POINTERS__]: Remove conditional code.
67148         (strchr) [!__BOUNDED_POINTERS__]: Make code unconditional.
67149         * sysdeps/powerpc/powerpc32/strcmp.S: Don't include <bp-sym.h> and
67150         <bp-asm.h>.
67151         (strcmp): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
67152         comments.
67153         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
67154         * sysdeps/powerpc/powerpc32/strcpy.S: Don't include <bp-sym.h> and
67155         <bp-asm.h>.
67156         (strcpy): Don't use BP_SYM and macros from bp-asm.h.  Remove GKM
67157         FIXME comments.
67158         (strcpy) [__BOUNDED_POINTERS__]: Remove conditional code.
67159         (strcpy) [!__BOUNDED_POINTERS__]: Make code unconditional.
67160         * sysdeps/powerpc/powerpc32/strlen.S: Don't include <bp-sym.h> and
67161         <bp-asm.h>.
67162         (strlen): Don't use BP_SYM and CHECK_BOUNDS_LOW.  Remove GKM FIXME
67163         comment.
67164         * sysdeps/powerpc/powerpc32/strncmp.S: Don't include <bp-sym.h>
67165         and <bp-asm.h>.
67166         (strncmp): Don't use BP_SYM,
67167         * sysdeps/powerpc/powerpc32/sub_n.S: Don't include <bp-sym.h> and
67168         <bp-asm.h>.
67169         (__mpn_sub_n): Don't use BP_SYM.
67170         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
67171         * sysdeps/powerpc/powerpc32/submul_1.S: Don't include <bp-sym.h>
67172         and <bp-asm.h>.
67173         (__mpn_submul_1): Don't use BP_SYM.
67174         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
67175         * sysdeps/unix/sysv/linux/powerpc/powerpc32/brk.S: Don't include
67176         <bp-sym.h> and <bp-asm.h>.
67177         (__brk): Don't use BP_SYM and DISCARD_BOUNDS.
67178         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S: Don't include
67179         <bp-sym.h> and <bp-asm.h>.
67180         (__clone): Don't use BP_SYM and DISCARD_BOUNDS.  Remove GKM FIXME
67181         comment.
67183 2013-02-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
67185         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (add_magnitudes):
67186         Use ZK to minimize writes to Z.
67187         (sub_magnitudes): Simplify code a bit.
67188         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (add_magnitudes):
67189         Use ZK to minimize writes to Z.
67190         (sub_magnitudes): Simplify code a bit.
67192 2013-02-27  Roland McGrath  <roland@hack.frob.com>
67194         * csu/gmon-start.c: Add special exception to license text.
67196 2013-02-27  Richard Henderson  <rth@redhat.com>
67198         * scripts/config.guess: Update from config.git.
67199         * scripts/config.sub: Likewise.
67201 2013-02-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
67203         * sysdeps/ieee754/dbl-64/mpsqrt.c: Reformat.
67205         * sysdeps/ieee754/dbl-64/mpatan2.c: Reformat.
67207         * sysdeps/ieee754/dbl-64/mpatan.c: Reformat.
67209         * sysdeps/ieee754/dbl-64/mptan.c: Reformat.
67211         * sysdeps/ieee754/dbl-64/mplog.c: Reformat.
67213 2013-02-26  Roland McGrath  <roland@hack.frob.com>
67215         * Makeconfig (%.v.i, %.v): Move these pattern rules outside of
67216         [$(build-shared = yes].
67218 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
67220         * sysdeps/ieee754/dbl-64/mpa.c: Include alloca.h.
67221         (__mul): Reduce iterations for calculating mantissa.
67223         * sysdeps/ieee754/dbl-64/sincos32.c (__c32): Use MPONE and
67224         MPTWO.
67225         (__mpranred): Likewise.
67227         [BZ #15160]
67228         * malloc/memusagestat.c (main): Draw graphs for heap and stack
67229         only if MAXSIZE_HEAP and MAXSIZE_STACK are non-zero.
67231 2013-02-26  Paul Eggert  <eggert@cs.ucla.edu>
67233         * posix/regex_internal.h [__GNUC__ < 3 + (__GNUC_MINOR__ < 1]:
67234         Define __attribute__.
67236 2013-02-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
67238         * locale/elem-hash.h (elem_hash): Mark as pure and possibly
67239         unused.
67240         * posix/regex_internal.h (__attribute): Remove.
67241         [!_LIBC && __i386__]: Use __attribute__ instead of __attribute.
67242         (re_string_context_at): Likewise.
67243         (bitset_not): Use __attribute__ and mark function as possibly
67244         unused.
67245         (bitset_merge): Likewise.
67246         (bitset_mask): Likewise.
67247         (re_string_char_size_at): Likewise.
67248         (re_string_wchar_at): Likewise.
67249         (re_string_elem_size_at): Likewise.
67251 2013-02-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
67253         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Remove commented
67254         code.
67255         (cc32): Likewise.
67257         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Use long instead of int.
67258         (__acr): Likewise.
67259         (__cpy): Likewise.
67260         (norm): Likewise.
67261         (denorm): Likewise.
67262         (__dbl_mp): Likewise.
67263         (add_magnitudes): Likewise.
67264         (sub_magnitudes): Likewise.
67265         (__mul): Likewise.
67266         (__inv): Likewise.
67268         * sysdeps/ieee754/dbl-64/slowexp.c: Reformat in GNU coding
67269         style.
67271         * sysdeps/ieee754/dbl-64/slowpow.c: Reformat in GNU coding
67272         style.
67274         * sysdeps/ieee754/dbl-64/slowexp.c (__slowexp): Remove commented
67275         code.
67277         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mp_dbl): Sync
67278         up changes with default code.
67279         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mp_dbl):
67280         Likewise.
67282 2013-02-24  Allan McRae  <allan@archlinux.org>
67284         * manual/socket.texi (The Internet Namespace): Order menu items
67285         to match that in the file.
67287         * manual/libc-texinfo.sh: Use @detailmenu around the detailed
67288         node listing of the info page menu.
67290 2013-02-21  Joseph Myers  <joseph@codesourcery.com>
67292         [BZ #13550]
67293         * sysdeps/i386/bp-asm.h: Remove file.
67294         * sysdeps/i386/add_n.S: Do not include "bp-sym.h" and "bp-asm.h".
67295         (PARMS): Do not use macros from bp-asm.h.
67296         (S1): Likewise.
67297         (S2): Likewise.
67298         (SIZE): Likewise.
67299         (__mpn_add_n): Do not use BP_SYM
67300         * sysdeps/i386/addmul_1.S: Do not include "bp-sym.h" and
67301         "bp-asm.h".
67302         (PARMS): Do not use macros from bp-asm.h.
67303         (S1): Likewise.
67304         (SIZE): Likewise.
67305         (__mpn_addmul_1): Do not use BP_SYM
67306         * sysdeps/i386/bsd-_setjmp.S: Do not include "bp-sym.h" and
67307         "bp-asm.h".
67308         (PARMS): Do not use macros from bp-asm.h.
67309         (SIGMSK): Likewise.
67310         (_setjmp): Likewise.  Do not use BP_SYM.
67311         * sysdeps/i386/bsd-setjmp.S: Do not include "bp-sym.h" and
67312         "bp-asm.h".
67313         (PARMS): Do not use macros from bp-asm.h.
67314         (SIGMSK): Likewise.
67315         (setjmp): Likewise.  Do not use BP_SYM.
67316         * sysdeps/i386/fpu/s_frexp.S: Do not include "bp-sym.h" and
67317         "bp-asm.h".
67318         (PARMS): Do not use macros from bp-asm.h.
67319         (__frexp): Do not use BP_SYM.
67320         (frexp): Likewise.
67321         * sysdeps/i386/fpu/s_frexpf.S: Do not include "bp-sym.h" and
67322         "bp-asm.h".
67323         (PARMS): Do not use macros from bp-asm.h.
67324         (__frexpf): Do not use BP_SYM.
67325         (frexpf): Likewise.
67326         * sysdeps/i386/fpu/s_frexpl.S: Do not include "bp-sym.h" and
67327         "bp-asm.h".
67328         (PARMS): Do not use macros from bp-asm.h.
67329         (__frexpl): Do not use BP_SYM.
67330         (frexpl): Likewise.
67331         * sysdeps/i386/fpu/s_remquo.S: Do not include "bp-sym.h" and
67332         "bp-asm.h".
67333         (PARMS): Do not use macros from bp-asm.h.
67334         (__remquo): Do not use BP_SYM.
67335         (remquo): Likewise.
67336         * sysdeps/i386/fpu/s_remquof.S: Do not include "bp-sym.h" and
67337         "bp-asm.h".
67338         (PARMS): Do not use macros from bp-asm.h.
67339         (__remquof): Do not use BP_SYM.
67340         (remquof): Likewise.
67341         * sysdeps/i386/fpu/s_remquol.S: Do not include "bp-sym.h" and
67342         "bp-asm.h".
67343         (PARMS): Do not use macros from bp-asm.h.
67344         (__remquol): Do not use BP_SYM.
67345         (remquol): Likewise.
67346         * sysdeps/i386/i486/strcat.S: Do not include "bp-sym.h" and
67347         "bp-asm.h".
67348         (PARMS): Do not use macros from bp-asm.h.
67349         (DEST): Likewise.
67350         (SRC): Likewise.
67351         (strcat): Remove GKM FIXME comment.  Do not use BP_SYM.
67352         * sysdeps/i386/i486/strlen.S: Do not include "bp-sym.h" and
67353         "bp-asm.h".
67354         (PARMS): Do not use macros from bp-asm.h.
67355         (strlen): Do not use BP_SYM.
67356         * sysdeps/i386/i586/add_n.S: Do not include "bp-sym.h" and
67357         "bp-asm.h".
67358         (PARMS): Do not use macros from bp-asm.h.
67359         (S1): Likewise.
67360         (S2): Likewise.
67361         (SIZE): Likewise.
67362         (__mpn_add_n): Do not use BP_SYM.
67363         * sysdeps/i386/i586/addmul_1.S: Do not include "bp-sym.h" and
67364         "bp-asm.h".
67365         (PARMS): Do not use macros from bp-asm.h.
67366         (S1): Likewise.
67367         (SIZE): Likewise.
67368         (__mpn_addmul_1): Do not use BP_SYM.
67369         * sysdeps/i386/i586/bzero.S (__bzero): Do not use BP_SYM in
67370         weak_alias.
67371         (bzero): Likewise.
67372         * sysdeps/i386/i586/lshift.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_lshift): Do not use BP_SYM.
67378         * sysdeps/i386/i586/memcpy.S: Do not include "bp-sym.h" and
67379         "bp-asm.h".
67380         (PARMS): Do not use macros from bp-asm.h.
67381         (DEST): Likewise.
67382         (SRC): Likewise.
67383         (LEN): Likewise.
67384         (memcpy): Likewise.  Do not use BP_SYM.
67385         * sysdeps/i386/i586/mempcpy.S (__mempcpy): Do not use BP_SYM in
67386         libc_hidden_def and weak_alias.
67387         (mempcpy): Do not use BP_SYM in weak_alias.
67388         * sysdeps/i386/i586/memset.S: Do not include "bp-sym.h" and
67389         "bp-asm.h".
67390         (PARMS): Do not use macros from bp-asm.h.
67391         (DEST): Likewise.
67392         (LEN): Likewise.
67393         [!BZERO_P] (CHR): Likewise.
67394         (memset): Likewise.  Do not use BP_SYM.
67395         * sysdeps/i386/i586/mul_1.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         (SIZE): Likewise.
67400         (__mpn_mul_1): Do not use BP_SYM.
67401         * sysdeps/i386/i586/rshift.S: Do not include "bp-sym.h" and
67402         "bp-asm.h".
67403         (PARMS): Do not use macros from bp-asm.h.
67404         (S): Likewise.
67405         (SIZE): Likewise.
67406         (__mpn_rshift): Do not use BP_SYM.
67407         * sysdeps/i386/i586/strchr.S: Do not include "bp-sym.h" and
67408         "bp-asm.h".
67409         (PARMS): Do not use macros from bp-asm.h.
67410         (STR): Likewise.
67411         (CHR): Likewise.
67412         (strchr): Likewise.  Do not use BP_SYM.
67413         (index): Do not use BP_SYM in weak_alias.
67414         * sysdeps/i386/i586/strcpy.S: Do not include "bp-sym.h" and
67415         "bp-asm.h".
67416         (PARMS): Do not use macros from bp-asm.h.
67417         (DEST): Likewise.
67418         (SRC): Likewise.
67419         (STRCPY): Likewise.  Remove GKM FIXME comment.  Do not use BP_SYM.
67420         * sysdeps/i386/i586/strlen.S: Do not include "bp-sym.h" and
67421         "bp-asm.h".
67422         (PARMS): Do not use macros from bp-asm.h.
67423         (strlen): Do not use BP_SYM.
67424         * sysdeps/i386/i586/sub_n.S: Do not include "bp-sym.h" and
67425         "bp-asm.h".
67426         (PARMS): Do not use macros from bp-asm.h.
67427         (S1): Likewise.
67428         (S2): Likewise.
67429         (SIZE): Likewise.
67430         (__mpn_sub_n): Do not use BP_SYM.
67431         * sysdeps/i386/i586/submul_1.S: Do not include "bp-sym.h" and
67432         "bp-asm.h".
67433         (PARMS): Do not use macros from bp-asm.h.
67434         (S1): Likewise.
67435         (SIZE): Likewise.
67436         (__mpn_submul_1): Do not use BP_SYM.
67437         * sysdeps/i386/i686/add_n.S: Do not include "bp-sym.h" and
67438         "bp-asm.h".
67439         (PARMS): Do not use macros from bp-asm.h.
67440         (S1): Likewise.
67441         (S2): Likewise.
67442         (SIZE): Likewise.
67443         (__mpn_add_n): Do not use BP_SYM.
67444         * sysdeps/i386/i686/bzero.S (__bzero): Do not use BP_SYM in
67445         weak_alias.
67446         (bzero): Likewise.
67447         * sysdeps/i386/i686/memcmp.S: Do not include "bp-sym.h" and
67448         "bp-asm.h".
67449         (PARMS): Do not use macros from bp-asm.h.
67450         (BLK2): Likewise.
67451         (LEN): Likewise.
67452         (memcmp): Do not use BP_SYM.
67453         (bcmp): Do not use BP_SYM in weak_alias.
67454         * sysdeps/i386/i686/memcpy.S: Do not include "bp-sym.h" and
67455         "bp-asm.h".
67456         (PARMS): Do not use macros from bp-asm.h.
67457         (DEST): Likewise.
67458         (SRC): Likewise.
67459         (LEN): Likewise.
67460         (memcpy): Likewise.  Do not use BP_SYM.
67461         * sysdeps/i386/i686/memmove.S: Do not include "bp-sym.h" and
67462         "bp-asm.h".
67463         (PARMS): Do not use macros from bp-asm.h.
67464         (DEST): Likewise.
67465         (SRC): Likewise.
67466         (LEN): Likewise.
67467         (memmove): Likewise.  Do not use BP_SYM.
67468         * sysdeps/i386/i686/mempcpy.S: Do not include "bp-sym.h" and
67469         "bp-asm.h".
67470         (PARMS): Do not use macros from bp-asm.h.
67471         (DEST): Likewise.
67472         (SRC): Likewise.
67473         (LEN): Likewise.
67474         (__mempcpy): Likewise.  Do not use BP_SYM.
67475         (mempcpy): Do not use BP_SYM in weak_alias.
67476         * sysdeps/i386/i686/memset.S: Do not include "bp-sym.h" and
67477         "bp-asm.h".
67478         (PARMS): Do not use macros from bp-asm.h.
67479         (DEST): Likewise.
67480         (LEN): Likewise.
67481         [!BZERO_P] (CHR): Likewise.
67482         (memset): Likewise.  Do not use BP_SYM.
67483         * sysdeps/i386/i686/strcmp.S: Do not include "bp-sym.h" and
67484         "bp-asm.h".
67485         (PARMS): Do not use macros from bp-asm.h.
67486         (STR2): Likewise.
67487         (strcmp): Do not use BP_SYM.
67488         * sysdeps/i386/i686/strtok.S: Do not include "bp-sym.h" and
67489         "bp-asm.h".
67490         (PARMS): Do not use macros from bp-asm.h.
67491         (STR): Likewise.
67492         (DELIM): Likewise.
67493         [USE_AS_STRTOK_R] (SAVE): Likewise.
67494         (FUNCTION): Likewise.  Do not use BP_SYM.
67495         * sysdeps/i386/i686/strtok_r.S (__strtok_r): Do not use BP_SYM in
67496         aliases.
67497         (strtok_r): Likewise.
67498         (__GI___strtok_r): Likewise.
67499         * sysdeps/i386/lshift.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_lshift): Do not use BP_SYM.
67504         * sysdeps/i386/memchr.S: Do not include "bp-sym.h" and "bp-asm.h".
67505         (PARMS): Do not use macros from bp-asm.h.
67506         (STR): Likewise.
67507         (CHR): Likewise.
67508         (__memchr): Do not use BP_SYM.
67509         (memchr): Do not use BP_SYM in weak_alias.
67510         * sysdeps/i386/memcmp.S: Do not include "bp-sym.h" and "bp-asm.h".
67511         (PARMS): Do not use macros from bp-asm.h.
67512         (BLK2): Likewise.
67513         (LEN): Likewise.
67514         (memcmp): Do not use BP_SYM.
67515         (bcmp): Do not use BP_SYM in weak_alias.
67516         * sysdeps/i386/mul_1.S: Do not include "bp-sym.h" and "bp-asm.h".
67517         (PARMS): Do not use macros from bp-asm.h.
67518         (S1): Likewise.
67519         (SIZE): Likewise.
67520         (__mpn_mul_1): Do not use BP_SYM.
67521         * sysdeps/i386/rawmemchr.S: Do not include "bp-sym.h" and
67522         "bp-asm.h".
67523         (PARMS): Do not use macros from bp-asm.h.
67524         (STR): Likewise.
67525         (CHR): Likewise.
67526         (__rawmemchr): Do not use BP_SYM.
67527         (rawmemchr): Do not use BP_SYM in weak_alias.
67528         * sysdeps/i386/rshift.S: Do not include "bp-sym.h" and "bp-asm.h".
67529         (PARMS): Do not use macros from bp-asm.h.
67530         (S): Likewise.
67531         (SIZE): Likewise.
67532         (__mpn_rshift): Do not use BP_SYM.
67533         * sysdeps/i386/setjmp.S: Do not include "bp-sym.h" and "bp-asm.h".
67534         (PARMS): Do not use macros from bp-asm.h.
67535         (SIGMSK): Likewise.
67536         (__sigsetjmp): Likewise.  Do not use BP_SYM.
67537         * sysdeps/i386/start.S: Do not include "bp-sym.h".
67538         (_start): Do not use BP_SYM.
67539         * sysdeps/i386/stpcpy.S: Do not include "bp-sym.h" and "bp-asm.h".
67540         (PARMS): Do not use macros from bp-asm.h.
67541         (DEST): Likewise.
67542         (SRC): Likewise.
67543         (__stpcpy): Likewise.  Do not use BP_SYM.
67544         (stpcpy): Do not use BP_SYM in weak_alias.
67545         * sysdeps/i386/stpncpy.S: Do not include "bp-sym.h" and
67546         "bp-asm.h".
67547         (PARMS): Do not use macros from bp-asm.h.
67548         (DEST): Likewise.
67549         (SRC): Likewise.
67550         (LEN): Likewise.
67551         (__stpncpy): Likewise.  Do not use BP_SYM.
67552         (stpncpy): Do not use BP_SYM in weak_alias.
67553         * sysdeps/i386/strchr.S: Do not include "bp-sym.h" and "bp-asm.h".
67554         (PARMS): Do not use macros from bp-asm.h.
67555         (STR): Likewise.
67556         (CHR): Likewise.
67557         (strchr): Likewise.  Do not use BP_SYM.
67558         * sysdeps/i386/strchrnul.S: Do not include "bp-sym.h" and
67559         "bp-asm.h".
67560         (PARMS): Do not use macros from bp-asm.h.
67561         (STR): Likewise.
67562         (CHR): Likewise.
67563         (__strchrnul): Likewise.  Do not use BP_SYM.
67564         (strchrnul): Do not use BP_SYM in weak_alias.
67565         * sysdeps/i386/strcspn.S: Do not include "bp-sym.h" and
67566         "bp-asm.h".
67567         (PARMS): Do not use macros from bp-asm.h.
67568         (STOP): Likewise.
67569         (strcspn): Do not use BP_SYM.
67570         * sysdeps/i386/strpbrk.S: Do not include "bp-sym.h" and
67571         "bp-asm.h".
67572         (PARMS): Do not use macros from bp-asm.h.
67573         (STR): Likewise.
67574         (STOP): Likewise.
67575         (strpbrk): Likewise.  Do not use BP_SYM.
67576         * sysdeps/i386/strrchr.S: Do not include "bp-sym.h" and
67577         "bp-asm.h".
67578         (PARMS): Do not use macros from bp-asm.h.
67579         (STR): Likewise.
67580         (CHR): Likewise.
67581         (strrchr): Likewise.  Do not use BP_SYM.
67582         * sysdeps/i386/strspn.S: Do not include "bp-sym.h" and "bp-asm.h".
67583         (PARMS): Do not use macros from bp-asm.h.
67584         (SKIP): Likewise.
67585         (strspn): Do not use BP_SYM.
67586         * sysdeps/i386/strtok.S: Do not include "bp-sym.h" and "bp-asm.h".
67587         (PARMS): Do not use macros from bp-asm.h.
67588         (STR): Likewise.
67589         (DELIM): Likewise.
67590         (SAVE): Likewise.
67591         (FUNCTION): Likewise.  Do not use BP_SYM.
67592         * sysdeps/i386/strtok_r.S (__strtok_r): Do not use BP_SYM in
67593         aliases.
67594         (strtok_r): Likewise.
67595         (__GI___strtok_r): Likewise.
67596         * sysdeps/i386/sub_n.S: Do not include "bp-sym.h" and "bp-asm.h".
67597         (PARMS): Do not use macros from bp-asm.h.
67598         (S1): Likewise.
67599         (S2): Likewise.
67600         (SIZE): Likewise.
67601         (__mpn_sub_n): Do not use BP_SYM.
67602         * sysdeps/i386/submul_1.S: Do not include "bp-sym.h" and
67603         "bp-asm.h".
67604         (PARMS): Do not use macros from bp-asm.h.
67605         (S1): Likewise.
67606         (SIZE): Likewise.
67607         (__mpn_submul_1): Do not use BP_SYM.
67608         * sysdeps/unix/i386/sysdep.S: Do not include <bp-asm.h> and
67609         <bp-sym.h>.
67610         * sysdeps/unix/sysv/linux/i386/clone.S: Do not include <bp-sym.h>
67611         and <bp-asm.h>.
67612         (PARMS): Do not use macros from bp-asm.h.
67613         (FLAGS): Likewise.
67614         (PTID): Likewise.
67615         (TLS): Likewise.
67616         (CTID): Likewise.
67617         (__clone): Do not use BP_SYM.
67618         (clone): Do not use BP_SYM in weak_alias.
67619         * sysdeps/unix/sysv/linux/i386/mmap64.S: Do not include <bp-sym.h>
67620         and <bp-asm.h>.
67621         (PARMS): Do not use macros from bp-asm.h.
67622         (LEN): Likewise.
67623         (__mmap64): Do not use BP_SYM.
67624         (mmap64): Do not use BP_SYM in weak_alias.
67625         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
67626         <bp-sym.h> and <bp-asm.h>.
67627         (PARMS): Do not use macros from bp-asm.h.
67628         (__posix_fadvise64_l64): Do not use BP_SYM.
67629         * sysdeps/unix/sysv/linux/i386/semtimedop.S
67630         (PARMS): Do not use macros from bp-asm.h.
67631         (NSOPS): Likewise.
67632         (semtimedop): Do not use BP_SYM.
67633         * sysdeps/unix/sysv/linux/i386/sysdep.h: Do not include <bp-sym.h>
67634         and <bp-asm.h>.
67636 2013-02-21  Allan McRae  <allan@archlinux.org>
67638         * manual/message.texi (Charset conversion in gettext):
67639         Move @end statement to beginning of line.
67641 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
67643         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Mark as
67644         static.
67645         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
67646         Likewise.
67648         * sysdeps/ieee754/dbl-64/mpa.c (norm): Fix whitespace.
67649         (denorm): Likewise.
67650         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (norm): Likewise.
67651         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (norm): Likewise.
67653 2013-02-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67655         * sysdeps/s390/s390-32/dl-trampoline.S (_dl_runtime_profile): Do a
67656         tail-call to the resolved function if pltexit isn't needed.
67658 2013-02-21  Siddhesh Poyarekar  <siddhesh@redhat.com>
67660         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Mark X
67661         or Y being zero as being unlikely.
67662         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul):
67663         Likewise.
67665 2013-02-20  Carlos O'Donell  <carlos@redhat.com>
67667         * manual/nss.texi (System Databases and Name Service Switch):
67668         Remove frobnicate @pxref.
67670 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
67672         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
67673         __attribute__ ((unused)) to __attribute__ ((__unused__)).
67675 2013-02-20  Petr Machata  <pmachata@redhat.com>
67677         * elf/elf.h (R_ARM_TARGET1): New macro.
67678         (R_ARM_SBREL31, R_ARM_V4BX, R_ARM_TARGET2): Likewise.
67679         (R_ARM_PREL31, R_ARM_MOVW_ABS_NC, R_ARM_MOVT_ABS): Likewise.
67680         (R_ARM_MOVW_PREL_NC, R_ARM_MOVT_PREL): Likewise.
67681         (R_ARM_THM_MOVW_ABS_NC, R_ARM_THM_MOVT_ABS): Likewise.
67682         (R_ARM_THM_MOVW_PREL_NC, R_ARM_THM_MOVT_PREL): Likewise.
67683         (R_ARM_THM_JUMP19, R_ARM_THM_JUMP6): Likewise.
67684         (R_ARM_THM_ALU_PREL_11_0, R_ARM_THM_PC12): Likewise.
67685         (R_ARM_ABS32_NOI, R_ARM_REL32_NOI): Likewise.
67686         (R_ARM_ALU_PC_G0_NC, R_ARM_ALU_PC_G0): Likewise.
67687         (R_ARM_ALU_PC_G1_NC, R_ARM_ALU_PC_G1): Likewise.
67688         (R_ARM_ALU_PC_G2, R_ARM_LDR_PC_G1, R_ARM_LDR_PC_G2): Likewise.
67689         (R_ARM_LDRS_PC_G0, R_ARM_LDRS_PC_G1): Likewise.
67690         (R_ARM_LDRS_PC_G2, R_ARM_LDC_PC_G0): Likewise.
67691         (R_ARM_LDC_PC_G1, R_ARM_LDC_PC_G2): Likewise.
67692         (R_ARM_ALU_SB_G0_NC, R_ARM_ALU_SB_G0): Likewise.
67693         (R_ARM_ALU_SB_G1_NC, R_ARM_ALU_SB_G1): Likewise.
67694         (R_ARM_ALU_SB_G2, R_ARM_LDR_SB_G0, R_ARM_LDR_SB_G1): Likewise.
67695         (R_ARM_LDR_SB_G2, R_ARM_LDRS_SB_G0): Likewise.
67696         (R_ARM_LDRS_SB_G1, R_ARM_LDRS_SB_G2): Likewise.
67697         (R_ARM_LDC_SB_G0, R_ARM_LDC_SB_G1, R_ARM_LDC_SB_G2): Likewise.
67698         (R_ARM_MOVW_BREL_NC, R_ARM_MOVT_BREL): Likewise.
67699         (R_ARM_MOVW_BREL, R_ARM_THM_MOVW_BREL_NC): Likewise.
67700         (R_ARM_THM_MOVT_BREL, R_ARM_THM_MOVW_BREL): Likewise.
67701         (R_ARM_PLT32_ABS, R_ARM_GOT_ABS, R_ARM_GOT_PREL): Likewise.
67702         (R_ARM_GOT_BREL12, R_ARM_GOTOFF12, R_ARM_GOTRELAX): Likewise.
67703         (R_ARM_TLS_LDO12, R_ARM_TLS_LE12, R_ARM_TLS_IE12GP): Likewise.
67704         (R_ARM_PRIVATE_0, R_ARM_PRIVATE_1, R_ARM_PRIVATE_2): Likewise.
67705         (R_ARM_PRIVATE_3, R_ARM_PRIVATE_4, R_ARM_PRIVATE_5): Likewise.
67706         (R_ARM_PRIVATE_6, R_ARM_PRIVATE_7, R_ARM_PRIVATE_8): Likewise.
67707         (R_ARM_PRIVATE_9, R_ARM_PRIVATE_10): Likewise.
67708         (R_ARM_PRIVATE_11, R_ARM_PRIVATE_12): Likewise.
67709         (R_ARM_PRIVATE_13, R_ARM_PRIVATE_14): Likewise.
67710         (R_ARM_PRIVATE_15, R_ARM_ME_TOO): Likewise.
67711         (R_ARM_THM_TLS_DESCSEQ16, R_ARM_THM_TLS_DESCSEQ32): Likewise.
67712         (R_ARM_THM_GOT_BREL12): Likewise.
67713         (R_ARM_PC24, R_ARM_PLT32): Updated a comment at this macro.
67714         (R_ARM_THM_PC11, R_ARM_THM_PC9): Likewise.
67715         (R_ARM_THM_ABS5, R_ARM_THM_PC22): Added a comment to this macro.
67716         (R_ARM_THM_PC8, R_ARM_THM_SWI8, R_ARM_XPC25): Likewise.
67717         (R_ARM_THM_XPC22, R_ARM_ALU_PCREL_7_0): Likewise.
67718         (R_ARM_ALU_PCREL_15_8, R_ARM_ALU_PCREL_23_15): Likewise.
67719         (R_ARM_LDR_SBREL_11_0, R_ARM_ALU_SBREL_19_12): Likewise.
67720         (R_ARM_ALU_SBREL_27_20, R_ARM_TLS_DESCSEQ): Likewise.
67721         (R_ARM_THM_TLS_DESCSEQ): Fixed whitespace.
67723 2013-02-20  Thomas Schwinge  <thomas@codesourcery.com>
67725         * sysdeps/ieee754/bits/nan.h [!__GNUC__] (__nan_union): Change
67726         __attribute_used__ to __attribute__ ((unused)).
67728 2013-02-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
67730         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Copy over comment from
67731         powerpc mpa.c.
67732         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__mul): Fix
67733         comment formatting.
67734         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__mul): Likewise.
67736 2013-02-19  Joseph Myers  <joseph@codesourcery.com>
67738         [BZ #13550]
67739         * sysdeps/i386/bp-asm.h [__BOUNDED_POINTERS__] (BOUNDS_VIOLATED):
67740         Remove macro.
67741         (ENTER): Remove both macro definitions.
67742         (LEAVE): Likewise.
67743         (CHECK_BOUNDS_LOW): Likewise.
67744         (CHECK_BOUNDS_HIGH): Likewise.
67745         (CHECK_BOUNDS_BOTH): Likewise.
67746         (CHECK_BOUNDS_BOTH_WIDE): Likewise.
67747         (RETURN_BOUNDED_POINTER): Likewise.
67748         (RETURN_NULL_BOUNDED_POINTER): Likewise.
67749         (PUSH_ERRNO_LOCATION_RETURN): Likewise.
67750         (POP_ERRNO_LOCATION_RETURN): Likewise.
67751         * sysdeps/i386/add_n.S (__mpn_add_n): Do not use removed macros.
67752         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
67753         * sysdeps/i386/addmul_1.S (__mpn_addmul_1): Do not use removed
67754         macros.
67755         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
67756         * sysdeps/i386/bsd-_setjmp.S (_setjmp): Do not use removed macros.
67757         * sysdeps/i386/bsd-setjmp.S (setjmp): Likewise.
67758         * sysdeps/i386/fpu/s_frexp.S (__frexp): Likewise.
67759         * sysdeps/i386/fpu/s_frexpf.S (__frexpf): Likewise.
67760         * sysdeps/i386/fpu/s_frexpl.S (__frexpl): Likewise.
67761         * sysdeps/i386/fpu/s_remquo.S (__remquo): Likewise.
67762         * sysdeps/i386/fpu/s_remquof.S (__remquof): Likewise.
67763         * sysdeps/i386/fpu/s_remquol.S (__remquol): Likewise.
67764         * sysdeps/i386/i486/strcat.S (strcat): Likewise.
67765         * sysdeps/i386/i486/strlen.S (strlen): Likewise.
67766         * sysdeps/i386/i586/add_n.S (__mpn_add_n): Likewise.
67767         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
67768         * sysdeps/i386/i586/addmul_1.S (__mpn_addmul_1): Do not use
67769         removed macros.
67770         (__mpn_addmul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
67771         * sysdeps/i386/i586/lshift.S (__mpn_lshift): Do not use removed
67772         macros.
67773         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
67774         * sysdeps/i386/i586/memcpy.S (memcpy): Do not use removed macros.
67775         * sysdeps/i386/i586/memset.S (memset): Likewise.
67776         * sysdeps/i386/i586/mul_1.S (__mpn_mul_1): Likewise.
67777         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
67778         * sysdeps/i386/i586/rshift.S (__mpn_rshift): Do not use removed
67779         macros.
67780         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
67781         * sysdeps/i386/i586/strchr.S (strchr): Do not use removed macros.
67782         Change uses of L(2) to L(out).
67783         * sysdeps/i386/i586/strcpy.S (STRCPY): Do not use removed macros.
67784         * sysdeps/i386/i586/strlen.S (strlen): Likewise.
67785         * sysdeps/i386/i586/sub_n.S (__mpn_sub_n): Likewise.
67786         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
67787         * sysdeps/i386/i586/submul_1.S (__mpn_submul_1): Do not use
67788         removed macros.
67789         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
67790         * sysdeps/i386/i686/add_n.S (__mpn_add_n): Do not use removed
67791         macros.
67792         (__mpn_add_n) [__BOUNDED_POINTERS__]: Remove conditional code.
67793         * sysdeps/i386/i686/memcmp.S (ENTRANCE): Do not use macro ENTER.
67794         (RETURN): Do not use macro LEAVE.
67795         * sysdeps/i386/i686/memcpy.S (memcpy): Do not use removed macros.
67796         * sysdeps/i386/i686/memmove.S (memmove): Likewise.
67797         * sysdeps/i386/i686/mempcpy.S (mempcpy): Likewise.
67798         * sysdeps/i386/i686/memset.S (memset): Likewise.
67799         * sysdeps/i386/i686/strcmp.S (strcmp): Likewise.
67800         (strcmp) [!__BOUNDED_POINTERS__]: Make code unconditional.
67801         (strcmp) [__BOUNDED_POINTERS__]: Remove conditional code.
67802         * sysdeps/i386/i686/strtok.S (save_ptr) [__BOUNDED_POINTERS__]:
67803         Likewise.
67804         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
67805         (FUNCTION): Do not use removed macros.  Combine labels L(1_1),
67806         L(1_2) and L(1_3) into L(1).
67807         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
67808         * sysdeps/i386/lshift.S (__mpn_lshift): Do not use removed macros.
67809         (__mpn_lshift) [__BOUNDED_POINTERS__]: Remove conditional code.
67810         * sysdeps/i386/memchr.S (__memchr): Do not use removed macros.
67811         (__memchr) [__BOUNDED_POINTERS__]: Remove conditional code.
67812         * sysdeps/i386/memcmp.S (memcmp): Do not use removed macros.
67813         * sysdeps/i386/mul_1.S (__mpn_mul_1): Likewise.
67814         (__mpn_mul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
67815         * sysdeps/i386/rawmemchr.S (__rawmemchr): Do not use removed
67816         macros.
67817         * sysdeps/i386/rshift.S (__mpn_rshift): Likewise.
67818         (__mpn_rshift) [__BOUNDED_POINTERS__]: Remove conditional code.
67819         * sysdeps/i386/setjmp.S (__sigsetjmp): Do not use removed macros.
67820         * sysdeps/i386/stpcpy.S (__stpcpy): Likewise.
67821         * sysdeps/i386/stpncpy.S (__stpncpy): Likewise.
67822         (__stpncpy) [__BOUNDED_POINTERS__]: Remove conditional code.
67823         * sysdeps/i386/strchr.S (strchr): Do not use removed macros.
67824         * sysdeps/i386/strchrnul.S (__strchrnul): Likewise.
67825         * sysdeps/i386/strcspn.S (strcspn): Likewise.
67826         * sysdeps/i386/strpbrk.S (strpbrk): Likewise.
67827         * sysdeps/i386/strrchr.S (strrchr): Likewise.
67828         * sysdeps/i386/strspn.S (strspn): Likewise.
67829         * sysdeps/i386/strtok.S (save_ptr) [__BOUNDED_POINTERS__]: Remove
67830         conditional code.
67831         (save_ptr) [!__BOUNDED_POINTERS__]: Make code unconditional.
67832         (FUNCTION) [!__BOUNDED_POINTERS__]: Likewise.
67833         (FUNCTION) [__BOUNDED_POINTERS__]: Remove conditional code.
67834         (FUNCTION): Do not use removed macros.  Combine labels L(1_2) and
67835         L(1_3) into L(1_1).
67836         * sysdeps/i386/sub_n.S (__mpn_sub_n): Do not use removed macros.
67837         (__mpn_sub_n) [__BOUNDED_POINTERS__]: Remove conditional code.
67838         * sysdeps/i386/submul_1.S (__mpn_submul_1): Do not use removed
67839         macros.
67840         (__mpn_submul_1) [__BOUNDED_POINTERS__]: Remove conditional code.
67842 2013-02-19  Jakub Jelinek  <jakub@redhat.com>
67844         * stdlib/strtod_l.c (__mpn_lshift_1): Rewritten as function-like
67845         macro.
67847 2013-02-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
67849         * math/atest-exp.c (exp_mpn): Remove ROUND.
67850         * math/atest-exp2.c (exp_mpn): Likewise.
67851         * math/atest-sincos.c (sincosx_mpn): Remove ROUND and CHK.
67853         * stdlib/cxa_thread_atexit_impl.c: Fix Copyright year.
67854         * stdlib/tst-tls-atexit-lib.c: Likewise.
67855         * stdlib/tst-tls-atexit.c: Likewise.
67857 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
67859         * stdlib/stdlib.h (aligned_alloc): Use __attribute_malloc__
67860         and __attribute_alloc_size__.
67862 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
67864         * include/programs/xmalloc.h: Change __attribute_alloc_size to
67865         __attribute_alloc_size__.
67866         * include/sys/cdefs.h (__attribute_alloc_size): Macro removed.
67867         * misc/sys/cdefs.h (__attribute_alloc_size__): New macro.
67869 2013-02-18  Mike Frysinger  <vapier@gentoo.org>
67871         * include/programs/xmalloc.h: New file.
67872         * catgets/gencat.c: Include it.
67873         (xmalloc, xcalloc, xrealloc, xstrdup): Don't declare them.
67874         * elf/pldd.c: Likewise.
67875         * iconv/iconv_charmap.c: Likewise.
67876         * iconv/iconvconfig.c: Likewise.
67877         * iconv/strtab.c: Likewise.
67878         * locale/programs/locale.c: Likewise.
67879         * locale/programs/localedef.h: Likewise.
67880         * locale/programs/simple-hash.c: Likewise.
67881         * nscd/nscd.h: Likewise.
67882         * nss/makedb.c: Likewise.
67883         * sysdeps/generic/ldconfig.h: Likewise.
67885 2013-02-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
67887         * Versions.def: Add GLIBC_2.18.
67888         * include/link.h (struct link_map): New member l_tls_dtor_count.
67889         * include/stdlib.h (__cxa_thread_atexit_impl): Declare.
67890         (__call_tls_dtors): Likewise.
67891         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add
67892         __cxa_thread_atexit_impl.
67893         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
67894         Likewise.
67895         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
67896         Likewise.
67897         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist:
67898         Likewise.
67899         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist:
67900         Likewise.
67901         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
67902         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist:
67903         Likewise.
67904         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist:
67905         Likewise.
67906         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
67907         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
67908         Likewise.
67909         * stdlib/Makefile (routines): Add __cxa_thread_atexit_impl.
67910         (tests): Add test case tst-tls-atexit.
67911         (modules-names): Add shared library for tst-tls-atexit.
67912         * stdlib/Versions (GLIBC_2.18): Add __cxa_thread_atexit_impl.
67913         (GLIBC_PRIVATE): Add __call_tls_dtors.
67914         * stdlib/cxa_thread_atexit_impl.c: New file with helper function
67915         for libstdc++.
67916         * stdlib/exit.c (__run_exit_handlers): Call __call_tls_dtors.
67917         * stdlib/tst-tls-atexit.c: New test case.
67918         * stdlib/tst-tls-atexit-lib.c: New test case.
67920         * misc/tst-pselect.c: Include stdlib.h for declaration of exit.
67922         * elf/Versions (ld): Add _dl_find_dso_for_object.
67923         * elf/dl-addr.c (_dl_addr): Use _dl_find_dso_for_object.
67924         * elf/dl-open.c (_dl_find_dso_for_object): New function.
67925         (dl_open_worker): Use _dl_find_dso_for_object.
67926         * elf/dl-sym.c (do_sym): Likewise.
67927         * sysdeps/generic/ldsodefs.h: Declare _dl_find_dso_for_object.
67929 2013-02-18  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
67931         * sysdeps/s390/s390-64/dl-trampoline.S (_dl_runtime_resolve):
67932         Syntactic changes only.
67933         (_dl_runtime_profile): Do a tail-call to the resolved function.
67935 2013-02-17  Joseph Myers  <joseph@codesourcery.com>
67937         [BZ #13550]
67938         * sysdeps/x86_64/bp-asm.h: Remove file.
67939         * sysdeps/unix/sysv/linux/x86_64/clone.S: Do not include
67940         <bp-sym.h> and <bp-asm.h>.
67941         (__clone): Do not use BP_SYM.
67942         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Do not include
67943         <bp-sym.h> and <bp-asm.h>.
67944         * sysdeps/unix/x86_64/sysdep.S: Likewise.
67945         * sysdeps/x86_64/bsd-_setjmp.S: Do not include "bp-sym.h" and
67946         "bp-asm.h".
67947         (_setjmp): Do not use BP_SYM.
67948         * sysdeps/x86_64/bsd-setjmp.S: Do not include "bp-sym.h" and
67949         "bp-asm.h".
67950         (setjmp): Do not use BP_SYM.
67951         * sysdeps/x86_64/mempcpy.S (__mempcpy): Do not use BP_SYM in
67952         libc_hidden_def.
67953         (mempcpy): Do not use BP_SYM in weak_alias.
67954         * sysdeps/x86_64/rtld-strchr.S: Do not include "bp-sym.h" and
67955         "bp-asm.h".
67956         (strchr): Do not use BP_SYM.
67957         * sysdeps/x86_64/rtld-strlen.S: Do not include "bp-sym.h" and
67958         "bp-asm.h".
67959         * sysdeps/x86_64/setjmp.S (__sigsetjmp): Do not use BP_SYM.
67960         * sysdeps/x86_64/start.S: Do not include "bp-sym.h".
67961         (_start): Do not use BP_SYM.
67962         * sysdeps/x86_64/strcat.S: Do not include "bp-sym.h" and
67963         "bp-asm.h".
67964         (strcat): Do not use BP_SYM.
67965         * sysdeps/x86_64/strcmp.S: Do not include "bp-sym.h" and
67966         "bp-asm.h".
67967         (STRCMP): Do not use BP_SYM.
67968         * sysdeps/x86_64/strcpy.S: Do not include "bp-sym.h" and
67969         "bp-asm.h".
67970         (STRCPY): Do not use BP_SYM.
67971         * sysdeps/x86_64/strcpy_chk.S: Do not include "bp-sym.h" and
67972         "bp-asm.h".
67973         * sysdeps/x86_64/strtok.S: Do not include "bp-sym.h" and
67974         "bp-asm.h".
67975         (FUNCTION): Do not use BP_SYM.
67976         * sysdeps/x86_64/strtok_r.S (strtok_r): Do not use BP_SYM in
67977         weak_alias.
67978         (__GI___strtok_r): Do not use BP_SYM in strong_alias.
67980 2013-02-17  Andreas Jaeger  <aj@suse.de>
67982         * time/Versions: Sort entries.
67983         * string/Versions: Likewise.
67984         * resolv/Versions: Likewise.
67985         * posix/Versions: Likewise.
67986         * iconv/Versions: Likewise.
67987         * elf/Versions: Likewise.
67988         * wcsmbs/Versions: Likewise.
67990 2013-02-15  Siddhesh Poyarekar  <siddhesh@redhat.com>
67992         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): Avoid using LIM in
67993         loop termination condition.
67995         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Use intermediate
67996         variable to calculate EZ.
67997         (__sqr): Likewise.
67999         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Fix determination of
68000         the lower precision input.
68002 2013-02-15  Joseph Myers  <joseph@codesourcery.com>
68004         [BZ #13550]
68005         * Makeconfig [!+link-bounded] (+link-bounded): Remove variable.
68006         [!link-extra-libs] (link-extra-libs-bounded): Likewise.
68007         (run-via-rtld-prefix): Do not handle %-bp tests.
68008         (test-via-rtld-prefix): Do not mention %-bp tests in comment.
68009         (all-object-suffixes): Remove .ob.
68010         (bppfx): Remove variable.
68011         [$(build-bounded) = yes] (object-suffixes): Do not add .ob.
68012         [$(build-bounded) = yes] (CPPFLAGS-.ob): Remove variable.
68013         [$(build-bounded) = yes] (CFLAGS-.ob): Likewise.
68014         [$(build-bounded) = yes] (libtype.ob): Likewise.
68015         * Makerules (elide-routines.ob): Remove variable.
68016         (do-tests-clean): Do not handle *-bp.out.
68017         (common-mostlyclean): Do not handle *-bp and *-bp.out.
68018         * Rules [$(build-bounded) = yes] (tests-bp.out): Remove variable.
68019         [$(build-bounded) = yes] (xtests-bp.out): Likewise.
68020         (tests): Do not include $(tests-bp.out).
68021         (xtests): Do not include $(xtests-bp.out).
68022         [$(build-bounded) = yes] (binaries-bounded): Remove variable.
68023         [$(build-bounded) = yes] ($(addprefix
68024         $(objpfx),$(binaries-bounded))): Remove rule.
68025         ($(objpfx)%-bp.out): Remove rule.
68026         * config.make.in (build-bounded): Remove variable.
68027         * crypt/Makefile [$(build-bounded) = yes]
68028         ($(tests:%=$(objpfx)%-bp)): Remove dependency.
68029         * csu/Makefile [$(build-bounded) = yes] (extra-objs): Do not
68030         append to variable.
68031         [$(build-bounded) = yes] (install-lib): Likewise.
68032         [$(build-bounded) = yes] (generated): Likewise.
68033         [!start-installed-name-rule] ($(objpfx)b$(start-installed-name)):
68034         Remove rule.
68035         * intl/Makefile [$(build-bounded) = yes]
68036         ($(multithread-test-srcs:%=$(objpfx)%-bp)): Remove dependency.
68037         * math/Makefile [$(build-bounded) = yes]
68038         ($(tests:%=$(objpfx)%-bp): Likewise.
68039         * misc/Makefile [$(build-bounded) = yes]
68040         ($(objpfx)tst-tsearch-bp): Likewise.
68041         * nptl/Makeconfig (bounded-thread-library): Remove variable.
68042         * rt/Makefile [$(build-bounded) = yes] ($(tests:%=$(objpfx)%-bp)):
68043         Remove dependency.
68044         * string/Makefile (o-objects.ob): Remove variable.
68045         * sysdeps/i386/i686/Makefile [$(config-asflags-i686) = yes]
68046         (CFLAGS-.ob): Remove variable.
68047         [$(config-asflags-i686) = yes] (ASFLAGS-.ob): Likewise.
68048         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-.ob): Remove
68049         both definitions of variable.
68050         * sysdeps/sparc/sparc64/Makefile [$(have-as-vis3) = yes]
68051         (ASFLAGS-.ob): Remove variable.
68053 2013-02-14  Joseph Myers  <joseph@codesourcery.com>
68055         [BZ #13550]
68056         * config.h.in [USE_REGPARMS && !PROF && !__BOUNDED_POINTERS__]:
68057         Remove __BOUNDED_POINTERS__ from condition.
68058         * elf/dl-runtime.c [!PROF && !__BOUNDED_POINTERS__]: Likewise.
68059         * string/bits/string2.h [!__NO_STRING_INLINES &&
68060         !__BOUNDED_POINTERS__]: Likewise.
68061         * sysdeps/i386/dl-machine.h [!PROF && !__BOUNDED_POINTERS__]:
68062         Likewise.
68063         * sysdeps/unix/sysv/linux/shmat.c (shmat) [__BOUNDED_POINTERS__]:
68064         Remove conditional code.
68065         * sysdeps/x86/bits/string.h [!__NO_STRING_INLINES &&
68066         __USE_STRING_INLINES && __GNUC__ && __GNUC__ >= 2 &&
68067         !__BOUNDED_POINTERS__]: Remove __BOUNDED_POINTERS__ from
68068         condition.
68070         [BZ #13550]
68071         * csu/libc-start.c: Do not include <bp-sym.h>.
68072         [!LIBC_START_MAIN] (LIBC_START_MAIN): Do not use BP_SYM.
68073         * elf/dl-open.c: Do not include <bp-sym.h>.
68074         (_dl_sysdep_start): Do not use BP_SYM in weak_extern.
68075         * math/fegetenv.c: Do not include <bp-sym.h>.
68076         (fegetenv): Do not use BP_SYM in versioned symbols.
68077         * nptl/sysdeps/pthread/bits/libc-lockP.h
68078         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]: Do not include
68079         <bp-sym.h>.
68080         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68081         (__pthread_mutex_init): Do not use BP_SYM in weak_extern.
68082         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68083         (__pthread_mutex_destroy): Likewise.
68084         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68085         (__pthread_mutex_lock): Likewise.
68086         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68087         (__pthread_mutex_trylock): Likewise.
68088         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68089         (__pthread_mutex_unlock): Likewise.
68090         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68091         (__pthread_mutexattr_init): Likewise.
68092         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68093         (__pthread_mutexattr_destroy): Likewise.
68094         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68095         (__pthread_mutexattr_settype): Likewise.
68096         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68097         (__pthread_rwlock_init): Likewise.
68098         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68099         (__pthread_rwlock_destroy): Likewise.
68100         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68101         (__pthread_rwlock_rdlock): Likewise.
68102         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68103         (__pthread_rwlock_tryrdlock): Likewise.
68104         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68105         (__pthread_rwlock_wrlock): Likewise.
68106         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68107         (__pthread_rwlock_trywrlock): Likewise.
68108         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68109         (__pthread_rwlock_unlock): Likewise.
68110         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68111         (__pthread_key_create): Likewise.
68112         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68113         (__pthread_setspecific): Likewise.
68114         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68115         (__pthread_getspecific): Likewise.
68116         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern] (__pthread_once):
68117         Likewise.
68118         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68119         (_pthread_cleanup_push_defer): Likewise.
68120         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68121         (_pthread_cleanup_pop_restore): Likewise.
68122         [!__NO_WEAK_PTHREAD_ALIASES && weak_extern]
68123         (pthread_setcancelstate): Likewise.
68124         * string/memchr.c [HAVE_BP_SYM_H || _LIBC]: Do not include
68125         <bp-sym.h>.
68126         [!(HAVE_BP_SYM_H || _LIBC)] (BP_SYM): Remove macro definition.
68127         (memchr): Do not use BP_SYM in weak_alias.
68128         * sysdeps/i386/fpu/fegetenv.c: Do not include <bp-sym.h>.
68129         (fegetenv): Do not use BP_SYM in versioned symbols.
68130         * sysdeps/i386/fpu/fesetenv.c: Do not include <bp-sym.h>.
68131         (fesetenv): Do not use BP_SYM in versioned symbols.
68132         * sysdeps/i386/fpu/feupdateenv.c: Do not include <bp-sym.h>.
68133         (feupdateenv): Do not use BP_SYM in versioned symbols.
68134         * sysdeps/i386/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
68135         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
68136         * sysdeps/posix/open64.c: Do not include <bp-sym.h>.
68137         (__open64): Do not use BP_SYM in weak_alias and libc_hidden_weak.
68138         (open64): Do not use BP_SYM in weak_alias.
68139         * sysdeps/powerpc/fpu/fegetenv.c: Do not include <bp-sym.h>.
68140         (fegetenv): Do not use BP_SYM in versioned symbols.
68141         * sysdeps/powerpc/fpu/fesetenv.c: Do not include <bp-sym.h>.
68142         (fesetenv): Do not use BP_SYM in versioned symbols.
68143         * sysdeps/powerpc/fpu/feupdateenv.c: Do not include <bp-sym.h>.
68144         (feupdateenv): Do not use BP_SYM in versioned symbols.
68145         * sysdeps/powerpc/fpu/fgetexcptflg.c: Do not include <bp-sym.h>.
68146         (fegetexceptflag): Do not use BP_SYM in versioned symbols.
68147         * sysdeps/powerpc/fpu/fraiseexcpt.c: Do not include <bp-sym.h>.
68148         (feraiseexcept): Do not use BP_SYM in versioned symbols.
68149         * sysdeps/powerpc/fpu/fsetexcptflg.c: Do not include <bp-sym.h>.
68150         (fesetexceptflag): Do not use BP_SYM in versioned symbols.
68151         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Do not include
68152         <bp-sym.h>.
68153         (__libc_start_main): Do not use BP_SYM.
68155 2013-02-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
68157         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cpy): Remove
68158         redundant return line.
68159         (norm): Likewise.
68160         (denorm): Likewise.
68161         (dbl_mp): Likewise.
68162         (sub_magnitudes): Likewise.
68163         (__add): Likewise.
68164         (__sub): Likewise.
68165         (__mul): Likewise.
68166         (__inv): Likewise.
68167         (__dvd): Likewise.
68168         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cpy): Likewise.
68169         (norm): Likewise.
68170         (denorm): Likewise.
68171         (dbl_mp): Likewise.
68172         (sub_magnitudes): Likewise.
68173         (__add): Likewise.
68174         (__sub): Likewise.
68175         (__mul): Likewise.
68176         (__inv): Likewise.
68177         (__dvd): Likewise.
68179         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Use __sqr
68180         instead of __mul.
68181         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
68182         * sysdeps/ieee754/dbl-64/sincos32.c (ss32): Likewise.
68183         (cc32): Likewise.
68185         * sysdeps/ieee754/dbl-64/mpa.c (__sqr): New function.
68186         * sysdeps/ieee754/dbl-64/mpa.h (__sqr): Declare.
68187         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): use __sqr instead
68188         of __mul for squares.
68189         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__sqr): New
68190         function
68191         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__sqr):
68192         Likewise.
68193         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define __sqr.
68194         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
68196 2013-02-13  Joseph Myers  <joseph@codesourcery.com>
68198         [BZ #13550]
68199         * misc/sys/cdefs.h [!__BOUNDED_POINTERS__]: Remove conditional
68200         code.
68201         * csu/libc-start.c (LIBC_START_MAIN): Do not use __unbounded in
68202         prototype or function definition.  Rename ubp_* variables and
68203         parameters.  Remove argv definitions conditional on
68204         [__BOUNDED_POINTERS__].
68205         * debug/backtrace.c (__backtrace): Do not use __unbounded.
68206         * elf/dl-runtime.c (_dl_fixup): Likewise.
68207         * include/set-hooks.h (RUN_HOOK): Likewise.
68208         * stdio-common/vfprintf.c (JUMP): Do not use __unbounded in either
68209         definition.
68210         * string/strcpy.c (strcpy): Do not use __unbounded.
68211         * sysdeps/generic/frame.h (struct layout): Likewise.
68212         * sysdeps/gnu/bits/msq.h (struct msqid_ds): Likewise.
68213         * sysdeps/i386/dl-machine.h (_dl_fixup): Likewise.
68214         * sysdeps/powerpc/powerpc32/backtrace.c (struct layout): Likewise.
68215         * sysdeps/powerpc/powerpc64/backtrace.c (struct layout): Likewise.
68216         * sysdeps/sparc/backtrace.c (struct layout): Likewise.
68217         (__backtrace): Likewise.
68218         * sysdeps/unix/sysv/linux/aio_sigqueue.c (__aio_sigqueue): Do not
68219         use __ptrvalue.
68220         * sysdeps/unix/sysv/linux/fxstat.c (__fxstat): Likewise.
68221         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Likewise.
68222         * sysdeps/unix/sysv/linux/gai_sigqueue.c (__gai_sigqueue):
68223         Likewise.
68224         * sysdeps/unix/sysv/linux/i386/brk.c (__brk): Likewise.
68225         * sysdeps/unix/sysv/linux/i386/fxstat.c (__fxstat): Likewise.
68226         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Likewise.
68227         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
68228         * sysdeps/unix/sysv/linux/i386/msgctl.c (struct __old_msqid_ds):
68229         Do not use __unbounded.
68230         * sysdeps/unix/sysv/linux/i386/setrlimit.c (__new_setrlimit):
68231         Rename __unboundedrlimits parameter to rlimits in prototype.
68232         * sysdeps/unix/sysv/linux/i386/shmctl.c (struct __old_shmid_ds):
68233         Do not use __unbounded.
68234         * sysdeps/unix/sysv/linux/i386/sigaction.c (__libc_sigaction): Do
68235         not use __ptrvalue.
68236         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
68237         * sysdeps/unix/sysv/linux/llseek.c (__llseek): Likewise.
68238         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
68239         * sysdeps/unix/sysv/linux/mmap64.c (__mmap64): Do not use
68240         __ptrvalue or __unbounded.
68241         (__mmap64) [__BOUNDED_POINTERS__]: Remove conditional code.
68242         * sysdeps/unix/sysv/linux/msgctl.c (struct __old_msqid_ds): Do not
68243         use __unbounded.
68244         (__new_msgctl): Do not use __ptrvalue.
68245         * sysdeps/unix/sysv/linux/msgrcv.c (struct ipc_kludge): Do not use
68246         __unbounded.
68247         (__libc_msgrcv): Do not use __ptrvalue.
68248         * sysdeps/unix/sysv/linux/powerpc/libc-start.c (struct
68249         startup_info): Do not use __unbounded.
68250         (__libc_start_main): Likewise.  Rename ubp_* variables and
68251         parameters.  Remove argv definitions conditional on
68252         [__BOUNDED_POINTERS__].
68253         * sysdeps/unix/sysv/linux/ptrace.c (ptrace): Do not use
68254         __ptrvalue.
68255         * sysdeps/unix/sysv/linux/semctl.c (struct __old_semid_ds): Do not
68256         use __unbounded.
68257         * sysdeps/unix/sysv/linux/shmat.c (shmat): Do not use __unbounded
68258         or __ptrvalue.
68259         * sysdeps/unix/sysv/linux/shmctl.c (struct __old_shmid_ds): Do not
68260         use __unbounded.
68261         (__new_shmctl): Do not use __ptrvalue.
68262         * sysdeps/unix/sysv/linux/shmdt.c (shmdt): Likewise.
68263         * sysdeps/unix/sysv/linux/sigaction.c (__libc_sigaction):
68264         Likewise.
68265         * sysdeps/unix/sysv/linux/sigqueue.c (__sigqueue): Likewise.
68266         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c
68267         (__libc_sigaction): Likewise.
68268         * sysdeps/unix/sysv/linux/sysctl.c (__sysctl): Likewise.
68269         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (__libc_sigaction):
68270         Likewise.
68271         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
68273 2013-02-13   Ondřej Bílka  <neleai@seznam.cz>
68275         * stdlib/Makefile (headers): Add bits/stdlib-bsearch.h.
68277         * string/mempcpy.c: Implement by calling memcpy.
68279 2013-02-13  Siddhesh Poyarekar  <siddhesh@redhat.com>
68281         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove NFA.
68283         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Faster polynomial
68284         evaluation.
68286         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Don't bother with zero
68287         values in the mantissa.
68289         * sysdeps/ieee754/dbl-64/mpa.c (add_magnitudes): Use ZK to
68290         minimize writes to Z.
68291         (sub_magnitudes): Simplify code a bit.
68293 2013-02-12  Roland McGrath  <roland@hack.frob.com>
68295         * include/libc-symbols.h (stub_warning): Remove "warning: " prefix
68296         from the message.  The linker prefixes all warnings with that already.
68298 2013-02-12  Andreas Schwab  <schwab@suse.de>
68300         [BZ #15078]
68301         * posix/regexec.c (extend_buffers): Add parameter min_len.
68302         (check_matching): Pass minimum needed length.
68303         (clean_state_log_if_needed): Likewise.
68304         (get_subexp): Likewise.
68305         * posix/Makefile (tests): Add bug-regex34.
68306         (bug-regex34-ENV): Define.
68307         * posix/bug-regex34.c: New file.
68309         [BZ #11561]
68310         * posix/regcomp.c (parse_bracket_exp): When looking up collating
68311         elements compare against the byte sequence of it, not its name.
68312         * posix/Makefile (tests): Add bug-regex35.
68313         (bug-regex35-ENV): Define.
68314         * posix/bug-regex35.c: New file.
68316 2013-02-11  Tom de Vries  <tom@codesourcery.com>
68318         * string/str-two-way.h:  Fix typo RESULT_TYPE -> RETURN_TYPE in
68319         comment.
68320         Add RET0_IF_0 and CHECK_EOL to macro list in comment.
68321         (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J): Remove superfluous undef.
68322         (CHECK_EOL): Add undef.
68324 2013-02-11   Ondřej Bílka  <neleai@seznam.cz>
68326         * bits/stdlib-bsearch.h: New file.
68327         * stdlib/bsearch.c: Include bits/stdlib-bsearch.h.
68328         * stdlib/stdlib.h: Likewise.
68330 2013-02-11  Roland McGrath  <roland@hack.frob.com>
68332         * manual/conf.texi (General Limits): Fix SSIZE_MAX type to ssize_t.
68333         * manual/errno.texi (Error Messages): Fix typo in error_print_progname
68334         declaration.
68335         * manual/search.texi (Array Search Function): Add missing const in
68336         lfind prototype.
68337         * manual/resource.texi (Limits on Resources): Fix RLIM_INFINITY
68338         declaration to use rlim_t.
68339         (Basic Scheduling Functions): Remove erroneous const from
68340         sched_getparam prototype.  Remove erroneous * from
68341         sched_get_priority_max and sched_get_priority_min prototypes.
68342         (Resource Usage): Fix summary @comment on vtimes to refer to
68343         sys/vtimes.h rather than vtimes.h.
68344         Add missing *s in vtimes prototype.
68345         (Limits on Resources): Fix ulimit prototype to return long int.
68346         * manual/math.texi (SVID Random): Fix lrand48_r and mrand48_r
68347         prototypes to use long int rather than double.
68348         (BSD Random): Fix initstate and setstate to use char *, not void *.
68349         * manual/llio.texi (Asynchronous Reads/Writes): Fix lio_listio64
68350         prototype to make second argument 'struct aiocb64 *const[]'.
68351         Fix aio_read64 and aio_write64 prototypes to use struct aiocb64.
68352         (Status of AIO Operations): Remove erroneous const in aio_return and
68353         aio_return64 prototypes.
68354         (Synchronizing I/O): Fix sync prototype to return void.
68355         * manual/startup.texi (Suboptions): Remove an erroneous const in
68356         getsubopt prototype.
68357         * manual/getopt.texi (Using Getopt): Add a const in getopt prototype.
68358         * manual/users.texi (Lookup Netgroup): Fix getnetgrent_r prototype to
68359         use size_t rather than int.
68360         (Scanning All Users): Likewise for getpwent_r.
68361         (Setting Groups): Add missing const to setgroups prototype.
68362         * manual/sysinfo.texi (mtab): Fix typo in getmntent_r prototype.
68363         * manual/socket.texi (Host Names): Fix gethostbyaddr and
68364         gethostbyaddr_r prototypes to use socklen_t rather than size_t and
68365         'const void *' rather than 'const char *'.
68366         (Host Address Functions): Likewise for inet_ntop.
68367         (Networks Database): Fix getnetbyaddr prototype to use uint32_t.
68368         (Receiving Data): Fix recv, recvfrom, recvmsg prototypes to use
68369         ssize_t for return value.
68370         (Sending Data): Likewise for send, sendto, sendmsg.
68371         (Socket Option Functions): Add a missing const in setsockopt prototype.
68372         * manual/stdio.texi (Simple Output): Fix fputwc_unlocked prototype to
68373         use wchar_t for the argument.
68374         (Formatted Input Functions): Fix swscanf prototype to use wchar_t *.
68375         * manual/arith.texi (Control Functions): Fix fegetexcept prototype to
68376         take no arguments.
68377         (Normalization Functions): Fix scalb, scalbf, scalbl prototypes to use
68378         double/float/long double for second argument.
68379         Fix return types of significand, significandf, significandl.
68380         * manual/filesys.texi (Setting Permissions): Use mode_t for second
68381         argument in fchmod prototype.
68382         (File Owner): Use uid_t and gid_t in fchown prototype.
68383         (File Times): Add const to utimes, futimes, and lutimes prototypes.
68384         (Making Special Files): Use mode_t and dev_t in mknod prototype.
68385         (Scanning Directory Content): Fix scandir and scandir64 prototypes to
68386         use 'const struct dirent **' as argument types to CMP function pointer
68387         argument.
68388         (Symbolic Links): Fix readlink prototype with ssize_t as return value.
68389         (File Times): Fix summary magic @comment for struct utimbuf and utime
68390         to refer to utime.h, not time.h.
68391         * manual/string.texi (Argz Functions): Add missing const in
68392         argz_extract and argz_next prototypes.
68393         (Finding Tokens in a String): Likewise for basename.
68394         (String/Array Comparison): Fix typo in wcscasecmp prototype.
68395         (Copying and Concatenation): Fix typo in wmemmove prototype.
68396         * manual/signal.texi (Using Pause): Use (void) in pause prototype.
68397         (Signal Stack): Remove erroneous const in sigstack prototype.
68398         * manual/time.texi (Setting an Alarm): Add missing const in setitimer
68399         prototype.
68400         (Simple Calendar Time): Likewise for stime.
68401         * manual/terminal.texi (BSD Terminal Modes): Add missing const in stty
68402         prototype.
68403         * manual/sysinfo.texi (System Parameters): Fix mentions of sysctl.h to
68404         say sys/sysctl.h instead.
68405         * manual/syslog.texi (syslog; vsyslog): Add missing const in syslog
68406         and vsyslog prototypes.
68408 2013-02-11  Tom de Vries  <tom@codesourcery.com>
68410         * string/Makefile (CFLAGS-bug-strstr1.c, CFLAGS-bug-strcasestr1.c):
68411         Remove.
68413 2013-02-11  Roland McGrath  <roland@hack.frob.com>
68415         * misc/sys/mman.h: Fix typo in mremap comment.
68417 2013-02-08  Roland McGrath  <roland@hack.frob.com>
68419         * manual/examples/mkfsock.c (make_named_socket): Don't add one for
68420         the '\0' terminator.
68422 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
68424         [BZ #13550]
68425         * debug/segfault.c: Don't include <bp-checks.h>.
68426         * sysdeps/generic/bp-checks.h: Remove file.
68427         * sysdeps/unix/sysv/linux/getdents.c: Don't include <bp-checks.h>.
68428         (__GETDENTS): Don't use CHECK_N.
68429         * sysdeps/unix/sysv/linux/i386/brk.c: Don't include <bp-checks.h>.
68430         * sysdeps/unix/sysv/linux/i386/getgroups.c: Likewise.
68431         (__getgroups): Don't use CHECK_N.
68432         * sysdeps/unix/sysv/linux/i386/setgroups.c: Likewise.
68433         (setgroups): Don't use CHECK_N.
68434         * sysdeps/unix/sysv/linux/mmap64.c: Don't include <bp-checks.h>.
68435         * sysdeps/unix/sysv/linux/msgrcv.c: Likewise.
68436         (__libc_msgrcv): Don't use CHECK_N.
68437         * sysdeps/unix/sysv/linux/msgsnd.c: Don't include <bp-checks.h>.
68438         (__libc_msgsnd): Don't use CHECK_N.
68439         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c: Don't include
68440         <bp-checks.h>.
68441         (__libc_pread): Don't use CHECK_N.
68442         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c: Don't
68443         include <bp-checks.h>.
68444         (__libc_pread64): Don't use CHECK_N.
68445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c: Don't
68446         include <bp-checks.h>.
68447         (__libc_pwrite): Don't use CHECK_N.
68448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c: Don't
68449         include <bp-checks.h>.
68450         (__libc_pwrite64): Don't use CHECK_N.
68451         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Don't include
68452         <bp-checks.h>.
68453         (__libc_pread): Don't use CHECK_N.
68454         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Don't
68455         include <bp-checks.h>.
68456         (__libc_pread64): Don't use CHECK_N.
68457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Don't
68458         include <bp-checks.h>.
68459         (__libc_pwrite): Don't use CHECK_N.
68460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Don't
68461         include <bp-checks.h>.
68462         (__libc_pwrite64): Don't use CHECK_N.
68463         * sysdeps/unix/sysv/linux/pread.c: Don't include <bp-checks.h>.
68464         (do_pread): Don't use CHECK_N.
68465         * sysdeps/unix/sysv/linux/pread64.c: Don't include <bp-checks.h>.
68466         (do_pread64): Don't use CHECK_N.
68467         * sysdeps/unix/sysv/linux/pwrite.c: Don't include <bp-checks.h>.
68468         (do_pwrite): Don't use CHECK_N.
68469         * sysdeps/unix/sysv/linux/pwrite64.c: Don't include <bp-checks.h>.
68470         (do_pwrite64): Don't use CHECK_N.
68471         * sysdeps/unix/sysv/linux/readv.c: Don't include <bp-checks.h>.
68472         (__libc_readv): Don't use CHECK_N.
68473         * sysdeps/unix/sysv/linux/semop.c: Don't include <bp-checks.h>.
68474         (semop): Don't use CHECK_N.
68475         * sysdeps/unix/sysv/linux/semtimedop.c: Don't include
68476         <bp-checks.h>.
68477         (semtimedop): Don't use CHECK_N.
68478         * sysdeps/unix/sysv/linux/sh/pread.c: Don't include <bp-checks.h>.
68479         (__libc_pread): Don't use CHECK_N.
68480         * sysdeps/unix/sysv/linux/sh/pread64.c: Don't include
68481         <bp-checks.h>.
68482         (__libc_pread64): Don't use CHECK_N.
68483         * sysdeps/unix/sysv/linux/sh/pwrite.c: Don't include
68484         <bp-checks.h>.
68485         (__libc_pwrite): Don't use CHECK_N.
68486         * sysdeps/unix/sysv/linux/sh/pwrite64.c: Don't include
68487         <bp-checks.h>.
68488         (__libc_pwrite64): Don't use CHECK_N.
68489         * sysdeps/unix/sysv/linux/sparc/sparc64/msgrcv.c: Don't include
68490         <bp-checks.h>.
68491         (__libc_msgrcv): Don't use CHECK_N.
68492         * sysdeps/unix/sysv/linux/sysctl.c: Don't include <bp-checks.h>.
68493         (__sysctl): Don't use CHECK_N.  Remove GKM FIXME comment.
68494         * sysdeps/unix/sysv/linux/writev.c: Don't include <bp-checks.h>.
68495         (__libc_writev): Don't use CHECK_N.
68497 2013-02-08  Roland McGrath  <roland@hack.frob.com>
68499         * string/strcpy.c: Removed unused variable.
68501         * Makeconfig (+sysdep-includes): Define with := rather than =.
68502         Use an existing include/ subdir of each sysdeps dir before it.
68504 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
68506         * nscd/connection.c (register_traced_file): Comment function.
68507         [HAVE_INOTIFY] (union __inev): Define.
68508         [HAVE_INOTIFY] (inotify_check_files): New function.
68509         [HAVE_INOTIFY] (clear_db_cache): Likewise.
68510         [HAVE_INOTIFY] (main_loop_poll): Call inotify_check_files and
68511         clear_db_cache.
68512         [HAVE_INOTIFY] (main_loop_epoll): Likewise.
68514 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
68516         * elf/dl-cache.c (_dl_load_cache_lookup): Comment that cache is
68517         loaded if not already and that a failure is permanent.
68519 2013-02-08  Carlos O'Donell  <carlos@redhat.com>
68521         [BZ #15006]
68522         * sysdeps/generic/ldconfig.h: Define FLAG_ARM_LIBSF.
68523         * elf/cache.c (print_entry): Add FLAG_ARM_LIBSF support.
68525 2013-02-08  Joseph Myers  <joseph@codesourcery.com>
68527         [BZ #13550]
68528         * sysdeps/generic/bp-checks.h (CHECK_1): Remove all definitions.
68529         (CHECK_1_NULL_OK): Likewise.
68530         * sysdeps/unix/sysv/linux/fxstat.c: Do not include <bp-checks.h>.
68531         (__fxstat): Do not use CHECK_1.
68532         * sysdeps/unix/sysv/linux/fxstat64.c: Do not include
68533         <bp-checks.h>.
68534         (___fxstat64): Do not use CHECK_1.
68535         * sysdeps/unix/sysv/linux/fxstatat.c: Do not include
68536         <bp-checks.h>.
68537         (__fxstatat): Do not use CHECK_1.
68538         * sysdeps/unix/sysv/linux/fxstatat64.c: Do not include
68539         <bp-checks.h>.
68540         (__fxstatat64): Do not use CHECK_1.
68541         * sysdeps/unix/sysv/linux/i386/fxstat.c: Do not include
68542         <bp-checks.h>.
68543         (__fxstat): Do not use CHECK_1.
68544         * sysdeps/unix/sysv/linux/i386/fxstatat.c: Do not include
68545         <bp-checks.h>.
68546         (__fxstatat): Do not use CHECK_1.
68547         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
68548         <bp-checks.h>.
68549         (__getresgid): Do not use CHECK_1.
68550         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
68551         <bp-checks.h>.
68552         (__getresuid): Do not use CHECK_1.
68553         * sysdeps/unix/sysv/linux/i386/lxstat.c: Do not include
68554         <bp-checks.h>.
68555         (__lxstat): Do not use CHECK_1.
68556         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
68557         <bp-checks.h>.
68558         (__old_msgctl): Do not use CHECK_1.
68559         (__new_msgctl): Likewise.
68560         * sysdeps/unix/sysv/linux/i386/setrlimit.c: Do not include
68561         <bp-checks.h>.
68562         (__new_setrlimit): Do not use CHECK_1.
68563         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
68564         <bp-checks.h>.
68565         (__old_shmctl): Do not use CHECK_1.
68566         (__new_shmctl): Likewise.
68567         * sysdeps/unix/sysv/linux/i386/xstat.c: Do not include
68568         <bp-checks.h>.
68569         (__xstat): Do not use CHECK_1.
68570         * sysdeps/unix/sysv/linux/lxstat.c: Do not include <bp-checks.h>.
68571         (__lxstat): Do not use CHECK_1.
68572         * sysdeps/unix/sysv/linux/lxstat64.c: Do not include
68573         <bp-checks.h>.
68574         (___lxstat64): Do not use CHECK_1.
68575         * sysdeps/unix/sysv/linux/msgctl.c: Do not include <bp-checks.h>.
68576         (__old_msgctl): Do not use CHECK_1.
68577         (__new_msgctl): Likewise.
68578         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Do not include
68579         <bp-checks.h>.
68580         (__gettimeofday): Do not use CHECK_1.
68581         * sysdeps/unix/sysv/linux/ptrace.c: Do not include <bp-checks.h>.
68582         (ptrace) [__BOUNDED_POINTERS__]: Remove conditional code.
68583         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Do not include
68584         <bp-checks.h>.
68585         (__gettimeofday): Do not use CHECK_1.
68586         * sysdeps/unix/sysv/linux/shmctl.c: Do not include <bp-checks.h>.
68587         (__old_shmctl): Do not use CHECK_1_NULL_OK.
68588         (__new_shmctl): Do not use CHECK_1.
68589         * sysdeps/unix/sysv/linux/sigtimedwait.c: Do not include
68590         <bp-checks.h>.
68591         (do_sigtimedwait): Do not use CHECK_1.
68592         * sysdeps/unix/sysv/linux/sigwaitinfo.c: Do not include
68593         <bp-checks.h>.
68594         (do_sigwaitinfo): Do not use CHECK_1.
68595         * sysdeps/unix/sysv/linux/sparc/sparc64/msgctl.c: Do not include
68596         <bp-checks.h>.
68597         (msgctl): Do not use CHECK_1.
68598         * sysdeps/unix/sysv/linux/sparc/sparc64/shmctl.c: Do not include
68599         <bp-checks.h>.
68600         (shmctl): Do not use CHECK_1.
68601         * sysdeps/unix/sysv/linux/ustat.c: Do not include <bp-checks.h>.
68602         (ustat): Do not use CHECK_1.
68603         * sysdeps/unix/sysv/linux/wordsize-64/fxstat.c: Do not include
68604         <bp-checks.h>.
68605         (__fxstat): Do not use CHECK_1.
68606         * sysdeps/unix/sysv/linux/wordsize-64/fxstatat.c: Do not include
68607         <bp-checks.h>.
68608         (__fxstatat): Do not use CHECK_1.
68609         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c: Do not include
68610         <bp-checks.h>.
68611         (__lxstat): Do not use CHECK_1.
68612         * sysdeps/unix/sysv/linux/wordsize-64/xstat.c: Do not include
68613         <bp-checks.h>.
68614         (__xstat): Do not use CHECK_1.
68615         * sysdeps/unix/sysv/linux/xstat.c: Do not include <bp-checks.h>.
68616         (__xstat): Do not use CHECK_1.
68617         * sysdeps/unix/sysv/linux/xstat64.c: Do not include <bp-checks.h>.
68618         (___xstat64): Do not use CHECK_1.
68620         [BZ #13550]
68621         * sysdeps/generic/bp-checks.h (CHECK_BOUNDS_LOW): Remove all
68622         definitions.
68623         (CHECK_BOUNDS_HIGH): Likewise.
68624         * string/strcpy.c: Do not include <bp-checks.h>.
68625         (strcpy): Do not use CHECK_BOUNDS_LOW and CHECK_BOUNDS_HIGH.
68627 2013-02-07  Roland McGrath  <roland@hack.frob.com>
68629         * nscd/nscd-client.h (__nscd_drop_map_ref):
68630         Add __attribute__ ((unused)).
68631         * nis/nss-nisplus.h (niserr2nss): Likewise.
68633         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Define it only
68634         under [!(USE_AS_STRCASESTR && STRCASESTR_NONASCII)].
68636         * csu/libc-tls.c (init_static_tls, init_slotinfo):
68637         Remove inline keyword.
68638         * include/rounding-mode.h (round_away): Likewise.
68639         * libio/wfileops.c (adjust_wide_data): Likewise.
68640         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu): Likewise.
68641         (__m128i_strloadu_tolower): Likewise.
68642         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c
68643         (__m128i_strloadu_tolower): Likewise.
68644         * time/mktime.c (ydhms_diff): Likewise.
68645         * locale/elem-hash.h (elem_hash): Likewise.
68646         * locale/setlocale.c (setdata): Likewise.
68647         * posix/regex_internal.h (re_string_char_size_at): Likewise.
68648         (re_string_wchar_at): Likewise.
68649         (bitset_not, bitset_merge, bitset_mask): Likewise.
68650         [!(__GNUC__ > 3)] (inline): Remove macro.
68651         * nscd/nscd-client.h (__nscd_drop_map_ref): Remove inline keyword.
68652         * elf/dl-deps.c (_dl_map_object_deps: preload): Likewise.
68653         * elf/tlsdeschtab.h (_dl_tlsdesc_resolve_early_return_p): Likewise.
68654         (_dl_tlsdesc_wake_up_held_fixups): Likewise.
68655         * string/memcmp.c (memcmp_bytes): Likewise.
68656         * locale/programs/locarchive.c (compute_hashval): Likewise.
68657         * sysdeps/ieee754/dbl-64/x2y2m1.c (mul_split): Likewise.
68658         * sysdeps/unix/sysv/linux/fips-private.h (fips_enabled_p): Likewise.
68659         * resolv/res_send.c (evNowTime, evCmpTime): Likewise.
68660         * nss/getent.c (print_rpc, print_protocols): Likewise.
68661         (print_passwd, print_group, print_aliases): Likewise.
68662         * nis/nss-nisplus.h (niserr2nss): Likewise.
68663         * nscd/connections.c (restart_p): Likewise.
68664         Change return type to bool.
68666 2013-02-05  Roland McGrath  <roland@hack.frob.com>
68668         * Makeconfig (all-Depend-files): Add existing
68669         $(sorted-subdirs:=/Depend) files.
68670         (all-subdirs): Remove nss.
68671         * sysdeps/unix/inet/Subdirs: Add it here instead.
68672         * hesiod/Depend: New file.
68674         * elf/dl-hwcaps.c (_dl_important_hwcaps): Use a variable-length array
68675         instead of calling alloca.
68677         * io/lseek.c (__lseek): Rename to __libc_lseek.
68678         Define __lseek as an alias.
68680         * sysdeps/generic/malloc-sysdep.h: Include <stdbool.h> and <unistd.h>.
68682 2013-02-04  Carlos O'Donell  <carlos@redhat.com>
68684         * stdlib/getenv.c (getenv): Assume __BIG_ENDIAN in the
68685         else clause and remove check for non-standard endianness.
68687 2013-02-04  David S. Miller  <davem@davemloft.net>
68689         * sysdeps/sparc/fpu/libm-test-ulps: Update.
68691 2013-02-04  Joseph Myers  <joseph@codesourcery.com>
68693         [BZ #13550]
68694         * sysdeps/generic/bp-checks.h [__BOUNDED_POINTERS__]
68695         (__ubp_memchr): Remove prototype.
68696         [__BOUNDED_POINTERS__] (_CHECK_STRING): Remove macro.
68697         [__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
68698         [__BOUNDED_POINTERS__] (CHECK_STRING_NULL_OK): Likewise.
68699         [!__BOUNDED_POINTERS__] (CHECK_STRING): Likewise.
68700         * sysdeps/i386/memchr.S [!__BOUNDED_POINTERS__] (__ubp_memchr):
68701         Remove alias.
68702         * sysdeps/sparc/sparc32/memchr.S [!__BOUNDED_POINTERS__]
68703         (__ubp_memchr): Likewise.
68704         * sysdeps/sparc/sparc64/memchr.S [!__BOUNDED_POINTERS__]
68705         (__ubp_memchr): Likewise.
68706         * sysdeps/unix/sysv/linux/execve.c: Do not include <bp-checks.h>.
68707         (__execve) [__BOUNDED_POINTERS__]: Remove conditional code.
68708         (__execve) [!__BOUNDED_POINTERS__]: Make code unconditional.
68709         * sysdeps/unix/sysv/linux/fxstatat.c (__fxstatat): Do not use
68710         CHECK_STRING.
68711         * sysdeps/unix/sysv/linux/fxstatat64.c (__fxstatat64): Likewise.
68712         * sysdeps/unix/sysv/linux/getcwd.c: Do not include <bp-checks.h>.
68713         (__getcwd): Do not use CHECK_STRING.
68714         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
68715         <bp-checks.h>.
68716         (__real_chown): Do not use CHECK_STRING.
68717         * sysdeps/unix/sysv/linux/i386/fchownat.c: Do not include
68718         <bp-checks.h>.
68719         (fchownat): Do not use CHECK_STRING.
68720         * sysdeps/unix/sysv/linux/i386/fxstatat.c (__fxstatat): Do not use
68721         CHECK_STRING.
68722         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
68723         <bp-checks.h>.
68724         (__lchown): Do not use CHECK_STRING.
68725         * sysdeps/unix/sysv/linux/i386/lxstat.c (__lxstat): Likewise.
68726         * sysdeps/unix/sysv/linux/i386/xstat.c (__xstat): Likewise.
68727         * sysdeps/unix/sysv/linux/lxstat.c (__lxstat): Likewise.
68728         * sysdeps/unix/sysv/linux/lxstat64.c (___lxstat64): Likewise.
68729         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
68730         include <bp-checks.h>.
68731         (truncate64): Do not use CHECK_STRING.
68732         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
68733         <bp-checks.h>.
68734         (__real_chown): Do not use CHECK_STRING.
68735         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
68736         <bp-checks.h>.
68737         (__lchown): Do not use CHECK_STRING.
68738         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
68739         <bp-checks.h>.
68740         (__chown): Do not use CHECK_STRING.
68741         * sysdeps/unix/sysv/linux/truncate64.c: Do not include
68742         <bp-checks.h>.
68743         (truncate64): Do not use CHECK_STRING.
68744         * sysdeps/unix/sysv/linux/wordsize-64/lxstat.c (__lxstat):
68745         Likewise.
68746         * sysdeps/unix/sysv/linux/xmknod.c: Do not include <bp-checks.h>.
68747         (__xmknod): Do not use CHECK_STRING.
68748         * sysdeps/unix/sysv/linux/xmknodat.c: Do not include
68749         <bp-checks.h>.
68750         (__xmknodat): Do not use CHECK_STRING.
68751         * sysdeps/unix/sysv/linux/xstat.c (__xstat): Likewise.
68752         * sysdeps/unix/sysv/linux/xstat64.c (___xstat64): Likewise.
68754 2013-02-04  Andreas Schwab  <schwab@suse.de>
68756         [BZ #14142]
68757         * include/errno.h: Redefine errno only if !NOT_IN_libc || IN_LIB.
68758         * include/netdb.h: Likewise for h_errno.
68759         * elf/tst-stackguard1.c: Include <tls.h>.
68761 2013-02-02  Jan Kratochvil  <jan.kratochvil@redhat.com>
68763         * elf/link.h (struct link_map): Extend the l_addr comment.
68764         * include/link.h (struct link_map): Likewise.
68766 2013-02-01  Joseph Myers  <joseph@codesourcery.com>
68768         [BZ #13550]
68769         * sysdeps/generic/bp-checks.h (BOUNDED_N): Remove all definitions.
68770         (BOUNDED_1): Remove macro.
68771         * debug/backtrace.c: Don't include <bp-checks.h>.
68772         (ADVANCE_STACK_FRAME): Don't use BOUNDED_1.
68773         (__backtrace): Likewise.
68774         * sysdeps/powerpc/powerpc32/backtrace.c: Don't include
68775         <bp-checks.h>.
68776         (__backtrace): Don't use BOUNDED_1.
68777         * sysdeps/powerpc/powerpc64/backtrace.c: Don't include
68778         <bp-checks.h>.
68779         (__backtrace): Don't use BOUNDED_1.
68780         * sysdeps/sparc/backtrace.c: Don't include <bp-checks.h>.
68781         (__backtrace): Don't use BOUNDED_1.
68782         * sysdeps/unix/sysv/linux/shmat.c: Don't include <bp-checks.h>.
68783         (shmat): Don't use BOUNDED_N.
68785 2013-01-31  Joseph Myers  <joseph@codesourcery.com>
68787         [BZ #13550]
68788         * sysdeps/generic/bp-start.h: Remove file.
68789         * csu/libc-start.c: Don't include <bp-start.h>.
68790         (LIBC_START_MAIN): Set up __environ directly instead of using
68791         INIT_ARGV_and_ENVIRON.
68792         * sysdeps/unix/sysv/linux/powerpc/libc-start.c: Don't include
68793         <bp-start.h>.
68795         [BZ #13550]
68796         * sysdeps/generic/bp-checks.h (CHECK_IOCTL): Remove both
68797         definitions.
68798         (CHECK_FCNTL): Likewise.
68799         (CHECK_N_PAGES): Likewise.
68801         [BZ #13550]
68802         * sysdeps/generic/bp-checks.h (CHECK_SIGSET): Remove both
68803         definitions.
68804         (CHECK_SIGSET_NULL_OK): Likewise.
68805         * sysdeps/unix/sysv/linux/sigpending.c: Don't include
68806         <bp-checks.h>.
68807         (sigpending): Don't use CHECK_SIGSET.
68808         * sysdeps/unix/sysv/linux/sigprocmask.c: Don't include
68809         <bp-checks.h>.
68810         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
68811         * sysdeps/unix/sysv/linux/sigsuspend.c: Don't include
68812         <bp-checks.h>.
68813         (do_sigsuspend): Don't use CHECK_SIGSET.
68814         * sysdeps/unix/sysv/linux/sigtimedwait.c (do_sigtimedwait): Don't
68815         use CHECK_SIGSET.
68816         * sysdeps/unix/sysv/linux/sigwait.c: Don't include <bp-checks.h>.
68817         (do_sigwait): Don't use CHECK_SIGSET.
68818         * sysdeps/unix/sysv/linux/sigwaitinfo.c (do_sigwaitinfo): Don't
68819         use CHECK_SIGSET.
68820         * sysdeps/unix/sysv/linux/sparc/sparc64/sigpending.c: Don't
68821         include <bp-checks.h>.
68822         (sigpending): Don't use CHECK_SIGSET.
68823         * sysdeps/unix/sysv/linux/sparc/sparc64/sigprocmask.c: Don't
68824         include <bp-checks.h>.
68825         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
68826         * sysdeps/unix/sysv/linux/x86_64/sigpending.c: Don't include
68827         <bp-checks.h>.
68828         (sigpending): Don't use CHECK_SIGSET.
68829         * sysdeps/unix/sysv/linux/x86_64/sigprocmask.c: Don't include
68830         <bp-checks.h>.
68831         (__sigprocmask): Don't use CHECK_SIGSET and CHECK_SIGSET_NULL_OK.
68833         [BZ #13550]
68834         * sysdeps/generic/bp-semctl.h: Remove file.
68835         * sysdeps/unix/sysv/linux/i386/semctl.c: Don't include
68836         <bp-checks.h> and <bp-semctl.h>.
68837         (__old_semctl): Don't use CHECK_SEMCTL.
68838         (__new_semctl): Likewise.
68839         * sysdeps/unix/sysv/linux/semctl.c: Don't include <bp-checks.h>
68840         and <bp-semctl.h>.
68841         (__old_semctl): Don't use CHECK_SEMCTL.
68842         (__new_semctl): Likewise.
68843         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Don't include
68844         <bp-checks.h> and <bp-semctl.h>.
68845         (__old_semctl): Don't use CHECK_SEMCTL.
68846         (__new_semctl): Likewise.
68847         * sysdeps/unix/sysv/linux/sparc/sparc64/semctl.c: Don't include
68848         <bp-checks.h> and <bp-semctl.h>.
68849         (semctl): Don't use CHECK_SEMCTL.
68851         [BZ #13550]
68852         * Makerules (elide-bp-thunks): Remove variable.
68853         (elide-routines.oS): Don't use $(elide-bp-thunks).
68854         (elide-routines.os): Likewise.
68855         (elide-routines.o): Likewise.
68856         (elide-routines.op): Likewise.
68857         (elide-routines.og): Likewise.
68858         (objects): Don't use $(bp-thunks).
68859         * sysdeps/unix/Makefile ($(common-objpfx)s-proto-bp.d): Do not
68860         include.
68861         (common-generated): Do not add s-proto-bp.d.
68862         * sysdeps/unix/make-syscalls.sh (ptr): Remove variable.
68863         (int): Likewise.
68864         (typ): Likewise.
68865         Do not generate makefile rules for bounded-pointer thunks.
68866         * sysdeps/generic/bp-thunks.h: Remove file.
68867         * sysdeps/unix/sysv/linux/i386/bp-thunks.h: Likewise.
68868         * sysdeps/unix/s-proto-bp.S: Likewise.
68870         [BZ #15062]
68871         * math/k_casinh.c (__kernel_casinh): Compute real and imaginary
68872         parts of result separately when argument is not close to line from
68873         -i to i and one part of argument is small.
68874         * math/k_casinhf.c (__kernel_casinhf): Likewise.
68875         * math/k_casinhl.c (__kernel_casinhl): Likewise.
68876         * math/libm-test.inc (cacos_test): Add more tests.
68877         (casin_test): Likewise.
68878         (casinh_test): Likewise.
68879         * sysdeps/i386/fpu/libm-test-ulps: Update.
68880         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
68882 2013-01-31  David S. Miller  <davem@davemloft.net>
68884         * po/de.po: Update from translation team.
68886 2013-01-25  Maxim Kuvyrkov  <maxim.kuvyrkov@gmail.com>
68888         * time/tzfile.c: Include stdint.h for SIZE_MAX.
68890 2013-01-25  Thomas Schwinge  <thomas@codesourcery.com>
68892         * configure.in (_AC_PROG_CC_C89): New definition.
68893         * configure: Regenerate.
68895         * configure.in (AC_PROG_CPP): New definition.
68896         * configure: Regenerate.
68898 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
68900         * debug/tst-backtrace.h: New file.
68901         * debug/tst-backtrace2.c: Include tst-backtrace.h.
68902         (ret): Remove variable.
68903         (x): Likewise.
68904         (FAIL): Remove macro.
68905         (NO_INLINE): Likewise.
68906         (fn1): Use match function instead of strstr.
68907         * debug/tst-backtrace3.c: Include tst-backtrace.h.
68908         (ret): Remove variable.
68909         (x): Likewise.
68910         (FAIL): Remove macro.
68911         (NO_INLINE): Likewise.
68912         (fn): Use match function instead of strstr.
68913         * debug/tst-backtrace4.c: Include tst-backtrace.h.
68914         (ret): Remove variable.
68915         (x): Likewise.
68916         (FAIL): Remove macro.
68917         (NO_INLINE): Likewise.
68918         (handle_signal): Use match function instead of strstr.
68919         * debug/tst-backtrace5.c: Include tst-backtrace.h.
68920         (ret): Remove variable.
68921         (x): Likewise.
68922         (FAIL): Remove macro.
68923         (NO_INLINE): Likewise.
68924         (handle_signal): Use match function instead of strstr.
68926 2013-01-23  Roland McGrath  <roland@hack.frob.com>
68928         * misc/sys/cdefs.h (__glibc_unlikely, __glibc_likely): Fix whitespace.
68930 2013-01-23  David S. Miller  <davem@davemloft.net>
68932         * sysdeps/sparc/sparc32/sparcv9/bits/atomic.h
68933         (__arch_compare_and_exchange_val_32_acq): Use %g0 as second
68934         argument of CAS if possible.
68935         * sysdeps/sparc/sparc64/bits/atomic.h
68936         (__arch_compare_and_exchange_val_32_acq): Likewise.
68937         (__arch_compare_and_exchange_val_64_acq): Likewise.
68939 2013-01-23  Pino Toscano  <toscano.pino@tiscali.it>
68941         * sysdeps/unix/sysv/linux/ulimit.c: Moved to ...
68942         * sysdeps/posix/ulimit.c: ... this.
68943         Include <limits.h>.
68944         * sysdeps/unix/bsd/ulimit.c: Remove file.
68946 2013-01-23  Adam Conrad  <adconrad@0c3.net>
68948         * elf/Makefile (LDFLAGS-tst-array2): Add $(no-as-needed).
68949         (LDFLAGS-tst-array5): Likewise.
68951 2013-01-23  Joseph Myers  <joseph@codesourcery.com>
68953         [BZ #15036]
68954         * bits/wchar.h (__WCHAR_MAX): Define based on __WCHAR_MAX__, or
68955         based on [L'\0' - 1 > 0] if [!__WCHAR_MAX__].
68956         (__WCHAR_MIN): Likewise, using __WCHAR_MIN__.
68957         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: Remove.
68959 2013-01-21  David S. Miller  <davem@davemloft.net>
68961         * sysdeps/sparc/backtrace.c: New file.
68962         * sysdeps/sparc/sparc32/backtrace.h: New file.
68963         * sysdeps/sparc/sparc32/sparcv9/backtrace.h: New file.
68964         * sysdeps/sparc/sparc64/backtrace.h: New file.
68965         * sysdeps/sparc/sparc64/backtrace.c: Delete.
68966         * sysdeps/sparc/Makefile (CFLAGS-backtrace.c): Add
68967         -funwind-tables.
68969 2013-01-21  Andreas Schwab  <schwab@suse.de>
68971         [BZ #15020]
68972         * posix/wordexp.c (exec_comm): Avoid busy loop when command has
68973         closed its stdout.
68975 2013-01-20  Andreas Schwab  <schwab@linux-m68k.org>
68977         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Don't include
68978         "mpa2.h".
68979         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
68981 2013-01-18  Joseph Myers  <joseph@codesourcery.com>
68982             Mark Mitchell  <mark@codesourcery.com>
68983             Tom de Vries  <tom@codesourcery.com>
68984             Paul Pluzhnikov  <ppluzhnikov@google.com>
68986         * debug/tst-backtrace2.c: New file.
68987         * debug/tst-backtrace3.c: Likewise.
68988         * debug/tst-backtrace4.c: Likewise.
68989         * debug/tst-backtrace5.c: Likewise.
68990         * debug/Makefile (CFLAGS-tst-backtrace2.c): New variable.
68991         (CFLAGS-tst-backtrace3.c): Likewise.
68992         (CFLAGS-tst-backtrace4.c): Likewise.
68993         (CFLAGS-tst-backtrace5.c): Likewise.
68994         (LDFLAGS-tst-backtrace2): Likewise.
68995         (LDFLAGS-tst-backtrace3): Likewise.
68996         (LDFLAGS-tst-backtrace4): Likewise.
68997         (LDFLAGS-tst-backtrace5): Likewise.
68998         (tests): Add new tests tst-backtrace2, tst-backtrace3,
68999         tst-backtrace4 and tst-backtrace5.
69001 2013-01-18  Anton Blanchard  <anton@samba.org>
69002             Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
69004         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Rename
69005         __kernel_vdso_get_tbfreq to __kernel_get_tbfreq.
69006         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Add parameter to
69007         INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK to specify return type.
69008         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
69009         (INTERNAL_VSYSCALL_NCS): Change "=&r" in inline asm output regs list to
69010         "+r" and remove output regs list as redundant.  Add explicit inline
69011         asm to specify register of return val to work around compiler codegen
69012         bug.  Remove (int) cast on return value.  Add return type parameter to
69013         use in macro so that this macro does not truncate return value for
69014         64-bit values.
69015         (INTERNAL_VSYSCALL_NO_SYSCALL_FALLBACK): Add return type parameter and
69016         pass to INTERNAL_VSYSCALL_NCS.
69017         (INLINE_VSYSCALL): Add 'long int' as return type to
69018         INTERNAL_VSYSCALL_NCS macro invocation.
69019         (INTERNAL_VSYSCALL): Add 'long int' as return type to
69020         INTERNAL_VSYSCALL_NCS macro invocation.
69021         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
69023 2013-01-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
69025         [BZ #14496]
69026         * sysdeps/i386/fpu/fenv_private.h (libc_feupdateenv_test_sse):
69027         Fix application of SIMD FP exception mask.
69029         * sysdeps/ieee754/dbl-64/mpa.h (__pow_mp): New function to get an
69030         mp_no from a power of two.
69031         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove
69032         __mpexp_twomm1.  Use __pow_mp.
69034         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Remove unnecessary
69035         multiplication.
69037 2013-01-17  David S. Miller  <davem@davemloft.net>
69039         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69041 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
69043         [BZ #15023]
69044         * include/complex.h: Condition contents on [!_COMPLEX_H].
69045         (__kernel_casinhf): New prototype.
69046         (__kernel_casinh): Likewise.
69047         (__kernel_casinhl): Likewise.
69048         * math/Makefile (libm_calls): Add k_casinh.
69049         * math/k_casinh.c: New file.
69050         * math/k_casinhf.c: Likewise.
69051         * math/k_casinhl.c: Likewise.
69052         * math/s_cacos.c (__cacos): Implement using __kernel_casinh for
69053         finite nonzero arguments.
69054         * math/s_cacosf.c (__cacosf): Implement using __kernel_casinhf for
69055         finite nonzero arguments.
69056         * math/s_cacosl.c (__cacosl): Implement using __kernel_casinhl for
69057         finite nonzero arguments.
69058         * math/s_casinh.c: Do not include <float.h>.
69059         (__casinh): Move code for finite nonzero arguments to k_casinh.c.
69060         * math/s_casinhf.c: Do not include <float.h>.
69061         (__casinhf): Move code for finite nonzero arguments to
69062         k_casinhf.c.
69063         * math/s_casinhl.c: Do not include <float.h>.
69064         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Do not undefine and
69065         redefine.
69066         (__casinhl): Move code for finite nonzero arguments to
69067         k_casinhl.c.
69068         * math/libm-test.inc (cacos_test): Add more tests.
69069         * sysdeps/i386/fpu/libm-test-ulps: Update.
69070         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69072 2013-01-17  Pino Toscano  <toscano.pino@tiscali.it>
69074         * sysdeps/unix/sysv/linux/malloc-sysdep.h (HAVE_MREMAP): New define.
69075         * malloc/malloc.c: Include <unistd.h> and <malloc-sysdep.h>.
69076         [!HAVE_MREMAP]: Remove [defined linux] case.
69077         * malloc/arena.c: Do not include <malloc-sysdep.h>.
69079 2013-01-17  Siddhesh Poyarekar  <siddhesh@redhat.com>
69081         * sysdeps/ieee754/dbl-64/mpa.c: Fix header comment.
69083 2013-01-17  H.J. Lu  <hongjiu.lu@intel.com>
69085         * elf/elf.h (R_386_SIZE32): New relocation.
69086         * sysdeps/i386/dl-machine.h (elf_machine_rel): Handle
69087         R_386_SIZE32.
69088         (elf_machine_rela): Likewise.
69089         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
69090         R_X86_64_SIZE64 and R_X86_64_SIZE32.
69092 2013-01-17  Joseph Myers  <joseph@codesourcery.com>
69094         * sysdeps/powerpc/bits/mathdef.h [_SOFT_FLOAT || __NO_FPRS__]
69095         (FP_FAST_FMA): Do not define.
69096         [_SOFT_FLOAT || __NO_FPRS__] (FP_FAST_FMAF): Likewise.
69097         * sysdeps/powerpc/fpu/bits/fenvinline.h [__GNUC__ && !_SOFT_FLOAT
69098         && !__NO_MATH_INLINES]: Add [!__NO_FPRS__] condition.
69099         * sysdeps/powerpc/fpu/bits/mathinline.h [__GNUC__ &&
69100         !_SOFT_FLOAT]: Likewise.
69101         * sysdeps/powerpc/fpu/fpu_control.h [_SOFT_FLOAT || __NO_FPRS__]
69102         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_RESERVED): Define with generic
69103         value.
69104         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_DEFAULT): Likewise.
69105         [_SOFT_FLOAT || __NO_FPRS__] (fpu_control_t): Likewise.
69106         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_GETCW): Likewise.
69107         [_SOFT_FLOAT || __NO_FPRS__] (_FPU_SETCW): Likewise.
69108         [_SOFT_FLOAT || __NO_FPRS__] (__fpu_control): Likewise.
69109         [!_SOFT_FLOAT && !__NO_FPRS__]: Condition previous contents of
69110         file.
69112 2013-01-16  Andreas Schwab  <schwab@suse.de>
69114         [BZ #14327]
69115         * include/stdlib.h (__mktemp): Add declaration.
69116         * misc/mktemp.c (__mktemp): Renamed from mktemp, add weak alias.
69117         * misc/Versions (GLIBC_PRIVATE): Add __mktemp.
69119 2013-01-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
69121         * sysdeps/ieee754/dbl-64/atnat.h: Remove constant value
69122         definitions.
69123         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
69124         * sysdeps/ieee754/dbl-64/mpa.c: Do not include mpa2.h.
69125         * sysdeps/ieee754/dbl-64/mpa.h: Move all constant value
69126         definitions here.
69127         * sysdeps/ieee754/dbl-64/mpa2.h: Remove.
69128         * sysdeps/ieee754/dbl-64/mpatan.h: Remove constant value
69129         definitions.
69130         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Remove ZERO
69131         and ONE.
69132         * sysdeps/ieee754/dbl-64/mpexp.c: Do not include mpexp.h.
69133         * sysdeps/ieee754/dbl-64/mpexp.h: Remove.
69134         * sysdeps/ieee754/dbl-64/mpsqrt.h: Remove constant value
69135         definitions.
69136         * sysdeps/ieee754/dbl-64/mptan.c (__mptan): Remove MONE.
69137         * sysdeps/ieee754/dbl-64/ulog.h: Remove constant value
69138         definitions.
69139         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
69141         * sysdeps/ieee754/dbl-64/mpa2.h: Fix the value of TWO.
69143 2013-01-15  David S. Miller  <davem@davemloft.net>
69145         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
69146         trunc{,f} to libm-sysdep_routes.
69147         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
69148         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc-vis3.S: New
69149         file.
69150         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_trunc.S: New file.
69151         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf-vis3.S: New
69152         file.
69153         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_truncf.S: New
69154         file.
69155         * sysdeps/sparc/sparc32/sparcv9/fpu/s_trunc.S: New file.
69156         * sysdeps/sparc/sparc32/sparcv9/fpu/s_truncf.S: New file.
69157         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc-vis3.S: New file.
69158         * sysdeps/sparc/sparc64/fpu/multiarch/s_trunc.S: New file.
69159         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf-vis3.S: New file.
69160         * sysdeps/sparc/sparc64/fpu/multiarch/s_truncf.S: New file.
69161         * sysdeps/sparc/sparc64/fpu/s_trunc.S: New file.
69162         * sysdeps/sparc/sparc64/fpu/s_truncf.S: New file.
69164         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
69165         nearbyint{,f} to libm-sysdep_routes.
69166         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
69167         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint-vis3.S:
69168         New file.
69169         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyint.S: New
69170         file.
69171         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf-vis3.S:
69172         New file.
69173         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_nearbyintf.S: New
69174         file.
69175         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyint.S: New file.
69176         * sysdeps/sparc/sparc32/sparcv9/fpu/s_nearbyintf.S: New file.
69177         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint-vis3.S: New
69178         file.
69179         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyint.S: New file.
69180         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf-vis3.S: New
69181         file.
69182         * sysdeps/sparc/sparc64/fpu/multiarch/s_nearbyintf.S: New file.
69183         * sysdeps/sparc/sparc64/fpu/s_nearbyint.S: New file.
69184         * sysdeps/sparc/sparc64/fpu/s_nearbyintf.S: New file.
69186         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Use
69187         libc_feholdexcept and libc_fesetenv.
69189 2013-01-15  Mike Frysinger  <vapier@gentoo.org>
69191         * sysdeps/unix/sysv/linux/scsi/sg.h: Include stddef.h.
69193 2013-01-14  David S. Miller  <davem@davemloft.net>
69195         * sysdeps/sparc/sparc-ifunc.h (SPARC_ASM_IFUNC2): New macro.
69196         (SPARC_ASM_VIS2_IFUNC): Likewise.
69197         (SPARC_ASM_VIS3_VIS2_IFUNC): Likewise.
69198         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: Make
69199         use of 'siam' instruction.
69200         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S:
69201         Likewise.
69202         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S:
69203         Likewise.
69204         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S:
69205         Likewise.
69206         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: Likewise.
69207         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: Likewise.
69208         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: Likewise.
69209         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: Likewise.
69210         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis2.S: New
69211         file.
69212         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis2.S: New
69213         file.
69214         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis2.S: New
69215         file.
69216         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis2.S: New
69217         file.
69218         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis2.S: New file.
69219         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis2.S: New file.
69220         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis2.S: New file.
69221         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis2.S: New file.
69222         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Hook in
69223         new VIS2 routines.
69224         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
69225         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
69226         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
69227         Likewise.
69228         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
69229         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
69230         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
69231         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
69232         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new VIS2
69233         routines to libm-sysdep_routines.
69234         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Likewise.
69236         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add vis3
69237         fdim/fdimf to libm-sysdep_routines.
69238         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim-vis3.S: New
69239         file.
69240         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdim.S: New file.
69241         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf-vis3.S: New
69242         file.
69243         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fdimf.S: New file.
69244         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdim.S: New file.
69245         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fdimf.S: New file.
69246         * sysdeps/sparc/sparc32/fpu/s_fdim.S: New file.
69247         * sysdeps/sparc/sparc32/fpu/s_fdimf.S: New file.
69248         * sysdeps/sparc/sparc64/fpu/s_fdim.S: New file.
69249         * sysdeps/sparc/sparc64/fpu/s_fdimf.S: New file.
69251 2013-01-14  Siddhesh Poyarekar  <siddhesh@redhat.com>
69253         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Add a local variable
69254         to optimize copies.
69256         * sysdeps/ieee754/dbl-64/mpa.c: Fix formatting.
69257         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
69258         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
69260         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__inv): Remove
69261         local variable MPTWO.
69262         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__inv):
69263         Likewise.
69265 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
69267         * manual/pattern.texi (Flags for Globbing): Move GLOB_NOSORT after
69268         GLOB_NOESCAPE.
69270 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
69272         * manual/pattern.texi (Flags for Globbing): Highlight GNU extensions.
69274 2013-01-13  Mike Frysinger  <vapier@gentoo.org>
69276         * manual/pattern.texi (glob_t): Document gl_flags.
69277         (glob64_t): Likewise.
69279 2013-01-11  David S. Miller  <davem@davemloft.net>
69281         * math/Makefile (gmp-objs): Use $(gmp-sysdep_routines).
69282         * sysdeps/sparc/sparc64/multiarch/Makefile [$(subdir) = math]
69283         (gmp-sysdep_routines): New variable.  Add VIS3 optimized GMP routines.
69284         * sysdeps/sparc/sparc64/multiarch/add_n-vis3.S: New file.
69285         * sysdeps/sparc/sparc64/multiarch/add_n.S: New file.
69286         * sysdeps/sparc/sparc64/multiarch/addmul_1-vis3.S: New file.
69287         * sysdeps/sparc/sparc64/multiarch/addmul_1.S: New file.
69288         * sysdeps/sparc/sparc64/multiarch/mul_1-vis3.S: New file.
69289         * sysdeps/sparc/sparc64/multiarch/mul_1.S: New file.
69290         * sysdeps/sparc/sparc64/multiarch/sub_n-vis3.S: New file.
69291         * sysdeps/sparc/sparc64/multiarch/sub_n.S: New file.
69292         * sysdeps/sparc/sparc64/multiarch/submul_1-vis3.S: New file.
69293         * sysdeps/sparc/sparc64/multiarch/submul_1.S: New file.
69295         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
69296         sparc V9 rather than using V8 code.
69297         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
69298         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
69300         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
69301         Move to...
69302         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/multiarch/Implies:
69303         Here.
69305 2013-01-11  Roland McGrath  <roland@hack.frob.com>
69307         [BZ #14941]
69308         * configure.in (sysnames): Use $multi_arch_d in setting up $mach list,
69309         not in the main loop.
69310         * configure: Regenerated.
69312 2013-01-11  Joseph Myers  <joseph@codesourcery.com>
69314         * include/features.h (__GLIBC_HAVE_LONG_LONG): Remove.
69315         * bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change #elif condition
69316         to just #else.
69317         * bits/types.h [__GLIBC_HAVE_LONG_LONG]: Likewise.  Remove
69318         [!__GLIBC_HAVE_LONG_LONG] case.
69319         * posix/sys/types.h [__GLIBC_HAVE_LONG_LONG]: Change #elif
69320         condition to just #else.
69321         * stdlib/stdlib.h [__USE_ISOC99 || (__GLIBC_HAVE_LONG_LONG &&
69322         __USE_MISC)]: Change all uses to [__USE_ISOC99 || __USE_MISC].
69323         [__GLIBC_HAVE_LONG_LONG && __USE_BSD]: Change to [__USE_BSD].
69324         * string/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Make code
69325         unconditional.
69326         * string/endian.h [__GLIBC_HAVE_LONG_LONG]: Likewise.
69327         * sysdeps/s390/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
69328         #elif condition to just #else.
69329         * sysdeps/unix/sysv/linux/sys/sysmacros.h
69330         [__GLIBC_HAVE_LONG_LONG]: Make code unconditional.
69331         * sysdeps/x86/bits/byteswap.h [__GLIBC_HAVE_LONG_LONG]: Change
69332         #elif condition to just #else.
69334 2013-01-11  Steve Ellcey  <sellcey@mips.com>
69336         * elf/elf.h (EF_MIPS_ARCH_32): Fix value.
69337         (EF_MIPS_ARCH_64): Fix value.
69338         (EF_MIPS_ARCH_32R2): New.
69339         (EF_MIPS_ARCH_64R2): New.
69341 2013-01-11  H.J. Lu  <hongjiu.lu@intel.com>
69343         * Makeconfig (+link-pie-before-libc): New.
69344         (+link-pie-after-libc): Likewise.
69345         (+link-pie-tests): Likewise.
69346         (+link-pie): Rewritten.
69347         (link-before-libc): Remove $(config-LDFLAGS).
69348         (+link): Add $(rtld-LDFLAGS) after $(+link-before-libc).
69349         (+link-tests): Add $(rtld-tests-LDFLAGS) after $(+link-before-libc).
69350         (config-LDFLAGS): Renamed to ...
69351         (rtld-LDFLAGS): This.
69352         (rtld-tests-LDFLAGS): New macro.
69353         (link-libc-rpath-link): Likewise.
69354         (link-libc-tests-rpath-link): Likewise.
69355         (link-libc-before-gnulib): Remove -Wl,-rpath-link=$(rpath-link).
69356         (link-libc): Prepand $(link-libc-rpath-link).
69357         (link-libc-tests): Prepand $(link-libc-tests-rpath-link).
69358         (test-program-prefix): New macro.
69359         (test-via-rtld-prefix): Likewise.
69360         (test-program-cmd): Likewise.
69361         (host-test-program-cmd): Likewise.
69362         * Makefile ($(common-objpfx)testrun.sh): Replace
69363         $(run-program-prefix) with $(test-program-prefix).
69364         * Makerules ($(LINK.o)): Replace $(config-LDFLAGS) with
69365         $(rtld-LDFLAGS).
69366         ($(common-objpfx)shlib.lds): Likewise.
69367         (build-module-helper): Likewise.
69368         ($(common-objpfx)format.lds): Likewise.
69369         * Rules (binaries-pie-tests): New.
69370         (binaries-pie-notests): Likewise.
69371         (binaries-pie): Rewritten.
69372         ($(addprefix $(objpfx),$(binaries-pie))): Renamed to ...
69373         ($(addprefix $(objpfx),$(binaries-pie-notests))): This.
69374         ($(addprefix $(objpfx),$(binaries-pie-tests))): New.
69375         (make-test-out): Replace $(host-built-program-cmd) with
69376         $(host-test-program-cmd).
69377         * config.make.in (build-hardcoded-path-in-tests): New variable.
69378         * configure.in (--enable-hardcoded-path-in-tests): New configure
69379         option.
69380         (hardcoded_path_in_tests): New AC_SUBST.
69381         * configure: Regenerated.
69382         * catgets/Makefile ($(objpfx)test-gencat.out): Replace
69383         $(built-program-cmd) with $(test-program-cmd).
69384         * catgets/test-gencat.sh (run_program_cmd): Renamed to ...
69385         (test_program_cmd): This.
69386         * elf/Makefile ($(objpfx)order.out): Run test with
69387         $(test-program-prefix).
69388         ($(objpfx)order2.out): Likewise.
69389         ($(objpfx)tst-initorder.out): Likewise.
69390         ($(objpfx)tst-initorder2.out): Likewise.
69391         ($(objpfx)tst-array1.out): Replace $(built-program-cmd) with
69392         $(test-program-cmd).
69393         ($(objpfx)tst-array1-static.out): Likewise.
69394         ($(objpfx)tst-array2.out): Likewise.
69395         ($(objpfx)tst-array3.out): Likewise.
69396         ($(objpfx)tst-array4.out): Likewise.
69397         ($(objpfx)tst-array5.out): Likewise.
69398         ($(objpfx)tst-array5-static.out): Likewise.
69399         (tst-stackguard1-ARGS): Replace $(built-program-cmd) with
69400         $(test-program-cmd).
69401         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Replace
69402         $(run-program-prefix) with $(test-program-prefix).
69403         * grp/tst_fgetgrent.sh (run_program_prefix): Renamed to ...
69404         (test_program_prefix): This.
69405         * iconvdata/Makefile ($(objpfx)tst-tables.out): Replace
69406         $(run-program-prefix) with $(test-program-prefix).
69407         * iconvdata/tst-table.sh (run_program_prefix): Renamed to ...
69408         (test_program_prefix): This.
69409         * iconvdata/tst-tables.sh: Likewise.
69410         * intl/Makefile ($(objpfx)tst-gettext.out): Replace
69411         $(run-program-prefix) with $(test-program-prefix).
69412         ($(objpfx)tst-translit.out): Likewise.
69413         ($(objpfx)tst-gettext2.out): Likewise.
69414         ($(objpfx)tst-gettext4.out): Likewise.
69415         ($(objpfx)tst-gettext6.out): Likewise.
69416         * intl/tst-gettext.sh (run_program_prefix): Renamed to ...
69417         (test_program_prefix): This.
69418         * intl/tst-gettext2.sh: Likewise.
69419         * intl/tst-gettext4.sh  Likewise.
69420         * intl/tst-gettext6.sh: Likewise.
69421         * intl/tst-translit.sh: Likewise.
69422         * io/Makefile ($(objpfx)ftwtest.out): Replace $(run-program-cmd)
69423         with $(test-program-cmd).
69424         * libio/Makefile ($(objpfx)test-freopen.out): Replace
69425         $(run-program-prefix) with $(test-program-prefix).
69426         * libio/test-freopen.sh (run_program_prefix): Renamed to ...
69427         (test_program_prefix): This.
69428         * malloc/Makefile ($(objpfx)tst-mtrace.out): Replace
69429         $(run-program-prefix) with $(test-program-prefix).
69430         * malloc/tst-mtrace.sh (run_program_prefix): Renamed to ...
69431         (test_program_prefix): This.
69432         * manual/install.texi: Document --enable-hardcoded-path-in-tests.
69433         * posix/Makefile ($(objpfx)globtest.out): Replace
69434         $(run-via-rtld-prefix) and $(test-wrapper) with
69435         $(test-program-prefix) and $(test-via-rtld-prefix).
69436         ($(objpfx)wordexp-tst.out): Replace $(run-program-prefix) with
69437         $(test-program-prefix).
69438         (tst-exec-ARGS): Replace $(host-built-program-cmd) with
69439         $(host-test-program-cmd).
69440         (tst-spawn-ARGS): Likewise.
69441         ($(objpfx)tst-rxspencer-mem): Replace $(run-program-prefix) with
69442         $(test-program-prefix).
69443         * posix/globtest.sh (un_via_rtld_prefix): Renamed to ...
69444         (test_via_rtld_prefix): This.
69445         (test_wrapper): Renamed to ...
69446         (test_program_prefix): This.
69447         (run_program_prefix): Replaced by test_program_prefix.
69448         * posix/wordexp-tst.sh (run_program_prefix): Renamed to ...
69449         (test_program_prefix): This.
69450         * rt/Makefile (tst-mqueue7-ARGS): Replace $(host-built-program-cmd)
69451         with $(host-test-program-cmd).
69452         * stdio-common/Makefile ($(objpfx)tst-unbputc.out): Replace
69453         $(run-program-prefix) with $(test-program-prefix).
69454         ($(objpfx)tst-printf.out): Likewise.
69455         ($(objpfx)tst-setvbuf1.out): Replace $(built-program-cmd) with
69456         $(test-program-cmd).
69457         * stdio-common/tst-printf.sh (run_program_prefix): Renamed to ...
69458         (test_program_prefix): This.
69459         * stdio-common/tst-unbputc.sh: Likewise.
69460         * stdlib/Makefile ($(objpfx)tst-fmtmsg.out): Replace
69461         $(run-program-prefix) with $(test-program-prefix).
69462         * stdlib/tst-fmtmsg.sh (run_program_prefix): Renamed to ...
69463         (test_program_prefix): This.
69464         * string/Makefile ($(objpfx)tst-svc.out):  Replace
69465         $(built-program-cmd) with $(test-program-cmd).
69467 2013-01-11  Andreas Jaeger  <aj@suse.de>
69469         [BZ #15003]
69470         * sysdeps/unix/sysv/linux/bits/socket.h (MSG_FASTOPEN): New
69471         value. Sync with Linux 3.7.
69473 2013-01-10  David S. Miller  <davem@davemloft.net>
69475         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Revert previous changes.
69476         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
69477         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
69479 2013-01-10  Roland McGrath  <roland@hack.frob.com>
69481         * configure.in (sysnames): Drop use of $m0sub and $msub, which are
69482         never set.
69483         * configure: Regenerated.
69485 2013-01-10  David S. Miller  <davem@davemloft.net>
69487         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: Properly optimize for 32-bit
69488         sparc V9 rather than using V8 code.
69489         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: Likewise.
69490         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: Likewise.
69492 2013-01-10  Roland McGrath  <roland@hack.frob.com>
69494         * elf/elf.h (DT_SPARC_REGISTER, DT_SPARC_NUM): Fix whitespace.
69495         (EF_MIPS_NOREORDER, EF_MIPS_PIC, EF_MIPS_CPIC, EF_MIPS_XGOT): Likewise.
69496         (EF_MIPS_64BIT_WHIRL, EF_MIPS_ABI2, EF_MIPS_ABI_ON32): Likewise.
69497         (EF_MIPS_ARCH, EF_MIPS_ARCH_1, EF_MIPS_ARCH_2): Likewise.
69498         (EF_MIPS_ARCH_3, EF_MIPS_ARCH_4, EF_MIPS_ARCH_5): Likewise.
69499         (EF_MIPS_ARCH_32, EF_MIPS_ARCH_64): Likewise.
69500         (E_MIPS_ARCH_1): Define in terms of EF_MIPS_ARCH_* counterpart.
69501         (E_MIPS_ARCH_2, E_MIPS_ARCH_3, E_MIPS_ARCH_4, E_MIPS_ARCH_5): Likewise.
69502         (E_MIPS_ARCH_32, E_MIPS_ARCH_64): Likewise.
69503         (SHN_MIPS_ACOMMON, SHN_MIPS_TEXT, SHN_MIPS_DATA): Fix whitespace.
69504         (SHN_MIPS_SCOMMON, SHN_MIPS_SUNDEFINED): Likewise.
69505         (SHT_MIPS_LIBLIST, SHT_MIPS_MSYM, SHT_MIPS_CONFLICT): Likewise.
69506         (SHT_MIPS_GPTAB, SHT_MIPS_UCODE, SHT_MIPS_DEBUG): Likewise.
69507         (SHT_MIPS_REGINFO, SHT_MIPS_PACKAGE, SHT_MIPS_PACKSYM): Likewise.
69508         (SHT_MIPS_RELD, SHT_MIPS_IFACE, SHT_MIPS_CONTENT): Likewise.
69509         (SHT_MIPS_OPTIONS, SHT_MIPS_SHDR, SHT_MIPS_FDESC): Likewise.
69510         (SHT_MIPS_EXTSYM, SHT_MIPS_DENSE, SHT_MIPS_PDESC): Likewise.
69511         (SHT_MIPS_LOCSYM, SHT_MIPS_AUXSYM, SHT_MIPS_OPTSYM): Likewise.
69512         (SHT_MIPS_LOCSTR, SHT_MIPS_LINE, SHT_MIPS_RFDESC): Likewise.
69513         (SHT_MIPS_DELTASYM, SHT_MIPS_DELTAINST, SHT_MIPS_DELTACLASS): Likewise.
69514         (SHT_MIPS_DELTADECL, SHT_MIPS_SYMBOL_LIB, SHT_MIPS_EVENTS): Likewise.
69515         (SHT_MIPS_TRANSLATE, SHT_MIPS_PIXIE, SHT_MIPS_XLATE): Likewise.
69516         (SHT_MIPS_XLATE_DEBUG, SHT_MIPS_WHIRL, SHT_MIPS_EH_REGION): Likewise.
69517         (SHT_MIPS_XLATE_OLD, SHT_MIPS_PDR_EXCEPTION): Likewise.
69518         (SHF_MIPS_GPREL, SHF_MIPS_MERGE, SHF_MIPS_ADDR): Likewise.
69519         (SHF_MIPS_STRINGS, SHF_MIPS_NOSTRIP, SHF_MIPS_LOCAL): Likewise.
69520         (SHF_MIPS_NAMES, SHF_MIPS_NODUPE): Likewise.
69522 2013-01-10  David S. Miller  <davem@davemloft.net>
69524         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69526 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
69528         * posix/Makefile (tests-static): New variable.
69529         (tests): Add $(tests-static).
69530         (tst-exec-static-ARGS): New variable.
69531         (tst-spawn-static-ARGS): Likewise.
69532         * posix/tst-exec-static.c: New file.
69533         * posix/tst-spawn-static.c: Likewise.
69534         * posix/tst-exec.c: Support run directly.
69535         * posix/tst-spawn.c: Likewise.
69537 2013-01-10  Joseph Myers  <joseph@codesourcery.com>
69539         * elf/link.h (struct dl_phdr_info): Use __extension__ with long
69540         long.
69541         * math/bits/mathcalls.h (llrint): Likewise.
69542         (llround): Likewise.
69543         * stdlib/stdlib.h (struct drand48_data): Likewise.
69544         * sysdeps/generic/inttypes.h (imaxdiv_t): Likewise.
69545         * sysdeps/s390/bits/byteswap.h (__bswap_64): Likewise.
69546         * sysdeps/unix/sysv/linux/sparc/bits/ipc.h (struct ipc_perm):
69547         Likewise.
69548         * sysdeps/unix/sysv/linux/sparc/sys/ucontext.h (struct fpu):
69549         Likewise.
69550         * sysdeps/unix/sysv/linux/x86/sys/procfs.h [__x86_64__]
69551         (elf_greg_t): Likewise.
69552         * sysdeps/x86/bits/setjmp.h [__x86_64__ && __WORDSIZE != 64]
69553         (__jmp_buf): Likewise.
69554         * sysdeps/x86/fpu/bits/mathinline.h (llrintf): Likewise, for all
69555         definitions.
69556         (llrint): Likewise, for all definitions.
69557         (llrintl): Likewise.
69559         * string/string.h [__USE_BSD && __USE_GNU && __GNUC__] (ffsll):
69560         Remove [__GNUC__] condition.
69561         * wcsmbs/wchar.h [__USE_ISOC99 || (__GNUC__ && __USE_GNU)]: Change
69562         condition to just [__USE_ISOC99].
69563         [__GNUC__ && __USE_GNU]: Change condition to just [__USE_GNU].
69565 2013-01-10  H.J. Lu  <hongjiu.lu@intel.com>
69567         [BZ #14200]
69568         * sysdeps/unix/sysv/linux/x86/bits/environments.h
69569         (_POSIX_V7_ILP32_OFF32): Defined as 1 only if __x86_64__ isn't
69570         defined.
69571         (_POSIX_V6_ILP32_OFF32): Likewise.
69572         (_XBS5_ILP32_OFF32): Likewise.
69573         (__ILP32_OFFBIG_CFLAGS): Defined as "-mx32" for x32.
69574         (__ILP32_OFFBIG_LDFLAGS): Likewise.
69576 2013-01-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
69578         * sysdeps/ieee754/dbl-64/mpexp.c: Fix formatting.
69580         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): New array of
69581         doubles __mpexp_twomm1.  Adjust usage.
69582         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1):
69583         Remove.
69585 2013-01-10  Andreas Schwab  <schwab@suse.de>
69587         [BZ #14964]
69588         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (FALLOC_FL_KEEP_SIZE)
69589         (FALLOC_FL_PUNCH_HOLE) [__USE_GNU]: New macros.
69591 2013-01-09  David S. Miller  <davem@davemloft.net>
69593         [BZ #15003]
69594         * sysdeps/gnu/netinet/tcp.h (TCP_COOKIE_TRANSACTIONS)
69595         (TCP_THIN_LINEAR_TIMEOUTS, TCP_THIN_DUPACK, TCP_USER_TIMEOUT)
69596         (TCP_REPAIR, TCP_REPAIR_QUEUE, TCP_QUEUE_SEQ, TCP_REPAIR_OPTIONS)
69597         (TCP_FASTOPEN): Define.
69598         (tcp_repair_opt): New structure.
69599         (TCP_NO_QUEUE, TCP_RECV_QUEUE, TCP_SEND_QUEUE, TCP_QUEUES_NR): New
69600         enum values.
69601         (TCP_COOKIE_MIN, TCP_COOKIE_MAX, TCP_COOKIE_PAIR_SIZE)
69602         (TCP_COOKIE_IN_ALWAYS, TCP_COOKIE_OUT_NEVER, TCP_S_DATA_IN)
69603         (TCP_S_DATA_OUT, TCP_MSS_DEFAULT, TCP_MSS_DESIRED): Define.
69604         (tcp_cookie_transactions): New structure.
69606 2013-01-09  Anton Blanchard  <anton@samba.org>
69608         * sysdeps/unix/sysv/linux/powerpc/sched_getcpu.c: New file.
69609         * sysdeps/unix/sysv/linux/powerpc/Versions: Add __vdso_getcpu.
69610         * sysdeps/unix/sysv/linux/powerpc/bits/libc-vdso.h: Likewise.
69611         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Likewise.
69613 2013-01-09  Joseph Myers  <joseph@codesourcery.com>
69615         * include/features.h (__USE_ANSI): Remove.
69617 2013-01-09  Roland McGrath  <roland@hack.frob.com>
69619         * posix/Makefile (others): Depend on $(objpfx)getconf.speclist.
69621         * misc/error.c (error_tail: ALLOCA_LIMIT): Remove unused macro.
69623 2013-01-09  Siddhesh Poyarekar  <siddhesh@redhat.com>
69625         * sysdeps/s390/fpu/libm-test-ulps: Update.
69627         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69629         * sysdeps/ieee754/dbl-64/mpa.c (mcr): Reword comment.
69630         (__acr): Likewise.
69631         (__cpy): Likewise.
69632         (norm): Likewise.
69633         (denorm): Likewise.
69634         (__mp_dbl): Likewise.
69635         (__dbl_mp): Likewise.
69636         (add_magnitudes): Likewise.
69637         (sub_magnitudes): Likewise.
69638         (__add): Likewise.
69639         (__sub): Likewise.
69640         (__mul): Likewise.
69641         (__inv): Likewise.
69642         (__dvd): Likewise.
69643         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mcr): Likewise.
69644         (__acr): Likewise.
69645         (__cpy): Likewise.
69646         (norm): Likewise.
69647         (denorm): Likewise.
69648         (__mp_dbl): Likewise.
69649         (__dbl_mp): Likewise.
69650         (add_magnitudes): Likewise.
69651         (sub_magnitudes): Likewise.
69652         (__add): Likewise.
69653         (__sub): Likewise.
69654         (__mul): Likewise.
69655         (__inv): Likewise.
69656         (__dvd): Likewise.
69657         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mcr): Likewise.
69658         (__acr): Likewise.
69659         (__cpy): Likewise.
69660         (norm): Likewise.
69661         (denorm): Likewise.
69662         (__mp_dbl): Likewise.
69663         (__dbl_mp): Likewise.
69664         (add_magnitudes): Likewise.
69665         (sub_magnitudes): Likewise.
69666         (__add): Likewise.
69667         (__sub): Likewise.
69668         (__mul): Likewise.
69669         (__inv): Likewise.
69670         (__dvd): Likewise.
69672 2013-01-08  Joseph Myers  <joseph@codesourcery.com>
69674         * io/sys/stat.h [__GNUC__ && __GNUC__ >= 2 &&
69675         __USE_EXTERN_INLINES]: Change condition to [__USE_EXTERN_INLINES].
69676         * sysdeps/unix/sysv/linux/sys/sysmacros.h [__GNUC__ && __GNUC__ >=
69677         2 && __USE_EXTERN_INLINES]: Likewise.
69679 2013-01-08  Andreas Jaeger  <aj@suse.de>
69681         [BZ #14985]
69682         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h (EPOLL_NONBLOCK):
69683         Remove.
69684         * sysdeps/unix/sysv/linux/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
69685         * sysdeps/unix/sysv/linux/x86/bits/epoll.h (EPOLL_NONBLOCK): Likewise.
69687 2013-01-07  Anton Blanchard  <anton@samba.org>
69689         * sysdeps/powerpc/fpu/feholdexcpt.c: Fixed spelling errors.
69690         * sysdeps/powerpc/fpu/feupdateenv.c: Likewise.
69691         * sysdeps/powerpc/fpu/math_ldbl.h: Likewise.
69692         * sysdeps/powerpc/powerpc32/bits/atomic.h: Likewise.
69693         * sysdeps/powerpc/powerpc32/cell/memcpy.S: Likewise.
69694         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
69695         * sysdeps/powerpc/powerpc32/dl-start.S: Likewise.
69696         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
69697         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
69698         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
69699         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
69700         * sysdeps/powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
69701         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
69702         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Likewise.
69703         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Likewise.
69704         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
69705         * sysdeps/powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
69706         * sysdeps/powerpc/powerpc32/power6/memcpy.S: Likewise.
69707         * sysdeps/powerpc/powerpc32/power7/memchr.S: Likewise.
69708         * sysdeps/powerpc/powerpc32/power7/memcmp.S: Likewise.
69709         * sysdeps/powerpc/powerpc32/power7/memrchr.S: Likewise.
69710         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: Likewise.
69711         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
69712         * sysdeps/powerpc/powerpc32/strncmp.S: Likewise.
69713         * sysdeps/powerpc/powerpc64/bits/atomic.h: Likewise.
69714         * sysdeps/powerpc/powerpc64/cell/memcpy.S: Likewise.
69715         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
69716         * sysdeps/powerpc/powerpc64/fpu/s_ceill.S: Likewise.
69717         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintl.S: Likewise.
69718         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
69719         * sysdeps/powerpc/powerpc64/memcpy.S: Likewise.
69720         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
69721         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
69722         * sysdeps/powerpc/powerpc64/power4/memcmp.S: Likewise.
69723         * sysdeps/powerpc/powerpc64/power4/memcpy.S: Likewise.
69724         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
69725         * sysdeps/powerpc/powerpc64/power6/memcpy.S: Likewise.
69726         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
69727         * sysdeps/powerpc/powerpc64/power7/memcmp.S: Likewise.
69728         * sysdeps/powerpc/powerpc64/power7/memrchr.S: Likewise.
69729         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: Likewise.
69730         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
69731         * sysdeps/powerpc/powerpc64/strncmp.S: Likewise.
69733 2013-01-07  Joseph Myers  <joseph@codesourcery.com>
69735         * malloc/malloc.h (__MALLOC_P): Remove all definitions.
69736         (__MALLOC_PMT): Likewise.
69737         [__GNUC__] (__MALLOC_HOOK_VOLATILE): Make not conditional on
69738         [__GNUC__], only on [_LIBC].
69739         [__GNUC__] (__MALLOC_DEPRECATED): Likewise.
69740         [!__GNUC__] (__MALLOC_HOOK_VOLATILE): Remove definition.
69741         [!__GNUC__] (__MALLOC_DEPRECATED): Likewise.
69742         * malloc/malloc.c (malloc_hook_ini): Do not use __MALLOC_P in
69743         forward declaration.
69744         (realloc_hook_ini): Likewise.
69745         (memalign_hook_ini): Likewise.
69746         (__libc_memalign): Do not use __MALLOC_PMT in variable
69747         declaration.
69748         (__libc_valloc): Likewise.
69749         (__libc_pvalloc): Likewise.
69750         (__libc_calloc): Likewise.
69751         (__posix_memalign): Likewise.
69753         [BZ #14996]
69754         * math/s_casinh.c: Include <float.h>.
69755         (__casinh): Do not do computation with squaring and square root
69756         for large arguments.
69757         * math/s_casinhf.c: Include <float.h>.
69758         (__casinhf): Do not do computation with squaring and square root
69759         for large arguments.
69760         * math/s_casinhl.c: Include <float.h>.
69761         [LDBL_MANT_DIG == 106] (LDBL_EPSILON): Undefine and redefine.
69762         (__casinhl): Do not do computation with squaring and square root
69763         for large arguments.
69764         * math/libm-test.inc (casin_test): Add more tests.
69765         (casinh_test): Likewise.
69766         * sysdeps/i386/fpu/libm-test-ulps: Update.
69767         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69769 2013-01-04  H.J. Lu  <hongjiu.lu@intel.com>
69771         * sysdeps/i386/i686/cacheinfo.c (__x86_64_data_cache_size): Removed.
69772         (__x86_64_raw_data_cache_size): Likewise.
69773         (__x86_64_data_cache_size_half): Likewise.
69774         (__x86_64_raw_data_cache_size_half): Likewise.
69775         (__x86_64_shared_cache_size): Likewise.
69776         (__x86_64_raw_shared_cache_size): Likewise.
69777         (__x86_64_shared_cache_size_half): Likewise.
69778         (__x86_64_raw_shared_cache_size_half): Likewise.
69779         * sysdeps/x86_64/cacheinfo.c (__x86_64_data_cache_size): Renamed
69780         to ...
69781         (__x86_data_cache_size): This.
69782         (__x86_64_raw_data_cache_size): Renamed to ...
69783         (__x86_raw_data_cache_size): This.
69784         (__x86_64_data_cache_size_half): Renamed to ...
69785         (__x86_data_cache_size_half): This.
69786         (__x86_64_raw_data_cache_size_half): Renamed to ...
69787         (__x86_raw_data_cache_size_half): This.
69788         (__x86_64_shared_cache_size): Renamed to ...
69789         (__x86_shared_cache_size): This.
69790         (__x86_64_raw_shared_cache_size): Renamed to ...
69791         (__x86_raw_shared_cache_size): This.
69792         (__x86_64_shared_cache_size_half): Renamed to ...
69793         (__x86_shared_cache_size_half): This.
69794         (__x86_64_raw_shared_cache_size_half): Renamed to ...
69795         (__x86_raw_shared_cache_size_half): This.
69796         * sysdeps/x86_64/memcpy.S: Updated.
69797         * sysdeps/x86_64/memset.S: Likewise.
69798         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Likewise.
69799         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
69800         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
69802 2013-01-04  David S. Miller  <davem@davemloft.net>
69804         * sysdeps/sparc/fpu/libm-test-ulps: Update.
69806 2013-01-04  Andreas Schwab  <schwab@linux-m68k.org>
69808         * sysdeps/powerpc/fpu/test-powerpc-snan.c (_GNU_SOURCE): Define as
69809         1 to avoid redefinition warning.
69810         (__USE_GNU): Don't define.
69811         (init_signaling_nan): Protoize.
69813         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
69815 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
69817         * sysdeps/ieee754/dbl-64/mpa.c: Remove commented code.
69818         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (__cr): Remove.
69819         (__cpymn): Likewise.
69820         (norm): Remove commented code.
69821         (denorm): Likewise.
69822         (__mp_dbl): Likewise.
69823         (__inv): Likewise.
69824         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (__cr): Remove.
69825         (__cpymn): Likewise.
69826         (norm): Remove commented code.
69827         (denorm): Likewise.
69828         (__mp_dbl): Likewise.
69829         (__inv): Likewise.
69831         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c (mpone): Define
69832         mp_no value for 1.0 and 2.0.
69833         (norm): Use RADIXI instead of radixi.d.
69834         (denorm): Likewise.
69835         (__mul): Use 0.0 instead of zero.d.
69836         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c (mpone): Define
69837         mp_no value for 1.0 and 2.0.
69838         (norm): Use RADIXI instead of radixi.d.
69839         (denorm): Likewise.
69840         (__mul): Use 0.0 instead of zero.d.
69842 2013-01-04  Joseph Myers  <joseph@codesourcery.com>
69844         [BZ #14994]
69845         * math/s_casinh.c (__casinh): Reduce finite argument to first
69846         quadrant then set signs of results at the end.
69847         * math/s_casinhf.c (__casinhf): Likewise.
69848         * math/s_casinhl.c (__casinhl): Likewise.
69849         * math/libm-test.inc (casin_test): Add more tests.
69850         (casinh_test): Likewise.
69851         * sysdeps/i386/fpu/libm-test-ulps: Update.
69852         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
69854 2013-01-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
69856         * sysdeps/ieee754/dbl-64/mpa.h: Fix code formatting.
69858         * sysdeps/ieee754/dbl-64/mpa.h: Clean up comment for MP_NO.
69860         * sysdeps/ieee754/dbl-64/mpa.c(norm): Remove commented
69861         declarations.
69862         (denorm): Likewise.
69863         (__mp_dbl): Likewise.
69864         (__inv): Likewise.
69866         * sysdeps/ieee754/dbl-64/mpa.h: Remove commented declarations
69867         and adjust the header comment.
69869         * sysdeps/ieee754/dbl-64/mpa.h (__mpexp): Remove unnecessary
69870         variable name from declaration.
69872 2013-01-03  H.J. Lu  <hongjiu.lu@intel.com>
69874         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
69875         Initialize COMMON_CPUID_INDEX_7 element.
69876         * sysdeps/x86_64/multiarch/init-arch.h (bit_RTM): New macro.
69877         (CPUID_RTM): Likewise.
69878         (HAS_RTM): Likewise.
69879         (COMMON_CPUID_INDEX_7): New enum.
69881 2013-01-03  Andreas Schwab  <schwab@linux-m68k.org>
69883         [BZ #14981]
69884         * malloc/mtrace.c (tr_reallochook): If realloc returns NULL when
69885         size is zero, record memory as freed.
69887 2013-01-03  Andreas Jaeger  <aj@suse.de>
69889         * po/ia.po: Add new Interlingua translation.
69891 2012-01-03  Allan McRae  <allan@archlinux.org>
69893         * locale/programs/localedef.c: Fix description of '--posix' flag.
69895 2013-01-02  Joseph Myers  <joseph@codesourcery.com>
69897         * NEWS: Update dates in second copyright notice.
69898         * README: Update copyright dates in example.
69899         * manual/libc.texinfo: Update copyright dates.
69900         * scripts/test-installation.pl: Update copyright date in --version
69901         output.
69903         * hurd/ctty-input.c: Fix copyright notice formatting.
69904         * hurd/ctty-output.c: Likewise.
69905         * hurd/dtable.c: Likewise.
69906         * hurd/hurd-raise.c: Likewise.
69907         * hurd/hurdprio.c: Likewise.
69908         * hurd/msgportdemux.c: Likewise.
69909         * misc/sys/file.h: Likewise.
69910         * misc/sys/ioctl.h: Likewise.
69911         * sysdeps/gnu/netinet/ip_icmp.h: Likewise.
69912         * sysdeps/mach/hurd/chdir.c: Likewise.
69913         * sysdeps/mach/hurd/fchdir.c: Likewise.
69914         * sysdeps/mach/hurd/rename.c: Likewise.
69915         * sysdeps/mach/hurd/rmdir.c: Likewise.
69916         * sysdeps/mach/hurd/seekdir.c: Likewise.
69917         * sysdeps/mach/hurd/setsid.c: Likewise.
69918         * sysdeps/posix/wait3.c: Likewise.
69920         * All files with FSF copyright notices: Update copyright dates
69921         using scripts/update-copyrights.
69922         * intl/plural.c: Regenerated.
69923         * locale/programs/charmap-kw.h: Likewise.
69924         * locale/programs/locfile-kw.h: Likewise.
69926 2013-01-02  Siddhesh Poyarekar  <siddhesh@redhat.com>
69928         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_twomm1): Fix first
69929         four values.
69931         * sysdeps/ieee754/dbl-64/mpa.c (__mul): Split mantissa
69932         calculation loop and add branch prediction.
69934         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Add assert to
69935         check access beyond bounds of m1np.
69937         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
69938         MPTWO.
69939         (__inv): Remove local variable MPTWO to use the global
69940         constant.
69941         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPTWO.
69942         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
69943         variable MPTWO.
69944         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Make MPHALF and
69945         MP3HALFS static const.
69947 2013-01-01  David S. Miller  <davem@davemloft.net>
69949         * po/ca.po: Update from translation team.
69951 2013-01-01  Joseph Myers  <joseph@codesourcery.com>
69953         * scripts/update-copyrights: New file.
69954         * Makeconfig: Reformat copyright notice.
69955         * ctype/ctype.h: Likewise.
69956         * debug/swprintf_chk.c: Likewise.
69957         * elf/dl-cache.c: Likewise.
69958         * elf/dl-debug.c: Likewise.
69959         * elf/dl-object.c: Likewise.
69960         * grp/initgroups.c: Likewise.
69961         * hurd/Makefile: Likewise.
69962         * hurd/hurd/signal.h: Likewise.
69963         * hurd/hurdfault.c: Likewise.
69964         * hurd/hurdioctl.c: Likewise.
69965         * hurd/hurdlookup.c: Likewise.
69966         * hurd/intr-msg.c: Likewise.
69967         * iconv/gconv_open.c: Likewise.
69968         * libio/swprintf.c: Likewise.
69969         * locale/lc-ctype.c: Likewise.
69970         * locale/nl_langinfo.c: Likewise.
69971         * mach/Machrules: Likewise.
69972         * mach/Makefile: Likewise.
69973         * malloc/obstack.h: Likewise.
69974         * manual/Makefile: Likewise.
69975         * manual/tsort.awk: Likewise.
69976         * misc/bits/stab.def: Likewise.
69977         * nis/nis_print_group_entry.c: Likewise.
69978         * nis/nis_table.c: Likewise.
69979         * nis/nss_compat/compat-pwd.c: Likewise.
69980         * nis/nss_compat/compat-spwd.c: Likewise.
69981         * po/Makefile: Likewise.
69982         * posix/fnmatch.c: Likewise.
69983         * posix/regex.h: Likewise.
69984         * resolv/Makefile: Likewise.
69985         * resolv/nss_dns/dns-network.c: Likewise.
69986         * resolv/res_hconf.c: Likewise.
69987         * scripts/gen-sorted.awk: Likewise.
69988         * soft-fp/soft-fp.h: Likewise.
69989         * stdio-common/printf.h: Likewise.
69990         * stdlib/monetary.h: Likewise.
69991         * stdlib/random.c: Likewise.
69992         * stdlib/random_r.c: Likewise.
69993         * sysdeps/generic/Makefile: Likewise.
69994         * sysdeps/gnu/Makefile: Likewise.
69995         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
69996         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
69997         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
69998         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
69999         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
70000         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
70001         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
70002         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
70003         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
70004         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
70005         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
70006         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
70007         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
70008         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
70009         * sysdeps/ieee754/dbl-64/mplog.c: Likewise.
70010         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
70011         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
70012         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
70013         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
70014         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
70015         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
70016         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
70017         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
70018         * sysdeps/ieee754/ldbl-128/ldbl2mpn.c: Likewise.
70019         * sysdeps/ieee754/ldbl-128/mpn2ldbl.c: Likewise.
70020         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
70021         * sysdeps/ieee754/ldbl-128ibm/mpn2ldbl.c: Likewise.
70022         * sysdeps/ieee754/ldbl-128ibm/printf_fphex.c: Likewise.
70023         * sysdeps/mach/hurd/errnos.awk: Likewise.
70024         * sysdeps/mach/hurd/fork.c: Likewise.
70025         * sysdeps/mach/hurd/getcwd.c: Likewise.
70026         * sysdeps/mach/hurd/i386/trampoline.c: Likewise.
70027         * sysdeps/mach/hurd/mmap.c: Likewise.
70028         * sysdeps/mach/hurd/utimes.c: Likewise.
70029         * sysdeps/mach/hurd/xmknod.c: Likewise.
70030         * sysdeps/posix/profil.c: Likewise.
70031         * sysdeps/posix/readdir_r.c: Likewise.
70032         * sysdeps/powerpc/bits/mathdef.h: Likewise.
70033         * sysdeps/powerpc/bits/setjmp.h: Likewise.
70034         * sysdeps/powerpc/powerpc32/__longjmp-common.S: Likewise.
70035         * sysdeps/powerpc/powerpc32/memset.S: Likewise.
70036         * sysdeps/powerpc/powerpc32/power4/fpu/mpa.c: Likewise.
70037         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
70038         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
70039         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
70040         * sysdeps/powerpc/powerpc64/power4/fpu/mpa.c: Likewise.
70041         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
70042         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
70043         * sysdeps/pthread/lio_listio.c: Likewise.
70044         * sysdeps/sparc/dl-procinfo.h: Likewise.
70045         * sysdeps/unix/i386/sysdep.S: Likewise.
70046         * sysdeps/unix/sysv/linux/aio_sigqueue.c: Likewise.
70047         * sysdeps/unix/sysv/linux/fstatvfs64.c: Likewise.
70048         * sysdeps/unix/sysv/linux/getdents.c: Likewise.
70049         * sysdeps/unix/sysv/linux/msgctl.c: Likewise.
70050         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
70051         * sysdeps/unix/sysv/linux/semctl.c: Likewise.
70052         * sysdeps/unix/sysv/linux/shmctl.c: Likewise.
70053         * sysdeps/unix/sysv/linux/speed.c: Likewise.
70054         * sysdeps/unix/sysv/linux/xstatconv.h: Likewise.
70055         * sysdeps/wordsize-32/divdi3.c: Likewise.
70056         * time/sys/time.h: Likewise.
70057         * wcsmbs/Makefile: Likewise.
70059 2013-01-01  David S. Miller  <davem@davemloft.net>
70061         * po/fr.po: Update from translation team.
70063         * catgets/gencat.c: Update copyright year.
70064         * csu/version.c: Likewise.
70065         * debug/catchsegv.sh: Likewise.
70066         * debug/pcprofiledump.c: Likewise.
70067         * debug/xtrace.sh: Likewise.
70068         * elf/ldconfig.c: Likewise.
70069         * elf/ldd.bash.in: Likewise.
70070         * elf/pldd.c: Likewise.
70071         * elf/sotruss.ksh: Likewise.
70072         * elf/sprof.c: Likewise.
70073         * iconv/iconv_prog.c: Likewise.
70074         * iconv/iconvconfig.c: Likewise.
70075         * locale/programs/locale.c: Likewise.
70076         * locale/programs/localedef.c: Likewise.
70077         * login/programs/pt_chown.c: Likewise.
70078         * malloc/memusage.sh: Likewise.
70079         * malloc/memusagestat.c: Likewise.
70080         * malloc/mtrace.pl: Likewise.
70081         * nscd/nscd.c: Likewise.
70082         * nss/getent.c: Likewise.
70083         * nss/makedb.c: Likewise.
70084         * posix/getconf.c: Likewise.
70086 2012-12-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
70088         * sysdeps/ieee754/dbl-64/mpa.c (__mp_dbl): Favour normal
70089         numbers.
70091 2012-12-30  Mike Frysinger  <vapier@gentoo.org>
70093         * math/bits/mathcalls.h (modf): Use __nonnull.
70095 2012-12-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
70097         * sysdeps/ieee754/dbl-64/branred.h: Include dla.h.
70098         (split): Use macro CN instead of the bare value.
70099         * sysdeps/ieee754/dbl-64/dla.h: Add comment to explain why CN
70100         could be used.
70101         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use CN
70102         instead of the bare value.
70103         (power1): Likewise.
70105 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
70107         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove
70108         __ATAN_TWOM.
70109         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
70111         * sysdeps/ieee754/dbl-64/atnat.h: Replaced constants with
70112         their values.
70113         * sysdeps/ieee754/dbl-64/atnat2.h: Likewise.
70114         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Likewise.
70115         * sysdeps/ieee754/dbl-64/ulog.h: Likewise.
70116         * sysdeps/ieee754/dbl-64/utan.h: Likewise.
70118 2012-12-28  Andreas Jaeger  <aj@suse.de>
70120         * elf/elf.h (NT_S390_TDB, NT_FILE, NT_SIGINFO): Define.  New
70121         values are from Linux 3.7.
70123         * sysdeps/gnu/netinet/tcp.h (TCPI_OPT_SYN_DATA)
70124         (TCPI_OPT_ECN_SEEN): Define.  Sync with Linux 3.7.
70126 2012-12-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
70128         * misc/sys/cdefs.h (__glibc_likely): Wrap __builtin_expect for
70129         TRUE case.
70131         * sysdeps/ieee754/dbl-64/mpa.c (norm): Define R as RADIXI.
70132         (norm): Likewise.
70133         * sysdeps/ieee754/dbl-64/mpa2.h: Remove all static const
70134         variables with preprocessor constants.
70135         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
70136         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
70137         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
70139 2012-12-27  Bruno Haible  <bruno@clisp.org>
70141         [BZ #14317]
70142         * string/xpg-strerror.c (__xpg_strerror_r): Optimize, call strlen
70143         only if needed.
70145 2012-12-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
70147         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Eliminate __mpexp_nn
70148         and use variable directly.
70149         * sysdeps/ieee754/dbl-64/mpexp.h (__mpexp_nn): Remove.
70151         * sysdeps/ieee754/dbl-64/mpa.c [! NO__CONST]: New constant
70152         MPONE.
70153         * sysdeps/ieee754/dbl-64/mpa.h: Declare MPONE.
70154         * sysdeps/ieee754/dbl-64/mpatan.c (__mpatan): Remove local
70155         variable MPONE.
70156         * sysdeps/ieee754/dbl-64/mpatan2.c (__mpatan2): Likewise.
70157         * sysdeps/ieee754/dbl-64/mpexp.c (__mpexp): Likewise.
70158         * sysdeps/ieee754/dbl-64/mplog.c (__mplog): Remove mplog.h
70159         include directive.  Remove local variable MPONE.
70160         * sysdeps/ieee754/dbl-64/mplog.h: Remove.
70161         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: Define NO__CONST.
70162         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
70164 2012-12-25  David S. Miller  <davem@davemloft.net>
70166         * version.h (RELEASE): Set to "development".
70167         (VERSION): Set to "2.17.90".
70168         * NEWS: Add 2.18 section.
70170 2012-12-21  David S. Miller  <davem@davemloft.net>
70172         * po/hr.po: Update from translation team.
70174 2012-12-21  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
70176         * sysdeps/s390/fpu/libm-test-ulps: Refreshed.
70178 2012-12-19  Steve Ellcey  <sellcey@mips.com>
70180         * NEWS:  Mention new memcpy for MIPS.
70182 2012-12-18  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
70184         * manual/contrib.texi (Contributors): Spelling correction.
70186 2012-12-15  David S. Miller  <davem@davemloft.net>
70188         * po/ru.po: Update from translation team.
70190 2012-12-13  David S. Miller  <davem@davemloft.net>
70192         * NEWS: Mention IFUNC testsuite enhancements.
70194         * po/pl.po: Update from translation team.
70195         * po/bg.po: Likewise.
70197         * manual/contrib.texi (Contributors): Update entries for Hongjiu
70198         Lu and Joseph S. Myers.  Add entry for Marcus Shawcroft.
70200 2012-12-11  David S. Miller  <davem@davemloft.net>
70202         * po/sv.po: Update from translation team.
70204         * po/vi.po: Update from translation team.
70206         * po/cs.po: Update from translation team.
70208         * po/de.po: Update from translation team.
70209         * po/eo.po: Likewise.
70210         * po/nl.po: Likewise.
70212 2012-12-11  Siddhesh Poyarekar  <siddhesh@redhat.com>
70214         [BZ #14246]
70215         * manual/argp.texi (Argp Helper Functions): Move node to follow
70216         Argp Parsing State.
70218         [BZ #14872]
70219         * manual/conf.texi (Limits on File System Capacity): Mention if
70220         terminating null is included in the max size.
70222 2012-12-10  Andreas Jaeger  <aj@suse.de>
70224         * po/cs.po: Update from translation team.
70226 2012-12-08  Siddhesh Poyarekar  <siddhesh@redhat.com>
70228         * sysdeps/s390/jmpbuf-unwind.h (_jmpbuf_sp): Declare SP as
70229         void pointer and cast to uintptr_t.
70230         * sysdeps/s390/s390-64/memcmp.S: Pick sysdep.h from include
70231         path.
70232         * sysdeps/s390/s390-64/memcpy.S: Likewise.
70233         * sysdeps/s390/s390-64/memset.S: Likewise.
70235 2012-12-08  Benno Schulenberg  <bensberg@justemail.net>
70237         [BZ #14833]
70238         * menual/message.texi (Message Translation): Fix typos.
70239         (Helper programs for gettext): Likewise.
70241 2012-12-07  Andreas Schwab  <schwab@linux-m68k.org>
70243         [BZ #14898]
70244         * include/link.h (FORCED_DYNAMIC_TLS_OFFSET) [NO_TLS_OFFSET == 0]:
70245         Change to -1.
70247 2012-12-07  David S. Miller  <davem@davemloft.net>
70249         * po/libc.pot: Update.
70251 2012-12-07  Richard Henderson  <rth@redhat.com>
70253         [BZ #10114]
70254         * soft-fp/op-common.h (_FP_MUL): Pull computation of R_e from the
70255         normal/normal case to before the switch.
70256         (_FP_DIV): Likewise.
70258 2012-12-06  Carlos O'Donell  <carlos@systemhalted.org>
70259             Mike Frysinger  <vapier@gentoo.org>
70261         * sysdeps/unix/sysv/linux/posix_fadvise.c (posix_fadvise): Also
70262         check for __NR_fadvise64_64.
70264 2012-12-06  Chris Metcalf  <cmetcalf@tilera.com>
70266         * sysdeps/generic/fpu_control.h (_FPU_GETCW): Define to set cw to
70267         0, not just to plain "0" as a statement.
70268         (_FPU_SETCW): Define to (void) (cw), rather than doing nothing
70269         with cw.
70271 2012-12-06  Joseph Myers  <joseph@codesourcery.com>
70273         * NEWS: Use sourceware.org in Bugzilla URL.
70275 2012-12-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
70277         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h
70278         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
70280         * stdio-common/tst-put-error.c (do_test): Add newline to the
70281         padded test to ensure flush.
70283 2012-12-05  Jeff Law  <law@redhat.com>
70285         * sunrpc/etc.rpc (fedfs_admin): Add entry.
70287 2012-12-05  Joseph Myers  <joseph@codesourcery.com>
70289         * README: Don't refer to ports add-on as distributed separately.
70290         Mention AArch64 in list of systems supported in the ports add-on.
70292         * LICENSES: Add more non-FSF copyright and license notices.
70294         * soft-fp/op-common.h (_FP_DECL): Declare X##_s with __attribute__
70295         ((unused)).
70297         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Include <stdlib.h>.
70299         * stdio-common/tst-put-error.c (do_test): Use 10000000 instead of
70300         10000 as width of padded output.
70302 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
70304         * sysdeps/powerpc/sysdep.h (_SYS_AUXV_H): Define to 1 not empty.
70306         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c (__ieee754_atanhl): Mark
70307         variable LX with __attribute__ ((unused)).
70308         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c (__ieee754_rem_pio2l):
70309         Likewise.
70310         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c (___isnanl): Likewise.
70311         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
70312         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Mark variable LY
70313         with __attribute__ ((unused)).
70315 2012-12-04  David S. Miller  <davem@abraco.davemloft.net>
70317         * sysdeps/generic/memcopy.h: Add multiple inclusion protection.
70319 2012-12-04  Joseph Myers  <joseph@codesourcery.com>
70321         * sysdeps/ieee754/ldbl-opt/Makefile [$(subdir) = math]
70322         (CFLAGS-nldbl-acos.c): New variable.
70323         [$(subdir) = math] (CFLAGS-nldbl-acosh.c): Likewise.
70324         [$(subdir) = math] (CFLAGS-nldbl-asin.c): Likewise.
70325         [$(subdir) = math] (CFLAGS-nldbl-asinh.c): Likewise.
70326         [$(subdir) = math] (CFLAGS-nldbl-atan.c): Likewise.
70327         [$(subdir) = math] (CFLAGS-nldbl-atan2.c): Likewise.
70328         [$(subdir) = math] (CFLAGS-nldbl-atanh.c): Likewise.
70329         [$(subdir) = math] (CFLAGS-nldbl-cabs.c): Likewise.
70330         [$(subdir) = math] (CFLAGS-nldbl-cacos.c): Likewise.
70331         [$(subdir) = math] (CFLAGS-nldbl-cacosh.c): Likewise.
70332         [$(subdir) = math] (CFLAGS-nldbl-carg.c): Likewise.
70333         [$(subdir) = math] (CFLAGS-nldbl-casin.c): Likewise.
70334         [$(subdir) = math] (CFLAGS-nldbl-casinh.c): Likewise.
70335         [$(subdir) = math] (CFLAGS-nldbl-catan.c): Likewise.
70336         [$(subdir) = math] (CFLAGS-nldbl-catanh.c): Likewise.
70337         [$(subdir) = math] (CFLAGS-nldbl-cbrt.c): Likewise.
70338         [$(subdir) = math] (CFLAGS-nldbl-ccos.c): Likewise.
70339         [$(subdir) = math] (CFLAGS-nldbl-ccosh.c): Likewise.
70340         [$(subdir) = math] (CFLAGS-nldbl-ceil.c): Likewise.
70341         [$(subdir) = math] (CFLAGS-nldbl-cexp.c): Likewise.
70342         [$(subdir) = math] (CFLAGS-nldbl-cimag.c): Likewise.
70343         [$(subdir) = math] (CFLAGS-nldbl-clog.c): Likewise.
70344         [$(subdir) = math] (CFLAGS-nldbl-clog10.c): Likewise.
70345         [$(subdir) = math] (CFLAGS-nldbl-conj.c): Likewise.
70346         [$(subdir) = math] (CFLAGS-nldbl-copysign.c): Likewise.
70347         [$(subdir) = math] (CFLAGS-nldbl-cos.c): Likewise.
70348         [$(subdir) = math] (CFLAGS-nldbl-cosh.c): Likewise.
70349         [$(subdir) = math] (CFLAGS-nldbl-cpow.c): Likewise.
70350         [$(subdir) = math] (CFLAGS-nldbl-cproj.c): Likewise.
70351         [$(subdir) = math] (CFLAGS-nldbl-creal.c): Likewise.
70352         [$(subdir) = math] (CFLAGS-nldbl-csin.c): Likewise.
70353         [$(subdir) = math] (CFLAGS-nldbl-csinh.c): Likewise.
70354         [$(subdir) = math] (CFLAGS-nldbl-csqrt.c): Likewise.
70355         [$(subdir) = math] (CFLAGS-nldbl-ctan.c): Likewise.
70356         [$(subdir) = math] (CFLAGS-nldbl-ctanh.c): Likewise.
70357         [$(subdir) = math] (CFLAGS-nldbl-drem.c): Likewise.
70358         [$(subdir) = math] (CFLAGS-nldbl-erf.c): Likewise.
70359         [$(subdir) = math] (CFLAGS-nldbl-erfc.c): Likewise.
70360         [$(subdir) = math] (CFLAGS-nldbl-exp.c): Likewise.
70361         [$(subdir) = math] (CFLAGS-nldbl-exp10.c): Likewise.
70362         [$(subdir) = math] (CFLAGS-nldbl-exp2.c): Likewise.
70363         [$(subdir) = math] (CFLAGS-nldbl-expm1.c): Likewise.
70364         [$(subdir) = math] (CFLAGS-nldbl-fabs.c): Likewise.
70365         [$(subdir) = math] (CFLAGS-nldbl-fdim.c): Likewise.
70366         [$(subdir) = math] (CFLAGS-nldbl-finite.c): Likewise.
70367         [$(subdir) = math] (CFLAGS-nldbl-floor.c): Likewise.
70368         [$(subdir) = math] (CFLAGS-nldbl-fma.c): Likewise.
70369         [$(subdir) = math] (CFLAGS-nldbl-fmax.c): Likewise.
70370         [$(subdir) = math] (CFLAGS-nldbl-fmin.c): Likewise.
70371         [$(subdir) = math] (CFLAGS-nldbl-fmod.c): Likewise.
70372         [$(subdir) = math] (CFLAGS-nldbl-frexp.c): Likewise.
70373         [$(subdir) = math] (CFLAGS-nldbl-gamma.c): Likewise.
70374         [$(subdir) = math] (CFLAGS-nldbl-hypot.c): Likewise.
70375         [$(subdir) = math] (CFLAGS-nldbl-ilogb.c): Likewise.
70376         [$(subdir) = math] (CFLAGS-nldbl-isinf.c): Likewise.
70377         [$(subdir) = math] (CFLAGS-nldbl-isnan.c): Likewise.
70378         [$(subdir) = math] (CFLAGS-nldbl-j0.c): Likewise.
70379         [$(subdir) = math] (CFLAGS-nldbl-j1.c): Likewise.
70380         [$(subdir) = math] (CFLAGS-nldbl-jn.c): Likewise.
70381         [$(subdir) = math] (CFLAGS-nldbl-ldexp.c): Likewise.
70382         [$(subdir) = math] (CFLAGS-nldbl-lgamma.c): Likewise.
70383         [$(subdir) = math] (CFLAGS-nldbl-lgamma_r.c): Likewise.
70384         [$(subdir) = math] (CFLAGS-nldbl-llrint.c): Likewise.
70385         [$(subdir) = math] (CFLAGS-nldbl-llround.c): Likewise.
70386         [$(subdir) = math] (CFLAGS-nldbl-log.c): Likewise.
70387         [$(subdir) = math] (CFLAGS-nldbl-log10.c): Likewise.
70388         [$(subdir) = math] (CFLAGS-nldbl-log1p.c): Likewise.
70389         [$(subdir) = math] (CFLAGS-nldbl-log2.c): Likewise.
70390         [$(subdir) = math] (CFLAGS-nldbl-logb.c): Likewise.
70391         [$(subdir) = math] (CFLAGS-nldbl-lrint.c): Likewise.
70392         [$(subdir) = math] (CFLAGS-nldbl-lround.c): Likewise.
70393         [$(subdir) = math] (CFLAGS-nldbl-modf.c): Likewise.
70394         [$(subdir) = math] (CFLAGS-nldbl-nan.c): Likewise.
70395         [$(subdir) = math] (CFLAGS-nldbl-nearbyint.c): Likewise.
70396         [$(subdir) = math] (CFLAGS-nldbl-nextafter.c): Likewise.
70397         [$(subdir) = math] (CFLAGS-nldbl-nexttoward.c): Likewise.
70398         [$(subdir) = math] (CFLAGS-nldbl-nexttowardf.c): Likewise.
70399         [$(subdir) = math] (CFLAGS-nldbl-pow.c): Likewise.
70400         [$(subdir) = math] (CFLAGS-nldbl-pow10.c): Likewise.
70401         [$(subdir) = math] (CFLAGS-nldbl-remainder.c): Likewise.
70402         [$(subdir) = math] (CFLAGS-nldbl-remquo.c): Likewise.
70403         [$(subdir) = math] (CFLAGS-nldbl-rint.c): Likewise.
70404         [$(subdir) = math] (CFLAGS-nldbl-round.c): Likewise.
70405         [$(subdir) = math] (CFLAGS-nldbl-scalb.c): Likewise.
70406         [$(subdir) = math] (CFLAGS-nldbl-scalbln.c): Likewise.
70407         [$(subdir) = math] (CFLAGS-nldbl-scalbn.c): Likewise.
70408         [$(subdir) = math] (CFLAGS-nldbl-significand.c): Likewise.
70409         [$(subdir) = math] (CFLAGS-nldbl-sin.c): Likewise.
70410         [$(subdir) = math] (CFLAGS-nldbl-sincos.c): Likewise.
70411         [$(subdir) = math] (CFLAGS-nldbl-sinh.c): Likewise.
70412         [$(subdir) = math] (CFLAGS-nldbl-sqrt.c): Likewise.
70413         [$(subdir) = math] (CFLAGS-nldbl-tan.c): Likewise.
70414         [$(subdir) = math] (CFLAGS-nldbl-tanh.c): Likewise.
70415         [$(subdir) = math] (CFLAGS-nldbl-tgamma.c): Likewise.
70416         [$(subdir) = math] (CFLAGS-nldbl-trunc.c): Likewise.
70417         [$(subdir) = math] (CFLAGS-nldbl-y0.c): Likewise.
70418         [$(subdir) = math] (CFLAGS-nldbl-y1.c): Likewise.
70419         [$(subdir) = math] (CFLAGS-nldbl-yn.c): Likewise.
70421         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h
70422         (INTERNAL_SYSCALL_DECL): Use __attribute__ ((unused)).
70424         [BZ #14914]
70425         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Clear
70426         whole low double instead of just low 47 bits when splitting values
70427         into two parts.
70429 2012-12-03  Allan McRae  <allan@archlinux.org>
70431         * manual/stdio.texi (Predefined Printf Handlers): Remove
70432         @hsep and @vsep usage.
70434 2012-12-03  Mike Frysinger  <vapier@gentoo.org>
70436         * bits/byteswap.h [__GNUC__]: Change __GNUC_PREREQ from 4.2 to 4.3.
70437         * sysdeps/x86/bits/byteswap.h [__GNUC__]: Likewise.
70439 2012-12-03  Jeff Law  <law@redhat.com>
70441         * time/sys/time.h (settimeofday): Do not mark TV argument
70442         as __nonnull.
70444 2012-12-01  Mike Frysinger  <vapier@gentoo.org>
70446         * libio/fileops.c (_IO_new_file_close_it): Do not always flush
70447         when currently writing and seek to current position when not.
70448         * libio/Makefile (tests): Remove bug-fclose1.
70449         * libio/bug-fclose1.c: Delete.
70451 2012-12-01  Joseph Myers  <joseph@codesourcery.com>
70453         * manual/arith.texi (feenableexcept): Fix typo.
70454         (fedisableexcept): Likewise.
70456 2012-11-30  Roland McGrath  <roland@hack.frob.com>
70458         * sysdeps/powerpc/powerpc64/entry.h (TEXT_START): Define using a
70459         second, differently-typed declaration, rather than a cast.
70461 2012-11-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
70463         * sunrpc/rpc/svc.h (__svc_accept_failed): Move declaration...
70464         * include/rpc/svc.h: ... here.
70466 2012-11-30  Aurelien Jarno  <aurel32@debian.org>
70468         [BZ #13013]
70469         * resolv/res_query.c(__libc_res_nquery): Assign hp and hp2
70470         depending n and resplen2 to catch cases where answer
70471         equals answerp2.
70473 2012-11-29  Carlos O'Donell  <carlos@systemhalted.org>
70475         * elf/get-dynamic-info.h (elf_get_dynamic_info): Warn
70476         for unsupported DF_1_* bits when DL_DEBUG_FILES is set.
70478 2012-11-29  Mike Frysinger  <vapier@gentoo.org>
70480         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c (HAS_CPUCLOCK): Delete.
70482 2012-11-29  Roland McGrath  <roland@hack.frob.com>
70484         * inet/tst-inet6_rth.c (do_test): Use a union rather than type punning.
70486 2012-11-28  Jeff Law  <law@redhat.com>
70488         [BZ #13761]
70489         * nscd/grpcache.c (cache_addgr): Rename alloca_used to
70490         dataset_temporary.  Track alloca usage into alloca_used.
70491         If dataset is large allocate and release it via malloc/free.
70493 2012-06-04  Florian Weimer  <fweimer@redhat.com>
70495         [BZ #14197]
70496         * debug/test-strcpy_chk.c: Mention __chk_fail ABI test.
70498 2012-11-28  David S. Miller  <davem@davemloft.net>
70500         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70502 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
70504         [BZ #14803]
70505         * sysdeps/ieee754/ldbl-96/e_asinl.c (pio2_hi): Use hex float value
70506         of pi/2 rounded to nearest to 64 bits.
70507         (pio2_lo): Use hex float value of pi/2 - pio2_hi rounded to
70508         nearest to 64 bits.
70509         (pio4_hi): Use hex float value of pi/4 rounded to nearest to 64
70510         bits.
70512 2012-11-28  Jeff Law <law@redhat.com>
70513             Martin Osvald <mosvald@redhat.com>
70515         [BZ #14889]
70516         * sunrpc/rpc/svc.h (__svc_accept_failed): New prototype.
70517         * sunrpc/svc.c: Include time.h.
70518         (__svc_accept_failed): New function.
70519         * sunrpc/svc_tcp.c (rendezvous_request): If the accept fails for
70520         any reason other than EINTR, call __svc_accept_failed.
70521         * sunrpc/svc_udp.c (svcudp_recv): Similarly.
70522         * sunrpc/svc_unix.c (rendezvous_request): Similarly.
70524 2012-11-28  Andreas Schwab  <schwab@suse.de>
70526         * scripts/abilist.awk: Also handle indirect functions in .opd
70527         section.
70529 2012-11-28  Joseph Myers  <joseph@codesourcery.com>
70531         [BZ #13881]
70532         * sysdeps/x86/fpu/powl_helper.c: New file.
70533         * sysdeps/x86/fpu/Makefile: Likewise.
70534         * sysdeps/i386/fpu/e_powl.S (limit): Remove object.
70535         (p3): New object.
70536         (__ieee754_powl): Use __powl_helper for finite arguments except
70537         integer exponents below 8.
70538         * sysdeps/x86_64/fpu/e_powl.S (limit): Remove object.
70539         (p3): New object.
70540         (__ieee754_powl): Use __powl_helper for finite arguments except
70541         integer exponents below 8.
70542         * math/libm-test.inc (pow_test): Add more tests and enable some
70543         previously disabled tests.
70544         * sysdeps/i386/fpu/libm-test-ulps: Update.
70545         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
70547 2012-11-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
70548             Carlos O'Donell  <carlos_odonell@mentor.com>
70550         * nss/makedb.c (is_prime): Assert that input is odd and greater
70551         than 4.  Note that fact in a comment too.
70552         (next_prime): Add 4 to input.
70554 2012-11-27  Siddhesh Poyarekar  <siddhesh@redhat.com>
70556         [BZ #11741]
70557         * libio/Makefile (tests): Add test case tst-fwrite-error.
70558         * libio/iofwrite.c (_IO_fwrite): Return 0 on EOF.
70559         * libio/iofwrite_u.c (fwrite_unlocked): Likewise.
70560         * libio/tst-fwrite-error.c: New test case.
70562 2012-11-26  H.J. Lu  <hongjiu.lu@intel.com>
70564         * elf/dl-load.c (_dl_map_object_from_fd): Cast to uintptr_t
70565         before casting to void *.
70566         * include/libc-internal.h (__pointer_type): New macro.
70567         (__integer_if_pointer_type_sub): Likewise.
70568         (__integer_if_pointer_type): Likewise.
70569         (cast_to_integer): Likewise.
70570         * sysdeps/x86_64/bits/atomic.h: Include <libc-internal.h>.
70571         (__arch_c_compare_and_exchange_val_64_acq): Use cast_to_integer
70572         before casting to atomic64_t.
70573         (atomic_exchange_acq): Likewise.
70574         (__arch_exchange_and_add_body): Likewise.
70575         (__arch_add_body): Likewise.
70576         (atomic_add_negative): Likewise.
70577         (atomic_add_zero): Likewise.
70579 2012-11-26  Joseph Myers  <joseph@codesourcery.com>
70581         * sysdeps/generic/unwind-dw2-fde.c (get_pc_begin): New function.
70582         (fde_unencoded_compare): Use get_pc_begin instead of type-punning.
70583         (add_fdes): Likewise.
70584         (linear_search_fdes): Likewise.
70585         (binary_search_unencoded_fdes): Likewise.
70587 2012-11-26  Andreas Schwab  <schwab@linux-m68k.org>
70589         * elf/sotruss.ksh: Correctly locate argument of -F and -T options.
70591 2012-11-24  Adam Conrad  <adconrad@0c3.net>
70593         * configure.in: Autodetect C++ header directories.
70594         * configure: Regenerated.
70596 2012-11-23  Mike Frysinger  <vapier@gentoo.org>
70598         * elf/Makefile ($(objpfx)ld.so): Change readelf to $(READELF).
70600 2012-11-23  Andreas Schwab  <schwab@linux-m68k.org>
70602         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
70604 2012-11-22  Joseph Myers  <joseph@codesourcery.com>
70606         * math/libm-test.inc (fma_test_towardzero) [TEST_LDOUBLE &&
70607         LDBL_MANT_DIG == 106]: Disable some tests.
70608         (fma_test_downward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
70609         Likewise.
70610         (fma_test_upward) [TEST_LDOUBLE && LDBL_MANT_DIG == 106]:
70611         Likewise.
70613         [BZ #14871]
70614         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c (__atanl): Return the
70615         input for small inputs.  Return +/- pi/2 for large inputs.
70616         * math/libm-test.inc (atan_test): Add more tests.
70618         * sysdeps/generic/unwind-dw2-fde-glibc.c
70619         (_Unwind_IteratePhdrCallback): Declare P_DYNAMIC with
70620         __attribute__ ((unused)).
70622         [BZ #14645]
70623         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c (__fmal): Compute result as
70624         x * y if x and y are nonzero and z is zero.
70626         [BZ #14811]
70627         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (__ieee754_powl): Saturate
70628         nonzero exponents with absolute value below 0x1p-117 to +/-
70629         0x1p-117.
70631         [BZ #14869]
70632         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl): Scale
70633         up arguments below 2**-450, not just those below 2**-500.
70634         * math/libm-test.inc (hypot_test): Add another test.
70636         [BZ #14868]
70637         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c (__ieee754_hypotl):
70638         Return a+b for ratio over 2**120, not 2**60.
70639         * math/libm-test.inc (hypot_test): Add another test.
70641         * math/libm-test.inc (clog_test): Use
70642         UNDERFLOW_EXCEPTION_LDOUBLE_IBM on two tests.
70643         (clog10_test): Likewise.
70645         [BZ #6778]
70646         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c (big): Change to 1e290L.
70648 2012-11-22  Andreas Schwab  <schwab@suse.de>
70650         * sysdeps/i386/fpu/libm-test-ulps: Update.
70652 2012-11-22  Pino Toscano  <toscano.pino@tiscali.it>
70654         * sysdeps/x86_64/multiarch/test-multiarch.c (get_cpuinfo): Terminate
70655         printf output with newline.
70657 2012-11-21  H.J. Lu  <hongjiu.lu@intel.com>
70659         [BZ #14865]
70660         * aclocal.m4 (LIBC_LINKER_FEATURE): New macro.
70661         * configure.in: Use LIBC_LINKER_FEATURE to check -z nodelete,
70662         -z nodlopen, -z initfirst and -z execstack support.
70663         * configure: Regenerated.
70665         * elf/elf.h (DF_1_NODIRECT): New macro.
70666         (DF_1_IGNMULDEF): Likewise.
70667         (DF_1_NOKSYMS): Likewise.
70668         (DF_1_NOHDR): Likewise.
70669         (DF_1_EDITED): Likewise.
70670         (DF_1_NORELOC): Likewise.
70671         (DF_1_SYMINTPOSE): Likewise.
70672         (DF_1_GLOBAUDIT): Likewise.
70673         (DF_1_SINGLETON): Likewise.
70674         * elf/get-dynamic-info.h (elf_get_dynamic_info): Assert
70675         DT_1_SUPPORTED_MASK bits.
70676         * include/elf.h (DT_1_SUPPORTED_MASK): New macro.
70678 2012-11-20  Carlos O'Donell  <carlos_odonell@mentor.com>
70680         * sysdeps/unix/make-syscalls.sh: Document prefixes.
70682 2012-11-20  Thomas Schwinge  <thomas@codesourcery.com>
70684         * sysdeps/sh/dl-machine.h (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): New
70685         macro.
70687         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr, recvmmsg)
70688         (sendmmsg): Move declarations...
70689         * socket/sys/socket.h: ... here.
70690         * sysdeps/unix/sysv/linux/recvmmsg.c [!defined __NR_recvmmsg &&
70691         !defined __NR_socketcall] (recvmmsg): Move ENOSYS stub into and
70692         include it from...
70693         * socket/recvmmsg.c: ... this new file.
70694         * sysdeps/unix/sysv/linux/internal_sendmmsg.S [__ASSUME_SENDMMSG]
70695         (sendmmsg): Rename to __sendmmsg, create weak alias and make
70696         definition of __sendmmsg hidden.
70697         * sysdeps/unix/sysv/linux/sendmmsg.c (sendmmsg): Likewise.
70698         [!defined __NR_sendmmsg && !defined __NR_socketcall] (sendmmsg):
70699         Move ENOSYS stub into and include it from...
70700         * socket/sendmmsg.c: ... this new file.
70701         * sysdeps/unix/sysv/linux/Makefile [subdir=socket]
70702         (sysdep_routines): Move recvmmsg and sendmmsg...
70703         * socket/Makefile (routines): ... here.
70704         * socket/Versions (GLIBC_2.17): Add recvmmsg and sendmmsg.
70705         (GLIBC_PRIVATE): Add __sendmmsg.
70706         * include/sys/socket.h (__sendmmsg): Add declarations.
70707         * resolv/res_send.c (send_dg): Invoke __sendmmsg instead of
70708         sendmmsg.
70710 2012-11-20  Joseph Myers  <joseph@codesourcery.com>
70712         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Mark
70713         variable I1 with __attribute__ ((unused)).
70714         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
70716 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
70718         * stdio-common/_itowa.c (_itowa) [BITS_PER_MP_LIMB == 64]: Declare
70719         DUMMY variables with __attribute__ ((unused)).
70721         * bits/byteswap.h: Include <bits/types.h>.
70722         (__bswap_64): Use __uint64_t instead of unsigned long long int.
70724 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
70726         * sysdeps/mach/hurd/ptsname.c (ptsname): Change the type of PEERNAME to
70727         string_t.  Do not manually set errno.
70728         (__ptsname_r): Change the type of PEERNAME to string_t, and check its
70729         length with __strnlen.  Make sure to both set errno and return it on
70730         failure.
70732 2012-11-19  David S. Miller  <davem@davemloft.net>
70734         With help from Joseph Myers.
70735         * sysdeps/ieee754/ldbl-128/s_atanl.c (__atanl): Handle tiny and
70736         very large arguments properly.
70737         * math/libm-test.inc (atan_test): New tests.
70738         (atan2_test): New tests.
70739         * sysdeps/sparc/fpu/libm-test-ulps: Update.
70740         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70742 2012-11-19  Joseph Myers  <joseph@codesourcery.com>
70744         [BZ #14856]
70745         * posix/bits/posix1_lim.h [!__USE_XOPEN2K] (_POSIX_TZNAME_MAX):
70746         Define to 3.
70748         * conform/data/errno.h-data [POSIX] (EADDRINUSE): Do not expect.
70749         [POSIX] (EADDRNOTAVAIL): Likewise.
70750         [POSIX] (EAFNOSUPPORT): Likewise.
70751         [POSIX] (EALREADY): Likewise.
70752         [POSIX] (ECONNABORTED): Likewise.
70753         [POSIX] (ECONNREFUSED): Likewise.
70754         [POSIX] (ECONNRESET): Likewise.
70755         [POSIX] (EDESTADDRREQ): Likewise.
70756         [POSIX] (EDQUOT): Likewise.
70757         [POSIX] (EHOSTUNREACH): Likewise.
70758         [POSIX] (EIDRM): Likewise.
70759         [POSIX] (EISCONN): Likewise.
70760         [POSIX] (ELOOP): Likewise.
70761         [POSIX] (EMULTIHOP): Likewise.
70762         [POSIX] (ENETDOWN): Likewise.
70763         [POSIX] (ENETUNREACH): Likewise.
70764         [POSIX] (ENOBUFS): Likewise.
70765         [POSIX] (ENODATA): Likewise.
70766         [POSIX] (ENOLINK): Likewise.
70767         [POSIX] (ENOMSG): Likewise.
70768         [POSIX] (ENOPROTOOPT): Likewise.
70769         [POSIX] (ENOSR): Likewise.
70770         [POSIX] (ENOSTR): Likewise.
70771         [POSIX] (ENOTCONN): Likewise.
70772         [POSIX] (ENOTSOCK): Likewise.
70773         [POSIX] (EOPNOTSUPP): Likewise.
70774         [POSIX] (EOVERFLOW): Likewise.
70775         [POSIX] (EPROTO): Likewise.
70776         [POSIX] (EPROTONOSUPPORT): Likewise.
70777         [POSIX] (EPROTOTYPE): Likewise.
70778         [POSIX] (ESTALE): Likewise.
70779         [POSIX] (ETIME): Likewise.
70780         [POSIX] (ETXTBSY): Likewise.
70781         [POSIX] (EWOULDBLOCK): Likewise.
70782         [!ISO && !ISO99 && !ISO11] (E*): Do not allow.
70783         * conform/data/fcntl.h-data [POSIX] (SEEK_SET): Allow.
70784         [POSIX] (SEEK_CUR): Likewise.
70785         [POSIX] (SEEK_END): Likewise.
70786         [POSIX || UNIX98] (mode_t): Do not require.
70787         [POSIX] (off_t): Likewise.
70788         [POSIX] (pid_t): Likewise.
70789         [POSIX] (sys/stat.h): Do not allow header.
70790         [POSIX] (unistd.h): Likewise.
70791         [!ISO && !ISO99 && !ISO11] (timespec): Do not allow.
70792         [!ISO && !ISO99 && !ISO11] (tv_nsec): Likewise.
70793         [!ISO && !ISO99 && !ISO11] (tv_sec): Likewise.
70794         * conform/data/locale.h-data [POSIX] (LC_MESSAGES): Do not
70795         require.
70796         * conform/data/mqueue.h-data [!ISO && !ISO99 && !ISO11] (struct
70797         sigevent): Specify elements.
70798         [XOPEN2K8 || POSIX2008] (struct sigevent): Remove duplicate type
70799         entry.
70800         [!ISO && !ISO99 && !ISO11] (mq_*): Allow.
70801         [!ISO && !ISO99 && !ISO11] (MQ_*): Likewise.
70803         * conform/data/cpio.h-data [POSIX]: Disable whole file.
70804         * conform/data/glob.h-data [POSIX] (GLOB_NOSYS): Do not expect.
70805         * conform/data/limits.h-data [!ISO && !ISO99 && !ISO11]
70806         (AIO_LIST_MAX): Change to AIO_LISTIO_MAX.
70807         [!ISO && !ISO99 && !ISO11] (ATEXT_MAX): Remove.
70808         [!ISO && !ISO99 && !ISO11 && !POSIX && !XPG3] (ATEXIT_MAX): Allow.
70809         [POSIX || POSIX2008 || XPG3] (IOV_MAX): Do not allow.
70810         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Likewise.
70811         [!ISO && !ISO99 && !ISO11] (MQ_PRIO_MAX): Allow.
70812         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Remove duplicate entry.
70813         [POSIX || XPG3 || XPG4 || UNIX98] (SS_REPL_MAX): Do not allow.
70814         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLOOP_MAX): Likewise.
70815         [POSIX || XPG3 || XPG4] (FILESIZEBITS): Likewise.
70816         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_ALLOC_SIZE_MIN):
70817         Likewise.
70818         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_INCR_XFER_SIZE):
70819         Likewise.
70820         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_MAX_XFER_SIZE):
70821         Likewise.
70822         [POSIX || XPG3 || XPG4 || UNIX98] (POSIX_REC_XFER_ALIGN):
70823         Likewise.
70824         [POSIX || XPG3 || XPG4 || UNIX98] (SYMLINK_MAX): Likewise.
70825         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SS_REPL_MAX): Likewise.
70826         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLINK_MAX): Likewise.
70827         [POSIX || XPG3 || XPG4 || UNIX98] (_POSIX_SYMLOOP_MAX): Likewise.
70828         [!ISO && !ISO99 && !ISO11] (BC_BASE_MAX): Use macro-constant.
70829         Specify lower bound on value.
70830         [!ISO && !ISO99 && !ISO11] (BC_DIM_MAX): Likewise.
70831         [!ISO && !ISO99 && !ISO11] (BC_SCALE_MAX): Likewise.
70832         [!ISO && !ISO99 && !ISO11] (BC_STRING_MAX): Likewise.
70833         [!ISO && !ISO99 && !ISO11] (COLL_WEIGHTS_MAX): Likewise.
70834         [!ISO && !ISO99 && !ISO11] (EXPR_NEST_MAX): Likewise.
70835         [!ISO && !ISO99 && !ISO11] (RE_DUP_MAX): Likewise.
70836         [POSIX || XPG3 || XPG4] (CHARCLASS_NAME_MAX): Do not allow.
70837         [!ISO && !ISO99 && !ISO11] (_POSIX_CLOCKRES_MIN): Specify exact
70838         value.
70839         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_LISTIO_MAX): Do not specify
70840         as optional.
70841         [!ISO && !ISO99 && !ISO11] (_POSIX_AIO_MAX): Likewise.
70842         [!ISO && !ISO99 && !ISO11] (_POSIX_ARG_MAX): Likewise.
70843         [!ISO && !ISO99 && !ISO11] (_POSIX_CHILD_MAX): Likewise.
70844         [!ISO && !ISO99 && !ISO11] (_POSIX_DELAYTIMER_MAX): Likewise.
70845         [!ISO && !ISO99 && !ISO11] (_POSIX_LINK_MAX): Likewise.
70846         [!ISO && !ISO99 && !ISO11] (_POSIX_LOGIN_NAME_MAX): Likewise.
70847         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_CANON): Likewise.
70848         [!ISO && !ISO99 && !ISO11] (_POSIX_MAX_INPUT): Likewise.
70849         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_OPEN_MAX): Likewise.
70850         [!ISO && !ISO99 && !ISO11] (_POSIX_MQ_PRIO_MAX): Likewise.
70851         [!ISO && !ISO99 && !ISO11] (_POSIX_NAME_MAX): Likewise.
70852         [!ISO && !ISO99 && !ISO11] (_POSIX_NGROUPS_MAX): Likewise.
70853         [!ISO && !ISO99 && !ISO11] (_POSIX_OPEN_MAX): Likewise.
70854         [!ISO && !ISO99 && !ISO11] (_POSIX_PATH_MAX): Likewise.
70855         [!ISO && !ISO99 && !ISO11] (_POSIX_PIPE_BUF): Likewise.
70856         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Remove duplicate
70857         entry.
70858         [!ISO && !ISO99 && !ISO11] (_POSIX_RTSIG_MAX): Do not specify as
70859         optional.
70860         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_NSEMS_MAX): Likewise.
70861         [!ISO && !ISO99 && !ISO11] (_POSIX_SEM_VALUE_MAX): Likewise.
70862         [!ISO && !ISO99 && !ISO11] (_POSIX_SIGQUEUE_MAX): Likewise.
70863         [!ISO && !ISO99 && !ISO11] (_POSIX_SSIZE_MAX): Likewise.
70864         [!ISO && !ISO99 && !ISO11] (_POSIX_STREAM_MAX): Likewise.
70865         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_DESTRUCTOR_ITERATIONS):
70866         Likewise.
70867         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_KEYS_MAX): Likewise.
70868         [!ISO && !ISO99 && !ISO11] (_POSIX_THREAD_THREADS_MAX): Likewise.
70869         [!ISO && !ISO99 && !ISO11] (_POSIX_TIMER_MAX): Likewise.
70870         [!ISO && !ISO99 && !ISO11] (_POSIX_TTY_NAME_MAX): Likewise.
70871         [!ISO && !ISO99 && !ISO11] (_POSIX_TZNAME_MAX): Likewise.  Give
70872         value as 3 for [POSIX || XPG3 || XPG4 || UNIX98].
70873         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_BASE_MAX): Do not specify
70874         as optional.
70875         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_DIM_MAX): Likewise.
70876         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_SCALE_MAX): Likewise.
70877         [!ISO && !ISO99 && !ISO11] (_POSIX2_BC_STRING_MAX): Likewise.
70878         [!ISO && !ISO99 && !ISO11] (_POSIX2_CHARCLASS_NAME_MAX):
70879         Likewise.  Do not allow for [POSIX || XPG3 || XPG4 || UNIX98].
70880         [!ISO && !ISO99 && !ISO11] (_POSIX2_COLL_WEIGHTS_MAX): Do not
70881         specify as optional.
70882         [!ISO && !ISO99 && !ISO11] (_POSIX2_EXPR_NEST_MAX): Likewise.
70883         [!ISO && !ISO99 && !ISO11] (_POSIX2_LINE_MAX): Likewise.
70884         [!ISO && !ISO99 && !ISO11] (_POSIX2_RE_DUP_MAX): Likewise.
70885         [POSIX || POSIX2008 || XPG3] (_XOPEN_IOV_MAX): Do not allow.
70886         [POSIX || XPG3] (NL_ARGMAX): Do not allow.
70887         [XPG3] (NL_LANGMAX): Likewise.
70888         [POSIX || XPG3] (NL_MSGMAX): Likewise.
70889         [POSIX || XPG3] (NL_NMAX): Likewise.
70890         [POSIX || XPG3] (NL_SETMAX): Likewise.
70891         [POSIX || XPG3] (NL_TEXTMAX): Likewise.
70892         [XPG3] (NZERO): Likewise.
70893         [XPG4 || UNIX98] (TMP_MAX): Only enable for these conditions.
70894         [POSIX || XPG3 || XPG4 || UNIX98] (*_MIN): Do not allow.
70895         [!ISO && !ISO99 && !ISO11] (*_t): Allow.
70896         * conform/data/regex.h-data [!ISO && !ISO99 && !ISO11]
70897         (REG_ERANGE): Expect.
70898         * conform/data/stdio.h-data [POSIX] (L_cuserid): Use
70899         optional-constant.
70900         [POSIX || XOPEN2K || XOPEN2K8 || POSIX2008] (getchar_unlocked):
70901         Use (void) in prototype.
70902         [POSIX] (*_t): Allow.
70903         * conform/data/sys/times.h-data [POSIX]: Enable whole file.
70904         * conform/data/wordexp.h-data [!ISO && !ISO99 && !ISO11]
70905         (WRDE_BADVAL): Expect.
70907         * conform/data/fcntl.h-data [XPG3 || XPG4] (O_DSYNC): Do not
70908         expect.
70909         [XPG3 || XPG4] (O_RSYNC): Likewise.
70910         * conform/data/signal.h-data [XPG3 || XPG4] (pthread_kill):
70911         Likewise.
70912         [XPG3 || XPG4] (pthread_sigmask): Likewise.
70913         [XPG3 || XPG4] (sigqueue): Likewise.
70914         [XPG3 || XPG4] (sigtimedwait): Likewise.
70915         [XPG3 || XPG4] (sigwaitinfo): Likewise.
70916         * conform/data/stdio.h-data [XPG3 || XPG4] (snprintf): Likewise.
70917         [XPG3 || XPG4] (vsnprintf): Likewise.
70918         * conform/data/sys/stat.h-data [XPG3 || XPG4] (blkcnt_t):
70919         Likewise.
70920         [XPG3 || XPG4] (blksize_t): Likewise.
70921         * conform/data/time.h-data [XPG3 || XPG4] (struct timespec):
70922         Likewise.
70923         [XPG3 || XPG4] (CLOCK_PROCESS_CPUTIME_ID): Likewise.
70924         [XPG3 || XPG4] (CLOCK_THREAD_CPUTIME_ID): Likewise.
70925         [XPG3 || XPG4] (struct itimerspec): Likewise.
70926         [XPG3 || XPG4] (CLOCK_REALTIME): Likewise.
70927         [XPG3 || XPG4] (TIMER_ABSTIME): Likewise.
70928         [XPG3 || XPG4] (CLOCK_MONOTONIC): Likewise.
70929         [XPG3 || XPG4] (clockid_t): Likewise.
70930         [XPG3 || XPG4] (timer_t): Likewise.
70931         [XPG3 || XPG4] (clock_getres): Likewise.
70932         [XPG3 || XPG4] (clock_gettime): Likewise.
70933         [XPG3 || XPG4] (clock_settime): Likewise.
70934         [XPG3 || XPG4] (nanosleep): Likewise.
70935         [XPG3 || XPG4] (timer_create): Likewise.
70936         [XPG3 || XPG4] (timer_delete): Likewise.
70937         [XPG3 || XPG4] (timer_gettime): Likewise.
70938         [XPG3 || XPG4] (timer_getoverrun): Likewise.
70939         [XPG3 || XPG4] (timer_settime): Likewise.
70940         * conform/data/unistd.h-data [XPG3 || XPG4] (fdatasync): Likewise.
70941         [XPG3 || XPG4] (getlogin_r): Likewise.
70942         [XPG3 || XPG4] (pread): Likewise.
70943         [XPG3 || XPG4] (pthread_atfork): Likewise.
70944         [XPG3 || XPG4] (pwrite): Likewise.
70946         [BZ #14835]
70947         * signal/signal.h [__USE_XOPEN_EXTENDED]: Include
70948         <bits/siginfo.h>.
70950 2012-11-19  Pino Toscano  <toscano.pino@tiscali.it>
70952         * malloc/mtrace.c (muntrace): Reset MALLSTREAM and the hooks before
70953         finalizing MALLSTREAM.
70955         * sysdeps/mach/hurd/syncfs.c: New file.
70957 2012-11-19  Siddhesh Poyarekar  <siddhesh@redhat.com>
70959         [BZ #14719]
70960         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Set h_errno to
70961         NETDB_INTERNAL when NSS_STATUS_UNAVAIL.
70962         * resolv/nss_dns/dns-host.c (_nss_dns_gethostbyname3_r): Set
70963         h_errno to NETDB_INTERNAL when errno is EMFILE or ENFILE.
70964         (_nss_dns_gethostbyname4_r): Likewise.
70965         * sysdeps/posix/getaddrinfo.c (gaih_inet): Set result to
70966         EAI_SYSTEM if NSS_STATUS_UNAVAIL.
70968 2012-11-19  Peng Haitao  <penght@cn.fujitsu.com>
70970         [BZ #13763]
70971         * sunrpc/bindrsvprt.c: Add lock to protect static variable.
70973 2012-11-19  Steve McIntyre  <steve.mcintyre@linaro.org>
70975         * sysdeps/generic/ldconfig.h (FLAG_AARCH64_LIB64): New macro.
70976         * elf/cache.c (print_entry): Print ",AArch64" for
70977         FLAG_AARCH64_LIB64
70979         * sysdeps/generic/ldconfig.h (FLAG_ARM_LIBHF): New macro.
70980         * elf/cache.c (print_entry): Print ",hard-float" for
70981         FLAG_ARM_LIBHF.
70983 2012-11-18  David S. Miller  <davem@davemloft.net>
70985         With help from Joseph Myers.
70986         * sysdeps/ieee754/flt-32/e_j0f.c (__ieee754_y0f): Adjust tinyness
70987         cutoff to 2**-13.
70988         * sysdeps/ieee754/flt-32/e_j1f.c (__ieee754_y1f): Adjust tinyness
70989         cutoff to 2**-25.
70990         * sysdeps/ieee754/ldbl-128/e_j0l.c (U0): New constant.
70991         ( __ieee754_y0l): Avoid arithmetic underflow when 'x' is very
70992         small.
70993         * sysdeps/ieee754/ldbl-128/e_j1l.c (__ieee754_y1l): Likewise.
70994         * math/libm-test.inc (y0_test): New tests.
70995         (y1_test): New tests.
70996         * sysdeps/i386/fpu/libm-test-ulps: Update.
70997         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
70998         * sysdeps/sparc/fpu/libm-test-ulps: Update.
71000 2012-11-18  Andreas Schwab  <schwab@linux-m68k.org>
71002         * configure.in (libc_cv_ld_gnu_indirect_function): Use .quad on
71003         64-bit targets.
71004         * configure: Regenerated.
71006 2012-11-17  David S. Miller  <davem@davemloft.net>
71008         [BZ #14811]
71009         * sysdeps/ieee754/ldbl-128/e_powl.c (__ieee754_powl): Saturate
71010         nonzero exponents with absolute value below 0x1p-128 to +/-
71011         0x1p-128.
71013 2012-11-17  Joseph Myers  <joseph@codesourcery.com>
71015         * sysdeps/unix/sysv/linux/fxstatat.c: Include <string.h>.
71017         * elf/dl-runtime.c [!ELF_MACHINE_NO_PLT]: Make code unconditional.
71019         * posix/getconf-speclist.c: New file.
71020         * posix/posix-envs.def: Likewise.
71021         * posix/confstr.c (START_ENV_GROUP): New macro.
71022         (END_ENV_GROUP): Likewise.
71023         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
71024         (KNOWN_PRESENT_ENV_STRING): Likewise.
71025         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
71026         (UNKNOWN_ENVIRONMENT): Likewise.
71027         (confstr): Include posix-envs.def instead of handling
71028         _CS_V7_WIDTH_RESTRICTED_ENVS, _CS_V6_WIDTH_RESTRICTED_ENVS and
71029         _CS_V5_WIDTH_RESTRICTED_ENVS directly here.
71030         * sysdeps/posix/sysconf.c (START_ENV_GROUP): New macro.
71031         (END_ENV_GROUP): Likewise.
71032         (KNOWN_ABSENT_ENVIRONMENT): Likewise.
71033         (KNOWN_PRESENT_ENVIRONMENT): Likewise.
71034         (UNKNOWN_ENVIRONMENT): Likewise.
71035         (__sysconf): Include posix-envs.def instead of handling associated
71036         cases directly here.
71037         * posix/Makefile ($(objpfx)getconf.speclist): Generate by
71038         preprocessing getconf-speclist.c rather than running getconf or
71039         generating empty file.
71041 2012-11-16  Pino Toscano  <toscano.pino@tiscali.it>
71043         * scripts/check-local-headers.sh: Ignore 'mach' headers.
71045 2012-11-16  Andrej Lajovic  <natrij@gmail.com>
71047         [BZ #14672]
71048         * iconv/iconv_prog.c (main): Fix -c handling of '/'.
71050 2012-11-16  David S. Miller  <davem@davemloft.net>
71052         * sysdeps/ieee754/ldbl-128/s_log1pl.c (__log1pl): If xm1 is
71053         smaller than LDBL_EPSILON/2.0L, just return xm1.
71055 2012-11-16  H.J. Lu  <hongjiu.lu@intel.com>
71057         * elf/tst-array1.c (init): Set constructor priority to 1000.
71058         (fini): Set destructor priority to 1000.
71059         * elf/tst-array2dep.c: Likewise.
71061 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
71063         [BZ #11741]
71064         * libio/fileops.c (_IO_new_file_write): Correctly return error.
71065         (_IO_new_file_xsputn): Also return EOF if none of the input
71066         data was written when overflow failed.
71067         * libio/iopadn.c (_IO_padn): Likewise.
71068         * libio/iowpadn.c (_IO_wpadn): Likewise.
71069         * stdio-common/tst-put-error.c: Add copyright notice.
71070         (do_test): Add case for printing padded string.
71071         * stdio-common/vfprintf [!COMPILE_WPRINTF] (PAD): Flag error if
71072         _IO_padn returned error.
71073         [COMPILE_WPRINTF] (PAD): Flag error if _IO_wpadn returned error.
71074         * libio/libioP.h (_IO_xsputn_t): Note in comment that xsputn can
71075         return EOF.
71077 2012-11-16  Siddhesh Poyarekar  <siddhesh@redhat.com>
71079         * libio/libioP.h: Add comment note that the references to C++
71080         bits are now obsolete.
71082 2012-11-15  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
71084         * math/libm-test.inc (check_complex): Use asprintf.
71086 2012-11-14  Joseph Myers  <joseph@codesourcery.com>
71088         * debug/pcprofiledump.c (print_version): Update copyright year.
71089         * malloc/memusagestat.c (print_version): Likewise.
71091 2012-11-14  H.J. Lu  <hongjiu.lu@intel.com>
71093         [BZ #14831]
71094         * elf/Makefile (tests): Add tst-audit8.
71095         ($(objpfx)tst-audit8): Also depend on $(common-objpfx)math/libm.so.
71096         ($(objpfx)tst-audit8.out): New target.
71097         (tst-audit8-ENV): New variable.
71098         * elf/dl-runtime.c (_dl_profile_fixup): Call _dl_fixup to skip
71099         audit if l_reloc_result is NULL.
71100         (ELF_MACHINE_RUNTIME_FIXUP_PARAMS): Issue an error if it isn't
71101         defined and ELF_MACHINE_RUNTIME_FIXUP_ARGS is defined.
71102         * elf/tst-audit8.c: New file.
71104 2012-11-14  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
71106         * io/Makefile (CFLAGS-open.c, CFLAGS-open64.c): Define.
71107         * misc/Makefile (CFLAGS-select.c): Define.
71108         * posix/Makefile (CFLAGS-pause.c): Define.
71110 2012-11-13  David S. Miller  <davem@davemloft.net>
71112         * crypt/Makefile: Move test targets after toplevel Rules
71113         inclusion.  Grab any necessary sysdep routines when linking.
71114         * crypt/md5.c (md5_process_block): Remove define, we will always
71115         name it __md5_process_block.
71116         (md5_finish_ctx): Update md5_process_block call.
71117         (md5_stream): Likewise.
71118         (md5_process_bytes): Likewise.
71119         (md5_process_block): Rename to __md5_process_block and move to ...
71120         * crypt/md5-block.c: ... here.
71121         * crypt/sha256.c (sha256_process_block): Move to ...
71122         * crypt/sha256-block.c: ... here.
71123         * crypt/sha512.c (sha512_process_block): Move to ...
71124         * crypt/sha512-block.c: ... here.
71125         * locale/Makefile (CFLAGS-md5.c): Define to add crypt/ to include
71126         path.
71127         * sysdeps/sparc/sparc-ifunc.c (sparc_libc_ifunc): Define.
71128         * sysdeps/sparc/sparc64/multiarch/Makefile
71129         (libcrypt-sysdep_routines): Add crypto assembler sysdeps when in
71130         crypt subdir.
71131         (localedef-aux): Add md5 crypto assembler when in locale subdir.
71132         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Mirror sparc64
71133         multiarch changes.
71134         * sysdeps/sparc/sparc64/multiarch/md5-block.c: New file.
71135         * sysdeps/sparc/sparc64/multiarch/md5-crop.S: New file.
71136         * sysdeps/sparc/sparc64/multiarch/sha256-block.c: New file.
71137         * sysdeps/sparc/sparc64/multiarch/sha256-crop.S: New file.
71138         * sysdeps/sparc/sparc64/multiarch/sha512-block.c: New file.
71139         * sysdeps/sparc/sparc64/multiarch/sha512-crop.S: New file.
71140         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-block.c: New file.
71141         * sysdeps/sparc/sparc32/sparcv9/multiarch/md5-crop.S: New file.
71142         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-block.c: New
71143         file.
71144         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha256-crop.S: New file.
71145         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-block.c: New
71146         file.
71147         * sysdeps/sparc/sparc32/sparcv9/multiarch/sha512-crop.S: New file.
71149 2012-11-13  Joseph Myers  <joseph@codesourcery.com>
71151         * timezone/tzselect.ksh: Update from tzcode git revision
71152         a435f9f0ecafa56d9e0263835836bd0c64cd7307.
71153         * timezone/zdump.c: Likewise.
71154         * timezone/zic.c: Likewise.
71155         * timezone/Makefile ($(objpfx)version.h): Only include $(version)
71156         in TZVERSION setting, not $(PKGVERSION).
71157         ($(objpfx)tzselect): Likewise.  Also substitute PKGVERSION and
71158         REPORT_BUGS_TO settings.
71160         [BZ #14838]
71161         * resolv/netdb.h [__USE_XOPEN_EXTENDED] (IPPORT_RESERVED): Define
71162         macro.
71164 2012-11-13  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
71166         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Move underflow
71167         detection to immediately after _FP_ROUND().
71168         * soft-fp/soft-fp.h (_FP_ROUND): Don't round if working
71169         bits are 0.
71171 2012-11-11  David S. Miller  <davem@davemloft.net>
71173         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Include
71174         inttypes.h
71175         (__get_clockfreq_via_proc_openprom): Use __open, __read, and
71176         __close rather than their public counterparts.
71178 2012-11-10  Joseph Myers  <joseph@codesourcery.com>
71180         * conform/data/semaphore.h-data [XPG3 || XPG4]: Disable whole
71181         file.
71182         [UNIX98] (sem_timedwait): Do not expect.
71183         * conform/data/sys/socket.h-data [XPG3]: Disable whole file.
71184         [XPG4 || UNIX98] (sockatmark): Do not expect.
71185         * conform/data/time.h-data [XPG3 || XPG4 || UNIX98]
71186         (clock_getcpuclockid): Do not expect.
71187         [XPG3 || XPG4 || UNIX98] (clock_nanosleep): Do not expect.
71188         * conform/data/unistd.h-data [XPG3 || XPG4 || UNIX98] (setegid):
71189         Do not expect.
71190         [XPG3 || XPG4 || UNIX98] (seteuid): Likewise.
71191         * conform/data/wchar.h-data [UNIX98] (vfwscanf): Do not expect.
71192         [UNIX98] (vwscanf): Likewise.
71193         [UNIX98] (vswscanf): Likewise.
71195 2012-11-09  Joseph Myers  <joseph@codesourcery.com>
71197         * timezone/version.h: Remove file.
71198         * timezone/README: Do not refer to version.h.
71199         * timezone/Makefile ($(objpfx)zic.o): New dependency on
71200         $(objpfx)version.h.
71201         ($(objpfx)zdump.o): Likewise.
71202         ($(objpfx)version.h): New target.
71204         * timezone/tzselect.ksh: Change to verbatim copy from tzcode
71205         2012i.
71206         * timezone/README: Don't mention modification to tzselect.ksh.
71207         * timezone/Makefile ($(objpfx)tzselect): Update substitutions to
71208         work on unmodified tzselect.ksh.  Substitute version numbers in
71209         tzselect.ksh.
71211         * Makefile (format-me): Remove.
71212         (INSTALL): Adjust indentation.  Use commands directly instead of
71213         using $(format-me).
71215         * aclocal.m4 (ACX_PKGVERSION): New macro.
71216         (ACX_BUGURL): Likewise.
71217         * configure.in: Use ACX_PKGVERSION and ACX_BUGURL.
71218         (PKGVERSION): New AC_DEFINE_UNQUOTED.
71219         (REPORT_BUGS_TO): Likewise.
71220         * configure: Regenerated.
71221         * config.h.in (PKGVERSION): New macro.
71222         (REPORT_BUGS_TO): Likewise.
71223         * config.make.in (PKGVERSION): New variable.
71224         (PKGVERSION_TEXI): Likewise.
71225         (REPORT_BUGS_TO): Likewise.
71226         (REPORT_BUGS_TEXI): Likewise.
71227         * Makefile (format-me): Use -I$(common-objpfx)manual.
71228         (INSTALL): Depend on $(common-objpfx)manual/pkgvers.texi.
71229         ($(common-objpfx)manual/%): New target.
71230         (manual/%): Remove target.
71231         * catgets/gencat.c (more_help): Use REPORT_BUGS_TO.
71232         (print_version): Use PKGVERSION.
71233         * csu/version.c (banner): Use PKGVERSION and REPORT_BUGS_TO.
71234         * debug/Makefile ($(objpfx)catchsegv): Also substitute PKGVERSION
71235         and REPORT_BUGS_TO.
71236         ($(objpfx)xtrace): Likewise.
71237         * debug/catchsegv.sh: Use PKGVERSION and REPORT_BUGS_TO.
71238         * debug/pcprofiledump.c (more_help): Use REPORT_BUGS_TO.
71239         (print_version): Use PKGVERSION.
71240         * debug/xtrace.sh (do_help): Use REPORT_BUGS_TO.
71241         (do_version): Use PKGVERSION.
71242         * elf/Makefile ($(objpfx)sotruss): Also substitute PKGVERSION and
71243         REPORT_BUGS_TO.
71244         (common-ldd-rewrite): Likewise.
71245         * elf/dl-close.c (_dl_close_worker): Use REPORT_BUGS_TO.
71246         * elf/ldconfig.c (more_help): Use REPORT_BUGS_TO.
71247         (print_version): Use PKGVERSION.
71248         * elf/ldd.bash.in: Use PKGVERSION and REPORT_BUGS_TO.
71249         * elf/pldd.c (argp_program_bug_address): Remove variable.
71250         (more_help): New function.
71251         (argp): Use more_help.
71252         (print_version): Use PKGVERSION.
71253         * elf/sln.c (main): Use PKGVERSION.
71254         (usage): Use REPORT_BUGS_TO.
71255         * elf/sotruss.ksh (do_help): Use REPORT_BUGS_TO.
71256         (top level): Use PKGVERSION.
71257         * elf/sprof.c (more_help): Use REPORT_BUGS_TO.
71258         (print_version): Use PKGVERSION.
71259         * iconv/iconv_prog.c (more_help): Use REPORT_BUGS_TO.
71260         (print_version): Use PKGVERSION.
71261         * iconv/iconvconfig.c (more_help): Use REPORT_BUGS_TO.
71262         (print_version): Use PKGVERSION.
71263         * locale/programs/locale.c (more_help): Use REPORT_BUGS_TO.
71264         (print_version): Use PKGVERSION.
71265         * locale/programs/localedef.c (more_help): Use REPORT_BUGS_TO.
71266         (print_version): Use PKGVERSION.
71267         * login/programs/pt_chown.c (more_help): Use REPORT_BUGS_TO.
71268         (print_version): Use PKGVERSION.
71269         * malloc/Makefile ($(objpfx)mtrace): Also substitute PKGVERSION
71270         and BUGURL.
71271         ($(objpfx)memusage): Likewise.
71272         * malloc/memusage.sh (do_help): Use REPORT_BUGS_TO.
71273         (do_version): Use PKGVERSION.
71274         * malloc/memusagestat.c (more_help): Use REPORT_BUGS_TO.
71275         (print_version): Use PKGVERSION.
71276         * malloc/mtrace.pl ($PACKAGE): Remove variable.
71277         ($PKGVERSION): New variable.
71278         ($REPORT_BUGS_TO): Likewise.
71279         (usage): Use $REPORT_BUGS_TO.
71280         (top level): Use $PKGVERSION.
71281         * manual/Makefile (libc-texi-generated): Add pkgvers.texi.
71282         ($(objpfx)pkgvers.texi): New rule.
71283         ($(objpfx)stamp-pkgvers): Likewise.
71284         * manual/install.texi: Include pkgvers.texi.
71285         (--with-pkgversion): Document new configure option.
71286         (--with-bugurl): Likewise.
71287         (Reporting Bugs): Describe Bugzilla as upstream tracker rather
71288         than necessarily for this particular distribution.  Use
71289         REPORT_BUGS_TO for where to report bugs.
71290         * INSTALL: Regenerated.
71291         * manual/libc.texinfo: Include pkgvers.texi.
71292         [!PKGVERSION_DEFAULT]: Include PKGVERSION in version information.
71293         * nscd/nscd.c (more_help): Use REPORT_BUGS_TO.
71294         (print_version): Use PKGVERSION.
71295         * nss/getent.c (more_help): Use REPORT_BUGS_TO.
71296         (print_version): Use PKGVERSION.
71297         * nss/makedb.c (more_help): Use REPORT_BUGS_TO.
71298         (print_version): Use PKGVERSION.
71299         * posix/getconf.c (main): Use PKGVERSION and REPORT_BUGS_TO.
71300         * sunrpc/proto.h [IS_IN_build] (_libc_intl_domainname): Remove
71301         macro.
71302         * sunrpc/rpc_main.c (options_usage): Use REPORT_BUGS_TO.
71303         (print_version): Use PKGVERSION.
71304         * sunrpc/rpcinfo.c (usage): Use REPORT_BUGS_TO.
71305         (print_version): Use PKGVERSION.
71306         * sysdeps/unix/sysv/linux/lddlibc4.c (main): Use REPORT_BUGS_TO
71307         and PKGVERSION.
71309         * timezone/checktab.awk: Update from tzcode 2012i.
71310         * timezone/ialloc.c: Likewise.
71311         * timezone/private.h: Likewise.
71312         * timezone/scheck.c: Likewise.
71313         * timezone/tzfile.h: Likewise.
71314         * timezone/tzselect.ksh: Merge in changes from tzcode 2012i.
71315         (TZVERSION): Hardcode tzcode version number.
71316         * timezone/zdump.c: Update from tzcode 2012i.
71317         * timezone/zic.c: Likewise.
71318         * timezone/version.h: New file.
71319         * timezone/README: Describe version.h.  Update upstream location.
71321         [BZ #14824]
71322         * stdlib/stdlib.h [__USE_XOPEN_EXTENDED && __USE_XOPEN2K]
71323         (mktemp): Enable declaration.
71324         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (ecvt): Likewise.
71325         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (fcvt): Likewise.
71326         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K] (gcvt): Likewise.
71327         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qecvt):
71328         Likewise.
71329         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qfcvt):
71330         Likewise.
71331         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (qgcvt):
71332         Likewise.
71333         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (ecvt_r):
71334         Likewise.
71335         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (fcvt_r):
71336         Likewise.
71337         [__USE_XOPEN_EXTENDED && __USE_XOPEN2K && __USE_MISC] (gcvt_r):
71338         Likewise.
71340         [BZ #14821]
71341         * sunrpc/clnt_tcp.c (clnttcp_control): Access values at fixed
71342         offset in buffer as u_int32_t not u_long.  Consistently use memcpy
71343         for copies of such integer values.
71344         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
71345         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
71347 2012-11-09  Andreas Jaeger  <aj@suse.de>
71349         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Remove all
71350         definitions and declarations that are provided by
71351         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
71353 2012-11-08  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71355         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Add "te".
71356         * sysdeps/s390/dl-procinfo.h (HWCAP_S390_TE): Add enum value.
71357         * sysdeps/unix/sysv/linux/s390/hwcap.h (HWCAP_S390_TE): Add macro
71358         definition.
71360 2012-11-08  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
71362         * elf/elf.h: Update comment before AArch64 relocations.
71364 2012-11-07  David S. Miller  <davem@davemloft.net>
71366         * sysdeps/unix/sysv/linux/sparc/sparc64/__start_context.S: New file.
71367         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
71368         (__start_context): Declare.
71369         (__makecontext_ret): Delete.
71370         (__makecontext): Hook up __start_context instead of
71371         __makecontext_ret.
71372         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile
71373         (sysdep_routines): Add __start_context when in stdlib.
71375 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
71377         * sysdeps/x86/Makefile ($(objpfx)tst-xmmymm.out): Pass $(NM),
71378         $(OBJDUMP) and $(READELF) to tst-xmmymm.sh.
71379         * sysdeps/x86/tst-xmmymm.sh (NM): New variable.  Use it instead of
71380         hardcoded "nm".
71381         (OBJDUMP): New variable.  Use it instead of hardcoded "objdump".
71382         (READELF): New variable.  Use it instead of hardcoded "readelf".
71384 2012-11-07  H.J. Lu  <hongjiu.lu@intel.com>
71386         * sysdeps/x86_64/Makefile ($(objpfx)tst-xmmymm.out): Moved to ...
71387         * sysdeps/x86/Makefile: Here.
71388         * sysdeps/x86_64/tst-xmmymm.sh: Renamed to ...
71389         * sysdeps/x86/tst-xmmymm.sh: This.
71391 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
71393         * conform/data/pthread.h-data [XPG3 || XPG4]: Disable all
71394         expectations.
71395         [UNIX98] (pthread_barrier_t): Do not expect.
71396         [UNIX98] (pthread_barrierattr_t): Likewise.
71397         [UNIX98] (pthread_spinlock_t): Likewise.
71398         [UNIX98] (pthread_barrier_destroy): Likewise.
71399         [UNIX98] (pthread_barrier_init): Likewise.
71400         [UNIX98] (pthread_barrier_wait): Likewise.
71401         [UNIX98] (pthread_barrierattr_destroy): Likewise.
71402         [UNIX98] (pthread_barrierattr_getpshared): Likewise.
71403         [UNIX98] (pthread_barrierattr_init): Likewise.
71404         [UNIX98] (pthread_barrierattr_setpshared): Likewise.
71405         [UNIX98] (pthread_getcpuclockid): Likewise.
71406         [UNIX98] (pthread_mutex_timedlock): Likewise.
71407         [UNIX98] (pthread_rwlock_timedrdlock): Likewise.
71408         [UNIX98] (pthread_rwlock_timedwrlock): Likewise.
71409         [UNIX98] (pthread_sigmask): Likewise.
71410         [UNIX98] (pthread_spin_destroy): Likewise.
71411         [UNIX98] (pthread_spin_init): Likewise.
71412         [UNIX98] (pthread_spin_lock): Likewise.
71413         [UNIX98] (pthread_spin_trylock): Likewise.
71414         [UNIX98] (pthread_spin_unlock): Likewise.
71415         * conform/data/sys/types.h-data [XPG3 || XPG4] (pthread_attr_t):
71416         Do not expect.
71417         [XPG3 || XPG4 || UNIX98] (pthread_barrier_t): Likewise.
71418         [XPG3 || XPG4 || UNIX98] (pthread_barrierattr_t): Likewise.
71419         [XPG3 || XPG4] (pthread_cond_t): Likewise.
71420         [XPG3 || XPG4] (pthread_condattr_t): Likewise.
71421         [XPG3 || XPG4] (pthread_key_t): Likewise.
71422         [XPG3 || XPG4] (pthread_mutex_t): Likewise.
71423         [XPG3 || XPG4] (pthread_mutexattr_t): Likewise.
71424         [XPG3 || XPG4] (pthread_once_t): Likewise.
71425         [XPG3 || XPG4] (pthread_rwlock_t): Likewise.
71426         [XPG3 || XPG4] (pthread_rwlockattr_t): Likewise.
71427         [XPG3 || XPG4 || UNIX98] (pthread_spinlock_t): Likewise.
71428         [XPG3 || XPG4] (pthread_t): Likewise.
71430         * conform/data/stdlib.h-data [XPG3 || XPG4 || UNIX98] (setenv): Do
71431         not expect.
71432         [XPG3 || XPG4 || UNIX98] (unsetenv): Likewise.
71434         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (isnan):
71435         Change function return type to int.
71437         * conform/data/sys/mman.h-data [!POSIX] (POSIX_MADV_NORMAL):
71438         Change condition to [!POSIX && !XPG3 && !XPG4 && !UNIX98].
71439         [!POSIX] (POSIX_MADV_SEQUENTIAL): Likewise.
71440         [!POSIX] (POSIX_MADV_RANDOM): Likewise.
71441         [!POSIX] (POSIX_MADV_WILLNEED): Likewise.
71442         [!POSIX] (POSIX_MADV_DONTNEED): Likewise.
71443         [!POSIX] (posix_madvise): Likewise.
71444         (POSIX_TYPED_MEM_ALLOCATE): Condition on [!POSIX && !XPG3 && !XPG4
71445         && !UNIX98].
71446         (POSIX_TYPED_MEM_ALLOCATE_CONTIG): Likewise.
71447         (POSIX_TYPED_MEM_MAP_ALLOCATABLE): Likewise.
71448         (mode_t): Likewise.
71449         (posix_mem_offset): Likewise.
71450         (posix_typed_mem_get_info): Likewise.
71451         (posix_typed_mem_open): Likewise.
71453         * conform/data/sys/stat.h-data [!POSIX && !POSIX2008] (mknodat):
71454         Change condition to [XOPEN2K8].
71456         * conform/conformtest.pl: Preprocess allow-header data with -x c
71457         instead of from stdin.
71458         (@headers): Add stdalign.h, stdbool.h and stdnoreturn.h.
71459         * conform/data/complex.h-data [C99-based standards] (cerf): Allow.
71460         [C99-based standards] (cerfc): Likewise.
71461         [C99-based standards] (cexp2): Likewise.
71462         [C99-based standards] (cexpm1): Likewise.
71463         [C99-based standards] (clog10): Likewise.
71464         [C99-based standards] (clog1p): Likewise.
71465         [C99-based standards] (clog2): Likewise.
71466         [C99-based standards] (clgamma): Likewise.
71467         [C99-based standards] (ctgamma): Likewise.
71468         [C99-based standards] (cerff): Likewise.
71469         [C99-based standards] (cerfcf): Likewise.
71470         [C99-based standards] (cexp2f): Likewise.
71471         [C99-based standards] (cexpm1f): Likewise.
71472         [C99-based standards] (clog10f): Likewise.
71473         [C99-based standards] (clog1pf): Likewise.
71474         [C99-based standards] (clog2f): Likewise.
71475         [C99-based standards] (clgammaf): Likewise.
71476         [C99-based standards] (ctgammaf): Likewise.
71477         [C99-based standards] (cerfl): Likewise.
71478         [C99-based standards] (cerfcl): Likewise.
71479         [C99-based standards] (cexp2l): Likewise.
71480         [C99-based standards] (cexpm1l): Likewise.
71481         [C99-based standards] (clog10l): Likewise.
71482         [C99-based standards] (clog1pl): Likewise.
71483         [C99-based standards] (clog2l): Likewise.
71484         [C99-based standards] (clgammal): Likewise.
71485         [C99-based standards] (ctgammal): Likewise.
71486         * conform/data/inttypes.h-data [C99-based standards]: Include
71487         stdint.h-data.  Remove all expectations for stdint.h contents.
71488         [C99-based standards] (PRI*): Do not allow.
71489         [C99-based standards] (SCN*): Likewise.
71490         [C99-based standards] (*_t): Likewise.
71491         [C99-based-standards] (PRId8): Expect macro.
71492         [C99-based-standards] (PRIi8): Likewise.
71493         [C99-based-standards] (PRIo8): Likewise.
71494         [C99-based-standards] (PRIu8): Likewise.
71495         [C99-based-standards] (PRIx8): Likewise.
71496         [C99-based-standards] (PRIX8): Likewise.
71497         [C99-based-standards] (SCNd8): Likewise.
71498         [C99-based-standards] (SCNi8): Likewise.
71499         [C99-based-standards] (SCNo8): Likewise.
71500         [C99-based-standards] (SCNu8): Likewise.
71501         [C99-based-standards] (SCNx8): Likewise.
71502         [C99-based-standards] (PRIdLEAST8): Likewise.
71503         [C99-based-standards] (PRIiLEAST8): Likewise.
71504         [C99-based-standards] (PRIoLEAST8): Likewise.
71505         [C99-based-standards] (PRIuLEAST8): Likewise.
71506         [C99-based-standards] (PRIxLEAST8): Likewise.
71507         [C99-based-standards] (PRIXLEAST8): Likewise.
71508         [C99-based-standards] (SCNdLEAST8): Likewise.
71509         [C99-based-standards] (SCNiLEAST8): Likewise.
71510         [C99-based-standards] (SCNoLEAST8): Likewise.
71511         [C99-based-standards] (SCNuLEAST8): Likewise.
71512         [C99-based-standards] (SCNxLEAST8): Likewise.
71513         [C99-based-standards] (PRIdFAST8): Likewise.
71514         [C99-based-standards] (PRIiFAST8): Likewise.
71515         [C99-based-standards] (PRIoFAST8): Likewise.
71516         [C99-based-standards] (PRIuFAST8): Likewise.
71517         [C99-based-standards] (PRIxFAST8): Likewise.
71518         [C99-based-standards] (PRIXFAST8): Likewise.
71519         [C99-based-standards] (SCNdFAST8): Likewise.
71520         [C99-based-standards] (SCNiFAST8): Likewise.
71521         [C99-based-standards] (SCNoFAST8): Likewise.
71522         [C99-based-standards] (SCNuFAST8): Likewise.
71523         [C99-based-standards] (SCNxFAST8): Likewise.
71524         [C99-based-standards] (PRId16): Likewise.
71525         [C99-based-standards] (PRIi16): Likewise.
71526         [C99-based-standards] (PRIo16): Likewise.
71527         [C99-based-standards] (PRIu16): Likewise.
71528         [C99-based-standards] (PRIx16): Likewise.
71529         [C99-based-standards] (PRIX16): Likewise.
71530         [C99-based-standards] (SCNd16): Likewise.
71531         [C99-based-standards] (SCNi16): Likewise.
71532         [C99-based-standards] (SCNo16): Likewise.
71533         [C99-based-standards] (SCNu16): Likewise.
71534         [C99-based-standards] (SCNx16): Likewise.
71535         [C99-based-standards] (PRIdLEAST16): Likewise.
71536         [C99-based-standards] (PRIiLEAST16): Likewise.
71537         [C99-based-standards] (PRIoLEAST16): Likewise.
71538         [C99-based-standards] (PRIuLEAST16): Likewise.
71539         [C99-based-standards] (PRIxLEAST16): Likewise.
71540         [C99-based-standards] (PRIXLEAST16): Likewise.
71541         [C99-based-standards] (SCNdLEAST16): Likewise.
71542         [C99-based-standards] (SCNiLEAST16): Likewise.
71543         [C99-based-standards] (SCNoLEAST16): Likewise.
71544         [C99-based-standards] (SCNuLEAST16): Likewise.
71545         [C99-based-standards] (SCNxLEAST16): Likewise.
71546         [C99-based-standards] (PRIdFAST16): Likewise.
71547         [C99-based-standards] (PRIiFAST16): Likewise.
71548         [C99-based-standards] (PRIoFAST16): Likewise.
71549         [C99-based-standards] (PRIuFAST16): Likewise.
71550         [C99-based-standards] (PRIxFAST16): Likewise.
71551         [C99-based-standards] (PRIXFAST16): Likewise.
71552         [C99-based-standards] (SCNdFAST16): Likewise.
71553         [C99-based-standards] (SCNiFAST16): Likewise.
71554         [C99-based-standards] (SCNoFAST16): Likewise.
71555         [C99-based-standards] (SCNuFAST16): Likewise.
71556         [C99-based-standards] (SCNxFAST16): Likewise.
71557         [C99-based-standards] (PRId32): Likewise.
71558         [C99-based-standards] (PRIi32): Likewise.
71559         [C99-based-standards] (PRIo32): Likewise.
71560         [C99-based-standards] (PRIu32): Likewise.
71561         [C99-based-standards] (PRIx32): Likewise.
71562         [C99-based-standards] (PRIX32): Likewise.
71563         [C99-based-standards] (SCNd32): Likewise.
71564         [C99-based-standards] (SCNi32): Likewise.
71565         [C99-based-standards] (SCNo32): Likewise.
71566         [C99-based-standards] (SCNu32): Likewise.
71567         [C99-based-standards] (SCNx32): Likewise.
71568         [C99-based-standards] (PRIdLEAST32): Likewise.
71569         [C99-based-standards] (PRIiLEAST32): Likewise.
71570         [C99-based-standards] (PRIoLEAST32): Likewise.
71571         [C99-based-standards] (PRIuLEAST32): Likewise.
71572         [C99-based-standards] (PRIxLEAST32): Likewise.
71573         [C99-based-standards] (PRIXLEAST32): Likewise.
71574         [C99-based-standards] (SCNdLEAST32): Likewise.
71575         [C99-based-standards] (SCNiLEAST32): Likewise.
71576         [C99-based-standards] (SCNoLEAST32): Likewise.
71577         [C99-based-standards] (SCNuLEAST32): Likewise.
71578         [C99-based-standards] (SCNxLEAST32): Likewise.
71579         [C99-based-standards] (PRIdFAST32): Likewise.
71580         [C99-based-standards] (PRIiFAST32): Likewise.
71581         [C99-based-standards] (PRIoFAST32): Likewise.
71582         [C99-based-standards] (PRIuFAST32): Likewise.
71583         [C99-based-standards] (PRIxFAST32): Likewise.
71584         [C99-based-standards] (PRIXFAST32): Likewise.
71585         [C99-based-standards] (SCNdFAST32): Likewise.
71586         [C99-based-standards] (SCNiFAST32): Likewise.
71587         [C99-based-standards] (SCNoFAST32): Likewise.
71588         [C99-based-standards] (SCNuFAST32): Likewise.
71589         [C99-based-standards] (SCNxFAST32): Likewise.
71590         [C99-based-standards] (PRId64): Likewise.
71591         [C99-based-standards] (PRIi64): Likewise.
71592         [C99-based-standards] (PRIo64): Likewise.
71593         [C99-based-standards] (PRIu64): Likewise.
71594         [C99-based-standards] (PRIx64): Likewise.
71595         [C99-based-standards] (PRIX64): Likewise.
71596         [C99-based-standards] (SCNd64): Likewise.
71597         [C99-based-standards] (SCNi64): Likewise.
71598         [C99-based-standards] (SCNo64): Likewise.
71599         [C99-based-standards] (SCNu64): Likewise.
71600         [C99-based-standards] (SCNx64): Likewise.
71601         [C99-based-standards] (PRIdLEAST64): Likewise.
71602         [C99-based-standards] (PRIiLEAST64): Likewise.
71603         [C99-based-standards] (PRIoLEAST64): Likewise.
71604         [C99-based-standards] (PRIuLEAST64): Likewise.
71605         [C99-based-standards] (PRIxLEAST64): Likewise.
71606         [C99-based-standards] (PRIXLEAST64): Likewise.
71607         [C99-based-standards] (SCNdLEAST64): Likewise.
71608         [C99-based-standards] (SCNiLEAST64): Likewise.
71609         [C99-based-standards] (SCNoLEAST64): Likewise.
71610         [C99-based-standards] (SCNuLEAST64): Likewise.
71611         [C99-based-standards] (SCNxLEAST64): Likewise.
71612         [C99-based-standards] (PRIdFAST64): Likewise.
71613         [C99-based-standards] (PRIiFAST64): Likewise.
71614         [C99-based-standards] (PRIoFAST64): Likewise.
71615         [C99-based-standards] (PRIuFAST64): Likewise.
71616         [C99-based-standards] (PRIxFAST64): Likewise.
71617         [C99-based-standards] (PRIXFAST64): Likewise.
71618         [C99-based-standards] (SCNdFAST64): Likewise.
71619         [C99-based-standards] (SCNiFAST64): Likewise.
71620         [C99-based-standards] (SCNoFAST64): Likewise.
71621         [C99-based-standards] (SCNuFAST64): Likewise.
71622         [C99-based-standards] (SCNxFAST64): Likewise.
71623         [C99-based-standards] (PRIdMAX): Likewise.
71624         [C99-based-standards] (PRIiMAX): Likewise.
71625         [C99-based-standards] (PRIoMAX): Likewise.
71626         [C99-based-standards] (PRIuMAX): Likewise.
71627         [C99-based-standards] (PRIxMAX): Likewise.
71628         [C99-based-standards] (PRIXMAX): Likewise.
71629         [C99-based-standards] (SCNdMAX): Likewise.
71630         [C99-based-standards] (SCNiMAX): Likewise.
71631         [C99-based-standards] (SCNoMAX): Likewise.
71632         [C99-based-standards] (SCNuMAX): Likewise.
71633         [C99-based-standards] (SCNxMAX): Likewise.
71634         [C99-based-standards] (PRIdPTR): Likewise.
71635         [C99-based-standards] (PRIiPTR): Likewise.
71636         [C99-based-standards] (PRIoPTR): Likewise.
71637         [C99-based-standards] (PRIuPTR): Likewise.
71638         [C99-based-standards] (PRIxPTR): Likewise.
71639         [C99-based-standards] (PRIXPTR): Likewise.
71640         [C99-based-standards] (SCNdPTR): Likewise.
71641         [C99-based-standards] (SCNiPTR): Likewise.
71642         [C99-based-standards] (SCNoPTR): Likewise.
71643         [C99-based-standards] (SCNuPTR): Likewise.
71644         [C99-based-standards] (SCNxPTR): Likewise.
71645         * conform/data/iso646.h-data [ISO C standards] (*_t): Do not
71646         allow.
71647         * conform/data/stdint.h-data: Update comments to clarify
71648         requirements.
71649         [C99-based standards] (INT8_MIN): Use macro-int-constant.  Specify
71650         type.
71651         [C99-based standards] (INT8_MAX): Likewise.
71652         [C99-based standards] (INT16_MIN): Likewise.
71653         [C99-based standards] (INT16_MAX): Likewise.
71654         [C99-based standards] (INT32_MIN): Likewise.
71655         [C99-based standards] (INT32_MAX): Likewise.
71656         [C99-based standards] (INT64_MIN): Likewise.
71657         [C99-based standards] (INT64_MAX): Likewise.
71658         [C99-based standards] (UINT8_MAX): Likewise.
71659         [C99-based standards] (UINT16_MAX): Likewise.
71660         [C99-based standards] (UINT32_MAX): Likewise.
71661         [C99-based standards] (UINT64_MAX): Likewise.
71662         [C99-based standards] (INT_LEAST8_MIN): Likewise.
71663         [C99-based standards] (INT_LEAST8_MAX): Likewise.
71664         [C99-based standards] (INT_LEAST16_MIN): Likewise.
71665         [C99-based standards] (INT_LEAST16_MAX): Likewise.
71666         [C99-based standards] (INT_LEAST32_MIN): Likewise.
71667         [C99-based standards] (INT_LEAST32_MAX): Likewise.
71668         [C99-based standards] (INT_LEAST64_MIN): Likewise.
71669         [C99-based standards] (INT_LEAST64_MAX): Likewise.
71670         [C99-based standards] (UINT_LEAST8_MAX): Likewise.
71671         [C99-based standards] (UINT_LEAST16_MAX): Likewise.
71672         [C99-based standards] (UINT_LEAST32_MAX): Likewise.
71673         [C99-based standards] (UINT_LEAST64_MAX): Likewise.
71674         [C99-based standards] (INT_FAST8_MIN): Likewise.
71675         [C99-based standards] (INT_FAST8_MAX): Likewise.
71676         [C99-based standards] (INT_FAST16_MIN): Likewise.
71677         [C99-based standards] (INT_FAST16_MAX): Likewise.
71678         [C99-based standards] (INT_FAST32_MIN): Likewise.
71679         [C99-based standards] (INT_FAST32_MAX): Likewise.
71680         [C99-based standards] (INT_FAST64_MIN): Likewise.
71681         [C99-based standards] (INT_FAST64_MAX): Likewise.
71682         [C99-based standards] (UINT_FAST8_MAX): Likewise.
71683         [C99-based standards] (UINT_FAST16_MAX): Likewise.
71684         [C99-based standards] (UINT_FAST32_MAX): Likewise.
71685         [C99-based standards] (UINT_FAST64_MAX): Likewise.
71686         [C99-based standards] (INTPTR_MIN): Likewise.
71687         [C99-based standards] (INTPTR_MAX): Likewise.
71688         [C99-based standards] (UINTPTR_MAX): Likewise.
71689         [C99-based standards] (INTMAX_MIN): Likewise.
71690         [C99-based standards] (INTMAX_MAX): Likewise.
71691         [C99-based standards] (UINTMAX_MAX): Likewise.
71692         [C99-based standards] (PTRDIFF_MIN): Likewise.
71693         [C99-based standards] (PTRDIFF_MAX): Likewise.
71694         [C99-based standards] (SIG_ATOMIC_MAX): Likewise.
71695         [C99-based standards] (SIZE_MAX): Likewise.
71696         [C99-based standards] (WCHAR_MAX): Likewise.
71697         [C99-based standards] (WINT_MAX): Likewise.
71698         [C99-based standards] (SIG_ATOMIC_MIN): Likewise.  Do not specify
71699         constraint on value.
71700         [C99-based standards] (WCHAR_MIN): Likewise.
71701         [C99-based standards] (WINT_MIN): Likewise.
71702         [C99-based standards] (*_t): Allow.
71703         * conform/data/tgmath.h-data [XOPEN2K || POSIX2008]: Change
71704         condition to [!ISO && !POSIX && !XPG3 && !XPG4 && !UNIX98].
71705         Include math.h-data and complex.h-data.  Remove all expectations
71706         of math.h and complex.h contents.
71707         * conform/data/uchar.h-data [ISO11] (c16rtomb): Remove stray "16"
71708         at end of line.
71709         * conform/data/wchar.h-data [!ISO && !POSIX && !XPG3 && !XPG4]
71710         (struct tm): Expect tag.
71711         [C99-based-standards] (wcstof): Expect function.
71712         [C99-based-standards] (wcstold): Likewise.
71713         [C99-based-standards] (wcstoll): Likewise.
71714         [C99-based-standards] (wcstoull): Likewise.
71715         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MIN): Use
71716         macro-int-constant.  Specify type.
71717         [!ISO && !POSIX && !XPG3 && !XPG4] (WCHAR_MAX): Likewise.  Specify
71718         constraint on value.
71719         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
71720         Specify type.
71721         [!ISO && !POSIX && !XPG3 && !XPG4] (NULL): Use macro-constant.
71722         Specify value.
71723         [ISO C standards]: Do not allow headers.
71724         [!ISO && !POSIX && !XPG3 && !XPG4] (wcs*): Change to
71725         wcs[abcdefghijklmnopqrstuvwxyz]*.
71726         [ISO C standards] (*_t): Do not allow.
71727         * conform/data/wctype.h-data [C99-based standards] (iswblank):
71728         Expect function.
71729         [XOPEN2K8 || POSIX2008] (iswblank_l): Likewise.
71730         [!ISO && !POSIX && !XPG3 && !XPG4] (WEOF): Use macro-constant.
71731         Specify type.
71732         [ISO C standards]: Do not allow headers.
71733         [!ISO && !POSIX && !XPG3 && !XPG4] (is*): Change to
71734         is[abcdefghijklmnopqrstuvwxyz]*.
71735         [!ISO && !POSIX && !XPG3 && !XPG4] (to*): Change to
71736         to[abcdefghijklmnopqrstuvwxyz]*.
71737         [ISO C standards] (*_t): Do not allow.
71738         * conform/data/stdalign.h-data: New file.
71739         * conform/data/stdbool.h-data: Likewise.
71740         * conform/data/stdnoreturn.h-data: Likewise.
71742 2012-11-07  Roland McGrath  <roland@hack.frob.com>
71744         [BZ #14815]
71745         * manual/filesys.texi (Directory Entries): Typo fix.
71746         Reported by <h-iwamoto@kit.hi-ho.ne.jp>.
71748 2012-11-07  Marcus Shawcroft  <marcus.shawcroft@linaro.org>
71750         * elf/elf.h (EM_AARCH64): New macro.
71751         (R_AARCH64_NONE, R_AARCH64_ABS64, R_AARCH64_ABS32): Likewise.
71752         (R_AARCH64_COPY, R_AARCH64_GLOB_DAT, R_AARCH64_JUMP_SLOT): Likewise.
71753         (R_AARCH64_RELATIVE, R_AARCH64_TLS_DTPMOD64): Likewise.
71754         (R_AARCH64_TLS_DTPREL64, R_AARCH64_TLS_TPREL64): Likewise.
71755         (R_AARCH64_TLSDESC): Likewise.
71756         (NT_ARM_TLS): Likewise.
71757         (NT_ARM_HW_BREAK): Likewise.
71758         (NT_ARM_HW_WATCH): Likewise.
71760 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
71762         [BZ #14811]
71763         * sysdeps/i386/fpu/e_powl.S (pm79): New object.
71764         (__ieee754_powl): Saturate nonzero exponents with absolute value
71765         below 0x1p-79 to +/- 0x1p-79.
71766         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Saturate nonzero
71767         exponents with absolute value below 0x1p-64 to +/- 0x1p-64.
71768         * sysdeps/ieee754/flt-32/e_powf.c (__ieee754_powf): Saturate
71769         nonzero exponents with absolute value below 0x1p-32 to +/-
71770         0x1p-32.
71771         * sysdeps/x86_64/fpu/e_powl.S (pm79): New object.
71772         (__ieee754_powl): Saturate nonzero exponents with absolute value
71773         below 0x1p-79 to +/- 0x1p-79.
71774         * math/libm-test.inc (pow_test): Add more tests.
71776 2012-11-07  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
71778         * sysdeps/s390/dl-procinfo.c (_dl_s390_cap_flags): Sync
71779         _dl_s390_cap_flags with kernel. Increase string length.
71780         (_dl_s390_platforms): Add z196 and zEC12.
71782 2012-11-07  Joseph Myers  <joseph@codesourcery.com>
71784         * conform/data/time.h-data [!XOPEN21K && !XOPEN2K8 && !POSIX2008]:
71785         Change XOPEN21K to XOPEN2K.
71787 2012-11-06  Maxim Kuvyrkov  <maxim@codesourcery.com>
71789         * string/memmove.c: Use memcpy when possible.
71791 2012-11-06  Andreas Jaeger  <aj@suse.de>
71793         * po/eo.po: Update from translation team.
71795 2012-11-06  Joseph Myers  <joseph@codesourcery.com>
71797         [BZ #14793]
71798         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): In case of large z
71799         exponent and small x and y exponents, scale x or y up.  Increase
71800         by 2 the exponent used in scaling up.
71801         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
71802         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
71803         * math/libm-test.inc (fma_test): Add more tests.
71804         (fma_test_towardzero): Likewise.
71805         (fma_test_downward): Likewise.
71806         (fma_test_upward): Likewise.
71808 2012-11-05  Joseph Myers  <joseph@codesourcery.com>
71810         [BZ #14805]
71811         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_DFL_ENV): Use cast to const
71812         fenv_t *.
71814         [BZ #14801]
71815         * sysdeps/s390/fpu/bits/fenv.h (fenv_t): Use implementation
71816         namespace for names of struct fields.
71817         * sysdeps/s390/fpu/fegetenv.c (fegetenv): Update references to
71818         fenv_t fields.
71819         * sysdeps/s390/fpu/feholdexcpt.c (feholdexcept): Likewise.
71820         * sysdeps/s390/fpu/fesetenv.c (fesetenv): Likewise.
71822 2012-11-04  Samuel Thibault  <samuel.thibault@ens-lyon.org>
71824         [BZ #3665]
71825         * sysdeps/mach/hurd/bits/errno.h: Regenerated.
71827 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
71829         * csu/libc-start.c (LIBC_START_MAIN): Conditionalize use of
71830         PTR_DEMANGLE.
71832         [BZ #5246]
71833         * sysdeps/mach/hurd/i386/____longjmp_chk.S: Conditionalize use of
71834         PTR_DEMANGLE.
71836 2012-11-04  Joseph Myers  <joseph@codesourcery.com>
71838         [BZ #14797]
71839         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute cases that
71840         definitely overflow as x * y not x * y + z.
71841         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
71842         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
71843         * math/libm-test.inc (fma_test): Add more tests.
71844         (fma_test_towardzero): Likewise.
71845         (fma_test_downward): Likewise.
71846         (fma_test_upward): Likewise.
71848 2012-11-04  Thomas Schwinge  <thomas@codesourcery.com>
71850         [BZ #157]
71852         * include/stub-tag.h: Remove file.
71853         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Don't emit
71854         '#include' of it.
71855         * manual/maint.texi (Porting): Don't reference it.
71856         * Makerules ($(objpfx)stubs): Likewise.
71857         * dirent/closedir.c: Don't include <stub-tag.h>.
71858         * dirent/dirfd.c: Likewise.
71859         * dirent/fdopendir.c: Likewise.
71860         * dirent/getdents.c: Likewise.
71861         * dirent/getdents64.c: Likewise.
71862         * dirent/opendir.c: Likewise.
71863         * dirent/readdir.c: Likewise.
71864         * dirent/readdir64.c: Likewise.
71865         * dirent/readdir64_r.c: Likewise.
71866         * dirent/readdir_r.c: Likewise.
71867         * dirent/rewinddir.c: Likewise.
71868         * dirent/seekdir.c: Likewise.
71869         * dirent/telldir.c: Likewise.
71870         * gmon/profil.c: Likewise.
71871         * grp/setgroups.c: Likewise.
71872         * inet/if_index.c: Likewise.
71873         * io/access.c: Likewise.
71874         * io/chdir.c: Likewise.
71875         * io/chmod.c: Likewise.
71876         * io/chown.c: Likewise.
71877         * io/close.c: Likewise.
71878         * io/dup.c: Likewise.
71879         * io/dup2.c: Likewise.
71880         * io/dup3.c: Likewise.
71881         * io/euidaccess.c: Likewise.
71882         * io/faccessat.c: Likewise.
71883         * io/fchdir.c: Likewise.
71884         * io/fchmod.c: Likewise.
71885         * io/fchmodat.c: Likewise.
71886         * io/fchown.c: Likewise.
71887         * io/fchownat.c: Likewise.
71888         * io/fcntl.c: Likewise.
71889         * io/flock.c: Likewise.
71890         * io/fstatfs.c: Likewise.
71891         * io/fstatfs64.c: Likewise.
71892         * io/fstatvfs.c: Likewise.
71893         * io/fstatvfs64.c: Likewise.
71894         * io/futimens.c: Likewise.
71895         * io/fxstat.c: Likewise.
71896         * io/fxstat64.c: Likewise.
71897         * io/fxstatat.c: Likewise.
71898         * io/fxstatat64.c: Likewise.
71899         * io/getcwd.c: Likewise.
71900         * io/isatty.c: Likewise.
71901         * io/lchmod.c: Likewise.
71902         * io/lchown.c: Likewise.
71903         * io/link.c: Likewise.
71904         * io/linkat.c: Likewise.
71905         * io/lseek.c: Likewise.
71906         * io/lseek64.c: Likewise.
71907         * io/lxstat64.c: Likewise.
71908         * io/mkdir.c: Likewise.
71909         * io/mkdirat.c: Likewise.
71910         * io/mkfifo.c: Likewise.
71911         * io/mkfifoat.c: Likewise.
71912         * io/open.c: Likewise.
71913         * io/open64.c: Likewise.
71914         * io/openat.c: Likewise.
71915         * io/openat64.c: Likewise.
71916         * io/pipe.c: Likewise.
71917         * io/pipe2.c: Likewise.
71918         * io/poll.c: Likewise.
71919         * io/posix_fadvise.c: Likewise.
71920         * io/posix_fadvise64.c: Likewise.
71921         * io/posix_fallocate.c: Likewise.
71922         * io/posix_fallocate64.c: Likewise.
71923         * io/read.c: Likewise.
71924         * io/readlink.c: Likewise.
71925         * io/readlinkat.c: Likewise.
71926         * io/rmdir.c: Likewise.
71927         * io/sendfile.c: Likewise.
71928         * io/sendfile64.c: Likewise.
71929         * io/statfs.c: Likewise.
71930         * io/statfs64.c: Likewise.
71931         * io/statvfs.c: Likewise.
71932         * io/statvfs64.c: Likewise.
71933         * io/symlink.c: Likewise.
71934         * io/symlinkat.c: Likewise.
71935         * io/ttyname.c: Likewise.
71936         * io/ttyname_r.c: Likewise.
71937         * io/umask.c: Likewise.
71938         * io/unlink.c: Likewise.
71939         * io/unlinkat.c: Likewise.
71940         * io/utime.c: Likewise.
71941         * io/utimensat.c: Likewise.
71942         * io/write.c: Likewise.
71943         * io/xmknod.c: Likewise.
71944         * io/xmknodat.c: Likewise.
71945         * io/xstat.c: Likewise.
71946         * io/xstat64.c: Likewise.
71947         * login/getpt.c: Likewise.
71948         * login/grantpt.c: Likewise.
71949         * login/unlockpt.c: Likewise.
71950         * math/e_acoshl.c: Likewise.
71951         * math/e_acosl.c: Likewise.
71952         * math/e_asinl.c: Likewise.
71953         * math/e_atan2l.c: Likewise.
71954         * math/e_atanhl.c: Likewise.
71955         * math/e_coshl.c: Likewise.
71956         * math/e_expl.c: Likewise.
71957         * math/e_fmodl.c: Likewise.
71958         * math/e_gammal_r.c: Likewise.
71959         * math/e_hypotl.c: Likewise.
71960         * math/e_j0l.c: Likewise.
71961         * math/e_j1l.c: Likewise.
71962         * math/e_jnl.c: Likewise.
71963         * math/e_lgammal_r.c: Likewise.
71964         * math/e_log10l.c: Likewise.
71965         * math/e_log2l.c: Likewise.
71966         * math/e_logl.c: Likewise.
71967         * math/e_powl.c: Likewise.
71968         * math/e_rem_pio2l.c: Likewise.
71969         * math/e_sinhl.c: Likewise.
71970         * math/e_sqrtl.c: Likewise.
71971         * math/fclrexcpt.c: Likewise.
71972         * math/fedisblxcpt.c: Likewise.
71973         * math/feenablxcpt.c: Likewise.
71974         * math/fegetenv.c: Likewise.
71975         * math/fegetexcept.c: Likewise.
71976         * math/fegetround.c: Likewise.
71977         * math/feholdexcpt.c: Likewise.
71978         * math/fesetenv.c: Likewise.
71979         * math/fesetround.c: Likewise.
71980         * math/feupdateenv.c: Likewise.
71981         * math/fgetexcptflg.c: Likewise.
71982         * math/fraiseexcpt.c: Likewise.
71983         * math/fsetexcptflg.c: Likewise.
71984         * math/ftestexcept.c: Likewise.
71985         * math/k_cosl.c: Likewise.
71986         * math/k_rem_pio2l.c: Likewise.
71987         * math/k_sinl.c: Likewise.
71988         * math/k_tanl.c: Likewise.
71989         * math/s_asinhl.c: Likewise.
71990         * math/s_atanl.c: Likewise.
71991         * math/s_cbrtl.c: Likewise.
71992         * math/s_erfl.c: Likewise.
71993         * math/s_expm1l.c: Likewise.
71994         * math/s_log1pl.c: Likewise.
71995         * math/s_tanhl.c: Likewise.
71996         * misc/acct.c: Likewise.
71997         * misc/brk.c: Likewise.
71998         * misc/chflags.c: Likewise.
71999         * misc/chroot.c: Likewise.
72000         * misc/fchflags.c: Likewise.
72001         * misc/fgetxattr.c: Likewise.
72002         * misc/flistxattr.c: Likewise.
72003         * misc/fremovexattr.c: Likewise.
72004         * misc/fsetxattr.c: Likewise.
72005         * misc/fsync.c: Likewise.
72006         * misc/ftruncate.c: Likewise.
72007         * misc/futimes.c: Likewise.
72008         * misc/futimesat.c: Likewise.
72009         * misc/getdomain.c: Likewise.
72010         * misc/getdtsz.c: Likewise.
72011         * misc/gethostid.c: Likewise.
72012         * misc/gethostname.c: Likewise.
72013         * misc/getloadavg.c: Likewise.
72014         * misc/getpagesize.c: Likewise.
72015         * misc/getsysstats.c: Likewise.
72016         * misc/getxattr.c: Likewise.
72017         * misc/gtty.c: Likewise.
72018         * misc/ioctl.c: Likewise.
72019         * misc/lgetxattr.c: Likewise.
72020         * misc/listxattr.c: Likewise.
72021         * misc/llistxattr.c: Likewise.
72022         * misc/lremovexattr.c: Likewise.
72023         * misc/lsetxattr.c: Likewise.
72024         * misc/lutimes.c: Likewise.
72025         * misc/madvise.c: Likewise.
72026         * misc/mincore.c: Likewise.
72027         * misc/mlock.c: Likewise.
72028         * misc/mlockall.c: Likewise.
72029         * misc/mmap.c: Likewise.
72030         * misc/mprotect.c: Likewise.
72031         * misc/msync.c: Likewise.
72032         * misc/munlock.c: Likewise.
72033         * misc/munlockall.c: Likewise.
72034         * misc/munmap.c: Likewise.
72035         * misc/preadv.c: Likewise.
72036         * misc/preadv64.c: Likewise.
72037         * misc/ptrace.c: Likewise.
72038         * misc/pwritev.c: Likewise.
72039         * misc/pwritev64.c: Likewise.
72040         * misc/readv.c: Likewise.
72041         * misc/reboot.c: Likewise.
72042         * misc/remap_file_pages.c: Likewise.
72043         * misc/removexattr.c: Likewise.
72044         * misc/revoke.c: Likewise.
72045         * misc/select.c: Likewise.
72046         * misc/setdomain.c: Likewise.
72047         * misc/setegid.c: Likewise.
72048         * misc/seteuid.c: Likewise.
72049         * misc/sethostid.c: Likewise.
72050         * misc/sethostname.c: Likewise.
72051         * misc/setregid.c: Likewise.
72052         * misc/setreuid.c: Likewise.
72053         * misc/setxattr.c: Likewise.
72054         * misc/sstk.c: Likewise.
72055         * misc/stty.c: Likewise.
72056         * misc/swapoff.c: Likewise.
72057         * misc/swapon.c: Likewise.
72058         * misc/sync.c: Likewise.
72059         * misc/syncfs.c: Likewise.
72060         * misc/syscall.c: Likewise.
72061         * misc/truncate.c: Likewise.
72062         * misc/ualarm.c: Likewise.
72063         * misc/usleep.c: Likewise.
72064         * misc/ustat.c: Likewise.
72065         * misc/utimes.c: Likewise.
72066         * misc/vhangup.c: Likewise.
72067         * misc/writev.c: Likewise.
72068         * posix/_exit.c: Likewise.
72069         * posix/alarm.c: Likewise.
72070         * posix/execve.c: Likewise.
72071         * posix/fexecve.c: Likewise.
72072         * posix/fork.c: Likewise.
72073         * posix/fpathconf.c: Likewise.
72074         * posix/getaddrinfo.c: Likewise.
72075         * posix/getegid.c: Likewise.
72076         * posix/geteuid.c: Likewise.
72077         * posix/getgid.c: Likewise.
72078         * posix/getgroups.c: Likewise.
72079         * posix/getlogin.c: Likewise.
72080         * posix/getlogin_r.c: Likewise.
72081         * posix/getpgid.c: Likewise.
72082         * posix/getpid.c: Likewise.
72083         * posix/getppid.c: Likewise.
72084         * posix/getresgid.c: Likewise.
72085         * posix/getresuid.c: Likewise.
72086         * posix/getsid.c: Likewise.
72087         * posix/getuid.c: Likewise.
72088         * posix/glob64.c: Likewise.
72089         * posix/nanosleep.c: Likewise.
72090         * posix/pathconf.c: Likewise.
72091         * posix/pause.c: Likewise.
72092         * posix/posix_madvise.c: Likewise.
72093         * posix/pread.c: Likewise.
72094         * posix/pread64.c: Likewise.
72095         * posix/pwrite.c: Likewise.
72096         * posix/pwrite64.c: Likewise.
72097         * posix/sched_getaffinity.c: Likewise.
72098         * posix/sched_getp.c: Likewise.
72099         * posix/sched_gets.c: Likewise.
72100         * posix/sched_primax.c: Likewise.
72101         * posix/sched_primin.c: Likewise.
72102         * posix/sched_rr_gi.c: Likewise.
72103         * posix/sched_setaffinity.c: Likewise.
72104         * posix/sched_setp.c: Likewise.
72105         * posix/sched_sets.c: Likewise.
72106         * posix/sched_yield.c: Likewise.
72107         * posix/setgid.c: Likewise.
72108         * posix/setlogin.c: Likewise.
72109         * posix/setpgid.c: Likewise.
72110         * posix/setresgid.c: Likewise.
72111         * posix/setresuid.c: Likewise.
72112         * posix/setsid.c: Likewise.
72113         * posix/setuid.c: Likewise.
72114         * posix/sleep.c: Likewise.
72115         * posix/spawni.c: Likewise.
72116         * posix/sysconf.c: Likewise.
72117         * posix/times.c: Likewise.
72118         * posix/wait.c: Likewise.
72119         * posix/wait3.c: Likewise.
72120         * posix/wait4.c: Likewise.
72121         * posix/waitpid.c: Likewise.
72122         * resolv/gai_sigqueue.c: Likewise.
72123         * resource/getpriority.c: Likewise.
72124         * resource/getrlimit.c: Likewise.
72125         * resource/getrusage.c: Likewise.
72126         * resource/nice.c: Likewise.
72127         * resource/setpriority.c: Likewise.
72128         * resource/setrlimit.c: Likewise.
72129         * resource/ulimit.c: Likewise.
72130         * rt/aio_cancel.c: Likewise.
72131         * rt/aio_fsync.c: Likewise.
72132         * rt/aio_read.c: Likewise.
72133         * rt/aio_sigqueue.c: Likewise.
72134         * rt/aio_suspend.c: Likewise.
72135         * rt/aio_write.c: Likewise.
72136         * rt/clock_getres.c: Likewise.
72137         * rt/clock_gettime.c: Likewise.
72138         * rt/clock_nanosleep.c: Likewise.
72139         * rt/clock_settime.c: Likewise.
72140         * rt/lio_listio.c: Likewise.
72141         * rt/mq_close.c: Likewise.
72142         * rt/mq_getattr.c: Likewise.
72143         * rt/mq_notify.c: Likewise.
72144         * rt/mq_open.c: Likewise.
72145         * rt/mq_receive.c: Likewise.
72146         * rt/mq_send.c: Likewise.
72147         * rt/mq_setattr.c: Likewise.
72148         * rt/mq_timedreceive.c: Likewise.
72149         * rt/mq_timedsend.c: Likewise.
72150         * rt/mq_unlink.c: Likewise.
72151         * rt/shm_open.c: Likewise.
72152         * rt/shm_unlink.c: Likewise.
72153         * rt/timer_create.c: Likewise.
72154         * rt/timer_delete.c: Likewise.
72155         * rt/timer_getoverr.c: Likewise.
72156         * rt/timer_gettime.c: Likewise.
72157         * rt/timer_settime.c: Likewise.
72158         * setjmp/__longjmp.c: Likewise.
72159         * setjmp/setjmp.c: Likewise.
72160         * signal/kill.c: Likewise.
72161         * signal/killpg.c: Likewise.
72162         * signal/raise.c: Likewise.
72163         * signal/sigaction.c: Likewise.
72164         * signal/sigaltstack.c: Likewise.
72165         * signal/sigblock.c: Likewise.
72166         * signal/sigignore.c: Likewise.
72167         * signal/sigintr.c: Likewise.
72168         * signal/signal.c: Likewise.
72169         * signal/sigpause.c: Likewise.
72170         * signal/sigpending.c: Likewise.
72171         * signal/sigqueue.c: Likewise.
72172         * signal/sigreturn.c: Likewise.
72173         * signal/sigset.c: Likewise.
72174         * signal/sigsetmask.c: Likewise.
72175         * signal/sigstack.c: Likewise.
72176         * signal/sigsuspend.c: Likewise.
72177         * signal/sigtimedwait.c: Likewise.
72178         * signal/sigvec.c: Likewise.
72179         * signal/sigwait.c: Likewise.
72180         * signal/sigwaitinfo.c: Likewise.
72181         * signal/sysv_signal.c: Likewise.
72182         * socket/accept.c: Likewise.
72183         * socket/accept4.c: Likewise.
72184         * socket/bind.c: Likewise.
72185         * socket/connect.c: Likewise.
72186         * socket/getpeername.c: Likewise.
72187         * socket/getsockname.c: Likewise.
72188         * socket/getsockopt.c: Likewise.
72189         * socket/isfdtype.c: Likewise.
72190         * socket/listen.c: Likewise.
72191         * socket/recv.c: Likewise.
72192         * socket/recvfrom.c: Likewise.
72193         * socket/recvmsg.c: Likewise.
72194         * socket/send.c: Likewise.
72195         * socket/sendmsg.c: Likewise.
72196         * socket/sendto.c: Likewise.
72197         * socket/setsockopt.c: Likewise.
72198         * socket/shutdown.c: Likewise.
72199         * socket/sockatmark.c: Likewise.
72200         * socket/socket.c: Likewise.
72201         * socket/socketpair.c: Likewise.
72202         * stdio-common/ctermid.c: Likewise.
72203         * stdio-common/cuserid.c: Likewise.
72204         * stdio-common/remove.c: Likewise.
72205         * stdio-common/rename.c: Likewise.
72206         * stdio-common/renameat.c: Likewise.
72207         * stdio-common/tempname.c: Likewise.
72208         * stdlib/getcontext.c: Likewise.
72209         * stdlib/makecontext.c: Likewise.
72210         * stdlib/setcontext.c: Likewise.
72211         * stdlib/swapcontext.c: Likewise.
72212         * stdlib/system.c: Likewise.
72213         * streams/fattach.c: Likewise.
72214         * streams/fdetach.c: Likewise.
72215         * streams/getmsg.c: Likewise.
72216         * streams/getpmsg.c: Likewise.
72217         * streams/putmsg.c: Likewise.
72218         * streams/putpmsg.c: Likewise.
72219         * sysdeps/unix/bsd/getpt.c: Likewise.
72220         * sysdeps/unix/sysv/linux/epoll_pwait.c: Likewise.
72221         * sysdeps/unix/sysv/linux/futimens.c: Likewise.
72222         * sysdeps/unix/sysv/linux/lutimes.c: Likewise.
72223         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
72224         Likewise.
72225         * sysdeps/unix/sysv/linux/readahead.c: Likewise.
72226         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
72227         * sysdeps/unix/sysv/linux/utimensat.c: Likewise.
72228         * sysvipc/msgctl.c: Likewise.
72229         * sysvipc/msgget.c: Likewise.
72230         * sysvipc/msgrcv.c: Likewise.
72231         * sysvipc/msgsnd.c: Likewise.
72232         * sysvipc/semctl.c: Likewise.
72233         * sysvipc/semget.c: Likewise.
72234         * sysvipc/semop.c: Likewise.
72235         * sysvipc/semtimedop.c: Likewise.
72236         * sysvipc/shmat.c: Likewise.
72237         * sysvipc/shmctl.c: Likewise.
72238         * sysvipc/shmdt.c: Likewise.
72239         * sysvipc/shmget.c: Likewise.
72240         * termios/tcdrain.c: Likewise.
72241         * termios/tcflow.c: Likewise.
72242         * termios/tcflush.c: Likewise.
72243         * termios/tcgetattr.c: Likewise.
72244         * termios/tcgetpgrp.c: Likewise.
72245         * termios/tcsendbrk.c: Likewise.
72246         * termios/tcsetattr.c: Likewise.
72247         * termios/tcsetpgrp.c: Likewise.
72248         * time/adjtime.c: Likewise.
72249         * time/clock.c: Likewise.
72250         * time/getitimer.c: Likewise.
72251         * time/gettimeofday.c: Likewise.
72252         * time/setitimer.c: Likewise.
72253         * time/settimeofday.c: Likewise.
72254         * time/stime.c: Likewise.
72255         * time/time.c: Likewise.
72257 2012-11-04  Pino Toscano  <toscano.pino@tiscali.it>
72259         * sysdeps/generic/paths.h (_PATH_STDPATH): Remove /usr/contrib/bin and
72260         /usr/old/bin.
72262         * sysdeps/generic/paths.h (_PATH_MNTTAB, _PATH_MOUNTED): Use tabs
72263         instead of spaces.
72264         * sysdeps/unix/sysv/linux/paths.h (_PATH_UTMP, _PATH_WTMP): Likewise.
72266 2012-11-03  Joseph Myers  <joseph@codesourcery.com>
72268         [BZ #14796]
72269         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Set rounding mode to
72270         FE_TONEAREST before applying Dekker multiplication and Knuth
72271         addition.  Clear inexact exceptions and check for exact zero
72272         results afterwards.
72273         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
72274         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
72275         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
72276         * math/libm-test.inc (fma_test): Add more tests.
72277         (fma_test_towardzero): Likewise.
72278         (fma_test_downward): Likewise.
72279         (fma_test_upward): Likewise.
72280         * sysdeps/generic/math_private.h (default_libc_fesetround): New
72281         function.
72282         (libc_fesetround): New macro.
72283         (libc_fesetroundf): Likewise.
72284         (libc_fesetroundl): Likewise.
72285         * sysdeps/i386/fpu/fenv_private.h (libc_fesetround_sse): New
72286         function.
72287         (libc_fesetround_387): Likewise.
72288         (libc_fesetroundf): New macro.
72289         (libc_fesetround): Likewise.
72290         (libc_fesetroundl): Likewise.
72291         * sysdeps/sparc/fpu/fenv_private.h (libc_fesetround): New
72292         function.
72293         (libc_fesetroundf): New macro.
72294         (libc_fesetround): Likewise.
72295         (libc_fesetroundl): Likewise.
72296         * include/fenv.h (feclearexcept): Add libm_hidden_proto.
72297         * math/fclrexcpt.c (feclearexcept): Add libm_hidden_ver.
72298         * sysdeps/i386/fpu/fclrexcpt.c (feclearexcept): Add
72299         libm_hidden_ver.
72300         * sysdeps/powerpc/fpu/fclrexcpt.c (feclearexcept): Likewise.
72301         * sysdeps/s390/fpu/fclrexcpt.c (feclearexcept): Add
72302         libm_hidden_def.
72303         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Likewise.
72304         * sysdeps/sparc/fpu/fclrexcpt.c (feclearexcept): Add
72305         libm_hidden_ver.
72306         * sysdeps/x86_64/fpu/fclrexcpt.c (feclearexcept): Add
72307         libm_hidden_def.
72309         [BZ #3439]
72310         * sysdeps/powerpc/bits/fenv.h (FE_INEXACT): Define macro to
72311         integer constant usable in #if and use that to give value to enum
72312         constant.
72313         (FE_DIVBYZERO): Likewise.
72314         (FE_UNDERFLOW): Likewise.
72315         (FE_OVERFLOW): Likewise.
72316         (FE_INVALID): Likewise.
72317         (FE_INVALID_SNAN): Likewise.
72318         (FE_INVALID_ISI): Likewise.
72319         (FE_INVALID_IDI): Likewise.
72320         (FE_INVALID_ZDZ): Likewise.
72321         (FE_INVALID_IMZ): Likewise.
72322         (FE_INVALID_COMPARE): Likewise.
72323         (FE_INVALID_SOFTWARE): Likewise.
72324         (FE_INVALID_SQRT): Likewise.
72325         (FE_INVALID_INTEGER_CONVERSION): Likewise.
72326         (FE_TONEAREST): Likewise.
72327         (FE_TOWARDZERO): Likewise.
72328         (FE_UPWARD): Likewise.
72329         (FE_DOWNWARD): Likewise.
72330         * sysdeps/s390/fpu/bits/fenv.h (FE_INVALID): Likewise.
72331         (FE_DIVBYZERO): Likewise.
72332         (FE_OVERFLOW): Likewise.
72333         (FE_UNDERFLOW): Likewise.
72334         (FE_INEXACT): Likewise.
72335         (FE_TONEAREST): Likewise.
72336         (FE_DOWNWARD): Likewise.
72337         (FE_UPWARD): Likewise.
72338         (FE_TOWARDZERO): Likewise.
72339         * sysdeps/sh/sh4/fpu/bits/fenv.h (FE_INEXACT): Likewise.
72340         (FE_UNDERFLOW): Likewise.
72341         (FE_OVERFLOW): Likewise.
72342         (FE_DIVBYZERO): Likewise.
72343         (FE_INVALID): Likewise.
72344         (FE_TONEAREST): Likewise.
72345         (FE_TOWARDZERO): Likewise.
72346         * sysdeps/sparc/fpu/bits/fenv.h (FE_INVALID): Likewise.
72347         (FE_OVERFLOW): Likewise.
72348         (FE_UNDERFLOW): Likewise.
72349         (FE_DIVBYZERO): Likewise.
72350         (FE_INEXACT): Likewise.
72351         (FE_TONEAREST): Likewise.
72352         (FE_TOWARDZERO): Likewise.
72353         (FE_UPWARD): Likewise.
72354         (FE_DOWNWARD): Likewise.
72355         * sysdeps/x86/fpu/bits/fenv.h (FE_INVALID): Likewise.
72356         (FE_DIVBYZERO): Likewise.
72357         (FE_OVERFLOW): Likewise.
72358         (FE_UNDERFLOW): Likewise.
72359         (FE_INEXACT): Likewise.
72360         (FE_TONEAREST): Likewise.
72361         (FE_DOWNWARD): Likewise.
72362         (FE_UPWARD): Likewise.
72363         (FE_TOWARDZERO): Likewise.
72365 2012-11-02  Chris Metcalf  <cmetcalf@tilera.com>
72367         * elf/elf.h (R_TILEGX_IMM16_X[01]_HW[012]_(|LAST_)PLT_PCREL): Add.
72369 2012-11-03  Andreas Schwab  <schwab@linux-m68k.org>
72371         * scripts/cross-test-ssh.sh (command): Use newlines to separate
72372         commands.  Quote $PWD.
72373         (blacklist_exports): Don't use remove_newlines.  Replace "declare
72374         -x" by "export".
72375         (remove_newlines): Remove.
72377 2012-11-02  H.J. Lu  <hongjiu.lu@intel.com>
72379         * stdlib/Makefile (headers): Add bits/stdlib-float.h.
72380         * stdlib/stdlib.h (atof): Moved to ...
72381         * include/bits/stdlib-float.h: Here.  New file.
72382         * stdlib/stdlib.h: Include <bits/stdlib-float.h>.
72383         * stdlib/bits/stdlib-float.h: New file.
72384         * sysdeps/x86/Makefile (CFLAGS-.os): Compile rtld routines with
72385         -mno-sse -mno-mmx.
72386         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: Include
72387         <xmmintrin.h>.
72389 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
72391         * conform/conformtest.pl (@headers): Add fenv.h.
72392         * conform/data/fenv.h-data: New file.
72393         * include/fenv.h [_ISOMAC]: Disable all contents of file except
72394         include of <math/fenv.h>.
72396         * conform/data/complex.h-data [ISO99 || ISO11 || XOPEN2K ||
72397         POSIX2008]: Change condition to [!ISO && !POSIX && !XPG3 && !XPG4
72398         && !UNIX98].  Enables tests for XOPEN2K8.
72399         * conform/data/inttypes.h-data [ISO99 || ISO11 || XOPEN2K ||
72400         POSIX2008]: Likewise.
72402         * conform/data/sys/wait.h-data [XPG3 || XOPEN2K8 || POSIX2008]
72403         (struct rusage): Do not expect type or its members.
72405         [BZ #3439]
72406         * math/math.h (FP_NAN): Define macro to integer constant usable in
72407         #if and use that to give value to enum constant.
72408         (FP_INFINITE): Likewise.
72409         (FP_ZERO): Likewise.
72410         (FP_SUBNORMAL): Likewise.
72411         (FP_NORMAL): Likewise.
72413 2012-11-02  Andreas Schwab  <schwab@linux-m68k.org>
72415         * iconvdata/bug-iconv8.c (do_test): Use %z for size_t arguments.
72416         * iconvdata/bug-iconv9.c (do_test): Use %t for ptrdiff_t
72417         arguments.
72419 2012-11-02  Roland McGrath  <roland@hack.frob.com>
72421         * aclocal.m4 (GLIBC_AUTOCONF_VERSION): New macro.
72422         Check that AC_AUTOCONF_VERSION matches it and m4_fatal at
72423         autoconf-time if not.
72424         * configure.in: Remove AC_PREREQ.
72426 2012-11-02  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
72428         * sysdeps/powerpc/sys/platform/ppc.h (__ppc_get_timebase): Use
72429         __builtin_ppc_get_timebase when building with GCC >= 4.8 instead
72430         of the internal implementation.
72432 2012-11-02  Joseph Myers  <joseph@codesourcery.com>
72434         * include/sys/syslog.h [_ISOMAC]: Disable all contents of file
72435         except include of <misc/sys/syslog.h>.
72437 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
72439         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S: If the
72440         function returns with a NULL context exit with zero.
72442 2012-11-01  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
72444         * sysdeps/powerpc/Makefile (cflags): Remove -mnew-mnemonics.
72446 2012-11-01  H.J. Lu  <hongjiu.lu@intel.com>
72448         * catgets/test-gencat.sh (run_program_prefix): Renamed to ...
72449         (run_program_cmd): This.
72450         * localedata/tst-langinfo.sh (run_program_prefix): Removed.
72451         (tst_langinfo): New variable.  Use it.
72453 2012-11-01  Sebastan Andrzej Siewior  <bigeasy@linutronix.de>
72455         * sysdeps/powerpc/powerpc32/dl-trampoline.S: Put __NO_FPRS__ around
72456         floating point opcodes.
72458 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
72460         * sysdeps/mach/hurd/Makefile (link-libc-static-tests): New
72461         variable.
72463         * elf/dl-support.c: Unconditionally include "setup-vdso.h".
72465         * sysdeps/mach/hurd/powerpc: Remove directory.
72466         * sysdeps/mach/powerpc: Likewise.
72468 2012-11-01  Andreas Schwab  <schwab@linux-m68k.org>
72470         * scripts/check-local-headers.sh: Ignore c++ headers.
72472 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
72474         * libio/genops.c (_IO_flush_all_lockp): Use NULL rather than 0 for
72475         __libc_cleanup_region_start argument.
72477 2012-11-01  Joseph Myers  <joseph@codesourcery.com>
72479         [BZ #14784]
72480         [BZ #14785]
72481         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle cases with small
72482         x * y using scaling, not as x * y + z.
72483         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
72484         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
72485         * math/libm-test.inc (fma_test): Add more tests.
72486         (fma_test_towardzero): Likewise.
72487         (fma_test_downward): Likewise.
72488         (fma_test_upward): Likewise.
72490 2012-11-01  Thomas Schwinge  <thomas@codesourcery.com>
72492         * sysdeps/mach/hurd/bits/param.h: Remove stray #endif.
72494 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
72496         * sysdeps/sh/Makefile [$(subdir) = debug] (CFLAGS-backtrace.c):
72497         New variable.
72499 2012-10-31  Thomas Schwinge  <thomas@codesourcery.com>
72501         * rt/tst-shm.c (worker): Correct checking for mmap failure.
72503 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
72505         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
72506         Fix sort order.
72507         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
72508         Likewise.
72510 2012-10-31  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
72512         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
72513         Fix the order of the list for glibc 2.17.
72514         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
72515         Likewise.
72517 2012-10-31  Andreas Schwab  <schwab@linux-m68k.org>
72519         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
72521 2012-10-31  Joseph Myers  <joseph@codesourcery.com>
72523         [BZ #14610]
72524         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c (__ieee754_atan2l): Check
72525         for low part of x being zero before using __atanl (y).
72526         * math/libm-test.inc (atan2_test): Add another test.
72528         * manual/install.texi (Configuring and compiling): Document
72529         general use of test-wrapper and test-wrapper-env.
72530         * INSTALL: Regenerated.
72532         * sysdeps/ieee754/dbl-64/s_fma.c: Include <tininess.h>.
72533         (__fma): Do not extract and scale down low bits on after-rounding
72534         systems when result rounded to normal precision would have normal
72535         exponent.
72536         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <tininess.h>.
72537         (__fmal): Do not extract and scale down low bits on after-rounding
72538         systems when result rounded to normal precision would have normal
72539         exponent.
72540         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <tininess.h>.
72541         (__fmal): Do not extract and scale down low bits on after-rounding
72542         systems when result rounded to normal precision would have normal
72543         exponent.
72544         * math/libm-test.inc (UNDERFLOW_EXCEPTION_BEFORE_ROUNDING): New
72545         macro.
72546         (fma_test): Add more tests.
72547         (fma_test_towardzero): Likewise.
72548         (fma_test_downward): Likewise.
72549         (fma_test_upward): Likewise.
72551 2012-10-30  H.J. Lu  <hongjiu.lu@intel.com>
72553         * sysdeps/i386/tininess.h: Renamed to ...
72554         * sysdeps/x86/tininess.h: This.
72555         * sysdeps/x86_64/tininess.h: Removed.
72557 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
72559         * elf/Makefile ($(objpfx)tst-array1.out): Depend on comparison
72560         input.  Use $(build-program-cmd).
72561         ($(objpfx)tst-array1-static.out): Likewise.
72562         ($(objpfx)tst-array2.out): Likewise.
72563         ($(objpfx)tst-array3.out): Likewise.
72564         ($(objpfx)tst-array4.out): Likewise.
72565         ($(objpfx)tst-array5.out): Likewise.
72566         ($(objpfx)tst-array5-static.out): Likewise.
72568 2012-10-30  Chris Metcalf  <cmetcalf@tilera.com>
72570         * elf/dl-load.c (_dl_map_object_from_fd): Call DL_AFTER_LOAD
72571         if defined.
72573         * nss/nsswitch.h (nss_interface_function): Provide new
72574         macro for use with NSS functions.
72575         * grp/initgroups.c: Use new macro.
72576         * nss/getXXbyYY.c: Likewise.
72577         * nss/getXXbyYY_r.c: Likewise.
72578         * nss/getXXent.c: Likewise.
72579         * nss/getXXent_r.c: Likewise.
72580         * sysdeps/posix/getaddrinfo.c: Likewise.
72582 2012-10-30  Andreas Jaeger  <aj@suse.de>
72584         * po/ru.po: Update Russion translation from translation project.
72586 2012-10-30  Joseph Myers  <joseph@codesourcery.com>
72588         [BZ #14152]
72589         [BZ #14783]
72590         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Extract low bits of
72591         result and shift together with sticky bit instead of replicating
72592         round-to-nearest rounding.
72593         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
72594         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
72595         * math/libm-test.inc (fma_test): Add more tests.  Do not permit
72596         missing underflow exceptions.
72597         (fma_test_towardzero): Add more tests.
72598         (fma_test_downward): Likewise.
72599         (fma_test_upward): Likewise.
72601         [BZ #14047]
72602         * sysdeps/generic/tininess.h: New file.
72603         * sysdeps/i386/tininess.h: Likewise.
72604         * sysdeps/sh/tininess.h: Likewise.
72605         * sysdeps/x86_64/tininess.h: Likewise.
72606         * stdlib/tst-strtod-underflow.c: Likewise.
72607         * stdlib/tst-tininess.c: Likewise.
72608         * stdlib/strtod_l.c: Include <tininess.h>.
72609         (round_and_return): Do not set errno for exact underflow cases.
72610         Force an underflow exception when setting errno for underflow.
72611         Determine underflow based on rounding to normal precision if
72612         TININESS_AFTER_ROUNDING.
72613         * stdlib/tst-strtod.c (tests): Do not expect errno to be set to
72614         ERANGE for exact underflow cases.
72615         * stdlib/Makefile (tests): Add tst-tininess and
72616         tst-strtod-underflow.
72617         ($(objpfx)tst-tininess): Use $(link-libm).
72618         ($(objpfx)tst-strtod-underflow): Likewise.
72620 2012-10-30  Andreas Jaeger  <aj@suse.de>
72622         [BZ #14767]
72623         * elf/Makefile (tests): Remove conditional for have-initfini-array
72624         since this is now always required and the variable does not exist
72625         anymore.
72626         (tests-static): Likewise.
72627         (modules-names): Likewise.
72629         * po/eo.po: Add Esperanto translation from translation project.
72631         * elf/tst-array1.c (fini_array): Make writeable so that it can be
72632         merged with constructor/destructor.
72633         (init_array): Likewise.
72634         * elf/tst-array2dep.c (fini_array): Likewise.
72635         (init_array): Likewise.
72637 2012-10-29  Mike Frysinger  <vapier@gentoo.org>
72639         * manual/message.texi: Delete @cartouche tags.
72641 2012-10-29  Pino Toscano  <toscano.pino@tiscali.it>
72643         * sysdeps/mach/hurd/fdatasync.c: Turn ERR into EINVAL if it is
72644         EOPNOTSUPP.
72645         * sysdeps/mach/hurd/fsync.c: Likewise.
72647         * sysdeps/pthread/aio_notify.c (__aio_notify_only)
72648         [_POSIX_REALTIME_SIGNALS]: Change condition to
72649         [_POSIX_REALTIME_SIGNALS > 0].
72651 2012-10-27  Andreas Jaeger  <aj@suse.de>
72653         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (__O_LARGEFILE)
72654         [!__x86_64]: Do not define, take value from <bits/fcntl-linux.h>.
72655         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE):
72656         [__WORDSIZE != 64]: Likewise.
72658 2012-10-26  H.J. Lu  <hongjiu.lu@intel.com>
72660         *  iconvdata/tst-table.sh: Remove ${SHELL}.
72661         *  iconvdata/tst-tables.sh: Likewise.
72663 2012-10-25  David S. Miller  <davem@davemloft.net>
72665         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
72666         (__get_clockfreq_via_proc_openprom): Use strtoumax instead
72667         of strtoull.
72669         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add comments for
72670         ifunc-impl-list.c
72671         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
72672         * sysdeps/sparc/sparc64/multiarch/ifunc-impl-list.c: New file.
72673         * sysdeps/sparc/sparc32/sparcv9/multiarch/ifunc-impl-list.c: New
72674         file.
72676 2012-10-25  Roland McGrath  <roland@hack.frob.com>
72678         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
72679         (__get_clockfreq_via_proc_openprom): Use __getdents instead of
72680         __getdirentries.
72682 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
72683             Jim Blandy  <jimb@codesourcery.com>
72685         * scripts/cross-test-ssh.sh: New file.
72686         * manual/install.texi (Configuring and compiling): Document use of
72687         cross-test-ssh.sh.
72688         * INSTALL: Regenerated.
72690 2012-10-25  Pino Toscano  <toscano.pino@tiscali.it>
72692         * sysdeps/mach/hurd/ptrace.c (ptrace): Use __hurd_fail to return
72693         EOPNOTSUPP.
72695 2012-10-25  Joseph Myers  <joseph@codesourcery.com>
72697         * Makeconfig (run-program-prefix): Fix comment.
72699 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
72700             Jim Blandy  <jimb@codesourcery.com>
72702         * Makeconfig (test-wrapper): New variable,
72703         (test-wrapper-env): Likewise.
72704         [$(cross-compiling) = yes && $(test-wrapper) != ""]
72705         (run-built-tests): Define to yes.
72706         (run-program-prefix): Use $(test-wrapper).
72707         (built-program-cmd): Likewise.
72708         * Rules (make-test-out): Use $(test-wrapper-env) and
72709         $(host-built-program-cmd).
72710         * elf/Makefile ($(objpfx)order.out): Use $(test-wrapper).
72711         ($(objpfx)tst-pathopt.out): Pass $(test-wrapper-env) to
72712         tst-pathopt.sh.
72713         ($(objpfx)tst-rtld-load-self.out): Pass $(test-wrapper) and
72714         $(test-wrapper-env) to tst-rtld-load-self.sh.
72715         ($(objpfx)order2.out): Use $(test-wrapper).
72716         ($(objpfx)tst-initorder.out): Likewise.
72717         ($(objpfx)tst-initorder2.out): Likewise.
72718         ($(objpfx)tst-unused-dep.out): Use $(test-wrapper-env).
72719         * elf/tst-pathopt.sh (run_program_prefix): Remove unused variable.
72720         (test_wrapper_env): New variable.  Use it to run ld.so.
72721         * elf/tst-rtld-load-self.sh (test_wrapper): New variable.
72722         Use it to run ld.so.
72723         (test_wrapper_env): Likewise.
72724         * iconvdata/Makefile ($(objpfx)iconv-test.out): Pass
72725         $(test-wrapper) to run-iconv-test.sh.
72726         * iconvdata/run-iconv-test.sh (test_wrapper): New variable.
72727         (ICONV): Use $test_wrapper.
72728         * posix/Makefile ($(objpfx)globtest.out): Pass
72729         $(run-via-rtld-prefix), $(test-wrapper) and $(test-wrapper-env) to
72730         globtest.sh, not $(run-program-prefix).
72731         * posix/globtest.sh (run_via_rtld_prefix): New variable.
72732         (test_wrapper): Likewise.
72733         (test_wrapper_env): Likewise.  Use it to run globtest with HOME
72734         set together with run_via_rtld_prefix.
72735         (run_program_prefix): Define in terms of test_wrapper and
72736         run_via_rtld_prefix.
72738 2012-10-24  Roland McGrath  <roland@hack.frob.com>
72740         * nscd/Makefile ($(objpfx)nscd): Remove librt dependency.
72741         * posix/Makefile ($(objpfx)tst-regex, $(objpfx)tst-regex2):
72742         Targets removed.
72744         [BZ #14743]
72745         * include/time.h: Remove librt_hidden_proto (clock_gettime).
72746         Declare __clock_getres, __clock_gettime, __clock_settime,
72747         __clock_nanosleep, and __clock_getcpuclockid.
72748         * rt/clock_gettime.c: Define __clock_gettime as an alias.
72749         Remove librt_hidden_def (clock_gettime).
72750         * sysdeps/unix/clock_gettime.c: Likewise.
72751         * rt/clock_getcpuclockid.c: Define __clock_getcpuclockid as an alias.
72752         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c: Likewise.
72753         * rt/clock_getres.c: Define __clock_getres as an alias.
72754         * sysdeps/posix/clock_getres.c: Likewise.
72755         * rt/clock_settime.c: Define __clock_settime as an alias.
72756         * sysdeps/unix/clock_settime.c: Likewise.
72757         * rt/clock_nanosleep.c: Define __clock_nanosleep as an alias.
72758         * sysdeps/unix/clock_nanosleep.c: Likewise.
72759         * sysdeps/unix/sysv/linux/clock_nanosleep.c: Likewise.
72760         * rt/clock-compat.c: New file.
72761         * rt/Makefile (librt-routines): Add clock-compat and move
72762         $(clock-routines) to ...
72763         (routines): ... here, new variable.
72764         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_routines):
72765         Don't add get_clockfreq here.
72766         * rt/Versions (libc: GLIBC_2.17): New version set.
72767         Add clock_* symbols here.
72768         (libc: GLIBC_PRIVATE): New version set.  Add __clock_* symbols here.
72769         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist
72770         (GLIBC_2.17): Add clock_* symbols.
72771         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
72772         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
72773         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
72774         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
72775         Likewise.
72776         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
72777         Likewise.
72778         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
72779         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
72780         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
72781         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
72782         * NEWS: Mention the move.
72784         * sysdeps/unix/sysv/linux/i386/get_clockfreq.c (__get_clockfreq):
72785         Use __open, __read, __close rather than their public counterparts.
72786         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
72787         (__get_clockfreq_via_cpuinfo): Likewise.
72788         (__get_clockfreq_via_proc_openprom): Likewise, and __getdirentries.
72789         (__get_clockfreq_via_dev_openprom): Likewise, and __ioctl.
72791         * config.h.in (HAVE_IFUNC): New #undef.
72792         * configure.in: Define it if libc_cv_ld_gnu_indirect_function
72793         was successful.
72794         * configure: Regenerated.
72796 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
72798         * configure.in: Move READELF check to start of file.
72799         (libc_cv_ld_gnu_indirect_function): Change to a link test. Rename from
72800         libc_cv_asm_gnu_indirect_function in the process.
72801         * configure: Regenerated.
72803 2012-10-24  Mike Frysinger  <vapier@gentoo.org>
72805         * configure.in (libc_cv_gcc_static_libgcc): Drop -q flag to grep and
72806         send the output to /dev/null.
72807         (libc_cv_cc_with_libunwind): Likewise.
72808         (libc_cv_as_noexecstack): Likewise.
72809         * configure: Regenerate.
72811 2012-10-24  Joseph Myers  <joseph@codesourcery.com>
72813         * io/ftwtest-sh (tmp): Define to ${objpfx}io, not using `pwd`.
72815         * posix/globtest.sh (TMPDIR): Do not set.
72816         (testdir): Define using ${common_objpfx}posix not $TMPDIR.
72817         (testout): Likewise.
72819 2012-10-24  Andreas Jaeger  <aj@suse.de>
72821         * io/fcntl.h: Always define mode_t, off_t, pid_t and use these
72822         types for creat, creat64, lockf, posix_fadvise, posix_fallocate.
72823         [__USE_LARGEFILE64 && !__off64_t_defined]: Define off64_t.
72824         [__USE_LARGEFILE64]: Use off64_t in declaration of lock64,
72825         posix_fadvise64, posix_fallocate64.
72827         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h (F_GETLK, F_SETLK)
72828         (F_SETLKW) [__x86_64]: Remove, provided by <bits/fcntl-linux.h>.
72829         (F_GETLK, F_SETLK, F_SETLKW) [!__USE_FILE_OFFSET64 && !__x86_64__]:
72830         Likewise.
72831         (F_GETLK, F_SETLK, F_SETLKW) [__USE_FILE_OFFSET64 && ! __x86_64__]:
72832         Likewise.
72833         (F_GETLK64, F_SETLK64, F_SETLKW64) [!__x86_64__]: Likewise.
72835         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (F_GETLK, F_SETLK)
72836         (F_SETLKW) [__USE_FILE_OFFSET64]: Remove, provided by
72837         <bits/fcntl-linux.h>.
72838         (F_GETLK64, F_SETLK64, F_SETLKW64) [__WORDSIZE == 64]: Likewise.
72840         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (F_DUPFD, F_GETFD)
72841         (F_SETFD, F_GETFL, F_SETFL): Remove, provided by <bits/fcntl-linux.h>.
72842         (F_GETLK, F_SETLK, F_SETLKW) [__WORDSIZE == 64]: Likewise.
72843         (F_GETLK, F_SETLK, F_SETLKW, F_GETLK64, F_SETLK64, F_SETLKW64)
72844         [__WORDSIZE != 64]: Likewise.
72846 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
72848         * Makeconfig (run-built-tests): New variable.
72849         * Rules [$(cross-compiling) = yes]: Change condition to
72850         [$(run-built-tests) = no].
72851         * catgets/Makefile [$(cross-compiling) != yes]: Change condition
72852         to [$(run-built-tests) = yes].
72853         * elf/Makefile [$(cross-compiling) = no]: Likewise.
72854         * grp/Makefile [$(cross-compiling) = no]: Likewise.
72855         * iconv/Makefile [$(cross-compiling) != yes]: Likewise.
72856         * iconvdata/Makefile [$(cross-compiling) = no]: Likewise.
72857         * intl/Makefile [$(cross-compiling) = no]: Likewise.
72858         * io/Makefile [$(cross-compiling) = no]: Likewise.
72859         * libio/Makefile [$(cross-compiling) = no]: Likewise.
72860         * malloc/Makefile [$(cross-compiling) = no]: Likewise.
72861         * misc/Makefile [$(cross-compiling) = no]: Likewise.
72862         * posix/Makefile [$(cross-compiling) = no]: Likewise.
72863         * resolv/Makefile [$(cross-compiling) = no]: Likewise.
72864         * stdio-common/Makefile [$(cross-compiling) = no]: Likewise.
72865         * stdlib/Makefile [$(cross-compiling) = no]: Likewise.
72866         * string/Makefile [$(cross-compiling) = no]: Likewise.
72868         * posix/Makefile ($(objpfx)globtest.out): Pass
72869         $(run-program-prefix) to globtest.sh, not $(elf-objpfx) and
72870         $(rtld-installed-name).
72871         * posix/globtest.sh (elf_objpfx): Remove variable.
72872         (rtld_installed_name): Likewise.
72873         (library_path): Likewise.
72874         (run_program_prefix): New variable.  Use for running globtest
72875         binary.
72877 2012-10-23  Jim Blandy  <jimb@codesourcery.com>
72878             Joseph Myers  <joseph@codesourcery.com>
72880         * Makeconfig (host-built-program-cmd): New variable.
72881         * elf/Makefile (tst-stackguard1-ARGS): Use
72882         $(host-built-program-cmd).
72883         * posix/Makefile (tst-exec-ARGS): Use $(host-built-program-cmd).
72884         (tst-spawn-ARGS): Likewise.
72885         * rt/Makefile (tst-mqueue7-ARGS): Use $(host-built-program-cmd).
72887 2012-10-23  Joseph Myers  <joseph@codesourcery.com>
72888             Jim Blandy  <jimb@codesourcery.com>
72890         * Makeconfig (run-via-rtld-prefix): New variable.
72891         (run-program-prefix): Define in terms of $(run-via-rtld-prefix).
72892         (built-program-cmd): Likewise.
72894 2012-10-22  Andreas Jaeger  <aj@suse.de>
72896         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (O_RSYNC): Define to
72897         __O_RSYNC if it exists, otherwise to O_SYNC.
72899 2012-10-22  Jim Blandy  <jimb@codesourcery.com>
72900             Joseph Myers  <joseph@codesourcery.com>
72902         * iconvdata/run-iconv-test.sh: Redirect iconv stdin in loops from
72903         /dev/null.
72904         * iconvdata/tst-tables.sh: Redirect tst-table.sh stdin in loop
72905         from /dev/null
72906         * posix/tst-getconf.sh: Redirect getconf stdin in loop from
72907         /dev/null.
72909 2012-10-22  Andreas Jaeger  <aj@suse.de>
72911         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (__O_LARGEFILE):
72912         Define always.
72913         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (__O_LARGEFILE): Likewise.
72915         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
72916         bits/fcntl-linux.h.
72918         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h (F_GETLK, F_SETLK)
72919         (F_SETLKW) [!F_GETLK]: Define values for [!__USE_FILE_OFFSET64].
72921         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h (O_LARGEFILE): Rename
72922         to __O_LARGEFILE.
72923         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_LARGEFILE): Rename
72924         to __O_LARGEFILE.
72926 2012-10-21  Jim Blandy  <jimb@codesourcery.com>
72927             Joseph Myers  <joseph@codesourcery.com>
72929         * config.make.in (NM): New variable.
72931 2012-10-21  Andreas Jaeger  <aj@suse.de>
72933         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Remove all
72934         definitions and declarations that are provided by
72935         <bits/fcntl-linux.h> and include <bits/fcntl-linux.h>.
72937 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
72939         [BZ #14683]
72940         * elf/Makefile (tests-static): Add tst-leaks1-static.
72941         (tests): Also depend on $(objpfx)tst-leaks1-static-mem.
72942         ($(objpfx)tst-leaks1-static): New rule.
72943         ($(objpfx)tst-leaks1-static-mem): Likewise.
72944         (tst-leaks1-static-ENV): New macro.
72945         * elf/dl-open.c (dl_open_worker): Check the main application
72946         only if SHARED is defined.
72947         * elf/tst-leaks1-static.c: New file.
72949 2012-10-20  Andreas Jaeger  <aj@suse.de>
72951         * sysdeps/unix/sysv/linux/bits/fcntl-linux.h: New file, contains
72952         generic values for Linux.
72953         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: Remove all definitions
72954         and declarations that are provided by <bits/fcntl-linux.h> and
72955         include <bits/fcntl-linux.h>.
72956         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
72957         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
72959 2012-10-20  Roland McGrath  <roland@hack.frob.com>
72961         * io/fcntl.h: Move include of <bits/types.h> to the top and
72962         include it unconditionally.
72964 2012-10-20  H.J. Lu  <hongjiu.lu@intel.com>
72966         * wcsmbs/Makefile (tests-ifunc): New variable.
72967         (tests): Add $(tests-ifunc).
72968         * wcsmbs/test-wcschr-ifunc.c: New file.
72969         * wcsmbs/test-wcscmp-ifunc.c: Likewise.
72970         * wcsmbs/test-wcscpy-ifunc.c: Likewise.
72971         * wcsmbs/test-wcslen-ifunc.c: Likewise.
72972         * wcsmbs/test-wcsrchr-ifunc.c: Likewise.
72973         * wcsmbs/test-wmemcmp-ifunc.c: Likewise.
72975         * string/Makefile (tests-ifunc): New variable.
72976         (tests): Add $(tests-ifunc).
72977         * string/test-memccpy.c (TEST_NAME): New macro.
72978         * string/test-memchr.c (TEST_NAME): Likewise.
72979         * string/test-memcmp.c (TEST_NAME): Likewise.
72980         * string/test-memcpy.c (TEST_NAME): Likewise.
72981         * string/test-memmem.c (TEST_NAME): Likewise.
72982         * string/test-memmove.c (TEST_NAME): Likewise.
72983         * string/test-memset.c (TEST_NAME): Likewise.
72984         * string/test-rawmemchr.c (TEST_NAME): Likewise.
72985         * string/test-stpcpy.c (TEST_NAME): Likewise.
72986         * string/test-stpncpy.c (TEST_NAME): Likewise.
72987         * string/test-strcasecmp.c (TEST_NAME): Likewise.
72988         * string/test-strcasestr.c (TEST_NAME): Likewise.
72989         * string/test-strcat.c (TEST_NAME): Likewise.
72990         * string/test-strchr.c (TEST_NAME): Likewise.
72991         * string/test-strcmp.c(TEST_NAME): Likewise.
72992         * string/test-strcpy.c (TEST_NAME): Likewise.
72993         * string/test-strcspn.c (TEST_NAME): Likewise.
72994         * string/test-strlen.c (TEST_NAME): Likewise.
72995         * string/test-strncasecmp.c (TEST_NAME): Likewise.
72996         * string/test-strncmp.c (TEST_NAME): Likewise.
72997         * string/test-strncpy.c (TEST_NAME): Likewise.
72998         * string/test-strnlen.c (TEST_NAME): Likewise.
72999         * string/test-strpbrk.c (TEST_NAME): Likewise.
73000         * string/test-strrchr.c (TEST_NAME): Likewise.
73001         * string/test-strspn.c (TEST_NAME): Likewise.
73002         * string/test-strstr.c (TEST_NAME): Likewise.
73003         * string/test-bcopy-ifunc.c: New file.
73004         * string/test-bzero-ifunc.c: Likewise.
73005         * string/test-memccpy-ifunc.c: Likewise.
73006         * string/test-memchr-ifunc.c: Likewise.
73007         * string/test-memcmp-ifunc.c: Likewise.
73008         * string/test-memcpy-ifunc.c: Likewise.
73009         * string/test-memmem-ifunc.c: Likewise.
73010         * string/test-memmove-ifunc.c: Likewise.
73011         * string/test-mempcpy-ifunc.c: Likewise.
73012         * string/test-memset-ifunc.c: Likewise.
73013         * string/test-rawmemchr-ifunc.c: Likewise.
73014         * string/test-stpcpy-ifunc.c: Likewise.
73015         * string/test-stpncpy-ifunc.c: Likewise.
73016         * string/test-strcasecmp-ifunc.c: Likewise.
73017         * string/test-strcasestr-ifunc.c: Likewise.
73018         * string/test-strcat-ifunc.c: Likewise.
73019         * string/test-strchr-ifunc.c: Likewise.
73020         * string/test-strchrnul-ifunc.c: Likewise.
73021         * string/test-strcmp-ifunc.c: Likewise.
73022         * string/test-strcpy-ifunc.c: Likewise.
73023         * string/test-strcspn-ifunc.c: Likewise.
73024         * string/test-strlen-ifunc.c: Likewise.
73025         * string/test-strncasecmp-ifunc.c: Likewise.
73026         * string/test-strncat-ifunc.c: Likewise.
73027         * string/test-strncmp-ifunc.c: Likewise.
73028         * string/test-strncpy-ifunc.c: Likewise.
73029         * string/test-strnlen-ifunc.c: Likewise.
73030         * string/test-strpbrk-ifunc.c: Likewise.
73031         * string/test-strrchr-ifunc.c: Likewise.
73032         * string/test-strspn-ifunc.c: Likewise.
73033         * string/test-strstr-ifunc.c: Likewise.
73035         * debug/Makefile (tests-ifunc): New variable.
73036         (tests): Add $(tests-ifunc).
73037         * debug/test-stpcpy_chk.c (TEST_NAME): New macro.
73038         * debug/test-strcpy_chk.c (TEST_NAME): Likewise.
73039         * debug/test-stpcpy_chk-ifunc.c: New file.
73040         * debug/test-strcpy_chk-ifunc.c: Likewise.
73042 2012-10-20  Siddhesh Poyarekar  <siddhesh@redhat.com>
73044         [BZ #13601]
73045         * elf/dl-load.c (open_verify): Retry read if the entire ELF
73046         header is not read in.
73048 2012-10-19  Joseph Myers  <joseph@codesourcery.com>
73050         * io/Makefile ($(objpfx)ftwtest.out): Depend on ftwtest-sh.  Pass
73051         script to $(SHELL) as $<.  Pass $(common-objpfx) to script
73052         directly.  Pass built executable to script as
73053         $(built-program-cmd).
73054         * io/ftwtest-sh (ldso): Remove variable.  Run ftwtest directly as
73055         $testprogram without using LD_LIBRARY_PATH and $ldso.
73057         * grp/Makefile ($(objpfx)tst_fgetgrent.out): Pass
73058         $(run-program-prefix) to tst_fgetgrent.sh, not $(elf-objpfx) and
73059         $(rtld-installed-name).
73060         * grp/tst_fgetgrent.sh (elf_objpfx): Remove variable.
73061         (rtld_installed_name): Likewise.
73062         (library_path): Likewise.
73063         (run_program_prefix): New variable.  Use it to run tst_fgetgrent.
73064         * iconvdata/Makefile ($(objpfx)tst-tables.out): Pass
73065         $(run-program-prefix) to tst-tables.sh.
73066         * iconvdata/tst-table.sh (run_program_prefix): New variable.  Use
73067         it to run tst-table-from and tst-table-to.
73068         * iconvdata/tst-tables.sh (run_program_prefix): New variable.
73069         Pass it to tst-table.sh.
73070         * intl/Makefile ($(objpfx)tst-gettext.out): Pass
73071         $(run-program-prefix) to tst-gettext.sh.
73072         ($(objpfx)tst-translit.out): Pass $(run-program-prefix) to
73073         tst-translit.sh.
73074         ($(objpfx)tst-gettext2.out): Pass $(run-program-prefix) to
73075         tst-gettext2.sh.
73076         * intl/tst-gettext.sh (run_program_prefix): New variable.  Use it
73077         to run tst-gettext.
73078         * intl/tst-gettext2.sh (run_program_prefix): New variable.  Use it
73079         to run tst-gettext2.
73080         * intl/tst-translit.sh (run_program_prefix): New variable.  Use it
73081         to run tst-translit.
73082         * malloc/Makefile ($(objpfx)tst-mtrace.out): Pass
73083         $(run-program-prefix) to tst-mtrace.sh.
73084         * malloc/tst-mtrace.sh (run_program_prefix): New variable.  Use it
73085         to run tst-mtrace.
73086         * posix/Makefile ($(objpfx)wordexp-tst.out): Pass
73087         $(run-program-prefix) to wordexp-tst.sh, not $(elf-objpfx) and
73088         $(rtld-installed-name).
73089         * posix/wordexp-tst.sh (elf_objpfx): Remove variable.
73090         (rtld_installed_name): Likewise.
73091         (run_program_prefix): New variable.  Use it to run wordexp-test.
73093         * Makeconfig (ARCH): Remove all definitions.
73094         (machine): Likewise.
73095         [ARCH]: Remove conditional code.
73096         [!objdir]: Give error.
73097         [!objdir] (objpfx): Remove.
73098         [!objdir] (common-objpfx): Likewise.
73099         [!objdir] (common-objdir): Likewise.
73100         * configure.in (config_makefile): Remove.  Hardcode Makefile in
73101         AC_CONFIG_FILES call.
73102         * configure: Regenerated.
73104         [BZ #13888]
73105         * io/ftwtest-sh (tmp): Set to use the working directory, not /tmp
73106         or TMPDIR.
73107         (testout): Likewise.
73109         * posix/Makefile ($(objpfx)tst-getconf.out): Pass
73110         $(built-program-cmd) to tst-getconf.sh, not $(elf-objpfx) and
73111         $(rtld-installed-name).
73112         * posix/tst-getconf.sh (elf_objpfx): Remove variable.
73113         (rtld_installed_name): Likewise.
73114         (runit): Remove function.
73115         (run_getconf): New variable,  Use it for running getconf binary.
73117 2012-10-18  H.J. Lu  <hongjiu.lu@intel.com>
73119         [BZ #14716]
73120         * string/test-memmem.c (check_result): New function.
73121         (do_one_test): Use it.
73122         (check1): New function.
73123         (test_main): Use it.
73125 2012-10-18  Markus Trippelsdorf  <markus@trippelsdorf.de>
73127         * math/Makefile: Comment on slow compilation of test-tgmath2.c.
73129 2012-10-18  Joseph Myers  <joseph@codesourcery.com>
73131         * sysdeps/generic/_G_config.h (_G_OPEN64): Remove.
73132         (_G_LSEEK64): Likewise.
73133         (_G_MMAP64): Likewise.
73134         (_G_FSTAT64): Likewise.
73135         * sysdeps/unix/sysv/linux/_G_config.h (_G_OPEN64): Remove.
73136         (_G_LSEEK64): Likewise.
73137         (_G_MMAP64): Likewise.
73138         (_G_FSTAT64): Likewise.
73139         * libio/fileops.c (mmap_remap_check) [_G_MMAP64]: Make code
73140         unconditional.  Call __mmap64 directly.
73141         (mmap_remap_check) [!_G_MMAP64]: Remove conditional code.
73142         (mmap_remap_check) [_G_LSEEK64]: Make code unconditional.  Call
73143         __lseek64 directly.
73144         (mmap_remap_check) [!_G_LSEEK64]: Remove conditional code.
73145         (decide_maybe_mmap) [_G_MMAP64]: Make code unconditional.  Call
73146         __mmap64 directly.
73147         (decide_maybe_mmap) [!_G_MMAP64]: Remove conditional code.
73148         (decide_maybe_mmap) [_G_LSEEK64]: Make code unconditional.  Call
73149         __lseek64 directly.
73150         (decide_maybe_mmap) [!_G_LSEEK64]: Remove conditional code.
73151         (_IO_file_sync_mmap) [_G_LSEEK64]: Make code unconditional.  Call
73152         __lseek64 directly.
73153         (_IO_file_sync_mmap) [!_G_LSEEK64]: Remove conditional code.
73154         (_IO_file_seek) [_G_LSEEK64]: Make code unconditional.  Call
73155         __lseek64 directly.
73156         (_IO_file_seek) [!_G_LSEEK64]: Remove conditional code.
73157         (_IO_file_stat) [_G_FSTAT64]: Make code unconditional.  Call
73158         __fxstat64 directly.
73159         (_IO_file_stat) [!_G_FSTAT64]: Remove conditional code.
73160         * libio/freopen64.c (freopen64) [_G_OPEN64]: Make code
73161         unconditional.
73162         (freopen64) [!_G_OPEN64]: Remove conditional code.
73163         * libio/fseeko64.c (fseeko64) [_G_LSEEK64]: Make code
73164         unconditional.
73165         (fseeko64) [!_G_LSEEK64]: Remove conditional code.
73166         * libio/ftello64.c (ftello64) [_G_LSEEK64]: Make code
73167         unconditional.
73168         (ftello64) [!_G_LSEEK64]: Remove conditional code.
73169         * libio/iofgetpos64.c (_IO_new_fgetpos64) [_G_LSEEK64]: Make code
73170         unconditional.
73171         (_IO_new_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
73172         * libio/iofopen64.c (_IO_fopen64) [_G_OPEN64]: Make code
73173         unconditional.
73174         (_IO_fopen64) [!_G_OPEN64]: Remove conditional code.
73175         * libio/iofsetpos64.c (_IO_new_fsetpos64) [_G_LSEEK64]: Make code
73176         unconditional.
73177         (_IO_new_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
73178         * libio/oldiofgetpos64.c (_IO_old_fgetpos64) [_G_LSEEK64]: Make code
73179         unconditional.
73180         (_IO_old_fgetpos64) [!_G_LSEEK64]: Remove conditional code.
73181         * libio/oldiofsetpos64.c (_IO_old_fsetpos64) [_G_LSEEK64]: Make code
73182         unconditional.
73183         (_IO_old_fsetpos64) [!_G_LSEEK64]: Remove conditional code.
73185 2012-10-18  Siddhesh Poyarekar  <siddhesh@redhat.com>
73187         [BZ #12140]
73188         * manual/memory.texi (Malloc Tunable Parameters): Add note
73189         about free list pointers overwriting some perturb bytes.
73190         Wording suggested by Roland McGrath.
73192 2012-10-17  Joseph Myers  <joseph@codesourcery.com>
73194         * math/libm-test.inc (gamma_test): Do not call feclearexcept.
73195         (lgamma_test): Likewise.
73196         (tgamma_test): Likewise.
73198 2012-10-16  Florian Weimer  <fweimer@redhat.com>
73200         [BZ #14700]
73201         * sysdeps/posix/opendir.c (MAX_DIR_BUFFER_SIZE): New constant.
73202         (__alloc_dir): Limit buffer to MAX_DIR_BUFFER_SIZE.
73204 2012-10-16  Maxim Kuvyrkov  <maxim@codesourcery.com>
73206         * NEWS: Mention BZ #14716.
73207         * string/str-two-way.h (two_way_short_needle): Fix thinko introduced
73208         when removing AVAILABLE1_USES_J macro.
73210 2012-10-12  H.J. Lu  <hongjiu.lu@intel.com>
73212         * sysdeps/x86/bits/byteswap.h: Include <bits/types.h>.
73213         (__bswap_64): __uint64_t for unsigned 64-bit int.
73215 2012-10-12  Andreas Schwab  <schwab@linux-m68k.org>
73217         * include/string.h (memmem): Declare libc hidden alias.
73218         * string/memmem.c (memmem): Define libc hidden alias.
73219         * sysdeps/unix/sysv/linux/powerpc/get_clockfreq.c: Use __open,
73220         __read, __close instead of open, read, close.
73222 2012-10-11  H.J. Lu  <hongjiu.lu@intel.com>
73224         * sysdeps/x86_64/multiarch/ifunc-impl-list.c: New file.
73225         * sysdeps/x86_64/multiarch/memcmp.S (__memcmp_sse2): Make it
73226         global and hidden.
73227         * sysdeps/x86_64/multiarch/memcpy.S (__memcpy_sse2): Likewise.
73228         * sysdeps/x86_64/multiarch/mempcpy.S (__mempcpy_sse2): Likewise.
73229         * sysdeps/x86_64/multiarch/rawmemchr.S (__rawmemchr_sse42):
73230         Likewise.
73231         (__rawmemchr_sse2): Likewise.
73232         * sysdeps/x86_64/multiarch/strcat.S (STRCAT_SSE2): Likewise.
73233         * sysdeps/x86_64/multiarch/strchr.S (__strchr_sse42): Likewise.
73234         (__strchr_sse2): Likewise.
73235         * sysdeps/x86_64/multiarch/strcmp-sse42.S (STRCMP_SSE42): Likewise.
73236         * sysdeps/x86_64/multiarch/strcmp.S (STRCMP_SSE2): Likewise.
73237         (__strcasecmp_sse2): Likewise.
73238         (__strncasecmp_sse2): Likewise.
73239         * sysdeps/x86_64/multiarch/strcpy.S (STRCPY_SSE2): Likewise.
73240         * sysdeps/x86_64/multiarch/strlen.S (__strlen_sse2): Likewise.
73241         * sysdeps/x86_64/multiarch/strnlen.S (__strnlen_sse2): Likewise.
73242         * sysdeps/x86_64/multiarch/strrchr.S (__strrchr_sse42): Likewise.
73243         (__strrchr_sse2): Likewise.
73244         * sysdeps/x86_64/multiarch/memcmp.S: Add comments for
73245         ifunc-impl-list.c.
73246         * sysdeps/x86_64/multiarch/memcpy.S: Likewise.
73247         * sysdeps/x86_64/multiarch/memcpy_chk.S: Likewise.
73248         * sysdeps/x86_64/multiarch/memmove.c: Likewise.
73249         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
73250         * sysdeps/x86_64/multiarch/mempcpy.S: Likewise.
73251         * sysdeps/x86_64/multiarch/mempcpy_chk.S: Likewise.
73252         * sysdeps/x86_64/multiarch/memset.S: Likewise.
73253         * sysdeps/x86_64/multiarch/memset_chk.S: Likewise.
73254         * sysdeps/x86_64/multiarch/rawmemchr.S: Likewise.
73255         * sysdeps/x86_64/multiarch/stpcpy.S: Likewise.
73256         * sysdeps/x86_64/multiarch/stpncpy.S: Likewise.
73257         * sysdeps/x86_64/multiarch/strcasecmp_l.S: Likewise.
73258         * sysdeps/x86_64/multiarch/strcasestr-c.c: Likewise.
73259         * sysdeps/x86_64/multiarch/strcat.S: Likewise.
73260         * sysdeps/x86_64/multiarch/strchr.S: Likewise.
73261         * sysdeps/x86_64/multiarch/strcmp.S: Likewise.
73262         * sysdeps/x86_64/multiarch/strcpy.S: Likewise.
73263         * sysdeps/x86_64/multiarch/strcspn.S: Likewise.
73264         * sysdeps/x86_64/multiarch/strlen.S: Likewise.
73265         * sysdeps/x86_64/multiarch/strncase_l.S: Likewise.
73266         * sysdeps/x86_64/multiarch/strncat.S: Likewise.
73267         * sysdeps/x86_64/multiarch/strncmp.S: Likewise.
73268         * sysdeps/x86_64/multiarch/strncpy.S: Likewise.
73269         * sysdeps/x86_64/multiarch/strnlen.S: Likewise.
73270         * sysdeps/x86_64/multiarch/strpbrk.S: Likewise.
73271         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
73272         * sysdeps/x86_64/multiarch/strspn.S: Likewise.
73273         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
73274         * sysdeps/x86_64/multiarch/wcscpy.S: Likewise.
73275         * sysdeps/x86_64/multiarch/wmemcmp.S: Likewise.
73277         * sysdeps/i386/i686/multiarch/bcopy.S (__bcopy_ia32): Make it
73278         global and hidden.
73279         * sysdeps/i386/i686/multiarch/bzero.S (__bzero_ia32): Likewise.
73280         * sysdeps/i386/i686/multiarch/memcmp.S (__memcmp_ia32): Likewise.
73281         * sysdeps/i386/i686/multiarch/memcpy.S (__memcpy_ia32): Likewise.
73282         * sysdeps/i386/i686/multiarch/memmove.S (__memmove_ia32):
73283         Likewise.
73284         * sysdeps/i386/i686/multiarch/mempcpy.S (__mempcpy_ia32):
73285         Likewise.
73286         * sysdeps/i386/i686/multiarch/strcat.S (STRCAT_IA32): Likewise.
73287         * sysdeps/i386/i686/multiarch/strcmp.S (__STRCMP_IA32): Likewise.
73288         * sysdeps/i386/i686/multiarch/strcpy.S (STRCPY_IA32): Likewise.
73289         * sysdeps/i386/i686/multiarch/bcopy.S: Add comments for
73290         ifunc-impl-list.c.
73291         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
73292         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
73293         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
73294         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
73295         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
73296         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
73297         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
73298         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
73299         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
73300         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
73301         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
73302         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
73303         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
73304         * sysdeps/i386/i686/multiarch/stpcpy.S: Likewise.
73305         * sysdeps/i386/i686/multiarch/stpncpy.S: Likewise.
73306         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
73307         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: Likewise.
73308         * sysdeps/i386/i686/multiarch/strcasestr-c.c: Likewise.
73309         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
73310         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
73311         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
73312         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
73313         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
73314         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
73315         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
73316         * sysdeps/i386/i686/multiarch/strncase_l.S: Likewise.
73317         * sysdeps/i386/i686/multiarch/strncat.S: Likewise.
73318         * sysdeps/i386/i686/multiarch/strncmp.S: Likewise.
73319         * sysdeps/i386/i686/multiarch/strncpy.S: Likewise.
73320         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
73321         * sysdeps/i386/i686/multiarch/strpbrk.S: Likewise.
73322         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
73323         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
73324         * sysdeps/i386/i686/multiarch/strstr-c.c: Likewise.
73325         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
73326         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
73327         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
73328         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
73329         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
73330         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
73331         * sysdeps/i386/i686/multiarch/ifunc-impl-list.c: New file.
73333         * Rules [$(multi-arch) = no] (tests): Filter out $(tests-ifunc).
73334         [$(multi-arch) = no] (xtests): Filter out $(xtests-ifunc).
73335         * include/ifunc-impl-list.h: New file.
73336         * misc/ifunc-impl-list.c: Likewise.
73337         * misc/Makefile (routines): Add ifunc-impl-list.
73338         * misc/Versions (GLIBC_PRIVATE): Add __libc_ifunc_impl_list.
73339         * string/test-string.h: Include <ifunc-impl-list.h>.
73340         (func_list, func_count, impl_count, impl_array) [TEST_IFUNC &&
73341         TEST_NAME]: New variables.
73342         (FOR_EACH_IMPL): Support func_list if TEST_IFUNC and TEST_NAME
73343         are defined.
73344         (test_init): Call __libc_ifunc_impl_list to initialize
73345         func_list if TEST_IFUNC and TEST_NAME are defined.
73347         * string/Makefile (strop-tests): Add bcopy and bzero.
73348         * string/test-bcopy.c: New file.
73349         * string/test-bzero.c: Likewise.
73350         * string/test-memmove.c: Support bcopy test if TEST_BCOPY is
73351         defined.
73352         * string/test-memset.c: Support bzero test if TEST_BZERO is
73353         defined.
73354         * sysdeps/x86_64/multiarch/bcopy.S (bcopy): Jump to
73355         __libc_memmove.
73356         * sysdeps/x86_64/multiarch/bzero.S (__bzero): Jump to
73357         __libc_memset.
73358         * sysdeps/x86_64/multiarch/memset.S (__libc_memset): New alias
73359         of memset.
73361 2012-10-10  Joseph Myers  <joseph@codesourcery.com>
73363         * configure.in: Run $CXX, not cc1plus, to locate C++ headers.
73364         * configure: Regenerated.
73366         * Makeconfig (+link-static-before-libc): Don't include
73367         $(link-static-libc).
73369         * libio/libio.h (_IO_pos_t): Remove.
73371 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
73373         * NEWS: Add note about FIPS mode.  Wording suggested by Roland
73374         McGrath.
73376 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
73378         * crypt/crypt-entry.c: Include fips-private.h.
73379         (__crypt_r, __crypt): Disable MD5 and DES if FIPS is enabled.
73380         * crypt/md5c-test.c (main): Tolerate disabled MD5.
73381         * sysdeps/unix/sysv/linux/fips-private.h: New file.
73382         * sysdeps/generic/fips-private.h: New file, dummy fallback.
73384 2012-10-10  Alexandre Oliva <aoliva@redhat.com>
73386         * crypt/crypt-private.h: Include stdbool.h.
73387         (_ufc_setup_salt_r): Return bool.
73388         * crypt/crypt-entry.c: Include errno.h.
73389         (__crypt_r): Return NULL with EINVAL for bad salt.
73390         * crypt/crypt_util.c (bad_for_salt): New.
73391         (_ufc_setup_salt_r): Check that salt is long enough and within
73392         the specified alphabet.
73393         * crypt/badsalttest.c: New file.
73394         * crypt/Makefile (tests): Add it.
73395         ($(objpfx)badsalttest): New.
73397 2012-10-09  Maxim Kuvyrkov  <maxim@codesourcery.com>
73399         * NEWS: Add entry for BZ #14602.
73401 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
73403         * math/gen-libm-test.pl (parse_args): Handle comparison macros as
73404         type-generic.
73405         * math/libm-test.inc: Update comment listing what functions and
73406         macros are tested.
73407         (isgreater_test): New function.
73408         (isgreaterequal_test): Likewise.
73409         (isless_test): Likewise.
73410         (islessequal_test): Likewise.
73411         (islessgreater_test): Likewise.
73412         (isunordered_test): Likewise.
73413         (main): Call the new functions.
73415 2012-10-09  Roland McGrath  <roland@hack.frob.com>
73417         * aclocal.m4 (GLIBC_PROVIDES): Provide _AS_BASENAME_PREPARE,
73418         _AS_ME_PREPARE, _AS_VAR_ARITH_PREPARE, AS_SHELL_FN_as_fn_set_status,
73419         AS_SHELL_FN_as_fn_exit, AS_SHELL_FN_ac_fn_c_try_compile.
73420         * sysdeps/i386/configure: Regenerated.
73421         * sysdeps/ieee754/ldbl-opt/configure: Regenerated.
73422         * sysdeps/mach/configure: Regenerated.
73423         * sysdeps/mach/hurd/configure: Regenerated.
73424         * sysdeps/powerpc/configure: Regenerated.
73425         * sysdeps/powerpc/powerpc32/configure: Regenerated.
73426         * sysdeps/powerpc/powerpc64/configure: Regenerated.
73427         * sysdeps/s390/s390-32/configure: Regenerated.
73428         * sysdeps/s390/s390-64/configure: Regenerated.
73429         * sysdeps/sh/configure: Regenerated.
73430         * sysdeps/sparc/configure: Regenerated.
73431         * sysdeps/unix/sysv/linux/configure: Regenerated.
73432         * sysdeps/unix/sysv/linux/powerpc/configure: Regenerated.
73433         * sysdeps/x86_64/configure: Regenerated.
73435         * dlfcn/dlerror.c (check_free): Call _dl_addr only if SHARED is
73436         defined.  Don't check if MAP is NULL.
73438 2012-10-09  Joseph Myers  <joseph@codesourcery.com>
73440         * sysdeps/generic/_G_config.h (_G_off64_t): Remove.
73441         (_G_stat64): Likewise.
73442         * sysdeps/unix/sysv/linux/_G_config.h (_G_off64_t): Remove.
73443         (_G_stat64): Likewise.
73444         * libio/filedoalloc.c (_IO_file_doallocate): Use struct stat64
73445         instead of struct _G_stat64.
73446         * libio/fileops.c (mmap_remap_check): Likewise.
73447         (decide_maybe_mmap): Likewise.
73448         (_IO_new_file_seekoff): Likewise.
73449         (_IO_file_stat): Likewise.
73450         * libio/libio.h (_IO_off64_t): Define to __off64_t, not
73451         _G_off64_t.
73452         * libio/oldfileops.c (_IO_old_file_seekoff): Use struct stat64
73453         instead of struct _G_stat64.
73454         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
73456 2012-10-08  Maxim Kuvyrkov  <maxim@codesourcery.com>
73458         [BZ #14602]
73459         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
73460         Replace with ...
73461         (CHECK_EOL): New macro.
73462         (two_way_short_needle): Check beginning of haystack for EOL.  Use
73463         CHECK_EOL.
73464         * string/strcasestr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
73465         Replace with CHECK_EOL.
73466         * string/strstr.c (AVAILABLE1, AVAILABLE2, AVAILABLE1_USES_J):
73467         Replace with CHECK_EOL.
73469 2012-10-08  Joseph Myers  <joseph@codesourcery.com>
73471         * math/gen-libm-test.pl (parse_args): Handle isinf and isnan as
73472         type-generic.
73473         * math/libm-test.inc: Update comment listing what functions and
73474         macros are tested.
73475         (finite_test): New function.
73476         (isinf_test): Likewise.
73477         (isnan_test): Likewise.
73478         (fpclassify_test): Test subnormal input.
73479         (isfinite_test): Likewise.
73480         (isnormal_test): Likewise.
73481         (main): Call the new functions.
73483 2012-10-08  Jonathan Nieder  <jrnieder@gmail.com>
73485         [BZ #14660]
73486         * Makerules (%.dynsym): Force C locale when running
73487         $(OBJDUMP) --dynamic-syms.
73489 2012-10-08  Andreas Schwab  <schwab@linux-m68k.org>
73491         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Include
73492         <stdint.h>.
73494 2012-10-06  David S. Miller  <davem@davemloft.net>
73496         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: On 32-bit, clear
73497         upper 32-bits of the length value in %o2 since we use branch-on-register
73498         tests which consider the entire 64-bit register.
73500 2012-10-06  H.J. Lu  <hongjiu.lu@intel.com>
73502         * string/test-strstr.c (check2): Add a test for page boundary.
73504 2012-10-05  David S. Miller  <davem@davemloft.net>
73506         * sysdeps/sparc/sparc64/multiarch/memset-niagara4.S: New file.
73507         * sysdeps/sparc/sparc32/sparcv9/multiarch/memset-niagara4.S: New
73508         file.
73509         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
73510         sysdep_routines.
73511         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
73512         * sysdeps/sparc/sparc64/multiarch/memset.S: Use Niagara-4 memset
73513         and bzero when HWCAP_SPARC_CRYPTO is present.
73515 2012-10-05  H.J. Lu  <hongjiu.lu@intel.com>
73517         [BZ #14602]
73518         * string/test-strstr.c (check2): New function.
73519         (test_main): Call check2.
73521         * string/Makefile (tests): Remove bug-strstr1, bug-strcasestr1
73522         and bug-strchr1.
73523         * string/bug-strcasestr1.c (do_test): Moved to ...
73524         * string/test-strcasestr.c (check1): Here.  New function.
73525         (do_one_test): Break out result checking code into ...
73526         (check_result): This.  New function.
73527         (do_one_test): Call check_result.
73528         (test_main): Call check1.
73529         * string/bug-strchr1.c (do_test): Moved to ...
73530         * string/test-strchr.c (check1): Here.  New function.
73531         (do_one_test): Break out result checking code into ...
73532         (check_result): This.  New function.
73533         (do_one_test): Call check_result.
73534         (test_main): Call check1.
73535         * string/bug-strstr1.c (main): Moved to ...
73536         * string/test-strstr.c (check1): Here.  New function.
73537         (do_one_test): Break out result checking code into ...
73538         (check_result): This.  New function.
73539         (do_one_test): Call check_result.
73540         (test_main): Call check1.
73541         * string/bug-strcasestr1.c: Removed.
73542         * string/bug-strchr1.c: Likewise.
73543         * string/bug-strstr1.c: Likewise.
73545         * elf/Makefile (dl-routines): Add hwcaps.
73546         * elf/dl-support.c (_dl_important_hwcaps): Removed.
73547         * elf/dl-sysdep.c (_DL_FIRST_EXTRA): Likewise.
73548         (_dl_important_hwcaps): Moved to ...
73549         * elf/dl-hwcaps.c: Here.  New file.
73550         * sysdeps/mach/hurd/dl-sysdep.c (_dl_important_hwcaps): Removed.
73552         [BZ #14557]
73553         * elf/setup-vdso.h (setup_vdso): Set GL(dl_nns) to 1 for vDSO
73554         if IS_IN_rtld isn't defined.
73556         * elf/dl-support.c (_dl_sysinfo_map): New.
73557         Include "get-dynamic-info.h" and "setup-vdso.h".
73558         (_dl_non_dynamic_init): Call setup_vdso.
73559         * elf/dynamic-link.h: Don't include <assert.h>.
73560         (elf_get_dynamic_info): Moved to ...
73561         * elf/get-dynamic-info.h: Here.  New file.
73562         * elf/dynamic-link.h: Include "get-dynamic-info.h".
73563         * elf/rtld.c (dl_main): Break out vDSO setup code into ...
73564         * elf/setup-vdso.h: Here.  New file.
73565         * elf/rtld.c: Include "setup-vdso.h".
73566         (dl_main): Call setup_vdso.
73568 2012-10-05  Joseph Myers  <joseph@codesourcery.com>
73570         * math/libm-test.inc: List nexttoward, cimag, clog10, conf and
73571         creal in comment listing functions tested.  List finite, isinf,
73572         isnan, isless, islessequal, isgreater, isgreaterequal,
73573         islessgreater, isunordered, lgamma_r and pow10 as functions and
73574         macros not tested.  Mention which functions not tested are aliases
73575         for other functions.  Fix typo.  Note that signs of NaNs are not
73576         tested.
73578         * scripts/config.guess: Update from config.git.
73579         * scripts/config.sub: Likewise.
73581 2012-10-04  Roland McGrath  <roland@hack.frob.com>
73583         * misc/Versions (GLIBC_PRIVATE): New set, add __madvise.
73584         * misc/madvise.c (madvise): Renamed to __madvise.
73585         Make madvise a weak alias.
73586         * include/sys/mman.h: Declare __madvise.
73587         Replace libc_hidden_proto (madvise) with libc_hidden_proto (__madvise).
73588         * sysdeps/unix/syscalls.list
73589         (madvise): Make __madvise the strong name, and madvise a weak alias.
73590         * sysdeps/unix/sysv/linux/syscalls.list
73591         (madvise, mmap): Remove redundant entries.
73592         * malloc/arena.c (shrink_heap): Use __madvise, not madvise.
73593         * malloc/malloc.c (mtrim): Likewise.
73594         * sysdeps/mach/hurd/malloc-machine.h (madvise): Renamed to __madvise.
73596 2012-10-03  Roland McGrath  <roland@hack.frob.com>
73598         * sysdeps/mach/hurd/dl-cache.c: File removed.
73599         * config.h.in (USE_LDCONFIG): New #undef.
73600         * configure.in (use_ldconfig): If set, define USE_LDCONFIG.
73601         * configure: Regenerated.
73602         * elf/Makefile (dl-routines): Add dl-cache only under
73603         [$(use-ldconfig) = yes].
73604         * elf/dl-load.c (_dl_map_object): Conditionalize code consulting the
73605         cache on [USE_LDCONFIG].
73606         * elf/dl-open.c (_dl_open): Call _dl_unload_cache only under
73607         [USE_LDCONFIG].
73608         * elf/rtld.c (dl_main): Likewise.
73610 2012-10-03  Pino Toscano  <toscano.pino@tiscali.it>
73612         * sysdeps/posix/sysconf.c (__sysconf): Return 0 also for
73613         _SC_LEVEL4_CACHE_LINESIZE.
73615 2012-10-03  Roland McGrath  <roland@hack.frob.com>
73617         * sysdeps/unix/bsd/confstr.h: File removed.
73619 2012-10-02  Alexandre Oliva <aoliva@redhat.com>
73621         * scripts/check-local-headers.sh: Exclude sys/sdt.h and
73622         sys/sdt-config.h.
73624 2012-10-02  Roland McGrath  <roland@hack.frob.com>
73626         * elf/dl-load.c (_dl_map_object_from_fd: struct loadcmd):
73627         Make 'mapoff' field ElfW(Off) rather than off_t.
73629 2012-10-02  Dmitry V. Levin  <ldv@altlinux.org>
73631         * nscd/Makefile: Remove nscd-cflags and all its users.
73632         (CPPFLAGS-nonlib): Add preprocessor flags for nscd modules.
73633         (CFLAGS-nonlib): Add compiler flags for nscd modules.
73635         [BZ #10631]
73636         * malloc.c (malloc_printerr): Clarify error message.
73638 2012-10-02  H.J. Lu  <hongjiu.lu@intel.com>
73640         [BZ #14648]
73641         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
73642         Set bit_FMA_Usable if FMA is supported.
73643         * sysdeps/x86_64/multiarch/init-arch.h (bit_FMA_Usable): New
73644         macro.
73645         (bit_FMA4_Usable): Updated.
73646         (index_FMA_Usable): New macro.
73647         (CPUID_FMA): Likewise.
73648         (HAS_FMA): Defined with bit_FMA_Usable.
73650 2012-10-01  Roland McGrath  <roland@hack.frob.com>
73652         * bits/types.h (__swblk_t): Type removed.
73653         * bits/typesizes.h (__SWBLK_T_TYPE): Macro removed.
73654         * sysdeps/mach/hurd/bits/typesizes.h (__SWBLK_T_TYPE): Likewise.
73655         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
73656         (__SWBLK_T_TYPE): Likewise.
73657         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
73658         (__SWBLK_T_TYPE): Likewise.
73659         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
73660         (__SWBLK_T_TYPE): Likewise.
73661         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
73662         (__SWBLK_T_TYPE): Likewise.
73664 2012-10-01  Patsy Franklin <pfrankli@redhat.com>
73665             Honza Horak <hhorak@redhat.com>
73667         * nis/yp_xdr.c (xdr_domainname): Use YPMAXDOMAIN as maxsize.
73668         (xdr_mapname): Use YPMAXMAP as maxsize.
73669         (xdr_peername): Use YPMAXPEER as maxsize.
73670         (xdr_keydat): Use YPAXRECORD as maxsize.
73671         (xdr_valdat): Use YPMAXRECORD as maxsize.
73673 2012-10-01  Roland McGrath  <roland@hack.frob.com>
73675         * io/openat.c [!__ASSUME_ATFCTS] (__have_atfcts): New global variable.
73677         * sysdeps/unix/sysv/linux/init-first.c: Moved to ...
73678         * csu/init-first.c: ... here.
73679         * sysdeps/unix/sysv/linux/powerpc/init-first.c: Update #include.
73680         * sysdeps/unix/sysv/linux/s390/init-first.c: Likewise.
73681         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Likewise.
73682         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: Likewise.
73683         * sysdeps/i386/init-first.c: File removed.
73684         * sysdeps/sh/init-first.c: File removed.
73686 2012-10-01  Joseph Myers  <joseph@codesourcery.com>
73688         [BZ #14645]
73689         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Compute result as x * y
73690         if x * y might underflow to zero and z is zero.
73691         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Likewise.
73692         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
73693         * math/libm-test.inc (min_subnorm_value): New variable.
73694         (fma_test): Add more tests.
73695         (fma_test_towardzero): Likewise.
73696         (fma_test_downward): Likewise.
73697         (fma_test_upward): Likewise.
73698         (initialize): Set min_subnorm_value.
73700 2012-09-29  Joseph Myers  <joseph@codesourcery.com>
73702         [BZ #14638]
73703         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use x * y + z for exact
73704         0 + 0.
73705         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Use original rounding
73706         mode for addition resulting in exact zero.
73707         * sysdeps/ieee754/ldbl-128/s_fma.c (__fma): Likewise.
73708         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Use x * y + z for
73709         exact 0 + 0.
73710         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Likewise.
73711         * sysdeps/ieee754/ldbl-96/s_fmal.c (__fmal): Likewise.
73712         * math/libm-test.inc (fma_test): Add more tests.
73713         (fma_test_towardzero): New function.
73714         (fma_test_downward): Likewise.
73715         (fma_test_upward): Likewise.
73716         (main): Call the new functions.
73718 2012-09-28  David S. Miller  <davem@davemloft.net>
73720         * sysdeps/sparc/fpu/libm-test-ulps: Fix garbage in file.
73722 2012-09-28  Roland McGrath  <roland@hack.frob.com>
73724         * sysdeps/posix/sleep.c (__sleep): Rewritten using __nanosleep
73725         instead of SIGALRM.
73727         * sysdeps/gnu/_G_config.h: Moved to ...
73728         * sysdeps/unix/sysv/linux/_G_config.h: ... here.
73729         * sysdeps/mach/hurd/_G_config.h: Moved to ...
73730         * sysdeps/generic/_G_config.h: ... here.
73732         * io/open.c (__open): Renamed to __libc_open.  Make __open an alias.
73734         * posix/Makefile ($(objpfx)config-name.h): Do $(make-target-directory).
73736         * nss/Makefile ($(objpfx)/libnss_test1.so$(libnss_test1.so-version)):
73737         Conditionalize target on [libnss_test1.so-version].
73739         * elf/dl-sysdep.c: Conditionalize whole contents on [SHARED].
73741         * Makeconfig (nssobjdir, resolvobjdir): Remove variables.
73742         (elfobjdir): Move out of conditionals.
73744         * nss/nsswitch.c (nss_new_service): Conditionalize definition and
73745         declaration on [!DO_STATIC_NSS || SHARED], matching its only caller.
73746         (__nss_lookup_function): Conditionalize label remove_from_tree on
73747         [!DO_STATIC_NSS || SHARED], matching its only use.
73749 2012-09-28  David S. Miller  <davem@davemloft.net>
73751         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara4.S: New file.
73752         * sysdeps/sparc/sparc32/sparcv9/multiarch/memcpy-niagara4.S: New
73753         file.
73754         * sysdeps/sparc/sparc64/multiarch/Makefile: Add to
73755         sysdep_routines.
73756         * sysdeps/sparc/sparc32/sparcv9/multiarch/Makefile: Likewise.
73757         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use Niagara-4 memcpy
73758         when HWCAP_SPARC_CRYPTO is present.
73760 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
73762         * io/tst-mknodat.c: Create a FIFO instead of a socket.
73764 2012-09-28  Andreas Schwab  <schwab@linux-m68k.org>
73766         [BZ #6530]
73767         * stdio-common/vfprintf.c (process_string_arg): Revert
73768         2000-07-22 change.
73770 2011-09-28  Jonathan Nieder  <jrnieder@gmail.com>
73772         * stdio-common/Makefile (tst-sprintf-ENV): Set environment
73773         for testcase.
73774         * stdio-common/tst-sprintf.c: Include <locale.h>
73775         (main): Test sprintf's handling of incomplete multibyte
73776         characters.
73778 2012-09-28  H.J. Lu  <hongjiu.lu@intel.com>
73780         * elf/dl-runtime.c (VERSYMIDX): Removed.
73781         * elf/dl-version.c (VERSYMIDX): Likewise.
73782         * elf/do-rel.h (VERSYMIDX): Likewise.
73783         (VALIDX): Likewise.
73784         * elf/dynamic-link.h (VERSYMIDX): Likewise.
73785         * elf/rtld.c (VALIDX): Likewise.
73786         (ADDRIDX): Likewise.
73787         * sysdeps/sparc/sparc32/dl-machine.h (VALIDX): Likewise.
73788         * sysdeps/sparc/sparc64/dl-machine.h (VALIDX): Likewise.
73789         * sysdeps/x86_64/dl-tlsdesc.h (ADDRIDX): Likewise.
73790         * sysdeps/generic/ldsodefs.h (VERSYMIDX): New macro.
73791         (VALIDX): Likewise.
73792         (ADDRIDX): Likewise.
73794 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
73796         * sysdeps/pthread/aio_fsync.c: Fix the file mode checking.
73798 2012-09-28  Dmitry V. Levin  <ldv@altlinux.org>
73800         [BZ #11438]
73801         * sysdeps/posix/getaddrinfo.c (default_scopes): Map RFC 1918 addresses
73802         to global scope.
73803         * posix/tst-rfc3484.c: Verify 10/8, 172.16/12 and 196.128/16
73804         addresses are in the same scope as 192.0.2/24.
73805         * posix/gai.conf: Document new scope table defaults.
73807 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
73809         [BZ #5298]
73810         * libio/fileops.c (_IO_new_file_seekoff): Don't flush buffer
73811         for ftell.  Compute offsets from write pointers instead.
73812         * libio/wfileops.c (_IO_wfile_seekoff): Likewise.
73814 2012-09-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
73816         [BZ #14543]
73817         * libio/Makefile (tests): New test case tst-fseek.
73818         * libio/tst-fseek.c: New test case to verify that fseek/ftell
73819         combination works in wide mode.
73820         * libio/wfileops.c (_IO_wfile_seekoff): Adjust internal buffer
73821         state when the external buffer state changes.
73823 2012-09-27  David S. Miller  <davem@davemloft.net>
73825         [BZ #14376]
73826         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Do not
73827         pass reloc->r_addend in as the 'high' argument to
73828         sparc64_fixup_plt when handling R_SPARC_JMP_IREL relocations.
73830         * sysdeps/sparc/fpu/libm-test-ulps: Update.
73832 2012-09-28  Pino Toscano  <toscano.pino@tiscali.it>
73834         * rt/tst-aio2.c: Include <pthread.h>.
73835         * rt/tst-aio3.c: Likewise.
73837 2012-09-27  Steve Ellcey  <sellcey@mips.com>
73839         * sysdeps/ieee754/ldbl-128/bits/huge_vall.h: Remove.
73841 2012-09-27  H.J. Lu  <hongjiu.lu@intel.com>
73843         * sysdeps/x86_64/multiarch/strncmp-ssse3.S: Conditionalize
73844         contents on [SHARED].
73846 2012-09-26  Marek Polacek  <polacek@redhat.com>
73848         [BZ #14530]
73849         [BZ #13741]
73850         * misc/sys/cdefs.h: Define __extern_inline and __extern_always_inline
73851         for C++ and GCC <4.3 as well as for non GCC compilers.
73853 2012-09-26  Markus Trippelsdorf  <markus@trippelsdorf.de>
73855         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73857 2012-09-25  Roland McGrath  <roland@hack.frob.com>
73859         * Makefile.in (all, install): Declare with .PHONY.
73860         Reported by Michael Hope <michael.hope@linaro.org>.
73862 2012-09-25  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
73864         * manual/platform.texi (PowerPC): Document __ppc_get_timebase_freq.
73865         * sysdeps/powerpc/sys/platform/ppc.h: Include the operating
73866         system header.
73867         * sysdeps/unix/sysv/linux/powerpc/Makefile (sysdep_headers):
73868         Likewise.
73869         (sydep_routines): Add the new and the internal functions.
73870         * sysdeps/unix/sysv/linux/powerpc/bits/ppc.h: New file.
73871         * sysdeps/unix/sysv/linux/powerpc/get_timebase_freq.c: Likewise.
73872         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Versions
73873         (GLIBC_2.17): Add the new function.
73874         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
73875         (GLIBC_2.17): Likewise.
73876         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Versions
73877         (GLIBC_2.17): Likewise.
73878         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist
73879         (GLIBC_2.17): Likewise.
73880         * sysdeps/unix/sysv/linux/powerpc/test-gettimebasefreq.c: New file.
73882 2012-09-25  Alan Modra  <amodra@gmail.com>
73884         * sysdeps/unix/sysv/linux/powerpc/pthread_once.c (__pthread_once):
73885         Add release barrier before setting once_control to say
73886         initialisation is done.  Add hints on lwarx.  Use macro in
73887         place of isync.
73888         (clear_once_control): Add release barrier.
73890 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
73892         [BZ #13629]
73893         * math/s_clog.c (__clog): Handle more values close to |z| = 1
73894         specially.
73895         * math/s_clog10.c (__clog10): Likewise.
73896         * math/s_clog10f.c (__clog10f): Likewise.
73897         * math/s_clog10l.c (__clog10l): Likewise.
73898         * math/s_clogf.c (__clogf): Likewise.
73899         * math/s_clogl.c (__clogl): Likewise.
73900         * math/Makefile (libm-calls): Add x2y2m1.
73901         * sysdeps/generic/math_private.h (__x2y2m1f): Declare.
73902         (__x2y2m1): Likewise.
73903         (__x2y2m1l): Likewise.
73904         * sysdeps/ieee754/dbl-64/x2y2m1.c: New file.
73905         * sysdeps/ieee754/dbl-64/x2y2m1f.c: Likewise.
73906         * sysdeps/ieee754/ldbl-128/x2y2m1l.c: Likewise.
73907         * sysdeps/ieee754/ldbl-128ibm/x2y2m1l.c: Likewise.
73908         * sysdeps/ieee754/ldbl-96/x2y2m1.c: Likewise.
73909         * sysdeps/ieee754/ldbl-96/x2y2m1l.c: Likewise.
73910         * math/libm-test.inc (clog_test, clog10_test): Add more tests.
73911         * sysdeps/i386/fpu/libm-test-ulps: Update.
73912         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
73914         [BZ #14621]
73915         * posix/glob.c (next_brace_sub): Use size_t instead of unsigned
73916         int as type of variable DEPTH.
73917         (glob): Use size_t instead of int as type of variables NEWCOUNT
73918         and OLD_PATHC.
73920 2012-09-25  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
73922         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
73923         Add s_sincosf-sse2.
73924         * sysdeps/i386/i686/fpu/multiarch/s_sincosf.c: New file.
73925         * sysdeps/i386/i686/fpu/multiarch/s_sincosf-sse2.S: New file.
73926         * sysdeps/ieee754/flt-32/s_sincosf.c (SINCOSF, SINCOSF_FUNC): Add
73927         macros for using routine as __sincosf_ia32.
73928         Use macro for function declaration and weak_alias.
73929         * sysdeps/i386/fpu/libm-test-ulps: Update.
73931         * sysdeps/x86_64/fpu/s_sincosf.S: New file.
73932         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
73934         * math/s_ccoshf.c (__ccoshf): Fix wrong usage of sincos for
73935         subnormal argument.
73936         * math/s_cexpf.c (__cexpf): Likewise.
73937         * math/s_csinf.c (__csinf): Likewise.
73938         * math/s_csinhf.c (__csinhf): Likewise.
73939         * math/s_ctanf.c (__ctanf): Likewise.
73940         * math/s_ctanhf.c (__ctanhf): Likewise.
73941         * math/s_ccosh.c (__ccoshf): Likewise.
73942         * math/s_cexp.c (__cexpl): Likewise.
73943         * math/s_csin.c (__csin): Likewise.
73944         * math/s_csinh.c (__csinh): Likewise.
73945         * math/s_ctan.c (__ctan): Likewise.
73946         * math/s_ctanh.c (ctanh): Likewise.
73947         * math/s_ccoshl.c (__ccoshl): Likewise.
73948         * math/s_cexpl.c (__cexpl): Likewise.
73949         * math/s_csinl.c (__csinl): Likewise.
73950         * math/s_csinhl.c (__csinhl): Likewise.
73951         * math/s_ctanl.c (__ctanl): Likewise.
73952         * math/s_ctanhl.c (__ctanhl): Likewise.
73954 2012-09-25  Joseph Myers  <joseph@codesourcery.com>
73956         * libio/libio.h (_IO_size_t): Define to size_t, not _G_size_t.
73957         (_IO_ssize_t): Define to __ssize_t, not _G_ssize_t.
73958         (_IO_off_t): Define to __off_t, not _G_off_t.
73959         (_IO_pid_t): Define to __pid_t, not _G_pid_t.
73960         (_IO_uid_t): Define to __uid_t, not _G_uid_t.
73961         (_IO_wint_t): Define to wint_t, not _G_wint_t.
73962         * libio/libioP.h (struct _IO_jump_t): Use size_t not _G_size_t as
73963         type of __dummy and __dummy2 fields.
73964         * sysdeps/generic/_G_config.h (_G_size_t): Remove.
73965         (_G_ssize_t): Likewise.
73966         (_G_off_t): Likewise.
73967         (_G_pid_t): Likewise.
73968         (_G_uid_t): Likewise.
73969         (_G_wchar_t): Likewise.
73970         (_G_wint_t): Likewise.
73971         * sysdeps/gnu/_G_config.h (_G_size_t): Remove.
73972         (_G_ssize_t): Likewise.
73973         (_G_off_t): Likewise.
73974         (_G_pid_t): Likewise.
73975         (_G_uid_t): Likewise.
73976         (_G_wchar_t): Likewise.
73977         (_G_wint_t): Likewise.
73978         * sysdeps/mach/hurd/_G_config.h (_G_size_t): Remove.
73979         (_G_ssize_t): Likewise.
73980         (_G_off_t): Likewise.
73981         (_G_pid_t): Likewise.
73982         (_G_uid_t): Likewise.
73983         (_G_wchar_t): Likewise.
73984         (_G_wint_t): Likewise.
73986 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
73988         * malloc/arena.c: Include malloc-sysdep.h.
73989         (shrink_heap): Use check_may_shrink_heap to decide if madvise
73990         is sufficient to shrink the heap or an unmap is needed.
73991         * sysdeps/generic/malloc-sysdep.h: New file.  Define
73992         new function check_may_shrink_heap.
73993         * sysdeps/unix/sysv/linux/malloc-sysdep.h: New file.  Define
73994         new function check_may_shrink_heap.
73996 2012-09-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
73998         * libio/fileops.c (_IO_new_file_seekoff): Fix typos in
73999         comments.
74001 2012-09-24  Dmitry V. Levin  <ldv@altlinux.org>
74003         * catgets/test-gencat.sh: Add "set -e".
74004         * elf/tst-pathopt.sh: Likewise.
74005         * grp/tst_fgetgrent.sh: Likewise.
74006         * iconvdata/run-iconv-test.sh: Likewise.
74007         * intl/tst-gettext.sh: Likewise.
74008         * intl/tst-gettext2.sh: Likewise.
74009         * intl/tst-gettext4.sh: Likewise.
74010         * intl/tst-gettext6.sh: Likewise.
74011         * intl/tst-translit.sh: Likewise.
74012         * io/ftwtest-sh: Likewise.
74013         * libio/test-freopen.sh: Likewise.
74014         * malloc/tst-mtrace.sh: Likewise.
74015         * posix/globtest.sh: Likewise.
74016         * posix/tst-getconf.sh: Likewise.
74017         * posix/wordexp-tst.sh: Likewise.
74018         * stdio-common/tst-printf.sh: Likewise.
74019         * stdio-common/tst-unbputc.sh: Likewise.
74020         * stdlib/tst-fmtmsg.sh: Likewise.
74021         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
74022         * catgets/Makefile: Do not specify -e option when running
74023         testsuite shell scripts.
74024         * elf/Makefile: Likewise.
74025         * grp/Makefile: Likewise.
74026         * iconvdata/Makefile: Likewise.
74027         * intl/Makefile: Likewise.
74028         * io/Makefile: Likewise.
74029         * libio/Makefile: Likewise.
74030         * malloc/Makefile: Likewise.
74031         * posix/Makefile: Likewise.
74032         * stdio-common/Makefile: Likewise.
74033         * stdlib/Makefile: Likewise.
74034         * sysdeps/x86_64/Makefile: Likewise.
74036         * io/ftwtest-sh: Add copyright header.
74037         * posix/globtest.sh: Likewise.
74038         * posix/tst-getconf.sh: Likewise.
74039         * posix/wordexp-tst.sh: Likewise.
74040         * sysdeps/x86_64/tst-xmmymm.sh: Likewise.
74042 2012-09-24  H.J. Lu  <hongjiu.lu@intel.com>
74044         [BZ #13679]
74045         * Makeconfig (+link): Defined as $(+link-static) if
74046         $(build-shared) isn't yes.
74047         (link-tests): Defined as $(+link-static-tests) if $(build-shared)
74048         isn't yes.
74049         (static-gnulib): Add -lgcc_eh if $(build-shared) isn't yes.
74051         * Makeconfig (+postctorT): Replace crtendS.o with crtend.o.
74053         [BZ #14562]
74054         * malloc/arena.c (heap_trim): Properly get fencepost and adjust
74055         new chunk size with MALLOC_ALIGN_MASK.
74057 2012-09-24  Joseph Myers  <joseph@codesourcery.com>
74059         [BZ #5044]
74060         * stdio-common/printf_fphex.c: Include <stdbool.h> and
74061         <rounding-mode.h>.
74062         (__printf_fphex): Determine rounding using get_rounding_mode and
74063         round_away.
74064         * stdio-common/tst-printf-round.c (struct hex_test): New
74065         structure.
74066         (hex_tests): New variable.
74067         (test_hex_in_one_mode): New function.
74068         (do_test): Also run tests for hex float output.
74070 2012-09-21  Joseph Myers  <joseph@codesourcery.com>
74072         * libio/iopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
74073         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
74074         * libio/libio.h (_IO_HAVE_SYS_WAIT): Remove.
74075         * libio/oldiopopen.c [_IO_HAVE_SYS_WAIT]: Make code unconditional.
74076         [!_IO_HAVE_SYS_WAIT]: Remove conditional code.
74077         * sysdeps/generic/_G_config.h (_G_HAVE_SYS_WAIT): Remove.
74078         * sysdeps/gnu/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
74079         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_SYS_WAIT): Likewise.
74081 2012-09-20  Joseph Myers  <joseph@codesourcery.com>
74083         * libio/libio.h [_G_NEED_STDARG_H]: Make code unconditional.
74084         * sysdeps/generic/_G_config.h (_G_NEED_STDARG_H): Remove.
74085         * sysdeps/gnu/_G_config.h (_G_NEED_STDARG_H): Remove.
74086         * sysdeps/mach/hurd/_G_config.h (_G_NEED_STDARG_H): Remove.
74088 2012-09-19  Dmitry V. Levin  <ldv@altlinux.org>
74090         [BZ #14579]
74091         * elf/rtld.c (dl_main): Limit the check for self loading to normal
74092         mode only.
74093         * elf/tst-rtld-load-self.sh: New test.
74094         * elf/Makefile: Run it.
74096 2012-09-18  Joseph Myers  <joseph@codesourcery.com>
74098         * sysdeps/wordsize-64/Makefile [$(subdir) = misc]
74099         (tst-writev-ENV): Remove.
74100         * sysdeps/wordsize-64/tst-writev.c (TIMEOUT): Define.
74102 2012-09-17  Chris Metcalf  <cmetcalf@tilera.com>
74104         * crypt/md5test-giant.c (TIMEOUT): Increase to 8 minutes for tilegx.
74106 2012-09-17  Joseph Myers  <joseph@codesourcery.com>
74108         * libio/iogetline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]: Make code
74109         unconditional.
74110         * libio/iogetwline.c [_LIBC || !_G_HAVE_IO_GETLINE_INFO]:
74111         Likewise.
74112         * sysdeps/generic/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Remove.
74113         * sysdeps/gnu/_G_config.h (_G_HAVE_IO_GETLINE_INFO): Likewise.
74114         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_IO_GETLINE_INFO):
74115         Likewise.
74117 2012-09-14  H.J. Lu  <hongjiu.lu@intel.com>
74119         [BZ #14587]
74120         * Makeconfig (ASFLAGS): Remove $(have-cpp-asm-debuginfo) check.
74121         * config.make.in (have-cpp-asm-debuginfo): Removed.
74122         * configure.in: Don't substitute libc_cv_cpp_asm_debuginfo.
74123         * configure: Regenerated.
74125 2012-09-14  Joseph Myers  <joseph@codesourcery.com>
74127         [BZ #5044]
74128         * stdio-common/printf_fp.c: Include <stdbool.h> and
74129         <rounding-mode.h>.
74130         (___printf_fp): Determine rounding using get_rounding_mode and
74131         round_away.
74132         * stdio-common/tst-printf-round.c: New file.
74133         * stdio-common/Makefile (tests): Add tst-printf-round.
74134         (link-libm): New variable.
74135         ($(objpfx)tst-printf-round): Depend in $(link-libm).
74137 2012-09-13  H.J. Lu  <hongjiu.lu@intel.com>
74139         [BZ #14576]
74140         * bits/libc-lock.h (__rtld_lock_init_recursive): Removed.
74141         * sysdeps/mach/bits/libc-lock.h (__rtld_lock_init_recursive):
74142         Likewise.
74143         * sysdeps/mach/hurd/bits/libc-lock.h (__rtld_lock_init_recursive):
74144         Likewise.
74146 2012-09-13  Joseph Myers  <joseph@codesourcery.com>
74148         * libio/libio.h [!_G_HAVE_PRINTF_FP] (_IO_USE_DTOA): Remove.
74149         * sysdeps/generic/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
74150         * sysdeps/gnu/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
74151         * sysdeps/mach/hurd/_G_config.h (_G_HAVE_PRINTF_FP): Likewise.
74153 2012-09-12  Joseph Myers  <joseph@codesourcery.com>
74155         [BZ #14518]
74156         * include/rounding-mode.h: New file.
74157         * sysdeps/generic/get-rounding-mode.h: Likewise.
74158         * sysdeps/s390/fpu/get-rounding-mode.h: Likewise.
74159         * stdlib/strtod_l.c: Include <rounding-mode.h>.
74160         (MAX_VALUE): New macro.
74161         (MIN_VALUE): Likewise.
74162         (overflow_value): New function.
74163         (underflow_value): Likewise.
74164         (round_and_return): Use overflow_value and underflow_value to
74165         determine return values in overflow and underflow cases.  Use
74166         round_away to determine rounding depending on rounding mode.
74167         (____STRTOF_INTERNAL): Use overflow_value and underflow_value to
74168         determine return values in overflow and underflow cases.
74169         * stdlib/tst-strtod-round.c: Include <fenv.h>.
74170         (struct test_results): New structure.
74171         (struct test): Use struct test_results to store expected results
74172         for all rounding modes.
74173         (TEST): Include expected results for all rounding modes.
74174         (test_in_one_mode): New function.
74175         (do_test): Use test_in_one_mode to compute and check results.
74176         Check results for all rounding modes.
74177         * stdlib/Makefile ($(objpfx)tst-strtod-round): Depend on
74178         $(link-libm).
74180 2012-12-09  Allan McRae  <allan@archlinux.org>
74182         * sysdeps/i386/fpu/libm-test-ulps: Update
74184 2012-09-11  Joseph Myers  <joseph@codesourcery.com>
74186         * sysdeps/generic/_G_config.h (_G_int16_t): Remove.
74187         (_G_int32_t): Likewise.
74188         (_G_uint16_t): Likewise.
74189         (_G_uint32_t): Likewise.
74190         (_G_HAVE_BOOL): Likewise.
74191         (_G_HAVE_ATEXIT): Likewise.
74192         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
74193         (_G_HAVE_IO_FILE_OPEN): Likewise.
74194         * sysdeps/gnu/_G_config.h (_G_int16_t): Remove.
74195         (_G_int32_t): Likewise.
74196         (_G_uint16_t): Likewise.
74197         (_G_uint32_t): Likewise.
74198         (_G_HAVE_BOOL): Likewise.
74199         (_G_HAVE_ATEXIT): Likewise.
74200         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
74201         (_G_HAVE_IO_FILE_OPEN): Likewise.
74202         * sysdeps/mach/hurd/_G_config.h (_G_int16_t): Remove.
74203         (_G_int32_t): Likewise.
74204         (_G_uint16_t): Likewise.
74205         (_G_uint32_t): Likewise.
74206         (_G_HAVE_BOOL): Likewise.
74207         (_G_HAVE_ATEXIT): Likewise.
74208         (_G_HAVE_LONG_DOUBLE_IO): Likewise.
74209         (_G_HAVE_IO_FILE_OPEN): Likewise.
74211 2012-09-11  H.J. Lu  <hongjiu.lu@intel.com>
74213         * csu/libc-tls.c: Update copyright years.
74215 2012-09-10  Joseph Myers  <joseph@codesourcery.com>
74217         * libioP.h [_G_USING_THUNKS]: Make code unconditional.
74218         [!_G_USING_THUNKS]: Remove conditional code.
74219         * sysdeps/gnu/_G_config.h (_G_USING_THUNKS): Remove.
74220         * sysdeps/mach/hurd/_G_config.h (_G_USING_THUNKS): Likewise.
74222         * libio/libioP.h [__GNUC__] (VTABLE_LABEL): Remove.
74223         [!builtinbuf_vtable && __cplusplus] (builtinbuf_vtable): Likewise.
74224         * sysdeps/generic/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
74225         (_G_VTABLE_LABEL_PREFIX): Likewise.
74226         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
74227         * sysdeps/gnu/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
74228         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
74229         (_G_VTABLE_LABEL_PREFIX): Likewise.
74230         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
74231         * sysdeps/mach/hurd/_G_config.h (_G_NAMES_HAVE_UNDERSCORE): Remove.
74232         (_G_VTABLE_LABEL_HAS_LENGTH): Likewise.
74233         (_G_VTABLE_LABEL_PREFIX): Likewise.
74234         (_G_VTABLE_LABEL_PREFIX_ID): Likewise.
74236 2012-09-10  H.J. Lu  <hongjiu.lu@intel.com>
74238         * libio/Makefile: Include ../Makeconfig before tests.
74239         (tests): Add tst-fopenloc and depend on $(objpfx)tst-fopenloc.check
74240         only if $(build-shared) is yes.
74242         * iconv/gconv_db.c: Update copyright years.
74244 2012-09-10  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74246         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: Fix
74247         unwind info if defined PIC. Fix special cases description.
74248         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: Likewise.
74250         * sysdeps/x86_64/fpu/s_sinf.S: Fix special cases description, fix
74251         DP_HI_MASK entry.
74252         * sysdeps/x86_64/fpu/s_cosf.S: Likewise.
74254 2012-09-07  H.J. Lu  <hongjiu.lu@intel.com>
74256         * scripts/check-local-headers.sh: Add "shopt -s nullglob".
74258         * iconv/gconv_db.c (free_derivation): Check if deriv->steps
74259         is NULL.
74261         * debug/Makefile (LDFLAGS-tst-chk4): Renamed to ...
74262         (LDLIBS-tst-chk4): This.
74263         (LDFLAGS-tst-chk5): Renamed to ...
74264         (LDLIBS-tst-chk5): This.
74265         (LDFLAGS-tst-chk6): Renamed to ...
74266         (LDLIBS-tst-chk6): This.
74267         (LDFLAGS-tst-lfschk4): Renamed to ...
74268         (LDLIBS-tst-lfschk4): This.
74269         (LDFLAGS-tst-lfschk5): Renamed to ...
74270         (LDLIBS-tst-lfschk5): This.
74271         (LDFLAGS-tst-lfschk6): Renamed to ...
74272         (LDLIBS-tst-lfschk6): This.
74274         * Makefile ($(inst_includedir)/gnu/stubs.h): Remove dependency
74275         on $(common-objpfx)soversions.mk.
74277 2012-09-07  Joseph Myers  <joseph@codesourcery.com>
74279         [BZ #10014]
74280         * manual/examples/inetcli.c (SERVERHOST): Use www.gnu.org as
74281         example host name.
74283 2012-09-07  Siddhesh Poyarekar  <siddhesh@redhat.com>
74285         * malloc/arena.c (arena_get_retry): New function that gets
74286         another arena for the caller to try its request on.
74287         * malloc/malloc.c (__libc_malloc): Use get_another_arena if the
74288         current arena cannot fulfill the request.
74289         (__libc_memalign): Likewise.
74290         (__libc_memalign): Likewise.
74291         (__libc_pvalloc): Likewise.
74292         (__libc_calloc): Likewise.
74294 2012-09-05  John Tobey  <john.tobey@gmail.com>
74296         [BZ #13542]
74297         * manual/arith.texi (Operations on Complex): Fix description
74298         of carg branch cut.
74300 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
74302         [BZ #10014]
74303         * manual/socket.texi (Host Addresses): Use www.gnu.org as example
74304         host name.
74306         [BZ #10038]
74307         * manual/memory.texi (Memory): Make order of menu items match
74308         order of sections.
74310 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
74312         * elf/dl-tls.c (DL_INITIAL_DTV): Removed.
74313         (_dl_initial_dtv): New.  Defined if SHARED isn't defined.
74314         (_dl_deallocate_tls): Restore GL(dl_initial_dtv).
74316 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
74318         * csu/libc-tls.c (static_dtv): Renamed to ...
74319         (_dl_static_dtv): This.  Make it global.
74320         (_dl_initial_dtv): Removed.
74321         (__libc_setup_tls): Updated.
74322         * elf/dl-tls.c (DL_INITIAL_DTV): New macro.
74323         (_dl_deallocate_tls): Replace GL(dl_initial_dtv) with
74324         DL_INITIAL_DTV.
74326 2012-09-06  Petr Machata  <pmachata@redhat.com>
74328         * elf/elf.h (NT_S390_HIGH_GPRS): New macro.
74329         (NT_S390_TIMER, NT_S390_TODCMP, NT_S390_TODPREG): Likewise.
74330         (NT_S390_CTRS, NT_S390_PREFIX, NT_S390_LAST_BREAK): Likewise.
74331         (NT_S390_SYSTEM_CALL, NT_ARM_VFP): Likewise.
74333 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
74335         [BZ #14545]
74336         * csu/libc-tls.c (_dl_initial_dtv): New variable.
74337         * elf/dl-tls.c (_dl_deallocate_tls): Always check dtv before
74338         freeing dtv[-1].
74340 2012-09-06  H.J. Lu  <hongjiu.lu@intel.com>
74342         [BZ #14544]
74343         * Makeconfig (link-static-before-libc): Replace $(+prector)
74344         with $(+prectorT).
74345         (link-static-after-libc): Replace $(+postctor) with
74346         $(+postctorT).
74347         (link-bounded): Replace $(+prector)/$(+postctor) with
74348         $(+prectorT)/$(+postctorT).
74349         (+prectorT): New macro.
74350         (+postctorT): Likewise.
74352 2012-09-06  Joseph Myers  <joseph@codesourcery.com>
74354         * stdlib/gen-tst-strtod-round.c: Include <assert.h>.
74355         (round_str): Handle values above the maximum for IBM long double
74356         as inexact.
74357         * stdlib/tst-strtod-round.c (tests): Regenerated.
74359 2012-09-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74361         * sysdeps/s390/s390-32/multiarch/Makefile: Remove -mzarch
74362         assembler flag.
74363         * sysdeps/s390/s390-32/multiarch/memcmp.S: Use .machinemode
74364         zarch_nohighgprs around the zarch optimized routines.
74365         * sysdeps/s390/s390-32/multiarch/memcpy.S: Likewise.
74366         * sysdeps/s390/s390-32/multiarch/memset.S: Likewise.
74367         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: Explicitly check
74368         for zarch.
74370 2012-09-05  David S. Miller  <davem@davemloft.net>
74372         * sysdeps/sparc/fpu/libm-test-ulps: Update.
74374         * sysdeps/sparc/bits/hwcap.h (HWCAP_SPARC_PAUSE)
74375         (HWCAP_SPARC_CBCOND, HWCAP_SPARC_CRYPTO): Define.
74376         * sysdeps/sparc/dl-procinfo.h (_DL_HWCAP_COUNT): Increase to 27.
74377         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
74378         entries.
74380 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
74382         * malloc/arena.c: Fold copyright years.
74383         * malloc/mcheck.c, malloc/memusage.c: Likewise.
74385 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
74387         * malloc/malloc.c (__libc_mallopt) <M_MMAP_MAX>: Fix indentation.
74389 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
74391         * manual/contrib.texi (Contributors): Fix typo.  Complete entry.
74393 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
74395         * malloc/malloc.c (__libc_mallopt) <M_MMAP_THRESHOLD>: Do not
74396         change internal state upon failure.
74398 2012-09-05  Alexandre Oliva  <aoliva@redhat.com>
74400         * malloc/mcheck.c (mcheck_check_all): Fix typo.
74401         * malloc/memusage.c (mmap): Likewise.
74402         (mmap64, mremap): Likewise.  Adjust name in comment.
74404 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
74406         * libio/fileops.c: Fix typos in comments.
74407         * libio/oldfileops.c: Likewise.
74408         * libio/wfileops.c: Likewise.
74410 2012-09-05  Siddhesh Poyarekar  <siddhesh@redhat.com>
74412         [BZ #1349]
74413         * malloc/Makefile (tests): Add tst-malloc-usable test case.
74414         (tst-malloc-usable-ENV): Set environment for test case.
74415         * malloc/hooks.c (malloc_check_get_size): New function to get
74416         requested size.
74417         * malloc/malloc.c (musable): Use malloc_check_get_size.
74418         * malloc/tst-malloc-usable.c: New test case.
74420 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
74422         * stdlib/tst-strtod-overflow.c (TIMEOUT): Define.
74424 2012-09-05  Allan McRae  <allan@archlinux.org>
74426         [BZ #13966]
74427         * configure.in (CXX_SYSINCLUDES): Use compiler output to
74428         determine header location.
74429         * configure: Regenerated.
74431 2012-09-05  Andreas Schwab  <schwab@linux-m68k.org>
74433         * stdlib/gen-tst-strtod-round.c (formats): Add Motorola extended
74434         float format.
74435         * stdlib/tst-strtod-round.c (TEST) [LDBL_MANT_DIG == 64 &&
74436         LDBL_MAX_EXP == 16384]: Add case for Motorola extended float
74437         format.
74438         (test): Regenerate.
74440 2012-09-04  David S. Miller  <davem@davemloft.net>
74442         * sysdeps/sparc/sparc32/sparcv9/addmul_1.S: New file.
74443         * sysdeps/sparc/sparc32/sparcv9/submul_1.S: New file.
74444         * sysdeps/sparc/sparc32/sparcv9/mul_1.S: New file.
74446 2012-09-04  Florian Weimer  <fweimer@redhat.com>
74448         * stdlib/tst-secure-getenv.c (alternative_main): Only warn on SGID
74449         failures.
74451         * stdlib/tst-secure-getenv.c: Fix whitespace in comments.
74453 2012-09-04  Joseph Myers  <joseph@codesourcery.com>
74455         [BZ #9914]
74456         * libio/iogetdelim.c: Include <limits.h>.
74457         (_IO_getdelim): Avoid integer overflow in testing whether cur_len
74458         + len + 1 would overflow.
74460 2012-09-03  Andreas Jaeger  <aj@suse.de>
74462         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
74463         * sysdeps/i386/fpu/libm-test-ulps: Update.
74465 2012-09-03  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
74467         * sysdeps/i386/i686/fpu/multiarch/Makefile (sysdep_routines):
74468         Add s_sinf-sse2, s_conf-sse2.
74470         * sysdeps/i386/i686/fpu/multiarch/s_sinf-sse2.S: New file.
74471         * sysdeps/i386/i686/fpu/multiarch/s_cosf-sse2.S: New file.
74472         * sysdeps/i386/i686/fpu/multiarch/s_sinf.c: New file.
74473         * sysdeps/i386/i686/fpu/multiarch/s_cosf.c: New file.
74475         * sysdeps/ieee754/flt-32/s_sinf.c (SINF, SINF_FUNC): Add macros
74476         for using routine as __sinf_ia32.
74477         Use macro for function declaration and weak_alias.
74478         * sysdeps/ieee754/flt-32/s_cosf.c (COSF, COSF_FUNC): Add macros
74479         for using routine as __cosf_ia32.
74480         Use macro for function declaration and weak_alias.
74482         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Fix Copyright.
74483         * sysdeps/i386/i686/fpu/multiarch/e_expf.c: Fix Copyright.
74485         * sysdeps/x86_64/fpu/s_sinf.S: New file.
74486         * sysdeps/x86_64/fpu/s_cosf.S: New file.
74487         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
74489         * math/libm-test.inc (cos_test): Add more test cases.
74490         (sin_test): Likewise.
74491         (sincos_test): Likewise.
74493 2012-09-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74495         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c
74496         (IFUNC_RESOLVE): Make pointers to the specialized implementations
74497         hidden.
74498         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: Likewise.
74500 2012-09-02  H.J. Lu  <hongjiu.lu@intel.com>
74502         [BZ #14538]
74503         * sysdeps/x86_64/dl-machine.h (elf_machine_dynamic): Use the
74504         first element of the GOT.
74505         (elf_machine_load_address): Return the difference between
74506         the runtime address of _DYNAMIC and elf_machine_dynamic ().
74508 2012-09-01  Allan McRae  <allan@archlinux.org>
74510         [BZ #13412]
74511         * configure.in (AWK): Require gawk version 3.0 or later.
74512         * configure: Regenerated.
74514 2012-09-01  Joseph Myers  <joseph@codesourcery.com>
74516         * sysdeps/unix/sysv/linux/kernel-features.h
74517         (__ASSUME_POSIX_CPU_TIMERS): Remove.
74518         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
74519         [__NR_clock_getres]: Make code unconditional.
74520         [!__ASSUME_POSIX_CPU_TIMERS]: Remoce conditional code.
74521         (clock_getcpuclockid): Remove code left unreachable by removal of
74522         conditionals.
74523         * sysdeps/unix/sysv/linux/clock_getres.c [__NR_clock_getres]: Make
74524         code unconditional.
74525         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
74526         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
74527         * sysdeps/unix/sysv/linux/clock_gettime.c [__NR_clock_gettime]:
74528         Make code unconditional.
74529         [__ASSUME_POSIX_CPU_TIMERS]: Likewise.
74530         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
74531         * sysdeps/unix/sysv/linux/clock_settime.c
74532         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]: Remove
74533         conditional code.
74534         [__ASSUME_POSIX_CPU_TIMERS]: Make code unconditional.
74535         [!__ASSUME_POSIX_CPU_TIMERS]: Remove conditional code.
74537 2012-08-29  H.J. Lu  <hongjiu.lu@intel.com>
74539         [BZ #14476]
74540         * Makefile (install): Also pass LD_SO=$(ld.so-version) to
74541         scripts/test-installation.pl.
74543         * scripts/test-installation.pl: Use LD_SO to get $ld_so_name
74544         and $ld_so_version if it is set.
74546 2012-08-29  Siddhesh Poyarekar  <siddhesh@redhat.com>
74548         [BZ #14516]
74549         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Don't return
74550         failure if reading from procfs failed.
74551         * sysdeps/unix/sysv/linux/ttyname_r.c (ttyname_r): Likewise.
74553 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
74555         * sysdeps/unix/sysv/linux/kernel-features.h
74556         (__ASSUME_STAT64_SYSCALL): Remove all definitions.
74557         * sysdeps/unix/sysv/linux/fxstat64.c [!__ASSUME_STAT64_SYSCALL]:
74558         Remove conditional code.
74559         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
74560         * sysdeps/unix/sysv/linux/fxstatat64.c [!__ASSUME_STAT64_SYSCALL]:
74561         Remove conditional code.
74562         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
74563         * sysdeps/unix/sysv/linux/i386/fxstat.c
74564         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
74565         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
74566         * sysdeps/unix/sysv/linux/i386/fxstatat.c
74567         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
74568         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
74569         * sysdeps/unix/sysv/linux/i386/lxstat.c
74570         [!__ASSUME_STAT64_SYSCALL]: Remove conditional code.
74571         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
74572         * sysdeps/unix/sysv/linux/i386/xstat.c [!__ASSUME_STAT64_SYSCALL]:
74573         Remove conditional code.
74574         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
74575         * sysdeps/unix/sysv/linux/lxstat64.c [!__ASSUME_STAT64_SYSCALL]:
74576         Remove conditional code.
74577         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
74578         * sysdeps/unix/sysv/linux/sparc/sparc64/xstat.c: Do not include
74579         <kernel-features.h>.
74580         [__NR_stat64 && !__ASSUME_STAT64_SYSCALL] (__have_no_stat64):
74581         Remove.
74582         * sysdeps/unix/sysv/linux/xstat64.c [!__ASSUME_STAT64_SYSCALL]:
74583         Remove conditional code.
74584         [__ASSUME_STAT64_SYSCALL]: Make code unconditional.
74585         * sysdeps/unix/sysv/linux/xstatconv.c [!__ASSUME_STAT64_SYSCALL]:
74586         Remove conditional.
74588 2012-08-27  Mike Frysinger  <vapier@gentoo.org>
74590         [BZ #5400]
74591         * NEWS: Add fixed bug number.
74593 2012-08-27  Joseph Myers  <joseph@codesourcery.com>
74595         [BZ #14519]
74596         * stdlib/strtod_l.c (round_and_return): Return -0.0 for
74597         underflowing exponent in case of negative sign.
74598         * stdlib/tst-strtod-round-data: Add more tests.
74599         * stdlib/tst-strtod-round.c (tests): Regenerated.
74601         [BZ #3479]
74602         * stdlib/strtod_l.c (NDIG): Remove.
74603         (HEXNDIG): Likewise.
74604         (MPNSIZE): Increase to represent 10^n where 2^-n is 1/4 ulp of the
74605         smallest representable value.
74606         (____STRTOF_INTERNAL): Use all fractional decimal digits that may
74607         lie within an exact representation of 1/2 ulp of the result.
74608         * stdlib/fpioconst.c (__tens): Include 10^2^9 and 10^2^10
74609         unconditionally.
74610         (TENS_P9_IDX): Define unconditionally.
74611         (TENS_P9_SIZE): Likewise.
74612         (TENS_P10_IDX): Likewise.
74613         (TENS_P10_SIZE): Likewise.
74614         [BITS_PER_MP_LIMB == 32]: Change condition for larger powers of 10
74615         to !defined __NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024.
74616         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024] (__tens): Add
74617         entries for 10^2^13 and 10^2^14.
74618         [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ > 1024]
74619         (TENS_P13_IDX): Define.
74620         (TENS_P13_SIZE): Likewise.
74621         (TENS_P14_IDX): Likewise.
74622         (TENS_P14_SIZE): Likewise.
74623         (_fpioconst_pow10): Change array size to
74624         FPIOCONST_POW10_ARRAY_SIZE.  Make entries for 10^2^9 and 10^2^10
74625         unconditional.
74626         (_fpioconst_pow10) [!__NO_LONG_DOUBLE_MATH && __LDBL_MAX_EXP__ >
74627         1024]: Add entries for 10^2^13 and 10^2^14.
74628         [LAST_POW10 > _LAST_POW10]: Remove #error.
74629         * stdlib/fpioconst.h (FPIOCONST_POW10_ARRAY_SIZE): Define.
74630         (_fpioconst_pow10): Change array size to
74631         FPIOCONST_POW10_ARRAY_SIZE.
74632         * stdlib/gen-fpioconst.c: New file.
74633         * stdlib/gen-tst-strtod-round.c: Likewise.
74634         * stdlib/tst-strtod-round-data: Likewise.
74635         * stdlib/tst-strtod-round.c: Likewise.
74636         * stdlib/Makefile (tests): Add tst-strtod-round.
74638         [BZ #14459]
74639         * stdlib/strtod_l.c: Include <stdint.h>.
74640         (NDEBUG): Do not define.
74641         (round_and_return): Change EXPONENT parameter to type intmax_t.
74642         Rearrange calculations to avoid internal overflow possibilities.
74643         (str_to_mpn): Change EXPONENT parameter to type intmax_t *.
74644         Rearrange calculations to avoid internal overflow possibilities.
74645         Assert that number fits inside MPNSIZE limbs.
74646         (____STRTOF_INTERNAL): Change EXPONENT variable to type intmax_t.
74647         Change DIG_NO, INT_NO and LEAD_ZERO to type size_t.  Rearrange
74648         calculations and add assertions to avoid internal overflow
74649         possibilities.  Add casts to avoid signed/unsigned operations.
74650         * stdlib/tst-strtod-overflow.c: New file.
74651         * stdlib/Makefile (tests): Add tst-strtod-overflow.
74653 2012-08-25  Marek Polacek  <polacek@redhat.com>
74655         * time/time.h: Fix some typos in comments.
74657 2012-08-23  Roland McGrath  <roland@hack.frob.com>
74659         * posix/tst-rfc3484.c: #undef USE_NSCD before including getaddrinfo.c.
74660         * posix/tst-rfc3484-2.c: Likewise.
74661         * posix/tst-rfc3484-3.c: Likewise.
74663 2012-08-23  Steve McIntyre  <steve.mcintyre@linaro.org>
74665         * elf/elf.h (EF_ARM_ABI_FLOAT_SOFT): New macro.
74666         (EF_ARM_ABI_FLOAT_HARD): Likewise.
74668 2012-08-23  Joseph Myers  <joseph@codesourcery.com>
74670         * sysdeps/unix/sysv/linux/dl-fxstatat64.c: Use <> instead of "" in
74671         #include of fxstatat64.c.
74673 2012-08-22  Roland McGrath  <roland@hack.frob.com>
74675         * shadow/getspent.c: #undef USE_NSCD before #include that gets the code.
74676         * shadow/getspent_r.c: Likewise.
74677         * shadow/getspnam.c: Likewise.
74678         * shadow/getspnam_r.c: Likewise.
74679         * gshadow/getsgent.c: Likewise.
74680         * gshadow/getsgent_r.c: Likewise.
74681         * gshadow/getsgnam.c: Likewise.
74682         * gshadow/getsgnam_r.c: Likewise.
74683         * inet/getnetbyad.c: Likewise.
74684         * inet/getnetbyad_r.c: Likewise.
74685         * inet/getnetbynm.c: Likewise.
74686         * inet/getnetbynm_r.c: Likewise.
74687         * inet/getnetent.c: Likewise.
74688         * inet/getnetent_r.c: Likewise.
74689         * inet/getproto.c: Likewise.
74690         * inet/getproto_r.c: Likewise.
74691         * inet/getprtent.c: Likewise.
74692         * inet/getprtent_r.c: Likewise.
74693         * inet/getprtname.c: Likewise.
74694         * inet/getprtname_r.c: Likewise.
74695         * inet/getrpcbyname.c: Likewise.
74696         * inet/getrpcbyname_r.c: Likewise.
74697         * inet/getrpcbynumber.c: Likewise.
74698         * inet/getrpcbynumber_r.c: Likewise.
74699         * inet/getrpcent.c: Likewise.
74700         * inet/getrpcent_r.c: Likewise.
74701         * inet/getaliasent.c: Likewise.
74702         * inet/getaliasent_r.c: Likewise.
74703         * inet/getaliasname.c: Likewise.
74704         * inet/getaliasname_r.c: Likewise.
74705         * nscd/getgrgid_r.c: Likewise.
74706         * nscd/getgrnam_r.c: Likewise.
74707         * nscd/gethstbyad_r.c: Likewise.
74708         * nscd/gethstbynm3_r.c: Likewise.
74709         * nscd/getpwnam_r.c: Likewise.
74710         * nscd/getpwuid_r.c: Likewise.
74711         * nscd/getsrvbynm_r.c: Likewise.
74712         * nscd/getsrvbypt_r.c: Likewise.
74713         * nscd/gai.c: Likewise.
74715         * configure.in (build_nscd): New substituted variable, set
74716         by --disable-build-nscd and defaults to $use_nscd.
74717         * configure: Regenerated.
74718         * config.make.in (build-nscd): New substituted variable.
74719         * nscd/Makefile (others, others-pie, install-sbin, extra-objs):
74720         Change conditional to require [$(build-nscd) = yes] as well.
74721         * NEWS: Mention --disable-build-nscd in the --disable-nscd item.
74723         [BZ #13696]
74724         * configure.in (use_nscd): New substituted variable, set by
74725         --disable-nscd.  If enabled, define USE_NSCD.
74726         * configure: Regenerated.
74727         * config.h.in: Add USE_NSCD.
74728         * config.make.in (use-nscd): New substituted variable.
74729         * inet/Makefile (CFLAGS-gethstbyad_r.c): Likewise.
74730         (CFLAGS-gethstbynm_r.c, CFLAGS-gethstbynm2_r.c): Likewise.
74731         (CFLAGS-getsrvbynm_r.c, CFLAGS-getsrvbypt_r.c): Variables removed.
74732         * grp/Makefile (CFLAGS-getgrgid_r.c): Remove -DUSE_NSCD.
74733         (CFLAGS-getgrnam_r.c): Likewise.
74734         (CFLAGS-initgroups.c): Likewise.
74735         * posix/Makefile (CFLAGS-getaddrinfo.c): Remove -DUSE_NSCD.
74736         * pwd/Makefile (CFLAGS-getpwuid_r.c, CFLAGS-getpwnam_r.c):
74737         Variables removed.
74738         * inet/getnetgrent_r.c
74739         (nscd_setnetgrent): New function, broken out of ...
74740         (setnetgrent): ... here.  Call it.
74741         (innetgr): Conditionalize nscd bits on [USE_NSCD].
74742         (nscd_getnetgrent): Conditionalize on [USE_NSCD].
74743         (__internal_getnetgrent_r): Conditionalize its use on [USE_NSCD].
74744         * nscd/Makefile (routines, aux): Move definitions after include of
74745         Makeconfig.  Conditionalize on [$(use-nscd) != no].
74746         * nss/nsswitch.c (nss_load_all_libraries, __nss_disable_nscd):
74747         Conditionalize on [USE_NSCD].
74748         (is_nscd, nscd_init_cb): Likewise.
74749         (nss_load_library): Conditionalize init callback on [USE_NSCD].
74750         * nss/nss_files/files-init.c: Conditionalize body on [USE_NSCD].
74751         * nss/nss_db/db-init.c: Likewise.
74752         * nscd/nscd.c (main): Conditionalize __nss_disable_nscd call on
74753         [USE_NSCD].
74754         * sysdeps/unix/sysv/linux/check_pf.c (get_nl_timestamp): New function.
74755         (make_request): Use it.
74756         (cache_valid_p): New function.
74757         (__check_pf): Use it.
74758         * NEWS: Add item for --disable-nscd.
74760 2012-08-22  Dmitry V. Levin  <ldv@altlinux.org>
74762         * configure.in (SED): Update AC_CHECK_PROG_VER's version extract regexp
74763         to support sed >= 4.2.1-20-ga9bf076.
74764         * configure: Regenerated.
74766 2012-08-22  Roland McGrath  <roland@hack.frob.com>
74768         * csu/libc-start.c (apply_irel): Move extern declarations inside here.
74769         Conditionalize whole body on [IREL].
74771 2012-08-22  Jeff Law <law@redhat.com>
74773         [BZ #14505]
74774         * sysdeps/posix/getaddrinfo.c (gaih_inet): Only use gethostbyname4_r
74775         if the family is PF_UNSPEC.
74777 2012-08-22  Mike Frysinger  <vapier@gentoo.org>
74779         * Makerules (lib-version): Rename from V.
74780         (install-lib-nosubdir): Change V to lib-version.
74782 2012-08-22  Will Schmidt  <will_schmidt@vnet.ibm.com>
74784         [BZ #14252]
74785         * powerpc32/power6/wcschr.c: New file.
74786         * powerpc32/power6/wcscpy.c: New file.
74787         * powerpc32/power6/wcsrchr.c: New file.
74788         * powerpc64/power6/wcschr.c: New file.
74789         * powerpc64/power6/wcscpy.c: New file.
74790         * powerpc64/power6/wcsrchr.c: New file.
74792 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
74794         * string/str-two-way.h (AVAILABLE1_USES_J): New macro, define default.
74795         (two_way_short_needle): Use it.
74796         * string/strstr.c (AVAILABLE1_USES_J): Define.
74797         * string/strcasestr.c: Likewise.
74799         * string/str-two-way.h (two_way_short_needle): Use pointers instead of
74800         array references.
74801         * string/strcasestr.c (TOLOWER): Make side-effect safe.
74803         [BZ #11607]
74804         * NEWS: Add an entry.
74805         * string/str-two-way.h (AVAILABLE1, AVAILABLE2, RET0_IF_0): New macros,
74806         define their defaults.
74807         (two_way_short_needle): Detect end-of-string on-the-fly.
74808         * string/strcasestr.c, string/strstr.c (AVAILABLE): Update.
74809         (AVAILABLE1, AVAILABLE2, RET0_IF_0, AVAILABLE_USES_J): Define.
74810         * string/bug-strcasestr1.c: New test.
74811         * string/Makefile: Run it.
74813 2012-08-21  Maxim Kuvyrkov  <maxim@codesourcery.com>
74815         [BZ #11607]
74816         * string/str-two-way.h (two_way_short_needle): Optimize matching of
74817         the first character.
74819 2012-08-21  Roland McGrath  <roland@hack.frob.com>
74821         * csu/elf-init.c (__libc_csu_irel): Function removed.
74822         * csu/libc-start.c (apply_irel): New function.
74823         (LIBC_START_MAIN): Call it instead of __libc_csu_irel.
74825 2012-08-21  Joseph Myers  <joseph@codesourcery.com>
74827         * sysdeps/unix/sysv/linux/kernel-features.h
74828         (__ASSUME_FADVISE64_64_SYSCALL): Remove.
74829         * sysdeps/unix/sysv/linux/i386/posix_fadvise64.S: Do not include
74830         <kernel-features.h>.
74831         [__NR_fadvise64_64]: Make code unconditional.
74832         [!__ASSUME_FADVISE64_64_SYSCALL]: Remove conditional code.
74833         [__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
74834         !__NR_fadvise64_64)]: Likewise.
74835         [!(__NR_fadvise64 && (!__ASSUME_FADVISE64_64_SYSCALL ||
74836         !__NR_fadvise64_64))]: Likewise.
74837         [__NR_fadvise64]: Make code unconditional.
74838         [!__NR_fadvise64]: Remove conditional code.
74839         * sysdeps/unix/sysv/linux/posix_fadvise64.c: Do not include
74840         <kernel-features.h>.
74841         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
74842         unconditional.
74843         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
74844         conditional code.
74845         * sysdeps/unix/sysv/linux/powerpc/powerpc32/posix_fadvise64.c: Do
74846         not include <kernel-features.h>.
74847         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
74848         unconditional.
74849         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
74850         conditional code.
74851         * sysdeps/unix/sysv/linux/s390/s390-32/posix_fadvise64.c: Do not
74852         include <kernel-features.h>.
74853         (__posix_fadvise64_l64) [__NR_fadvise64_64]: Make code
74854         unconditional.
74855         (_posix_fadvise64_l64) [!__ASSUME_FADVISE64_64_SYSCALL]: Remove
74856         conditional code.
74858 2012-08-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
74860         * sysdeps/powerpc/powerpc64/power7/memchr.S: Unrolled short loop and
74861         slight instruction rearrangements per scrollpipe analysis.
74862         * sysdeps/powerpc/powerpc64/power7/memchr.S: Likewise.
74864 2012-08-20  Roland McGrath  <roland@hack.frob.com>
74866         * manual/syslog.texi (syslog; vsyslog, closelog):
74867         Fix typo repeated twice: @file{dev/log} -> @file{/dev/log}.
74868         Reported by Ricardo Catalinas Jiménez <jimenezrick@gmail.com>.
74870         * elf/dl-sysdep.c (_dl_important_hwcaps): Fix conditional on using
74871         DSOCAPS to match condition on defining it.
74873 2012-08-20  Joseph Myers  <joseph@codesourcery.com>
74875         * sysdeps/unix/sysv/linux/kernel-features.h
74876         (__ASSUME_SWAPCONTEXT_SYSCALL): Remove.
74877         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S
74878         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
74879         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
74880         * sysdeps/unix/sysv/linux/powerpc/powerpc32/setcontext.S
74881         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
74882         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
74883         * sysdeps/unix/sysv/linux/powerpc/powerpc32/swapcontext.S
74884         [__ASSUME_SWAPCONTEXT_SYSCALL]: Make code unconditional.
74885         [!__ASSUME_SWAPCONTEXT_SYSCALL]: Remove conditional code.
74887         * sysdeps/unix/sysv/linux/kernel-features.h [__s390__ &&
74888         __LINUX_KERNEL_VERSION >= 0x020616] (__ASSUME_UTIMES): Define.
74890         * sysdeps/unix/sysv/linux/kernel-features.h
74891         (__ASSUME_MMAP2_SYSCALL): Remove all definitions.
74892         * sysdeps/unix/sysv/linux/mmap64.c [__NR_mmap2]: Make code
74893         unconditional.
74894         [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
74895         * sysdeps/unix/sysv/linux/i386/mmap.S (__mmap)
74896         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
74897         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
74898         * sysdeps/unix/sysv/linux/i386/mmap64.S (__mmap64) [__NR_mmap2]:
74899         Make code unconditional.
74900         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
74901         (__mmap64) [!__NR_mmap2]: Likewise.
74902         * sysdeps/unix/sysv/linux/s390/s390-32/mmap.S (__mmap)
74903         [__ASSUME_MMAP2_SYSCALL]: Make code unconditional.
74904         (__mmap) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
74905         * sysdeps/unix/sysv/linux/s390/s390-32/mmap64.S (__mmap64)
74906         [__NR_mmap2]: Make code unconditional.
74907         (__mmap64) [!__ASSUME_MMAP2_SYSCALL]: Remove conditional code.
74908         (__mmap64) [!__NR_mmap2]: Likewise.
74910 2012-08-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
74912         * sysdeps/unix/sysv/linux/s390/s390-32/getrlimit.c: Remove.
74914 2012-08-18  Andreas Jaeger  <aj@suse.de>
74916         * stdio-common/_itoa.c (_itoa): Add missing DUMMY variable.
74918 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
74920         * include/sys/socket.h (__have_sock_cloexec): Add attribute_hidden.
74921         * include/unistd.h (__have_sock_cloexec): Likewise.
74922         (__have_pipe2): Likewise.
74923         (__have_dup3): Likewise.
74925 2012-08-18  Mike Frysinger  <vapier@gentoo.org>
74927         [BZ #9685]
74928         * include/unistd.h (__have_pipe2): Change define into an extern int.
74929         (__have_dup3): Likewise.
74930         * socket/have_sock_cloexec.c: Include fcntl.h.
74931         (__have_pipe2): New variable.
74932         (__have_dup3): Likewise.
74934 2012-08-17  Mike Frysinger  <vapier@gentoo.org>
74936         * sysdeps/unix/sysv/linux/nice.c: Adjust #include.
74938 2012-08-17  Marek Polacek  <polacek@redhat.com>
74940         * sysdeps/ieee754/ldbl-96/s_sincosl.c (__sincosl): Use __attribute__
74941         ((unused)) on I1, which is set by GET_LDOUBLE_WORDS but never used.
74943 2012-08-17  Roland McGrath  <roland@hack.frob.com>
74945         * configure.in: Add AC_SUBST for sysheaders.
74946         * configure: Regenerated.
74947         * config.make.in (sysheaders): New substituted variable.
74949         * sysdeps/unix/mkfifo.c: Moved ...
74950         * sysdeps/posix/mkfifo.c: ... here.
74951         * sysdeps/unix/mkfifoat.c: Moved ...
74952         * sysdeps/posix/mkfifoat.c: ... here.
74954         * sysdeps/unix/utime.c: Moved ...
74955         * sysdeps/posix/utime.c: ... here.
74957         * sysdeps/unix/time.c: Moved ...
74958         * sysdeps/posix/time.c: ... here.
74959         * sysdeps/unix/sysv/linux/time.c: Adjust #include.
74960         * sysdeps/unix/sysv/linux/sparc/sparc64/time.c: Likewise.
74962         * sysdeps/unix/nice.c: Moved ...
74963         * sysdeps/posix/nice.c: ... here.
74965         * sysdeps/unix/alarm.c: Moved ...
74966         * sysdeps/posix/alarm.c: ... here.
74968         * intl/Makefile ($(codeset_mo)): Depend on the input file.
74970 2012-08-17  Jeff Law <law@redhat.com>
74972         * intl/Makefile (codeset_mo): New variable.
74973         ($(codeset_mo)): New target.
74974         (tst-codeset.out): Depend on that.  Remove explicit rule.
74975         (tst-gettext3.out, tst-gettext5.out): Likewise.
74976         (LOCPATH-ENV, tst-codeset-ENV): New variables.
74977         (tst-gettext3-ENV, tst-gettext5-ENV): Likewise.
74978         * intl/tst-codeset.sh: Remove.
74979         * intl/tst-gettext3.sh: Likewise.
74980         * intl/tst-gettext5.sh: Likewise.
74982 2012-08-17  Roland McGrath  <roland@hack.frob.com>
74984         * sysdeps/unix/inet/syscalls.list: File removed.  Move contents into ...
74985         * sysdeps/unix/syscalls.list: ... here.
74987         * sysdeps/posix/getaddrinfo.c
74988         (save_gaiconf_mtime, check_gaiconf_mtime): New functions.
74989         (gaiconf_init, gaiconf_reload): Use them.
74990         [!_STATBUF_ST_NSEC]
74991         (gaiconf_mtime, save_gaiconf_mtime, check_gaiconf_mtime):
74992         Define using time_t rather than struct timespec.
74994         * sysdeps/generic/malloc-machine.h (MUTEX_INITIALIZER): New macro.
74995         (atomic_full_barrier, atomic_read_barrier, atomic_write_barrier):
74996         Macros removed.
74997         * malloc/arena.c (save_malloc_hook, save_free_hook): Conditionalize on
74998         [!NO_THREADS].
74999         (malloc_atfork, free_atfork, atfork_recursive_cntr): Likewise.
75000         (ptmalloc_lock_all, ptmalloc_unlock_all, ptmalloc_unlock_all2):
75001         Likewise.
75003         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Use NULL rather than 0 for
75004         __libc_cleanup_push argument.
75006         * bits/param.h: New file.
75007         * misc/sys/param.h: New file.
75008         * include/sys/param.h: New file.
75009         * misc/Makefile (headers): Add bits/param.h.
75010         * sysdeps/generic/sys/param.h: File removed.
75011         * sysdeps/unix/sysv/linux/bits/param.h: New file.
75012         * sysdeps/unix/sysv/linux/sys/param.h: File removed.
75013         * sysdeps/mach/hurd/bits/param.h: New file.
75014         * sysdeps/mach/hurd/sys/param.h: File removed.
75016         * elf/dl-close.c (_dl_close_worker): Add a cast and a comment to the
75017         last change.
75019         * libio/genops.c (_IO_unbuffer_write): Conditionalize locking code on
75020         [_IO_MTSAFE_IO].
75021         * libio/libioP.h [!_IO_MTSAFE_IO && !NOT_IN_libc]
75022         (_IO_acquire_lock, _IO_acquire_lock_clear_flags2, _IO_release_lock):
75023         New macros.
75025         * Makeconfig [$(libc-reentrant) = yes] (libio-mtsafe): New variable.
75026         * libio/Makefile (CPPFLAGS): Append $(libio-mtsafe) unconditionally
75027         rather than -D_IO_MTSAFE_IO conditionally.
75028         * stdio-common/Makefile (CPPFLAGS): Likewise.
75029         * wcsmbs/Makefile (CPPFLAGS): Likewise.
75030         * stdlib/Makefile (CFLAGS-strfmon.c, CFLAGS-strfmon_l.c):
75031         Use $(libio-mtsafe).
75032         * debug/Makefile (CFLAGS-sprintf_chk.c): Use $(libio-mtsafe) instead
75033         of -D_IO_MTSAFE_IO.
75034         (CFLAGS-snprintf_chk.c, CFLAGS-vsprintf_chk.c): Likewise.
75035         (CFLAGS-vsnprintf_chk.c, CFLAGS-asprintf_chk.c): Likewise.
75036         (CFLAGS-vasprintf_chk.c, CFLAGS-obprintf_chk.c): Likewise.
75037         (CFLAGS-dprintf_chk.c, CFLAGS-vdprintf_chk.c): Likewise.
75038         (CFLAGS-printf_chk.c, CFLAGS-fprintf_chk.c): Likewise.
75039         (CFLAGS-vprintf_chk.c, CFLAGS-vfprintf_chk.c): Likewise.
75040         (CFLAGS-gets_chk.c, CFLAGS-fgets_chk.c): Likewise.
75041         (CFLAGS-fgets_u_chk.c, CFLAGS-fread_chk.c): Likewise.
75042         (CFLAGS-fread_u_chk.c): Likewise.
75043         (CFLAGS-swprintf_chk.c, CFLAGS-vswprintf_chk.c): Likewise.
75044         (CFLAGS-wprintf_chk.c, CFLAGS-fwprintf_chk.c): Likewise.
75045         (CFLAGS-vwprintf_chk.c, CFLAGS-vfwprintf_chk.c): Likewise.
75046         (CFLAGS-fgetws_chk.c, CFLAGS-fgetws_u_chk.c): Likewise.
75047         * grp/Makefile (CFLAGS-fgetgrent_r.c, CFLAGS-putgrent.c): Likewise.
75048         * gshadow/Makefile (CFLAGS-fgetsgent_r.c, CFLAGS-putsgent.c): Likewise.
75049         * misc/Makefile (CFLAGS-mntent_r.c): Likewise.
75050         * pwd/Makefile (CFLAGS-fgetpwent_r.c): Likewise.
75051         * shadow/Makefile (CFLAGS-fgetspent_r.c, CFLAGS-putspent.c): Likewise.
75053         * libio/Makefile: Test [$(libc-reentrant) = yes]
75054         instead of [$(filter %REENTRANT, $(defines)) nonempty].
75056         * Makeconfig
75057         [$(libc-reentrant) = yes] (defines): Append -D_LIBC_REENTRANT.
75058         * sysdeps/pthread/configure: File removed.
75059         * sysdeps/pthread/Makeconfig: New file.
75060         * sysdeps/mach/hurd/Makeconfig (libc-reentrant): New variable.
75061         * sysdeps/mach/hurd/configure.in: Don't touch DEFINES here.
75063 2012-08-16  Gary Benson  <gbenson@redhat.com>
75065         * elf/dl-close.c (_dl_close_worker): Also set r->r_map when
75066         unmapping the first object in a namespace.
75068 2012-08-16  Roland McGrath  <roland@hack.frob.com>
75070         * inet/getnetgrent_r.c (internal_setnetgrent): Renamed to ...
75071         (__internal_setnetgrent): ... this.  Add internal_function to
75072         definition.  Add libc_hidden_def.
75073         (setnetgrent): Update caller.
75074         (internal_endnetgrent): Renamed to ...
75075         (__internal_endnetgrent): ... this.  Add internal_function to
75076         definition.  Add libc_hidden_def.
75077         (endnetgrent): Update caller.
75078         (internal_getnetgrent_r): Renamed to ...
75079         (__internal_getnetgrent_r): ... this.  Add internal_function to
75080         definition.  Add libc_hidden_def.
75081         (__getnetgrent_r): Update caller.
75082         * inet/netgroup.h: Update declarations.  Add libc_hidden_proto uses.
75084 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
75086         * stdlib/longlong.h: Update from GCC.
75088 2012-08-16  Roland McGrath  <roland@hack.frob.com>
75090         * stdlib/gmp-impl.h (udiv_qrnnd_preinv): Use __attribute__ ((unused))
75091         on _QL, which is set by umul_ppmm but never used.
75092         * stdio-common/_itoa.c (_itoa): Use __attribute__ ((unused)) on DUMMY
75093         variables, which are set by GMP macros but never used.
75094         * stdio-common/_itowa.c (_itowa): Likewise.
75095         * stdlib/divmod_1.c (mpn_divmod_1): Likewise.
75096         * stdlib/mod_1.c (mpn_mod_1): Likewise.
75098 2012-08-16  Carlos O'Donell  <carlos_odonell@mentor.com>
75100         * sysdeps/sh/ldsodefs.h (ARCH_PLTENTER_MEMBERS) <sh_gnu_pltenter>:
75101         struct La_sh_regs is not constant.
75102         * sysdeps/sparc/ldsodefs.h (ARCH_PLTENTER_MEMBERS)
75103         <sparc32_gnu_pltenter, sparc64_gnu_pltenter>: struct La_sparc32_regs
75104         and struct La_sparc64_regs are not constant.
75106 2012-08-16  Joseph Myers  <joseph@codesourcery.com>
75108         * sysdeps/unix/sysv/linux/kernel-features.h
75109         (__ASSUME_POSIX_TIMERS): Remove.
75110         * sysdeps/unix/sysv/linux/clock_getcpuclockid.c
75111         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
75112         * sysdeps/unix/sysv/linux/clock_getres.c [__ASSUME_POSIX_TIMERS]:
75113         Make code unconditional.
75114         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
75115         * sysdeps/unix/sysv/linux/clock_gettime.c [__ASSUME_POSIX_TIMERS]:
75116         Make code unconditional.
75117         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
75118         * sysdeps/unix/sysv/linux/clock_nanosleep.c
75119         [__ASSUME_POSIX_TIMERS]: Make code unconditional.
75120         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
75121         * sysdeps/unix/sysv/linux/clock_settime.c [__ASSUME_POSIX_TIMERS]:
75122         Make code unconditional.
75123         [!__ASSUME_POSIX_TIMERS]: Remove conditional code.
75124         [__ASSUME_POSIX_CPU_TIMERS <= 0 && __NR_clock_settime]
75125         (__libc_missing_posix_timers): Remove.
75127 2012-08-15  Roland McGrath  <roland@hack.frob.com>
75129         * elf/dl-load.c (_dl_map_object_from_fd) [SHARED]: Conditionalize
75130         check of GL(dl_error_catch_tsd) on [_LIBC_REENTRANT].
75132         * bits/libc-lock.h (__rtld_lock_initialize): New macro.
75134         * elf/dl-sym.c: Include <stdlib.h>.
75136         * posix/regcomp.c (init_word_char): Use temporaries to hold the 64-bit
75137         constants, which avoids warnings in 32-bit builds.
75139         * bits/fcntl.h [__USE_POSIX199309 || __USE_UNIX98]:
75140         (O_DSYNC, O_RSYNC): New macros (with NetBSD values).
75142         * misc/lseek.c: File moved to ...
75143         * io/lseek.c: ... here.
75145         * rt/clock_nanosleep.c: Include <time.h>, not <sys/time.h>.
75147         * crypt/sha512.c (sha512_process_block) [!USE_TOTAL128]: Avoid
75148         shifting LEN more than 31 bits at once.
75150 2012-08-15  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
75152         [BZ #14195]
75153         * sysdeps/i386/i686/multiarch/strcmp-sssse3.S: Fix
75154         segmentation fault for a case of two empty input strings.
75155         * string/test-strncasecmp.c (check1): Renamed to...
75156         (bz12205): ...this.
75157         (bz14195): Add new testcase for two empty input strings and N > 0.
75158         (test_main): Call new testcase, adapt for renamed function.
75160 2012-08-15  Andreas Jaeger  <aj@suse.de>
75162         [BZ #14090]
75163         * crypt/md5test2.c: New test, based on test supplied by Serge
75164         Belyshev <belyshev@depni.sinp.msu.ru>.
75165         * crypt/Makefile (xtests): Add md5test-giant..
75166         * crypt/Makefile ($(objpfx)md5test-giant): Add.
75168 2012-08-15  Paul Eggert  <eggert@cs.ucla.edu>
75170         [BZ #14090]
75171         * crypt/md5.c (md5_process_block): Don't assume the buffer
75172         length is less than 2**32.
75173         * crypt/sha512.c (sha512_process_block): Don't assume the buffer
75174         length is less than 2**64.
75176 2012-08-15  Roland McGrath  <roland@hack.frob.com>
75178         * string/str-two-way.h: Include <sys/param.h>.
75179         (MAX): Macro removed.
75181         * sysdeps/x86_64/multiarch/strstr-c.c: Add copyright header.
75182         Move #define and #undef of memmove to just before and after
75183         including <string.h>.
75185         * sysdeps/x86_64/multiarch/memmove.c: Don't include <stddef.h>.
75186         [!NOT_IN_libc]: Move #define and #undef of memmove to just before
75187         and after including <string.h>.  Move declarations of
75188         __memmove_sse2, __memmove_ssse3, and __memmove_ssse3_back
75189         to before #include "string/memmove.c".
75191         * include/dirent.h: Declare __getdirentries.
75193         * sysdeps/posix/system.c (do_system): Cast SUB_REF () to void when not
75194         using its value, to avoid warnings in the [!_LIBC_REENTRANT] case.
75196 2012-08-14  Mike Frysinger  <vapier@gentoo.org>
75198         * config.h.in (HAVE_CPP_ASM_DEBUGINFO): Delete.
75199         * sysdeps/i386/configure.in: Remove assembler-with-cpp debug check.
75200         * sysdeps/i386/configure: Regenerated.
75201         * sysdeps/i386/sysdep.h (ENTRY): Remove calls to STABS_CURRENT_FILE1,
75202         STABS_CURRENT_FILE, and STABS_FUN.
75203         (END): Remove call to STABS_FUN_END.
75204         (STABS_CURRENT_FILE1): Delete.
75205         (STABS_CURRENT_FILE): Likewise.
75206         (STABS_FUN): Likewise.
75207         (STABS_FUN_END): Likewise.
75208         (STABS_FUN2): Likewise.
75209         * sysdeps/x86_64/configure.in: Remove assembler-with-cpp debug check.
75210         * sysdeps/x86_64/configure: Regenerated.
75212 2012-08-14  Roland McGrath  <roland@hack.frob.com>
75214         * elf/dl-open.c: Include <atomic.h>.
75215         * elf/dl-lookup.c: Likewise.
75217 2012-08-14  Joseph Myers  <joseph@codesourcery.com>
75219         * sysdeps/unix/sysv/linux/kernel-features.h
75220         (__ASSUME_CLONE_THREAD_FLAGS): Remove.
75221         * sysdeps/unix/sysv/linux/s390/system.c (FORK): Define
75222         unconditionally.
75223         * sysdeps/unix/sysv/linux/sparc/system.c (FORK): Define
75224         unconditionally.
75225         * sysdeps/unix/sysv/linux/system.c [!FORK] (FORK): Do not
75226         condition on __ASSUME_CLONE_THREAD_FLAGS.
75228 2012-08-14  Andreas Jaeger  <aj@suse.de>
75230         * sysdeps/i386/fpu/libm-test-ulps: Update.
75232 2012-08-13  Maxim Kuvyrkov  <maxim@codesourcery.com>
75234         * include/atomic.h (atomic_exchange_and_add): Split into ...
75235         (atomic_exchange_and_add_acq, atomic_exchange_and_add_rel): ... these.
75236         New atomic macros.
75238 2012-08-13  Markus Trippelsdorf  <markus@trippelsdorf.de>
75240         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
75242 2012-08-13  Jeff Law <law@redhat.com>
75244         * manual/stdio.texi (snprintf): Clarify handling of the trailing
75245         null byte in the output string.
75247 2012-08-10  Joseph Myers  <joseph@codesourcery.com>
75249         * sysdeps/unix/sysv/linux/kernel-features.h
75250         (__LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL): Define.
75251         [__LINUX_KERNEL_VERSION >= __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL]
75252         (__ASSUME_ARG_MAX_STACK_BASED): Define.
75253         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf)
75254         [__LINUX_KERNEL_VERSION < 0x020617]: Change condition to
75255         !__ASSUME_ARG_MAX_STACK_BASED.  Compare version with
75256         __LINUX_ARG_MAX_STACK_BASED_MIN_KERNEL.
75258 2012-08-09  Jeff Law <law@redhat.com>
75260         [BZ #13939]
75261         * malloc.c/arena.c (reused_arena): New parameter, avoid_arena.
75262         When avoid_arena is set, don't retry in the that arena.  Pick the
75263         next one, whatever it might be.
75264         (arena_get2): New parameter avoid_arena, pass through to reused_arena.
75265         (arena_lock): Pass in new parameter to arena_get2.
75266         * malloc/malloc.c (__libc_memalign): Pass in new parameter to
75267         arena_get2.
75268         (__libc_malloc): Unify retrying after main arena failure with
75269         __libc_memalign version.
75270         (__libc_valloc, __libc_pvalloc, __libc_calloc): Likewise.
75272 2012-08-09  H.J. Lu  <hongjiu.lu@intel.com>
75274         [BZ #14166]
75275         * sysdeps/i386/i686/multiarch/strstr-c.c (strstr): Redefined
75276         to __redirect_strstr.
75277         (__strstr_sse42): Use typeof __redirect_strstr.
75278         (__strstr_ia32): Likewise.
75279         (__libc_strstr): New prototype.
75280         (strstr): Renamed to ...
75281         (__libc_strstr): This.
75282         (strstr): New strong alias of __libc_strstr.
75283         * sysdeps/x86_64/multiarch/strstr-c.c: Likewise.
75284         * sysdeps/unix/sysv/linux/x86_64/time.c (time): Redefined to
75285         __redirect_time.
75286         Include <time.h>.
75287         (__libc_time): New prototype.
75288         (time_ifunc): Replace time with __libc_time.
75289         (time): New strong alias and hidden definition of __libc_time.
75290         (__GI_time): Remove strong alias.
75291         * sysdeps/x86_64/multiarch/memmove.c: Don't include <string.h>.
75292         Include <stddef.h>.
75293         (memmove): Redefined to __redirect_memmove.
75294         (__memmove_sse2): Use typeof __redirect_memmove.
75295         (__memmove_ssse3): Likewise.
75296         (__memmove_ssse3_back): Likewise.
75297         (__libc_memmove): New prototype.
75298         (memmove): Renamed to ...
75299         (__libc_memmove): This.
75300         (memmove): New strong alias of __libc_memmove.
75302 2012-08-08  Mark Salter  <msalter@redhat.com>
75304         * elf/elf.h
75305         (R_MN10300_TLS_GD): Define.
75306         (R_MN10300_TLS_LD): Likewise.
75307         (R_MN10300_TLS_LDO): Likewise.
75308         (R_MN10300_TLS_GOTIE): Likewise.
75309         (R_MN10300_TLS_IE): Likewise.
75310         (R_MN10300_TLS_LE): Likewise.
75311         (R_MN10300_TLS_DTPMOD): Likewise.
75312         (R_MN10300_TLS_DTPOFF): Likewise.
75313         (R_MN10300_TLS_TPOFF): Likewise.
75314         (R_MN10300_SYM_DIFF): Likewise.
75315         (R_MN10300_ALIGN): Likewise.
75316         (R_MN10300_NUM): Update.
75318 2012-08-08  Joseph Myers  <joseph@codesourcery.com>
75320         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_TGKILL):
75321         Remove.
75323 2012-08-08  Roland McGrath  <roland@hack.frob.com>
75325         * sysdeps/posix/fdopendir.c: Include <stddef.h>.
75327         * sysdeps/unix/sysv/linux/readdir64_r.c: Update #include for
75328         sysdeps/unix -> sysdeps/posix move.
75329         * sysdeps/unix/sysv/linux/i386/readdir64_r.c: Likewise.
75331 2012-08-07      Allan McRae     <allan@archlinux.org>
75333         [BZ #14303]
75334         * sunrpc/rpc_main.c (SVR4_CPP): Remove.
75335         (SUNOS_CPP): Likewise.
75336         (find_cpp): Fall back to selecting system cpp when /lib/cpp is
75337         not found.
75338         (open_input): Call CPP using execvp.
75340 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
75342         * sysdeps/unix/sysv/linux/kernel-features.h
75343         (__ASSUME_PROT_GROWSUPDOWN): Remove.
75344         (__ASSUME_NO_CLONE_DETACHED): Likewise.
75345         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
75346         (__ASSUME_WAITID_SYSCALL): Likewise.
75347         * sysdeps/unix/sysv/linux/dl-execstack.c
75348         (_dl_make_stack_executable) [PROT_GROWSDOWN || PROT_GROWSUP]: Make
75349         code unconditional.
75350         (_dl_make_stack_executable) [!__ASSUME_PROT_GROWSUPDOWN]: Remove
75351         conditional code.
75352         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS)
75353         [__ASSUME_GETDENTS32_D_TYPE]: Make code unconditional.
75354         (__GETDENTS) [!__ASSUME_GETDENTS32_D_TYPE]: Remove conditional
75355         code.
75356         * sysdeps/unix/sysv/linux/waitid.c [__NR_waitid]: Make code
75357         unconditional.
75358         [__ASSUME_WAITID_SYSCALL]: Likewise.
75359         [!__ASSUME_WAITID_SYSCALL]: Remove conditional code.
75361 2012-08-07  Roland McGrath  <roland@hack.frob.com>
75363         * sysdeps/unix/closedir.c: Renamed to ...
75364         * sysdeps/posix/closedir.c: ... here.
75365         * sysdeps/unix/dirfd.c: Renamed to ...
75366         * sysdeps/posix/dirfd.c: ... here.
75367         * sysdeps/unix/dirstream.h: Renamed to ...
75368         * sysdeps/posix/dirstream.h: ... here.
75369         * sysdeps/unix/fdopendir.c: Renamed to ...
75370         * sysdeps/posix/fdopendir.c: ... here.
75371         * sysdeps/unix/opendir.c: Renamed to ...
75372         * sysdeps/posix/opendir.c: ... here.
75373         * sysdeps/unix/readdir.c: Renamed to ...
75374         * sysdeps/posix/readdir.c: ... here.
75375         * sysdeps/unix/readdir_r.c: Renamed to ...
75376         * sysdeps/posix/readdir_r.c: ... here.
75377         * sysdeps/unix/rewinddir.c: Renamed to ...
75378         * sysdeps/posix/rewinddir.c: ... here.
75379         * sysdeps/unix/seekdir.c: Renamed to ...
75380         * sysdeps/posix/seekdir.c: ... here.
75381         * sysdeps/unix/telldir.c: Renamed to ...
75382         * sysdeps/posix/telldir.c: ... here.
75383         * sysdeps/unix/sysv/linux/opendir.c: Update #include.
75384         * sysdeps/unix/sysv/linux/readdir64.c: Likewise.
75385         * sysdeps/unix/sysv/linux/i386/readdir64.c: Likewise.
75386         * sysdeps/unix/sysv/linux/wordsize-64/readdir.c: Likewise.
75388         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h: Renamed to ...
75389         * bits/fcntl.h: ... here.
75391         * sysdeps/unix/bsd/bsd4.4/bits/fcntl.h (O_NOCTTY): Define to 0x8000,
75392         not 0.
75393         (O_ASYNC, O_FSYNC, O_SYNC): Move outside [__USE_MISC].
75394         [__USE_XOPEN2K8] (O_DIRECTORY, O_NOFOLLOW, O_CLOEXEC): New macros.
75395         (FCREAT, FEXCL, FTRUNC, FNOCTTY, FNONBLOCK): Macros removed.
75396         (struct flock): Move l_start, l_len to the beginning.
75397         Use __pid_t for l_pid.
75398         [__USE_XOPEN2K] (POSIX_FADV_NORMAL, POSIX_FADV_RANDOM): New macros.
75399         [__USE_XOPEN2K] (POSIX_FADV_SEQUENTIAL, POSIX_FADV_WILLNEED): Likewise.
75400         [__USE_XOPEN2K] (POSIX_FADV_DONTNEED, POSIX_FADV_NOREUSE): Likewise.
75401         (F_GETLK64, F_SETLK64, F_SETLKW64): New macros.
75402         [__USE_XOPEN2K8] (F_DUPFD_CLOEXEC): New macro.
75403         [__USE_LARGEFILE64] (struct flock64): New type.
75404         (F_GETOWN, F_SETOWN): Also define for [__USE_XOPEN2K8].
75406         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h: Renamed to ...
75407         * bits/dirent.h: ... here.
75409         * sysdeps/unix/bsd/bsd4.4/bits/dirent.h
75410         [__INO_T_MATCHES_INO64_T] (_DIRENT_MATCHES_DIRENT64): New macro.
75412 2012-08-07  Joseph Myers  <joseph@codesourcery.com>
75414         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
75415         Change from 2.6.0 to 2.6.16.
75416         * sysdeps/unix/sysv/linux/configure: Regenerated.
75417         * sysdeps/unix/sysv/linux/kernel-features.h
75418         (__ASSUME_POSIX_CPU_TIMERS): Define unconditionally.
75419         (__ASSUME_TGKILL): Define conditional on architectures, not kernel
75420         version.
75421         (__ASSUME_UTIMES): Likewise.
75422         (__ASSUME_CLONE_STOPPED): Remove.
75423         (__ASSUME_FADVISE64_64_SYSCALL): Define conditional on
75424         architectures, not kernel version.
75425         (__ASSUME_PROT_GROWSUPDOWN): Define unconditionally.
75426         (__ASSUME_NO_CLONE_DETACHED): Likewise.
75427         (__ASSUME_GETDENTS32_D_TYPE): Likewise.
75428         (__ASSUME_WAITID_SYSCALL): Likewise.
75429         [__sparc__ && __arch64__] (__ASSUME_STAT64_SYSCALL): Do not
75430         condition definition on __LINUX_KERNEL_VERSION >= 0x02060c.
75431         * README: State 2.6.16 as minimum Linux kernel version.  Do not
75432         refer to older versions.
75434 2012-08-06  Roland McGrath  <roland@hack.frob.com>
75436         * dirent/alphasort.c [_DIRENT_MATCHES_DIRENT64]:
75437         Define alphasort64 as an alias.
75438         * dirent/versionsort.c [_DIRENT_MATCHES_DIRENT64]:
75439         Define versionsort64 as an alias.
75440         * dirent/scandir.c [_DIRENT_MATCHES_DIRENT64]:
75441         Define scandir64 as an alias.
75442         * dirent/scandirat.c [_DIRENT_MATCHES_DIRENT64]:
75443         Define scandirat64 as an alias.
75444         * dirent/alphasort64.c (alphasort64):
75445         Conditionalize on [!_DIRENT_MATCHES_DIRENT64].
75446         * dirent/versionsort64.c: Likewise.
75447         * dirent/scandir64.c: Likewise.
75448         * dirent/scandirat64.c: Likewise.
75449         * sysdeps/wordsize-64/alphasort.c: File removed.
75450         * sysdeps/wordsize-64/alphasort64.c: File removed.
75451         * sysdeps/wordsize-64/scandir.c: File removed.
75452         * sysdeps/wordsize-64/scandir64.c: File removed.
75453         * sysdeps/wordsize-64/scandirat.c: File removed.
75454         * sysdeps/wordsize-64/scandirat64.c: File removed.
75455         * sysdeps/wordsize-64/versionsort.c: File removed.
75456         * sysdeps/wordsize-64/versionsort64.c: File removed.
75457         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: File removed.
75458         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: File removed.
75459         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: File removed.
75460         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: File removed.
75461         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: File removed.
75462         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: File removed.
75463         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: File removed.
75464         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: File removed.
75466         * bits/typesizes.h [__LP64__] (__INO_T_MATCHES_INO64_T): New macros.
75467         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
75468         [__s390x__] (__INO_T_MATCHES_INO64_T): New macro.
75469         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
75470         [defined __arch64__ || defined __sparcv9]
75471         (__INO_T_MATCHES_INO64_T): New macro.
75472         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
75473         [__x86_64__] (__INO_T_MATCHES_INO64_T): New macro.
75474         * bits/dirent.h (_DIRENT_MATCHES_DIRENT64): New macro.
75475         * sysdeps/unix/sysv/linux/bits/dirent.h
75476         [defined __OFF_T_MATCHES_OFF64_T && defined __INO_T_MATCHES_INO64_T]
75477         (_DIRENT_MATCHES_DIRENT64): New macro.
75479         * io/lockf.c [__OFF_T_MATCHES_OFF64_T]:
75480         Define lockf64 as an alias.
75481         * libio/fseeko.c [__OFF_T_MATCHES_OFF64_T]:
75482         Define fseeko64 as an alias.
75483         * libio/ftello.c [__OFF_T_MATCHES_OFF64_T]:
75484         Define ftello64 as an alias.
75485         * libio/iofgetpos.c [__OFF_T_MATCHES_OFF64_T]:
75486         Define _IO_fgetpos64 and fgetpos64 as aliases.
75487         * libio/iofsetpos.c [__OFF_T_MATCHES_OFF64_T]:
75488         Define _IO_fsetpos64 and fsetpos64 as aliases.
75489         * io/lockf64.c [!__OFF_T_MATCHES_OFF64_T]:
75490         Conditionalize body on this.
75491         * libio/fseeko64.c: Likewise.
75492         * libio/ftello64.c: Likewise.
75493         * libio/iofgetpos64.c: Likewise.
75494         * libio/iofsetpos64.c: Likewise.
75495         * sysdeps/wordsize-64/lockf.c: File removed.
75496         * sysdeps/wordsize-64/lockf64.c: File removed.
75497         * sysdeps/wordsize-64/fseeko.c: File removed.
75498         * sysdeps/wordsize-64/fseeko64.c: File removed.
75499         * sysdeps/wordsize-64/ftello.c: File removed.
75500         * sysdeps/wordsize-64/ftello64.c: File removed.
75501         * sysdeps/wordsize-64/iofgetpos.c: File removed.
75502         * sysdeps/wordsize-64/iofgetpos64.c: File removed.
75503         * sysdeps/wordsize-64/iofsetpos.c: File removed.
75504         * sysdeps/wordsize-64/iofsetpos64.c: File removed.
75505         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: File removed.
75506         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: File removed.
75507         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: File removed.
75508         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: File removed.
75509         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: File removed.
75510         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: File removed.
75511         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: File removed.
75512         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: File removed.
75513         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: File removed.
75514         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: File removed.
75516         * bits/typesizes.h [__LP64__] (__OFF_T_MATCHES_OFF64_T): New macro.
75517         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h:
75518         [__s390x__] (__OFF_T_MATCHES_OFF64_T): New macro.
75519         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
75520         [defined __arch64__ || defined __sparcv9]
75521         (__OFF_T_MATCHES_OFF64_T): New macro.
75522         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h
75523         [__x86_64__] (__OFF_T_MATCHES_OFF64_T): New macro.
75524         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
75525         (__OFF_T_MATCHES_OFF64_T): New macro.
75527 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
75529         * stdlib/secure-getenv.c (__secure_getenv): Replace
75530         GLIBC_2_16 with GLIBC_2_17.
75532 2012-08-06  H.J. Lu  <hongjiu.lu@intel.com>
75534         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Removed.
75535         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
75537 2012-08-03  David S. Miller  <davem@davemloft.net>
75539         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75541 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
75543         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_AT_SECURE):
75544         Remove.
75545         (__ASSUME_CORRECT_SI_PID): Likewise.
75546         (__ASSUME_BRK_PAGE_ROUNDED): Likewise.
75547         (__ASSUME_TMPFS_NAME): Likewise.
75548         * sysdeps/unix/sysv/linux/dl-sysdep.c (frob_brk)
75549         [!__ASSUME_BRK_PAGE_ROUNDED]: Remove conditional code.
75550         * sysdeps/unix/sysv/linux/ldsodefs.h [__ASSUME_AT_SECURE]
75551         (HAVE_AUX_SECURE): Make definition unconditional.
75552         * sysdeps/unix/sysv/linux/shm_open.c (where_is_shmfs)
75553         [!__ASSUME_TMPFS_NAME]: Remove conditional code.
75555 2012-08-03  Roland McGrath  <roland@hack.frob.com>
75557         * sysdeps/mach/hurd/sys/param.h (MAXSYMLINKS): Macro removed.
75558         * sysdeps/mach/hurd/bits/local_lim.h (SYMLOOP_MAX): Macro removed.
75559         * sysdeps/mach/hurd/eloop-threshold.h: New file.
75560         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
75561         __eloop_threshold instead of SYMLOOP_MAX.
75563         * sysdeps/generic/eloop-threshold.h: New file.
75564         * stdlib/canonicalize.c (__realpath): Use __eloop_threshold instead
75565         of MAXSYMLINKS.
75566         * elf/chroot_canon.c (chroot_canon): Likewise.
75568 2012-08-03  Joseph Myers  <joseph@codesourcery.com>
75570         [BZ #13717]
75571         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
75572         Change to 2.6.0 everywhere.
75573         * sysdeps/unix/sysv/linux/configure: Regenerated.
75574         * sysdeps/unix/sysv/linux/kernel-features.h
75575         (__ASSUME_SET_THREAD_AREA_SYSCALL): Remove.
75576         (__ASSUME_CLONE_THREAD_FLAGS): Condition on architectures, not
75577         kernel versions.
75578         (__ASSUME_POSIX_TIMERS): Define unconditionally.
75579         (__ASSUME_FUTEX_REQUEUE): Remove.
75580         (__ASSUME_STATFS64): Define unconditionally.
75581         (__ASSUME_AT_SECURE): Likewise.
75582         (__ASSUME_CORRECT_SI_PID): Likewise.
75583         (__ASSUME_TGKILL): Define without depending on kernel version for
75584         i386.
75585         (__ASSUME_UTIMES): Likewise.
75586         (__ASSUME_SWAPCONTEXT_SYSCALL): Condition on architecture, not
75587         kernel version.
75588         (__ASSUME_BRK_PAGE_ROUNDED): Define unconditionally.
75589         (__ASSUME_TMPFS_NAME): Likewise.
75590         * README: Update reference to Linux kernel versions.
75592 2012-08-02  Marek Polacek  <polacek@redhat.com>
75594         [BZ #14150]
75595         * configure.in (libc_cv_asm_type_prefix): Remove test.  Replace
75596         libc_cv_asm_type_prefix with %.
75597         * configure: Regenerated.
75598         * include/libc-symbols.h: Remove comment about
75599         ASM_TYPE_DIRECTIVE_PREFIX.  Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
75600         (declare_symbol_alias_1_paste) [__ASSEMBLER__]: Do not define.
75601         (declare_symbol_alias_1_paste_1) [__ASSEMBLER__]: Likewise.
75602         (declare_symbol_alias_1_stringify) [!__ASSEMBLER__]: Likewise.
75603         (declare_symbol_alias_1_stringify_1) [!__ASSEMBLER__]: Likewise.
75604         * elf/tst-unique2mod2.c: Replace ASM_TYPE_DIRECTIVE_PREFIX with %.
75605         [HAVE_ASM_UNIQUE_OBJECT]: Do not define S.
75606         [HAVE_ASM_UNIQUE_OBJECT]: Do not define _S.
75607         * elf/tst-unique2mod1.c: Likewise.
75608         * elf/tst-unique1mod2.c: Likewise.
75609         * elf/tst-unique1mod1.c: Likewise.
75610         * config.h.in: Do not undef ASM_TYPE_DIRECTIVE_PREFIX.
75611         * sysdeps/s390/s390-32/sysdep.h: Do not define ASM_TYPE_DIRECTIVE.
75612         Replace ASM_TYPE_DIRECTIVE with .type.
75613         * sysdeps/s390/s390-64/sysdep.h: Likewise.
75614         * sysdeps/i386/sysdep.h: Likewise.
75615         * sysdeps/x86_64/sysdep.h: Likewise.
75616         * sysdeps/sh/sysdep.h: Likewise.
75617         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
75618         Do not define ASM_TYPE_DIRECTIVE.
75619         * sysdeps/powerpc/sysdep.h: Likewise.
75620         * sysdeps/powerpc/powerpc32/sysdep.h:
75621         Replace ASM_TYPE_DIRECTIVE with .type.
75622         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
75623         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
75624         * sysdeps/i386/fpu/e_powf.S: Likewise.
75625         * sysdeps/i386/fpu/e_expl.S: Likewise.
75626         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
75627         * sysdeps/i386/fpu/e_acosh.S: Likewise.
75628         * sysdeps/i386/fpu/e_pow.S: Likewise.
75629         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
75630         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
75631         * sysdeps/i386/fpu/s_expm1.S: Likewise.
75632         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
75633         * sysdeps/i386/fpu/e_log2.S: Likewise.
75634         * sysdeps/i386/fpu/e_log2l.S: Likewise.
75635         * sysdeps/i386/fpu/e_scalb.S: Likewise.
75636         * sysdeps/i386/fpu/e_powl.S: Likewise.
75637         * sysdeps/i386/fpu/e_log10f.S: Likewise.
75638         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
75639         * sysdeps/i386/fpu/e_logl.S: Likewise.
75640         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
75641         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
75642         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
75643         * sysdeps/i386/fpu/e_log2f.S: Likewise.
75644         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
75645         * sysdeps/i386/fpu/e_log.S: Likewise.
75646         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
75647         * sysdeps/i386/fpu/e_logf.S: Likewise.
75648         * sysdeps/i386/fpu/e_log10l.S: Likewise.
75649         * sysdeps/i386/fpu/e_atanh.S: Likewise.
75650         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
75651         * sysdeps/i386/fpu/e_log10.S: Likewise.
75652         * sysdeps/i386/fpu/s_frexp.S: Likewise.
75653         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
75654         * sysdeps/i386/fpu/s_asinh.S: Likewise.
75655         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
75656         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
75657         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: Likewise.
75658         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
75659         * sysdeps/i386/i686/strtok.S: Likewise.
75660         * sysdeps/i386/i386-mcount.S: Likewise.
75661         * sysdeps/i386/strtok.S: Likewise.
75662         * sysdeps/x86_64/fpu/e_expl.S: Likewise.
75663         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
75664         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
75665         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
75666         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
75667         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
75668         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
75669         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
75670         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
75671         * sysdeps/x86_64/_mcount.S: Likewise.
75672         * sysdeps/x86_64/strtok.S: Likewise.
75673         * sysdeps/sh/_mcount.S: Likewise.
75675 2012-08-01  Roland McGrath  <roland@hack.frob.com>
75677         * libio/iofopen.c: Include <fcntl.h>.
75678         [_LIBC] [!defined O_LARGEFILE || O_LARGEFILE == 0]
75679         (_IO_fopen64, fopen64): Define as aliases.
75680         * libio/iofopen64.c: Include <fcntl.h>.
75681         [!defined _LIBC || (defined O_LARGEFILE && O_LARGEFILE != 0)]:
75682         Conditionalize body on this.
75683         * sysdeps/wordsize-64/iofopen.c: File removed.
75684         * sysdeps/wordsize-64/iofopen64.c: File removed.
75686 2012-08-01  Marek Polacek  <polacek@redhat.com>
75688         * libc/Makeconfig: Use elf in place of binfmt-subdir.
75689         Use dlfcn directly instead of a variable.
75690         (binfmt-subdir): Do not define.
75691         (dlfcn): Likewise.
75693 2012-08-01  Joseph Myers  <joseph@codesourcery.com>
75695         * sysdeps/unix/sysv/linux/kernel-features.h (__ASSUME_FCNTL64):
75696         Remove all definitions.
75697         * sysdeps/unix/sysv/linux/i386/fcntl.c: Do not include
75698         <kernel-features.h>.
75699         [!__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
75700         (miss_F_GETOWN_EX): Remove all definitions.
75701         [NO_CANCELLATION && !__ASSUME_FCNTL64] (__fcntl_nocancel): Remove
75702         macro definition.
75703         [!__ASSUME_FCNTL64]: Remove conditional code.
75704         [__ASSUME_FCNTL64]: Make code unconditional.
75705         * sysdeps/unix/sysv/linux/i386/lockf64.c: Do not include
75706         <kernel-features.h>.
75707         [__NR_fcntl64 && !__ASSUME_FCNTL64] (__have_no_fcntl64): Remove.
75708         (lockf64) [!__ASSUME_FCNTL64]: Remove conditional code.
75709         (lockf64) [__NR_fcntl64]: Make code unconditional.
75710         (lockf64) [__ASSUME_FCNTL64]: Likewise.
75712         * sysdeps/unix/sysv/linux/kernel-features.h
75713         (__ASSUME_VFORK_SYSCALL): Remove all definitions.
75714         * sysdeps/unix/sysv/linux/i386/vfork.S (__vfork) [__NR_vfork]:
75715         Make code unconditional.
75716         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
75717         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
75718         * sysdeps/unix/sysv/linux/powerpc/powerpc32/vfork.S (__vfork)
75719         [__NR_vfork]: Make code unconditional.
75720         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
75721         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
75722         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork)
75723         [__NR_vfork]: Make code unconditional.
75724         (__vfork) [__ASSUME_VFORK_SYSCALL]: Likewise.
75725         (__vfork) [!__ASSUME_VFORK_SYSCALL]: Remove conditional code.
75727 2012-08-01  Roland McGrath  <roland@hack.frob.com>
75729         * sysdeps/generic/sys/param.h (NGROUPS): Define only if [NGROUPS_MAX].
75730         (MAXSYMLINKS): Define only if [SYMLOOP_MAX].
75732         * misc/mkstemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
75733         Define mkstemp64 as an alias.
75734         * misc/mkstemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
75735         Define mkstemps64 as an alias.
75736         * misc/mkostemp.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
75737         Define mkostemp64 as an alias.
75738         * misc/mkostemps.c [!defined O_LARGEFILE || O_LARGEFILE == 0]:
75739         Define mkostemps64 as an alias.
75740         * misc/mkstemp64.c [defined O_LARGEFILE && O_LARGEFILE != 0]:
75741         Conditionalize body on this.
75742         * misc/mkostemp64.c: Likewise.
75743         * misc/mkostemps64.c: Likewise.
75744         * misc/mkstemps64.c: Likewise.
75745         * sysdeps/wordsize-64/mkstemp64.c: File removed.
75746         * sysdeps/wordsize-64/mkostemp64.c: File removed.
75747         * sysdeps/wordsize-64/mkostemp.c: File removed.
75748         * sysdeps/wordsize-64/mkstemp.c: File removed.
75749         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: File removed.
75750         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: File removed.
75751         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: File removed.
75752         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: File removed.
75754         [BZ #14138]
75755         * sysdeps/unix/sysv/linux/syscalls.list: Add getrlimit/ugetrlimit line.
75756         * sysdeps/unix/sysv/linux/i386/getrlimit.c: File removed.
75757         * sysdeps/unix/sysv/linux/powerpc/getrlimit.c: File removed.
75758         * sysdeps/unix/sysv/linux/sh/getrlimit.c: File removed.
75760         * sysdeps/unix/make-syscalls.sh: Emit uses of the versioned_symbol and
75761         compat_symbol macros from <shlib-compat.h> rather than the underlying
75762         default_symbol_version and symbol_version macros, so that DEFAULT
75763         lines in shlib-versions are respected.
75764         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Likewise.
75766 2012-08-01  Florian Weimer  <fweimer@redhat.com>
75768         * posix/unistd.h (setuid, setreuid, seteuid, setresuid):
75769         Declare with warn_unused_result.
75770         (setgid, setregid, setegid, setresgid): Likewise.
75771         * sysdeps/unix/sysv/linux/sys/fsuid.h (setfsuid, setfsgid):
75772         Likewise.
75773         * WUR-REPORT: Remove set*id functions.
75775 2012-07-31  Pino Toscano  <toscano.pino@tiscali.it>
75777         * sysdeps/mach/hurd/renameat.c: New file, mostly copied from rename.c.
75779 2012-07-31  Roland McGrath  <roland@hack.frob.com>
75781         [BZ #10191]
75782         * include/sys/socket.h (__libc_accept, __libc_accept4):
75783         Add attribute_hidden.
75784         * socket/accept4.c (__libc_accept4): Remove libc_hidden_def.
75786         * nss/getXXbyYY_r.c (INTERNAL (REENTRANT_NAME)): Conditionalize
75787         use of PTR_MANGLE.
75788         * inet/getnetgrent_r.c (setup): Likewise.
75790         * sysdeps/generic/siglist.h: Put SIGWINCH under #ifdef.
75792 2012-07-31  David S. Miller  <davem@davemloft.net>
75794         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75796 2012-07-31  Joseph Myers  <joseph@codesourcery.com>
75798         [BZ #13629]
75799         * math/s_clog.c (__clog): Use __log1p if larger part has absolute
75800         value between 1.0 and 2.0 and smaller part has absolute value less
75801         than 1.0.
75802         * math/s_clog10.c (__clog10): Likewise.
75803         * math/s_clog10f.c (__clog10f): Likewise.
75804         * math/s_clog10l.c (__clog10l): Likewise.
75805         * math/s_clogf.c (__clogf): Likewise.
75806         * math/s_clogl.c (__clogl): Likewise.
75807         * math/libm-test.inc (clog_test): Add more tests.
75808         (clog10_test): Likewise.
75809         * sysdeps/i386/fpu/libm-test-ulps: Update.
75810         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75812 2012-07-31  Florian Weimer  <fweimer@redhat.com>
75814         * stdlib/tst-secure-getenv.c: Use printf for error reporting.
75815         Exit with zero in case no suitable GID is found, and write a
75816         message to standard error.
75818 2012-07-30  Roland McGrath  <roland@hack.frob.com>
75820         * sysdeps/generic/sys/param.h (MAXSYMLINKS): Define to SYMLOOP_MAX
75821         rather than to 1.
75822         (NBBY, NGROUPS, CANBSIZ, NCARGS): New macros.
75823         (MAXPATHLEN): Removed.
75824         (NOGROUP, NODEV): New macros.
75825         (setbit, clrbit, isset, isclr): New macros.
75826         (howmany, roundup, powerof2): New macros.
75827         (DEV_BSIZE): New macro.
75829         * include/unistd.h: Add attribute_hidden on __libc_pwrite64.
75830         * sysdeps/posix/pwrite64.c: Remove libc_hidden_def (__libc_pwrite64).
75832         * sysdeps/ieee754/k_standard.c (__kernel_standard_l): Conditionalize
75833         definition on [!__NO_LONG_DOUBLE_MATH].
75835         * nss/nsswitch.c (__nss_lookup_function): Conditionalize use of
75836         PTR_MANGLE and PTR_DEMANGLE.
75838         * socket/accept4.c (accept4): Rename to __libc_accept4.
75839         Define accept4 as a weak alias.
75841         * sysdeps/posix/getcwd.c (__getcwd): Conditionalize d_type field use
75842         on [_DIRENT_HAVE_D_TYPE].
75843         * io/ftw.c (ftw_dir): Likewise.
75845         * io/xmknod.c (__xmknod): Don't check PATH for being null.
75847         * libio/genops.c (flush_cleanup): Move inside [_IO_MTSAFE_IO].
75849         * bits/signum.h (SIGSTOP, SIGCONT, SIGTSTP, SIGTTIN, SIGTTOU, SIGCHLD):
75850         Use the BSD numbers rather than the arbitrary ones we had.
75851         (SIGBUS, SIGIO, SIGPOLL, SIGPROF, SIGSYS): New macros.
75852         (SIGTRAP, SIGURG, SIGUSR1, SIGUSR2, SIGVTALRM): New macros.
75853         (SIGXCPU, SIGXFSZ): New macros.
75854         (_NSIG): Now 32.
75856         * elf/rtld.c (_rtld_global): Conditionalize .dl_ns[LM_ID_BASE]
75857         initializer on [_LIBC_REENTRANT].
75859         * iconv/iconv_charmap.c (charmap_conversion): Move ST, ADDR
75860         definitions inside [_POSIX_MAPPED_FILES].
75862         * posix/regex.c: Include <sys/param.h> for MIN/MAX.
75864         * dirent/opendir.c: Include <fcntl.h>.
75866         * bits/libc-lock.h (__libc_setspecific): Evaluate arguments.
75867         (__libc_getspecific): Likewise.
75868         (__libc_key_create): Likewise.
75870         * stdio-common/tmpfile64.c: Include <fcntl.h> first.
75871         [defined O_LARGEFILE && O_LARGEFILE != 0]: Conditionalize on this.
75872         * stdio-common/tmpfile.c [!defined O_LARGEFILE || O_LARGEFILE == 0]
75873         (tmpfile64): Define as alias.
75874         * sysdeps/wordsize-64/tmpfile.c: File removed.
75875         * sysdeps/wordsize-64/tmpfile64.c: File removed.
75876         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: File removed.
75877         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: File removed.
75879         * stdio-common/vfscanf.c: Include <stdbool.h>.
75880         * nss/makedb.c: Likewise.
75881         * stdio-common/_i18n_number.h: Likewise.
75882         * argp/argp-help.c: Likewise.
75883         * posix/wordexp.c: Likewise.
75884         * sysdeps/posix/spawni.c: Likewise.
75885         * nss/nss_files/files-initgroups.c: Likewise.
75886         * stdio-common/reg-modifier.c: Include <stdlib.h>.
75887         * nss/nss_files/files-initgroups.c: Likewise.
75888         * nss/nss_db/db-netgrp.c: Likewise.
75889         * nss/nss_db/db-initgroups.c: Likewise.
75890         * io/fchmodat.c: Include <sys/stat.h>.
75892         * sysdeps/generic/ldsodefs.h (struct rtld_global): Use
75893         __rtld_lock_define_recursive macro instead of __rtld_lock_recursive_t.
75895         * intl/loadmsgcat.c (_nl_load_domain): Don't use MAP_FAILED outside of
75896         [HAVE_MMAP].
75898         * bits/stat.h: Fix inclusion guard to accept _FCNTL_H too.
75899         Add multiple inclusion protection.
75901 2012-07-27  David S. Miller  <davem@davemloft.net>
75903         * sysdeps/sparc/fpu/libm-test-ulps: Update.
75905 2012-07-27  Gary Benson  <gbenson@redhat.com>
75907         [BZ #14298]
75908         * elf/rtld.c: Include <stap-probe.h>.
75909         (dl_main): Added static probes "init_start" and "init_complete".
75910         * elf/dl-load.c: Include <stap-probe.h>.
75911         (lose): Take new parameter "nsid".
75912         Added static probe "map_failed".
75913         (_dl_map_object_from_fd): Pass namespace id to lose.
75914         Added static probe "map_start".
75915         (open_verify): Pass namespace id to lose.
75916         * elf/dl-open.c: Include <stap-probe.h>.
75917         (dl_open_worker) Added static probes "map_complete", "reloc_start"
75918         and "reloc_complete".
75919         * elf/dl-close.c: Include <stap-probe.h>.
75920         (_dl_close_worker): Added static probes "unmap_start" and
75921         "unmap_complete".
75922         * elf/rtld-debugger-interface.txt: New file documenting the above.
75924 2012-07-26  Roland McGrath  <roland@hack.frob.com>
75926         * sunrpc/rpc_hout.c (pdeclaration): Call f_print with a "%s" format
75927         rather than a string variable.
75928         * sunrpc/rpc_main.c (h_output): Likewise.
75929         * sunrpc/rpc_svcout.c (write_real_program): Likewise.
75931 2012-07-26  Pino Toscano  <toscano.pino@tiscali.it>
75933         * inet/check_native.c: New file.
75935 2012-07-26  Joseph Myers  <joseph@codesourcery.com>
75937         [BZ #13629]
75938         * math/s_clog.c (__clog): Use __log1p or direct log1p calculation
75939         if larger part has absolute value 1.0.
75940         * math/s_clog10.c (__clog10): Likewise.
75941         * math/s_clog10f.c (__clog10f): Likewise.
75942         * math/s_clog10l.c (__clog10l): Likewise.
75943         * math/s_clogf.c (__clogf): Likewise.
75944         * math/s_clogl.c (__clogl): Likewise.
75945         * math/libm-test.inc (clog_test): Add more tests.
75946         (clog10_test): Likewise.
75947         * sysdeps/i386/fpu/libm-test-ulps: Update.
75948         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
75950         * elf/tst-auditmod1.c (pltenter): Remove all definitions of macro.
75951         (pltexit): Likewise.
75952         (La_regs): Likewise.
75953         (La_retval): Likewise.
75954         (int_retval): Likewise.
75955         Update #error for removed macros to refer only to definitions in
75956         tst-audit.h.
75957         * elf/tst-auditmod3b.c (pltenter): Remove all definitions of
75958         macro.
75959         (pltexit): Likewise.
75960         (La_regs): Likewise.
75961         (La_retval): Likewise.
75962         (int_retval): Likewise.
75963         * elf/tst-auditmod4b.c (pltenter): Remove all definitions of
75964         macro.
75965         (pltexit): Likewise.
75966         (La_regs): Likewise.
75967         (La_retval): Likewise.
75968         (int_retval): Likewise.
75969         * elf/tst-auditmod5b.c (pltenter): Remove all definitions of
75970         macro.
75971         (pltexit): Likewise.
75972         (La_regs): Likewise.
75973         (La_retval): Likewise.
75974         (int_retval): Likewise.
75975         * elf/tst-auditmod6b.c (pltenter): Remove all definitions of
75976         macro.
75977         (pltexit): Likewise.
75978         (La_regs): Likewise.
75979         (La_retval): Likewise.
75980         (int_retval): Likewise.
75981         * elf/tst-auditmod6c.c (pltenter): Remove all definitions of
75982         macro.
75983         (pltexit): Likewise.
75984         (La_regs): Likewise.
75985         (La_retval): Likewise.
75986         (int_retval): Likewise.
75987         * elf/tst-auditmod7b.c (pltenter): Remove all definitions of
75988         macro.
75989         (pltexit): Likewise.
75990         (La_regs): Likewise.
75991         (La_retval): Likewise.
75992         (int_retval): Likewise.
75993         * sysdeps/generic/tst-audit.h: Update comment to refer only to
75994         macro definitions in tst-audit.h.
75995         * sysdeps/i386/tst-audit.h: New file.
75996         * sysdeps/powerpc/powerpc32/tst-audit.h: Likewise.
75997         * sysdeps/powerpc/powerpc64/tst-audit.h: Likewise.
75998         * sysdeps/s390/s390-32/tst-audit.h: Likewise.
75999         * sysdeps/s390/s390-64/tst-audit.h: Likewise.
76000         * sysdeps/sh/tst-audit.h: Likewise.
76001         * sysdeps/sparc/sparc32/tst-audit.h: Likewise.
76002         * sysdeps/sparc/sparc64/tst-audit.h: Likewise.
76003         * sysdeps/x86_64/tst-audit.h: Likewise.
76005 2012-07-26  Andreas Jaeger  <aj@suse.de>
76007         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Add __THROW for
76008         ptrace.
76010         * sysdeps/unix/sysv/linux/sys/ptrace.h (__ptrace_eventcodes): Add
76011         new value PTRACE_EVENT_SECCOMP from Linux 3.5.
76012         (__ptrace_setoptions): Add new value PTRACE_O_TRACESECCOMP, adjust
76013         PTRACE_O_MASK.
76014         * sysdeps/unix/sysv/linux/s390/bits/ptrace.h: Likewise.
76015         * sysdeps/unix/sysv/linux/sparc/bits/ptrace.h: Likewise.
76016         * sysdeps/unix/sysv/linux/powerpc/bits/ptrace.h: Likewise.
76018         * sysdeps/unix/sysv/linux/sys/epoll.h (EPOLLWAKEUP): Add new
76019         value.
76021         * sysdeps/unix/sysv/linux/bits/siginfo.h (siginfo_t): Add
76022         _sigsys.
76023         (si_call_addr, si_syscall, si_arch): Define new macro.
76024         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h (siginfo_t): Add
76025         _sigsys.
76026         (si_call_addr, si_syscall, si_arch): Define new marcro.
76027         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h (siginfo_t): Add
76028         _sigsys.
76029         (si_call_addr, si_syscall, si_arch): Define new macro.
76030         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h (struct): Add
76031         _sigsys.
76032         (si_call_addr, si_syscall, si_arch): Define new macro.
76034 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
76036         [BZ #13717]
76037         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
76038         Change to 2.4.21 where previously 2.4.1.
76039         * sysdeps/unix/sysv/linux/configure: Regenerated.
76040         * sysdeps/unix/sysv/linux/kernel-features.h [(__powerpc__ ||
76041         __sh__) && !__powerpc64__] (__ASSUME_FCNTL64): Do not condition on
76042         Linux kernel version.
76043         (__ASSUME_STD_AUXV): Remove.
76044         [__powerpc__] (__ASSUME_VFORK_SYSCALL): Do not condition on Linux
76045         kernel version.
76046         [__powerpc__ && !__powerpc64] (__ASSUME_MMAP2_SYSCALL): Likewise.
76047         (__ASSUME_NEW_PRCTL_SYSCALL): Remove.
76048         (__ASSUME_FIXED_CLONE_SYSCALL): Likewise.
76049         (__ASSUME_NEW_RT_SIGRETURN_SYSCALL): Likewise.
76050         (__ASSUME_NETLINK_SUPPORT): Likewise.
76051         * nscd/gai.c [NEED_NETLINK && __ASSUME_NETLINK_SUPPORT == 0]
76052         (__no_netlink_support): Remove conditional definition.
76053         * sysdeps/unix/sysv/linux/check_pf.c (__no_netlink_support):
76054         Remove.
76055         (__check_pf) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
76056         [__ASSUME_NETLINK_SUPPORT]: Make code unconditional.
76057         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_NETLINK_SUPPORT]
76058         (if_nameindex_ioctl): Remove.
76059         (if_nameindex_netlink): Do not handle __no_netlink_support.
76060         (if_nameindex) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
76061         code.
76062         * sysdeps/unix/sysv/linux/ifaddrs.c [!__ASSUME_NETLINK_SUPPORT]:
76063         Remove conditional code.
76064         (__netlink_open) [!__ASSUME_NETLINK_SUPPORT]: Remove conditional
76065         code.
76066         (getifaddrs_internal) [__ASSUME_NETLINK_SUPPORT]: Make code
76067         unconditional.
76068         [!__ASSUME_NETLINK_SUPPORT]: Remove conditional code.
76069         [__ASSUME_NETLINK_SUPPORT] (freeifaddrs): Make code unconditional.
76070         * sysdeps/unix/sysv/linux/netlinkaccess.h (__no_netlink_support):
76071         Remove.
76072         * sysdeps/unix/sysv/linux/powerpc/dl-sysdep.c
76073         [!__ASSUME_STD_AUXV]: Remove conditional code.
76074         * sysdeps/unix/sysv/linux/powerpc/powerpc32/clone.S (__clone)
76075         [!__ASSUME_FIXED_CLONE_SYSCALL]: Remove conditional code.
76076         [__ASSUME_FIXED_CLONE_SYSCALL]: Make code unconditional.
76077         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_mask.c
76078         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_mask_handler): Remove.
76079         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
76080         code.
76081         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
76082         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/fe_nomask.c
76083         [!__ASSUME_NEW_PRCTL_SYSCALL] (fe_nomask_handler): Remove.
76084         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
76085         conditional code.
76086         [__ASSUME_NEW_PRCTL_SYSCALL]: Make code unconditional.
76087         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_mask.c
76088         (__fe_mask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove conditional
76089         code.
76090         * sysdeps/unix/sysv/linux/powerpc/powerpc64/fpu/fe_nomask.c
76091         (__fe_nomask_env) [!__ASSUME_NEW_PRCTL_SYSCALL]: Remove
76092         conditional code.
76093         * sysdeps/unix/sysv/linux/powerpc/powerpc64/getcontext.S
76094         (__novec_getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
76095         code unconditional.
76096         (__novec_getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
76097         conditional code.
76098         (__getcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
76099         unconditional.
76100         (__getcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
76101         conditional code.
76102         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
76103         (__makecontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
76104         unconditional.
76105         (__makecontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
76106         conditional code.
76107         * sysdeps/unix/sysv/linux/powerpc/powerpc64/setcontext.S
76108         (__novec_setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
76109         code unconditional.
76110         (__novec_setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
76111         conditional code.
76112         (__setcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
76113         unconditional.
76114         (__setcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
76115         conditional code.
76116         * sysdeps/unix/sysv/linux/powerpc/powerpc64/swapcontext.S
76117         (__novec_swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make
76118         code unconditional.
76119         (__novec_swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
76120         conditional code.
76121         (__swapcontext) [__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Make code
76122         unconditional.
76123         (__swapcontext) [!__ASSUME_NEW_RT_SIGRETURN_SYSCALL]: Remove
76124         conditional code.
76126 2012-07-25  Andreas Schwab  <schwab@linux-m68k.org>
76128         * sysdeps/unix/sysv/linux/i386/accept4.S: Remove pseudo_end label.
76129         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: Likewise.
76130         * sysdeps/unix/sysv/linux/i386/clone.S: Likewise.
76131         * sysdeps/unix/sysv/linux/i386/epoll_pwait.S: Likewise.
76132         * sysdeps/unix/sysv/linux/i386/getcontext.S: Likewise.
76133         * sysdeps/unix/sysv/linux/i386/mmap.S: Likewise.
76134         * sysdeps/unix/sysv/linux/i386/mmap64.S: Likewise.
76135         * sysdeps/unix/sysv/linux/i386/semtimedop.S: Likewise.
76136         * sysdeps/unix/sysv/linux/i386/setcontext.S: Likewise.
76137         * sysdeps/unix/sysv/linux/i386/socket.S: Likewise.
76138         * sysdeps/unix/sysv/linux/i386/swapcontext.S: Likewise.
76139         * sysdeps/unix/sysv/linux/i386/syscall.S: Likewise.
76140         * sysdeps/unix/sysv/linux/i386/sysdep.h (PSEUDO): Likewise.
76141         * sysdeps/unix/sysv/linux/i386/vfork.S: Likewise.
76142         * sysdeps/unix/sysv/linux/x86_64/clone.S: Likewise.
76143         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Likewise.
76144         * sysdeps/unix/sysv/linux/x86_64/setcontext.S: Likewise.
76145         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Likewise.
76146         * sysdeps/unix/sysv/linux/x86_64/syscall.S: Likewise.
76147         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PSEUDO): Likewise.
76148         * sysdeps/unix/sysv/linux/x86_64/swapcontext.S: Likewise.
76149         * sysdeps/unix/sysv/linux/x86_64/vfork.S: Likewise.
76150         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
76152 2012-07-25  Florian Weimer  <fweimer@redhat.com>
76154         * Versions.def: Add GLIBC_2.17.
76155         * stdlib/stdlib.h: Rename __secure_getenv to secure_getenv.
76156         * include/stdlib.h: Rename __secure_getenv to secure_getenv.
76157         Introduce __libc_secure_getenv.
76158         * stdlib/Versions (2.17): Add secure_getenv
76159         (GLIBC_PRIVATE): Add __libc_secure_getenv.
76160         * stdlib/secure-getenv.c: Rename __secure_getenv to
76161         __libc_secure_getenv.  Add secure_getenv alias.  Add compatibility
76162         symbol __secure_getenv for GLIBC_2.0.
76163         * stdlib/tst-secure-getenv.c: New.
76164         * stdlib/Makefile (tests): Add testcase.
76165         * manual/startup.texi (Environment Access): Document
76166         secure_getenv.
76167         * hesiod/hesiod.c (hesiod_init): Rename __secure_getenv to
76168         __libc_secure_getenv.
76169         * inet/ruserpass.c (ruserpass): Likewise.
76170         * malloc/mtrace.c (mtrace): Likewise.
76171         * sysdeps/mach/hurd/tmpfile.c (__tmpfile): Likewise.
76172         * sysdeps/posix/libc_fatal.c (__libc_fatal): Likewise.
76173         * sysdeps/posix/sysconf.c (__sysconf__check_spec): Likewise.
76174         * sysdeps/posix/tempname.c: Likewise.  Evaluate
76175         HAVE_SECURE_GETENV.
76176         * sysdeps/unix/sysv/linux/libc_fatal.c (__libc_message): Rename
76177         __secure_getenv to __libc_secure_getenv.
76178         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Add secure_getenv.
76179         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
76180         Likewise.
76181         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
76182         Likewise.
76183         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Likewise.
76184         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Likewise.
76185         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Likewise.
76186         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Likewise.
76187         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Likewise.
76188         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Likewise.
76189         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist: Likewise.
76191 2012-07-25  Joseph Myers  <joseph@codesourcery.com>
76193         * sysdeps/generic/ldsodefs.h (struct La_i86_regs): Remove.
76194         (struct La_i86_retval): Likewise.
76195         (struct La_x86_64_regs): Likewise.
76196         (struct La_x86_64_retval): Likewise.
76197         (struct La_x32_regs): Likewise.
76198         (struct La_x32_retval): Likewise.
76199         (struct La_ppc32_regs): Likewise.
76200         (struct La_ppc32_retval): Likewise.
76201         (struct La_ppc64_regs): Likewise.
76202         (struct La_ppc64_retval): Likewise.
76203         (struct La_sh_regs): Likewise.
76204         (struct La_sh_retval): Likewise.
76205         (struct La_s390_32_regs): Likewise.
76206         (struct La_s390_32_retval): Likewise.
76207         (struct La_s390_64_regs): Likewise.
76208         (struct La_s390_64_retval): Likewise.
76209         (struct La_sparc32_regs): Likewise.
76210         (struct La_sparc32_retval): Likewise.
76211         (struct La_sparc64_regs): Likewise.
76212         (struct La_sparc64_retval): Likewise.
76213         (struct audit_ifaces): Remove architecture-specific pltenter and
76214         pltexit members.
76215         * sysdeps/i386/ldsodefs.h: New file.
76216         * sysdeps/powerpc/ldsodefs.h: Likewise.
76217         * sysdeps/s390/ldsodefs.h: Likewise.
76218         * sysdeps/sh/ldsodefs.h: Likewise.
76219         * sysdeps/sparc/ldsodefs.h: Likewise.
76220         * sysdeps/x86_64/ldsodefs.h: Likewise.
76222 2012-07-25  Marek Polacek  <polacek@redhat.com>
76224         [BZ #6808]
76225         * math/libm-test.inc (yn_test): Add another test.
76226         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c (__ieee754_ynl): Set errno
76227         to ERANGE when the result is +-Inf.
76228         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Likewise.
76229         * sysdeps/ieee754/flt-32/e_jnf.c (__ieee754_ynf): Likewise.
76230         * sysdeps/ieee754/ldbl-128/e_jnl.c (__ieee754_ynl): Likewise.
76231         * sysdeps/ieee754/dbl-64/e_jn.c (__ieee754_yn): Likewise.
76233 2012-07-24  Joseph Myers  <joseph@codesourcery.com>
76235         * conform/data/time.h-data (NULL): Use macro-constant.  Require
76236         equal to 0.
76237         (CLOCKS_PER_SEC): Use macro instead of constant.  Specify type as
76238         clock_t.
76239         [ISO11] (TIME_UTC): Use macro-int-constant.  Require value > 0.
76241 2012-07-23  Thomas Schwinge  <thomas@codesourcery.com>
76243         * configure.in <sysdeps resolving>: Correct printing
76244         Implies_before.
76245         * configure: Regenerate.
76247 2012-07-22  Thomas Schwinge  <thomas@codesourcery.com>
76249         * math/w_ilogb.c: Include <limits.h>.
76250         * math/w_ilogbl.c: Likewise.
76252 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
76254         * manual/lang.texi (__va_copy): Document primarily as ISO C99
76255         va_copy.  Document allowing for unavailable va_copy only as
76256         pre-C99 compatibility.
76257         * manual/string.texi (Copying and Concatenation): Use va_copy
76258         instead of __va_copy in concat example.
76260 2012-07-20  Pino Toscano  <toscano.pino@tiscali.it>
76262         * sysdeps/mach/hurd/sendto.c (create_address_port): New subroutine.
76263         (__sendto): Use create_address_port.  Initialize APORT and deallocate
76264         it if not null.
76266         * sysdeps/mach/hurd/llistxattr.c: New file, copied from listxattr.c
76267         with O_NOLINK passed to __file_name_lookup.
76269         * sysdeps/mach/hurd/lremovexattr.c: New file, copied from removexattr.c
76270         with O_NOLINK passed to __file_name_lookup.
76272         * sysdeps/mach/hurd/getgroups.c: Return -1 and set EINVAL for
76273         negative N or less than NGIDS.
76275         * sysdeps/mach/hurd/getlogin_r.c: Make LOGIN non-static and change its
76276         type to string_t.  Set ERANGE as errno and return it if NAME is not big
76277         enough.  Use memcpy instead of strncpy.
76279 2012-07-20  Joseph Myers  <joseph@codesourcery.com>
76281         * elf/Makefile (check-data): Remove.
76282         (localplt.data): New vpath directive.
76283         ($(objpfx)check-localplt.out): Use localplt.data from vpath
76284         instead of $(check-data).
76285         * scripts/data/localplt-generic.data: Move to ...
76286         * sysdeps/generic/localplt.data: ... here.
76287         * scripts/data/localplt-i386-linux-gnu.data: Move to ...
76288         * sysdeps/unix/sysv/linux/i386/nptl/localplt.data: ... here.
76289         * scripts/data/localplt-powerpc-linux-gnu.data: Move to ...
76290         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/localplt.data:
76291         ... here.
76292         * scripts/data/localplt-powerpc64-linux-gnu.data: Move to ...
76293         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/localplt.data:
76294         ... here.
76295         * scripts/data/localplt-s390-linux-gnu.data: Move to ...
76296         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/localplt.data:
76297         ... here.
76298         * scripts/data/localplt-s390x-linux-gnu.data: Move to ...
76299         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/localplt.data:
76300         ... here.
76301         * scripts/data/localplt-sparc-linux-gnu.data: Move to ...
76302         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/localplt.data:
76303         ... here.
76304         * scripts/data/localplt-sparc64-linux-gnu.data: Move to ...
76305         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/localplt.data:
76306         ... here.
76308 2012-07-19 Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76310         * sysdeps/powerpc/tls-macros.h: Split PowerPC definitions in
76311         PPC32 and PPC64 files.
76312         * sysdeps/powerpc/powerpc32/tls-macros.h: New file.
76313         * sysdeps/powerpc/powerpc64/tls-macros.h: Likewise.
76315 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76317         * sysdeps/unix/sysv/linux/s390/s390-32/makecontext.c: Move
76318         __makecontext_ret to ...
76319         * sysdeps/unix/sysv/linux/s390/s390-32/__makecontext_ret.S:
76320         ... here and call exit if uc_link is NULL.  New file.
76321         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile: Add
76322         __makecontext_ret.S.
76323         * sysdeps/unix/sysv/linux/s390/s390-64/makecontext.c: Move
76324         __makecontext_ret to ...
76325         * sysdeps/unix/sysv/linux/s390/s390-64/__makecontext_ret.S:
76326         ... here and call exit if uc_link is NULL.  New file.
76327         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile: Add
76328         __makecontext_ret.S.
76330 2012-07-19  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76332         * elf/elf.h (R_390_IRELATIVE): New definition.
76333         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Invoke the
76334         resolver function for IFUNC symbols.  Support R_390_IRELATIVE.
76335         (elf_machine_lazy_rel): Support R_390_IRELATIVE.
76336         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela):
76337         (elf_machine_lazy_rel): Likewise.
76338         * sysdeps/s390/dl-irel.h: New file.
76339         * sysdeps/s390/s390-64/memcpy.S: New asm code.
76340         * sysdeps/s390/s390-64/memset.S: New asm code.
76341         * sysdeps/s390/s390-64/memcmp.S: New asm code.
76342         * sysdeps/s390/s390-64/multiarch/memset.S: New file.
76343         * sysdeps/s390/s390-64/multiarch/ifunc-resolve.c: New file.
76344         * sysdeps/s390/s390-64/multiarch/memcmp.S: New file.
76345         * sysdeps/s390/s390-64/multiarch/memcpy.S: New file.
76346         * sysdeps/s390/s390-64/multiarch/Makefile: New file.
76347         * sysdeps/s390/s390-32/multiarch/ifunc-resolve.c: New file.
76348         * sysdeps/s390/s390-32/multiarch/Makefile: New file.
76349         * sysdeps/s390/s390-32/multiarch/memcmp.S: New file.
76350         * sysdeps/s390/s390-32/multiarch/memcpy.S: New file.
76351         * sysdeps/s390/s390-32/multiarch/memset.S: New file.
76352         * sysdeps/s390/s390-32/memcpy.S: New asm code.
76353         * sysdeps/s390/s390-32/memset.S: New asm code.
76354         * sysdeps/s390/s390-32/memcmp.S: New asm code.
76356 2012-07-17  Marek Polacek  <polacek@redhat.com>
76358         [BZ #14349]
76359         * sysdeps/s390/s390-32/configure.in: Remove TLS check.
76360         * sysdeps/s390/s390-64/configure.in: Likewise.
76361         * sysdeps/sparc/configure.in: Likewise.
76362         * sysdeps/powerpc/powerpc32/configure.in: Likewise.
76363         * sysdeps/powerpc/powerpc64/configure.in: Likewise.
76364         * sysdeps/i386/configure.in: Likewise.
76365         * sysdeps/x86_64/configure.in: Likewise.
76366         * sysdeps/sh/configure.in: Likewise.
76367         * sysdeps/s390/s390-32/configure: Regenerated.
76368         * sysdeps/s390/s390-64/configure: Likewise.
76369         * sysdeps/x86_64/configure: Likewise.
76370         * sysdeps/sh/configure: Likewise.
76371         * sysdeps/powerpc/powerpc64/configure: Likewise.
76372         * sysdeps/powerpc/powerpc32/configure: Likewise.
76373         * sysdeps/sparc/configure: Likewise.
76374         * sysdeps/i386/configure: Likewise.
76376         * elf/dl-open.c: Comment fixes.
76378 2012-07-17  Joseph Myers  <joseph@codesourcery.com>
76380         * Makefile [CXX] (check-data): Remove.
76381         [CXX] (c++-types.data): New vpath directive.
76382         [CXX] ($(objpfx)c++-types-check.out): Use c++-types.data from
76383         vpath.  Do not allow for C++ type data being missing.
76384         * scripts/data/c++-types-alpha-linux-gnu.data: Move to
76385         ports/sysdeps/unix/sysv/linux/alpha/nptl/c++-types.data.
76386         * scripts/data/c++-types-ia64-linux-gnu.data: Move to
76387         ports/sysdeps/unix/sysv/linux/ia64/nptl/c++-types.data.
76388         * scripts/data/c++-types-i386-linux-gnu.data: Move to ...
76389         * sysdeps/unix/sysv/linux/i386/nptl/c++-types.data: ... here.
76390         * scripts/data/c++-types-powerpc-linux-gnu.data: Move to ...
76391         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/c++-types.data:
76392         ... here.
76393         * scripts/data/c++-types-powerpc64-linux-gnu.data: Move to ...
76394         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/c++-types.data:
76395         ... here.
76396         * scripts/data/c++-types-s390-linux-gnu.data: Move to ...
76397         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/c++-types.data:
76398         ... here.
76399         * scripts/data/c++-types-s390x-linux-gnu.data: Move to ...
76400         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/c++-types.data:
76401         ... here.
76402         * scripts/data/c++-types-sparc-linux-gnu.data: Move to ...
76403         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/c++-types.data:
76404         ... here.
76405         * scripts/data/c++-types-sparc64-linux-gnu.data: Move to ...
76406         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/c++-types.data:
76407         ... here.
76408         * scripts/data/c++-types-x32-linux-gnu.data: Move to ...
76409         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/c++-types.data:
76410         ... here.
76411         * scripts/data/c++-types-x86_64-linux-gnu.data: Move to ...
76412         * sysdeps/unix/sysv/linux/x86_64/64/nptl/c++-types.data: ... here.
76414         * elf/tls-macros.h (TLS_LE): Move architecture-specific
76415         definitions to architecture-specific files.
76416         (TLS_IE): Likewise.
76417         (TLS_LD): Likewise.
76418         (TLS_GD): Likewise.
76419         * sysdeps/i386/tls-macros.h: New file.
76420         * sysdeps/powerpc/tls-macros.h: Likewise.
76421         * sysdeps/s390/s390-32/tls-macros.h: Likewise.
76422         * sysdeps/s390/s390-64/tls-macros.h: Likewise.
76423         * sysdeps/sh/tls-macros.h: Likewise.
76424         * sysdeps/sparc/sparc32/tls-macros.h: Likewise.
76425         * sysdeps/sparc/sparc64/tls-macros.h: Likewise.
76426         * sysdeps/x86_64/tls-macros.h: Likewise.
76428 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
76430         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Preserve
76431         zero value for regular exit case.
76433         * sysdeps/unix/sysv/linux/x86_64/__start_context.S
76434         (__start_context): Preserve zero value for regular exit case.
76436 2012-07-17  Thomas Schwinge  <thomas@codesourcery.com>
76437             Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
76439         * manual/setjmp.texi (setcontext): Clarify normal process
76440         termination when uc_link is the null pointer.
76441         * stdlib/tst-makecontext.c (cf): Exercise this: remove explicit
76442         exit call.
76444 2012-07-16  Andreas Schwab  <schwab@linux-m68k.org>
76446         * stdlib/bug-getcontext.c (do_test): Don't test FE_ALL_EXCEPT in
76447         preprocessor.  Test for each exception mask separately.
76449 2012-07-16  Andreas Jaeger  <aj@suse.de>
76451         * po/ru.po: Update from translation team.
76453 2012-07-15  Joseph Myers  <joseph@codesourcery.com>
76455         * conform/data/string.h-data (NULL): Use macro-constant.  Require
76456         equal to 0.
76457         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
76458         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
76459         (wcs*): Change to wcs[abcdefghijklmnopqrstuvwxyz]*.
76460         (mem[abcdefghijklmnopqrstuvwxyz]*): Allow.
76461         [ISO || ISO99 || ISO11] (*_t): Do not allow.
76463 2012-07-13  Andreas Jaeger  <aj@suse.de>
76465         * po/fr.po: Update from translation team.
76467 2012-07-12  Marek Polacek  <polacek@redhat.com>
76469         [BZ #14173]
76470         * math/libm-test.inc (yn_test): Add test for BZ #14173.
76471         * sysdeps/ieee754/ldbl-96/e_jnl.c (__ieee754_ynl): Correct
76472         loop condition.
76474 2012-07-12  Joseph Myers  <joseph@codesourcery.com>
76476         [BZ #13717]
76477         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel):
76478         Change to 2.4.1 where previously 2.4.0.
76479         * sysdeps/unix/sysv/linux/configure: Regenerated.
76480         * sysdeps/unix/sysv/linux/kernel-features.h [!__sh__]
76481         (__ASSUME_ST_INO_64_BIT): Do not condition definition on kernel
76482         version.
76483         [__i386__ || __sparc__] (__ASSUME_FCNTL64): Likewise.
76484         (__ASSUME_AT_CLKTCK): Remove.
76485         (__ASSUME_AT_PAGESIZE): Likewise.
76486         (__ASSUME_AT_XID): Likewise.
76487         (__ASSUME_GETDENTS64_SYSCALL): Define unconditionally.
76488         [__i386__] (__ASSUME_VFORK_SYSCALL): Define unconditionally.
76489         * sysdeps/unix/sysv/linux/ldsodefs.h (HAVE_AUX_XID): Define
76490         unconditionally.
76491         (HAVE_AUX_PAGESIZE): Likewise.
76492         * sysdeps/unix/sysv/linux/prof-freq.c (__profile_frequency)
76493         [__ASSUME_AT_CLKTCK]: Make code unconditional.
76494         [!__ASSUME_AT_CLKTCK]: Remove conditional code.
76496 2012-07-12  Jeroen van Bemmel  <jvb127@gmail.com>
76498         [BZ #14307]
76499         * sysdeps/posix/getaddrinfo.c (gaih_inet): Increase the size of
76500         the temporary buffer used to invoke __gethostbyname2_r,
76501         __gethostbyaddr_r and gethostbyname4_r to make room for struct
76502         host_data / struct gaih_addrtuple.
76503         * resolv/nss_dns/dns-host.c (global scope): Move definition of
76504         implementation constants MAX_NR_ALIASES and MAX_NR_ADDRS to
76505         header file nss/nsswitch.h.
76506         * nss/nsswitch.h (global scope): Add definition of implementation
76507         constants MAX_NR_ALIASES and MAX_NR_ADDRS (moved from
76508         resolv/nss_dns/dns-host.c).
76510 2012-07-11  Andreas Jaeger  <aj@suse.de>
76512         * po/fr.po: Update from translation team.
76514         * po/sv.po: Update from translation team
76515         * po/fr.po: Another update from translation team.
76517 2012-07-11  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
76519         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Do not call sinh and cosh
76520         for subnormals or multiply small sinh result by itself.
76521         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
76522         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
76524 2012-07-11  David S. Miller  <davem@davemloft.net>
76526         * sysdeps/sparc/fpu/libm-test-ulps: Update.
76528 2012-07-10  Andreas Schwab  <schwab@linux-m68k.org>
76530         [BZ #14347]
76531         * misc/sys/syslog.h (LOG_MAKEPRI): Don't shift first argument.
76532         (INTERNAL_MARK): Shift it here.
76534 2012-07-10  Marek Polacek  <polacek@redhat.com>
76536         [BZ #14151]
76537         * configure.in (libc_cv_asm_global_directive): Remove test.  Replace
76538         libc_cv_asm_global_directive with .globl.
76539         * configure: Regenerated.
76540         * sysdeps/i386/configure.in: Replace libc_cv_asm_global_directive
76541         with .globl.
76542         * sysdeps/i386/configure: Regenerated.
76543         * sysdeps/x86_64/configure.in: Replace libc_cv_asm_global_directive
76544         with .globl.
76545         * sysdeps/x86_64/configure: Regenerated.
76546         * config.h.in: Do not undefine ASM_GLOBAL_DIRECTIVE.
76547         * include/libc-symbols.h: Replace ASM_GLOBAL_DIRECTIVE with .globl.
76548         * elf/tst-unique2mod2.c: Likewise.
76549         * elf/tst-unique2mod1.c: Likewise.
76550         * elf/tst-unique1mod2.c: Likewise.
76551         * elf/tst-unique1mod1.c: Likewise.
76552         * sysdeps/s390/s390-32/sysdep.h: Likewise.
76553         * sysdeps/s390/s390-32/s390-mcount.S: Likewise.
76554         * sysdeps/s390/s390-64/sysdep.h: Likewise.
76555         * sysdeps/s390/s390-64/s390x-mcount.S: Likewise.
76556         * sysdeps/mach/sysdep.h: Likewise.
76557         * sysdeps/i386/sysdep.h: Likewise.
76558         * sysdeps/i386/i386-mcount.S: Likewise.
76559         * sysdeps/x86_64/_mcount.S: Likewise.
76560         * sysdeps/x86_64/sysdep.h: Likewise.
76561         * sysdeps/sh/_mcount.S: Likewise.
76562         * sysdeps/sh/sysdep.h: Likewise.
76563         * sysdeps/powerpc/powerpc32/gprsave1.S: Likewise.
76564         * sysdeps/powerpc/powerpc32/fpu/fprrest.S: Likewise.
76565         * sysdeps/powerpc/powerpc32/fpu/fprsave.S: Likewise.
76566         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
76567         * sysdeps/powerpc/powerpc32/gprrest1.S: Likewise.
76568         * sysdeps/powerpc/powerpc32/gprsave0.S: Likewise.
76569         * sysdeps/powerpc/powerpc32/gprrest0.S: Likewise.
76570         * locale/localeinfo.h: Likewise.
76571         (_NL_CURRENT_DEFINE_STRINGIFY): Delete macro.
76572         (_NL_CURRENT_DEFINE_STRINGIFY_1): Likewise.
76574 2012-07-09  Roland McGrath  <roland@hack.frob.com>
76576         [BZ #14336]
76577         * manual/charset.texi (Extended Char Intro): Word use fix, "operating
76578         system".
76579         * manual/message.texi (The Uniforum approach): Likewise.
76580         * manual/charset.texi (Extended Char Intro): Spelling fix, "affected".
76581         (glibc iconv Implementation): Likewise.
76583 2012-07-09  Joseph Myers  <joseph@codesourcery.com>
76585         [BZ #14337]
76586         * math/s_clog.c (__clog): Avoid scaling a value down where that
76587         could result in underflow.
76588         * math/s_clog10.c (__clog10): Likewise.
76589         * math/s_clog10f.c (__clog10f): Likewise.
76590         * math/s_clog10l.c (__clog10l): Likewise.
76591         * math/s_clogf.c (__clogf): Likewise.
76592         * math/s_clogl.c (__clogl): Likewise.
76593         * math/libm-test.inc (clog_test): Add more tests.
76594         (clog10_test): Likewise.
76595         * sysdeps/i386/fpu/libm-test-ulps: Update.
76596         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76598 2012-07-06  Andreas Schwab  <schwab@linux-m68k.org>
76600         [BZ #14283]
76601         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Shift
76602         by 7 not 8 to examine high bit of fractional part.
76604         [BZ #14042]
76605         * sysdeps/powerpc/powerpc32/ppc-mcount.S [SHARED]: Don't use PLT
76606         for call to __mcount_internal.
76607         * sysdeps/powerpc/powerpc32/Makefile (sysdep_routines)
76608         (shared-only-routines) [$(subdir) = gmon]: Add compat-ppc-mcount.
76609         * sysdeps/powerpc/powerpc32/compat-ppc-mcount.S: New file.
76611 2012-07-06  Joseph Myers  <joseph@codesourcery.com>
76613         [BZ #14154]
76614         * sysdeps/ieee754/flt-32/k_tanf.c (__kernel_tanf): Use linear
76615         approximation for values within 0x1p-13f of an odd multiple of
76616         pi/4.
76617         * math/libm-test.inc (tan_test): Do not allow spurious underflow
76618         exception.  Add more tests.
76619         * sysdeps/i386/fpu/libm-test-ulps: Update.
76621         [BZ #6778]
76622         * sysdeps/i386/fpu/s_expm1.S (__expm1): Check for large negative
76623         inputs and return -1 for them.  Do not check for +Inf in case not
76624         reachable for +Inf.
76625         * sysdeps/i386/fpu/s_expm1f.S (__expm1f): Likewise.
76626         * sysdeps/i386/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not define.
76627         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
76628         and return -1 for them.  Do not check for +Inf in case not
76629         reachable for +Inf.
76630         * sysdeps/x86_64/fpu/e_expl.S [USE_AS_EXPM1L] (csat): Do not
76631         define.
76632         (IEEE754_EXPL) [USE_AS_EXPM1L]: Check for large negative inputs
76633         and return -1 for them.  Do not check for +Inf in case not
76634         reachable for +Inf.
76635         * math/libm-test.inc (expm1_test): Add more tests.  Do not allow
76636         spurious underflow.
76637         * sysdeps/i386/fpu/libm-test-ulps: Update.
76638         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76640 2012-07-06  Mike Frysinger  <vapier@gentoo.org>
76642         * sunrpc/rpc_clntout.c: Change <rpc/types.h> to "rpc/types.h".
76644 2012-07-05  Joseph Myers  <joseph@codesourcery.com>
76646         [BZ #14157]
76647         [BZ #14331]
76648         * math/s_csqrt.c (__csqrt): Avoid multiplying by 0.5 where this
76649         could result in spurious underflow.  Scale down values above
76650         DBL_MAX / 4.0 instead of DBL_MAX / 2.0.
76651         * math/s_csqrtf.c (__csqrtf): Likewise.
76652         * math/s_csqrtl.c (__csqrtl): Likewise.
76653         * math/libm-test.inc (csqrt_test): Add more tests.  Do not allow
76654         spurious underflow.
76655         * sysdeps/i386/fpu/libm-test-ulps: Update.
76656         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76658 2012-07-04  Andreas Schwab  <schwab@linux-m68k.org>
76660         * catgets/Makefile ($(objpfx)de.msg): Use xopen-msg.awk instead of
76661         xopen-msg.sed.
76662         * catgets/xopen-msg.awk: New file.
76663         * catgets/xopen-msg.sed: Removed.
76665         * intl/Makefile ($(objpfx)msgs.h): Use po2test.awk instead of
76666         po2text.sed.
76667         * intl/po2test.awk: New file.
76668         * intl/po2test.sed: Removed.
76670 2012-07-04  Joseph Myers  <joseph@codesourcery.com>
76672         [BZ #14328]
76673         * math/s_ctan.c (__ctan): Do not call sinh and cosh for subnormals
76674         or multiply small sinh result by itself.
76675         * math/s_ctanf.c (__ctanf): Likewise.
76676         * math/s_ctanh.c (__ctanh): Likewise.
76677         * math/s_ctanhf.c (__ctanhf): Likewise.
76678         * math/s_ctanhl.c (__ctanhl): Likewise.
76679         * math/s_ctanl.c (__ctanl): Likewise.
76680         * math/libm-test.inc (ctan_test_tonearest): New function.
76681         (ctan_test_towardzero): Likewise.
76682         (ctan_test_downward): Likewise.
76683         (ctan_test_upward): Likewise.
76684         (ctanh_test_tonearest): Likewise.
76685         (ctanh_test_towardzero): Likewise.
76686         (ctanh_test_downward): Likewise.
76687         (ctanh_test_upward): Likewise.
76688         (main): Call these new functions.
76689         * sysdeps/i386/fpu/libm-test-ulps: Update.
76690         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
76692 2012-07-03  Mike Frysinger  <vapier@gentoo.org>
76694         * .gitignore: Delete /ports entry.
76696 2012-07-03  Andreas Jaeger  <aj@suse.de>
76698         * po/bg.po: Update from translation team.
76699         * po/cs.po: Likewise.
76700         * po/de.po: Likewise.
76701         * po/hr.po: Likewise.
76702         * po/nl.pl: Likewise.
76703         * po/pl.po: Likewise.
76704         * po/vi.po: Likewise.
76706 2012-07-03  Joseph Myers  <joseph@codesourcery.com>
76708         * Makeconfig [!+link] (+link-before-libc): New variable.
76709         [!+link] (+link-after-libc): Likewise.
76710         [!+link] (+link-tests): Likewise.
76711         [!+link] (+link): Define in terms of $(+link-before-libc) and
76712         $(+link-after-libc).
76713         [!+link-static] (+link-static-before-libc): New variable.
76714         [!+link-static] (+link-static-after-libc): Likewise.
76715         [!+link-static] (+link-static-tests): Likewise.
76716         [!+link-static] (+link-static): Define in terms of
76717         $(+link-static-before-libc) and $(+link-static-after-libc).
76718         [build-shared] (link-libc-before-gnulib): New variable.
76719         [build-shared] (link-libc-tests): Likewise.
76720         [build-shared] (link-libc): Define in terms of
76721         $(link-libc-before-gnulib).
76722         [!build-shared] (link-libc-tests): New variable.
76723         (link-libc-static-tests): New variable.
76724         [!gnulib] (gnulib-arch): New variable.
76725         [!gnulib] (gnulib-tests): Likewise.
76726         [!gnulib] (static-gnulib-arch): Likewise.
76727         [!gnulib] (static-gnulib-tests): Likewise.
76728         [!gnulib] (gnulib): Use $(gnulib-arch).  Do not use $(libgcc_eh).
76729         Define with "=" instead of ":=".
76730         [!gnulib] (static-gnulib): Use $(static-gnulib-arch).  Do not use
76731         -lgcc_eh $(libunwind).  Define with "=" instead of ":=".
76732         * Rules (binaries-all-notests): New variable.
76733         (binaries-all-tests): Likewise.
76734         (binaries-static-notests): Likewise.
76735         (binaries-static-tests): Likewise.
76736         (binaries-all): Define using $(binaries-all-notests) and
76737         $(binaries-all-tests).
76738         (binaries-static): Define using $(binaries-static-notests) and
76739         $(binaries-static-tests).
76740         (binaries-shared-tests): New variable.
76741         (binaries-shared-notests): Likewise.
76742         (binaries-shared): Remove variable.
76743         ($(addprefix $(objpfx),$(binaries-shared-notests))): New rule.
76744         ($(addprefix $(objpfx),$(binaries-shared-tests))): Likewise.
76745         ($(addprefix $(objpfx),$(binaries-shared))): Remove rule.
76746         ($(addprefix $(objpfx),$(binaries-static-notests))): New rule.
76747         ($(addprefix $(objpfx),$(binaries-static-tests))): Likewise.
76748         ($(addprefix $(objpfx),$(binaries-static))): Remove rule.
76749         * elf/Makefile (sln-modules): New variable.
76750         (extra-objs): Add $(sln-modules:=.o).
76751         (ldconfig-modules): Add static-stubs.
76752         ($(objpfx)sln): Depend on $(sln-modules:%=$(objpfx)%.o).
76753         * elf/static-stubs.c: New file.
76755         [BZ #14283]
76756         * sysdeps/ieee754/flt-32/k_rem_pio2f.c (__kernel_rem_pio2f): Shift
76757         by 7 not 8 to examine high bit of fractional part.  Use volatile
76758         variables when splitting into final array of floats if
76759         __FLT_EVAL_METHOD__ != 0.
76760         * math/libm-test.inc (cos_test): Add another test.
76761         (sin_test): Likewise.
76762         * sysdeps/i386/fpu/libm-test-ulps: Update.
76764         [BZ #14273]
76765         * math/libm-test.inc (cosh_test): Add more tests.
76767         * version.h (RELEASE): Set to "development".
76768         (VERSION): Set to "2.16.90".
76770 2012-06-30  Carlos O'Donell  <carlos_odonell@mentor.com>
76772         * NEWS: Update copyright. Remove last-updated date.
76773         Mention math library bug fixes and timezone data changes.
76774         * README: Mention GNU/Hurd, x32, and HPPA support status.
76776 2012-06-28  Thomas Schwinge  <thomas@codesourcery.com>
76778         * manual/contrib.texi (Contributors): Sort alphabetically by last name.
76780 2012-06-27  Andreas Jaeger  <aj@suse.de>
76782         * manual/contrib.texi (Contributors): Add Samuel Thibault.
76784 2012-06-25  Andreas Jaeger  <aj@suse.de>
76786         * sysdeps/s390/fpu/libm-test-ulps: Update.
76788 2012-06-23  Andreas Schwab  <schwab@linux-m68k.org>
76789             Thomas Schwinge  <thomas@codesourcery.com>
76791         * sysdeps/unix/sysv/linux/sh/syscalls.list: Add fanotify_mark.
76792         * sysdeps/unix/sysv/linux/sh/Versions (GLIBC_2.16): Add fanotify_mark.
76793         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist (GLIBC_2.16): Add
76794         fanotify_mark.
76796 2012-06-23  Thomas Schwinge  <thomas@codesourcery.com>
76798         * sysdeps/mach/start.c: Remove file.
76799         * sysdeps/mach/hurd/i386/static-start.S: Fix start.S include.
76800         * sysdeps/i386/init-first.c: Fix comment regarding start.S.
76801         * sysdeps/sh/init-first.c: Likewise.
76803         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Preserve r12 and pr
76804         registers for frame unwinding purposes, add CFI directives.
76805         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
76806         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Likewise.
76807         * sysdeps/unix/sysv/linux/sh/sysdep.h (SYSCALL_ERROR_HANDLER):
76808         Likewise.
76810         * sysdeps/sh/____longjmp_chk.S (CALL_FAIL): Don't plan for the call to
76811         __fortify_fail returning.
76812         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S (CALL_FAIL): Likewise.
76814         * sysdeps/unix/sysv/linux/sh/____longjmp_chk.S: New file, based on
76815         sysdeps/sh/____longjmp_chk.S.
76816         * sysdeps/unix/sysv/linux/sh/sigaltstack-offsets.sym: New file, based
76817         on sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym.
76818         * sysdeps/unix/sysv/linux/sh/Makefile [subdir=misc]
76819         (gen-as-const-headers): Append sigaltstack-offsets.sym.
76821         * sysdeps/sh/abort-instr.h: New file.
76822         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Terminate the
76823         process in case exit returns.
76825         * sysdeps/unix/sysv/linux/sh/makecontext.S (.Lexitcode): Always
76826         initialize the GOT register before use.
76828         * sysdeps/unix/sysv/linux/sh/makecontext.S (__makecontext): Fix
76829         calculation of ARGC > 4.
76831         * sysdeps/unix/sysv/linux/sh/makecontext.S: Add comments and give more
76832         meaningful names to some local labels.
76834 2012-06-22  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
76835             Kaz Kojima  <kkojima@rr.iij4u.or.jp>
76837         * sysdeps/unix/sysv/linux/sh/bits/atomic.h
76838         (__arch_compare_and_exchange_val_8_acq): Remove explicit nop.
76839         (__arch_compare_and_exchange_val_16_acq): Likewise.
76840         (__arch_compare_and_exchange_val_32_acq): Likewise.
76841         (atomic_exchange_and_add): Fix gUSA sequence.
76842         (atomic_add): Likewise.
76843         (atomic_add_negative): Likewise.
76844         (atomic_add_zero): Likewise.
76845         (atomic_bit_test_set): Likewise.
76847 2012-06-22  Andreas Schwab  <schwab@redhat.com>
76849         [BZ #13579]
76850         * include/link.h (struct link_map): Add l_free_initfini.
76851         * elf/dl-deps.c (_dl_map_object_deps): Set it when assigning
76852         l_initfini.
76853         * elf/dl-close.c (_dl_close_worker): Don't free l_initfini.
76854         * elf/rtld.c (dl_main): Clear it on all objects loaded on startup.
76855         * elf/dl-libc.c (free_mem): Free l_initfini if l_free_initfini is
76856         set.
76858 2012-06-22  Carlos O'Donell  <carlos_odonell@mentor.com>
76860         * configure.in: Use AC_LANG_SOURCE.
76861         * configure: Regenerate.
76863 2012-06-22  Roland McGrath  <roland@hack.frob.com>
76865         * configure.in (libc_cv_localstatedir): New substituted variable.
76866         * configure: Regenerated.
76867         * config.make.in (localstatedir): New variable, substituted from
76868         libc_cv_localstatedir.
76869         * Makeconfig (vardbdir): Use $(localstatedir) in place of /var.
76870         * sysdeps/gnu/configure.in (libc_cv_localstatedir): Change
76871         ${prefix}/var to /var when we change ${prefix}/etc to /etc.
76872         * sysdeps/gnu/configure: Regenerated.
76874 2012-06-21  Jeff Law  <law@redhat.com>
76876         [BZ #14277]
76877         * intl/dcigettext.c (_nl_find_msg): Avoid use after potential
76878         free.  Simplify list management for _LIBC case.
76880 2012-06-21  Joseph Myers  <joseph@codesourcery.com>
76882         [BZ #14273]
76883         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c (__ieee754_cosh):
76884         Clear sign bit of 64-bit integer value before comparing against
76885         overflow value.
76887         * sysdeps/mach/configure: Regenerated.
76889 2012-06-21  H.J. Lu  <hongjiu.lu@intel.com>
76891         [BZ #14278]
76892         * sysdeps/i386/sysdep.h (SYSCALL_PIC_SETUP): Fix a typo.
76894 2012-06-21  Jeff Law  <law@redhat.com>
76896         [BZ #13882]
76897         * elf/dl-deps.c (_dl_map_object_deps): Fix cycle detection.  Use
76898         uint16_t for elements in the "seen" array to avoid char overflows.
76899         * elf/dl-fini.c (_dl_sort_fini): Likewise.
76900         * elf/dl-open.c (dl_open_worker): Likewise.
76902 2012-06-21  Carlos O'Donell  <carlos_odonell@mentor.com>
76904         * scripts/list-sources.sh: Scan PORTS for translations.
76905         * po/libc.pot: Regenerated.
76907 2012-06-21  Andreas Jaeger  <aj@suse.de>
76909         [BZ #12194]
76910         * sysdeps/s390/bits/byteswap-16.h (__bswap_16): Avoid -Wconversion
76911         warning.
76912         * sysdeps/s390/bits/byteswap.h (__bswap_constant_16): Likewise.
76913         * bits/byteswap-16.h (__bswap_16): Likewise.
76914         * bits/byteswap.h (__bswap_constant_16): Likewise.
76916 2012-06-18  H.J. Lu  <hongjiu.lu@intel.com>
76918         [BZ #14117]
76919         * sysdeps/i386/fpu_control.h: Removed.
76920         * sysdeps/x86_64/fpu_control.h: Moved to ...
76921         * sysdeps/x86/fpu_control.h: Here.
76923         * sysdeps/x86_64/fpu_control.h (_FPU_GETCW): Add __volatile__.
76924         (_FPU_SETCW): Likewise.
76926 2012-06-15  H.J. Lu  <hongjiu.lu@intel.com>
76928         [BZ #14117]
76929         * sysdeps/i386/fpu/bits/mathinline.h: Renamed to ...
76930         * sysdeps/x86/fpu/bits/mathinline.h: This.
76931         * sysdeps/x86_64/fpu/bits/mathinline.h: Removed.
76933         [BZ #14050]
76934         [BZ #14117]
76935         * sysdeps/i386/fpu/bits/mathinline.h: Disable x87 inline
76936         functions if __x86_64__ is defined.
76938 2012-06-15  Chung-Lin Tang  <cltang@codesourcery.com>
76940         * string/endian.h: Add !__ASSEMBLER__ condition for including
76941         conversion interfaces.
76943 2012-06-15  Joseph Myers  <joseph@codesourcery.com>
76945         [BZ #14241]
76946         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Use 0.0 instead
76947         of ABS(x) in calculating zero to negative powers other than odd
76948         integers.
76949         * math/libm-test.inc (pow_test): Add more tests.
76951 2012-06-15  Andreas Jaeger  <aj@suse.de>
76953         * manual/contrib.texi (Contributors): Update entry of Liubov
76954         Dmitrieva and add entries for Will Schmidt and Tulio Magno Quites
76955         Machado Filho.
76957 2012-06-15  Cyril Hrubis  <metan@ucw.cz>
76959         * string/string.h: Add __wur to GNU version of strerror_r.
76961 2012-06-14  H.J. Lu  <hongjiu.lu@intel.com>
76963         [BZ #14229]
76964         * string/Makefile (tests): Add tst-strtok_r.
76965         * string/tst-strtok_r.c: New file.
76966         * sysdeps/x86_64/strtok.S: Use LP_SIZE on save_ptr and use
76967         RAX_LP/RDX_LP on SAVE_PTR.
76969 2012-06-14  Roland McGrath  <roland@hack.frob.com>
76971         * manual/Makefile ($(objpfx)texis): Do $(make-target-directory).
76973 2012-06-14  Joseph Myers  <joseph@codesourcery.com>
76975         * libm_test.inc (csqrt_test): Allow more spurious underflow
76976         exceptions.
76977         (j0_test): Likewise.
76978         (j1_test): Likewise.
76979         (y0_test): Likewise.
76980         (y1_test): Likewise.
76982 2012-06-13  Carlos O'Donell  <carlos_odonell@mentor.com>
76984         * po/Makefile (libc.pot): Use UTF-8 charset.
76986 2012-06-13  Paul Pluzhnikov  <ppluzhnikov@google.com>
76988         [BZ #14210]
76989         Suppress sign-conversion warning from FD_SET.
76990         See <http://sourceware.org/ml/libc-alpha/2012-05/msg01794.html>.
76991         * debug/fdelt_chk.c (__fdelt_chk): Accept and return long int,
76992         not unsigned long int.
76993         * misc/bits/select2.h (__fdelt_chk, __fdelt_warn, __FD_ELT): Likewise.
76995 2012-06-12  H.J. Lu  <hongjiu.lu@intel.com>
76997         [BZ #14050]
76998         [BZ #14117]
76999         * sysdeps/i386/fpu/bits/mathinline.h (__MATH_INLINE): Check
77000         __extern_always_inline instead of __extern_inline.
77001         (__signbitf): Support __SSE2_MATH__ and C++ namespace.
77002         (__signbit): Likewise.
77003         (__signbitl): Support C++ namespace.
77004         (lrintf): New inline function.
77005         (lrint): Likewise.
77006         (llrintf): Likewise.
77007         (llrint): Likewise.
77008         (fmaxf): Likewise.
77009         (fmax): Likewise.
77010         (fminf): Likewise.
77011         (fmin): Likewise.
77012         (rint): Likewise.
77013         (rintf): Likewise.
77014         (ceil): Likewise.
77015         (ceilf): Likewise.
77016         (floor): Likewise.
77017         (floorf): Likewise.
77018         (nearbyint): Likewise.
77019         (nearbyintf): Likewise.
77021 2012-06-12  Thomas Schwinge  <thomas@codesourcery.com>
77023         * sysdeps/unix/Makefile ($(objpfx)stub-syscalls.c): Fix case for
77024         non-default versions.
77026 2012-06-11  Roland McGrath  <roland@hack.frob.com>
77028         [BZ #14218]
77029         * manual/argp.texi (Argp): Reword argp_parse description slightly.
77031 2012-06-09  Thomas Schwinge  <thomas@codesourcery.com>
77033         * sysdeps/sh/sh4/fpu/bits/fenv.h (__FE_UNDEFINED): Define.
77034         (FE_UPWARD, FE_DOWNWARD): Don't define.
77035         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Adapt to that.
77036         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
77038         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Do not re-write fpscr after
77039         reading it.
77040         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
77041         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
77043 2012-06-09  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
77045         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
77046         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Refreshed.
77047         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: Refreshed.
77048         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: Refreshed.
77050 2012-06-06  H.J. Lu  <hongjiu.lu@intel.com>
77052         [BZ #14117]
77053         * sysdeps/i386/fpu/bits/fenv.h: Removed.
77054         * sysdeps/i386/fpu/Implies: New file.
77055         * sysdeps/x86_64/fpu/Implies: Likewise.
77056         * sysdeps/x86_64/fpu/bits/fenv.h: Renamed to ...
77057         * sysdeps/x86/fpu/bits/fenv.h: This.
77059         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Check
77060         __SSE_MATH__.
77062 2012-06-06  Siddhesh Poyarekar  <siddhesh@redhat.com>
77064         [BZ #14134]
77065         * iconvdata/ibm930.c (BODY) [FROM_LOOP]: Check for invalid
77066         character 0xffff that matches the last element of the
77067         conversion table.
77069 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77071         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Fix for wrong ldbl128-ibm
77072         fmodl commit.
77074 2012-06-05  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77076         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Fix spurious underflow for
77077         values higher than 25.6283.
77079 2012-06-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77081         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c (__ieee754_fmodl): Fix
77082         subnormal exponent extraction and add some __builtin_expect.
77083         * sysdeps/ieee754/ldbl-128ibm/math_ldbl.h (ldbl_extract_mantissa):
77084         Fix for subnormal mantissa calculation.
77086 2012-06-04  Mike Frysinger  <vapier@gentoo.org>
77088         * sysdeps/unix/sysv/linux/tst-getcpu.c (do_test): Call perror when
77089         cpu2 is -1 and errno is not ENOSYS.
77091 2012-06-04  H.J. Lu  <hongjiu.lu@intel.com>
77093         [BZ #14117]
77094         * sysdeps/i386/i486/bits/string.h: Renamed to ...
77095         * sysdeps/x86/bits/string.h: This.
77096         * sysdeps/x86_64/bits/string.h: Removed.
77098         * sysdeps/i386/i486/bits/string.h: Define inline functions only
77099         if not compiling for x86-64, but compiling for >= i486.
77101         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Renamed to ...
77102         * sysdeps/unix/sysv/linux/x86/bits/sigcontext.h: This.
77104         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h (FP_XSTATE_MAGIC1):
77105         New macro from Linux kernel 3.4.0.
77106         (FP_XSTATE_MAGIC2): Likewise.
77107         (FP_XSTATE_MAGIC2_SIZE): Likewise.
77108         (X86_FXSR_MAGIC): New macro from Linux i386 kernel.
77109         (struct _fpx_sw_bytes): New struct.
77110         (struct _xsave_hdr): Likewise.
77111         (struct _ymmh_state): Likewise.
77112         (struct _xstate): Likewise.
77114         * sysdeps/unix/sysv/linux/i386/sys/debugreg.h: Removed.
77115         * sysdeps/unix/sysv/linux/i386/sys/reg.h: Likewise.
77116         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Renamed to ...
77117         * sysdeps/unix/sysv/linux/x86/sys/debugreg.h: This.
77118         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Renamed to ...
77119         * sysdeps/unix/sysv/linux/x86/sys/reg.h: This.
77121         * sysdeps/unix/sysv/linux/i386/sys/io.h: Removed.
77122         * sysdeps/unix/sysv/linux/x86_64/sys/io.h: Renamed to ...
77123         * sysdeps/unix/sysv/linux/x86/sys/io.h: This.
77124         * sysdeps/unix/sysv/linux/i386/sys/perm.h: Removed.
77125         * sysdeps/unix/sysv/linux/x86_64/sys/perm.h: Renamed to ...
77126         * sysdeps/unix/sysv/linux/x86/sys/perm.h: This.
77128 2012-06-04  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
77130         [BZ #13743]
77131         * sysdeps/powerpc/sys/platform/ppc.h: New file for PowerPC features.
77132         * sysdeps/powerpc/Makefile (tests): Add test-gettimebase.
77133         (sysdep_headers): Include sys/platform/ppc.h.
77134         * sysdeps/powerpc/test-gettimebase.c: Test for
77135         __ppc_get_timebase() to catch future ISA opcode/insn changes.
77136         * manual/Makefile (appendices): Include platform.texi.
77137         * manual/contrib.texi (Contributors): Update @node pointers.
77138         * manual/maint.texi (Maintenance): Likewise.
77139         (Platform): New node.
77140         * manual/platform.texi: New file.  Document the new features.
77142 2012-06-04  Siddhesh Poyarekar  <siddhesh@redhat.com>
77143             Jakub Jelinek  <jakub@redhat.com>
77145         [BZ #14188]
77146         * misc/sys/cdefs.h (__glibc_unlikely): New macro to wrap cases
77147         where __builtin_expect is unavailable.
77149 2012-06-03  David S. Miller  <davem@davemloft.net>
77151         * stdlib/longlong.h: Updated from GCC.
77153 2012-06-02  Andreas Schwab  <schwab@linux-m68k.org>
77155         [BZ #14042]
77156         * sysdeps/powerpc/powerpc32/mcount.c: New file.
77157         * sysdeps/powerpc/powerpc32/Versions (GLIBC_2.16): Add
77158         __mcount_internal.
77159         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist
77160         (GLIBC_2.16): Likewise.
77162 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
77164         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (outsw): Fix a typo.
77166 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
77168         * sysdeps/unix/sysv/linux/powerpc/powerpc32/Makefile
77169         (default-abi): New variable.
77170         * sysdeps/unix/sysv/linux/powerpc/powerpc64/Makefile: New file.
77171         * sysdeps/unix/sysv/linux/s390/s390-32/Makefile (default-abi): New
77172         variable.
77173         * sysdeps/unix/sysv/linux/s390/s390-64/Makefile (default-abi):
77174         Likewise.
77175         * sysdeps/unix/sysv/linux/sparc/sparc32/Makefile (default-abi):
77176         Likewise.
77177         * sysdeps/unix/sysv/linux/sparc/sparc64/Makefile (default-abi):
77178         Likewise.
77180         * Makeconfig [abi-variants && !default-abi] (default-abi): Remove
77181         definition.  Document in comment.
77183 2012-06-01  David S. Miller  <davem@davemloft.net>
77185         * stdlib/longlong.h: Updated from GCC.
77187 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
77189         [BZ #14117]
77190         * sysdeps/unix/sysv/linux/i386/Makefile (sysdep_headers):
77191         Don't add sys/elf.h sys/perm.h sys/reg.h sys/vm86.h
77192         sys/debugreg.h sys/io.h here.
77193         * sysdeps/unix/sysv/linux/x86/Makefile (sysdep_headers): Add
77194         sys/elf.h sys/perm.h sys/reg.h sys/vm86.h sys/debugreg.h
77195         sys/io.h.
77196         * sysdeps/unix/sysv/linux/x86_64/Makefile (sysdep_headers):
77197         Don't add sys/perm.h sys/reg.h sys/debugreg.h sys/io.h here.
77198         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Renamed to ...
77199         * sysdeps/unix/sysv/linux/x86/sys/elf.h: This.
77200         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Renamed to ...
77201         * sysdeps/unix/sysv/linux/x86/sys/vm86.h: This.
77203         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h (DR_LEN_8):
77204         Define only if __x86_64__ is defined.
77206 2012-06-01  Joseph Myers  <joseph@codesourcery.com>
77208         [BZ #14048]
77209         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c (__ieee754_fmod):
77210         Use int64_t for variable i.
77211         * math/libm-test.inc (fmod_test): Add more tests.
77213         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Ensure temp + (double)
77214         z computation is not scheduled after fetestexcept.
77215         * sysdeps/ieee754/ldbl-128/s_fmal.c: Include <math_private.h>.
77216         Use math_force_eval instead of asm to ensure calculation scheduled
77217         before exception test.
77218         * sysdeps/ieee754/ldbl-96/s_fmal.c: Include <math_private.h>.
77219         Ensure a1 + u.d computation is not scheduled after fetestexcept.
77221 2012-06-01  Aurelien Jarno  <aurelien@aurel32.net>
77223         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Ensure a1 + u.d
77224         computation is not scheduled after fetestexcept.
77226 2012-06-01  H.J. Lu  <hongjiu.lu@intel.com>
77228         [BZ #14117]
77229         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Renamed to ...
77230         * sysdeps/unix/sysv/linux/x86/bits/wchar.h: This.
77232 2012-06-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
77234         * sysdeps/powerpc/fpu/k_cosf.c: Fix underflow generation.
77235         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
77237 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
77239         [BZ #14117]
77240         * sysdeps/unix/sysv/linux/i386/bits/wchar.h: Include
77241         <bits/wordsize.h>.
77242         (__WCHAR_MIN): Support __WORDSIZE == 64.
77243         (__WCHAR_MAX): Likewise.
77245         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: Renamed to ...
77246         * sysdeps/unix/sysv/linux/x86/bits/typesizes.h: This.
77248         [BZ #14183]
77249         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__FSWORD_T_TYPE):
77250         Defined with __SWORD_TYPE if __x86_64__ isn't defined.
77252         [BZ #14117]
77253         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: Renamed to ...
77254         * sysdeps/unix/sysv/linux/x86/bits/siginfo.h: This.
77256         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h: Renamed to ...
77257         * sysdeps/unix/sysv/linux/x86/bits/stat.h: This.
77259         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_KERNEL):
77260         Defined to 1 if __x86_64__ isn't defined.
77261         (_STAT_VER_LINUX_OLD): New.
77262         (st_atime): Remove duplicate.
77263         (st_mtime): Likewise.
77264         (st_ctime): Likewise.
77266 2012-05-31  David S. Miller  <davem@davemloft.net>
77268         * sysdeps/sparc/fpu/libm-test-ulps: Remove sqrt(2) and sqrt test
77269         entries.
77271 2012-06-01  Andreas Schwab  <schwab@linux-m68k.org>
77273         * sysdeps/powerpc/fpu/libm-test-ulps: Sort through
77274         gen-libm-test.pl.
77276         [BZ #14132]
77277         * elf/dl-reloc.c: Include <_itoa.h>.
77278         (_dl_reloc_bad_type): Remove use of INTUSE.
77279         * elf/dl-minimal.c (_itoa, _itoa_lower_digits): Likewise.
77280         * stdio-common/_itoa.c (_itoa_word, _itoa): Likewise.
77281         * stdio-common/psiginfo.c (psiginfo): Likewise.
77282         * stdio-common/psignal.c (psignal): Likewise.
77283         * string/strsignal.c (strsignal): Likewise.
77284         * include/signal.h (_sys_siglist): Declare hidden proto.
77285         * stdio-common/itoa-digits.c: Include <_itoa.h>.  Replace
77286         INTVARDEF with libc_hidden_data_def.
77287         * stdio-common/itoa-udigits.c: Likewise.
77288         * sysdeps/generic/_itoa.h (_itoa_upper_digits_internal)
77289         (_itoa_lower_digits_internal): Remove declaration.
77290         (_itoa_upper_digits, _itoa_lower_digits): Declare hidden proto.
77291         * sysdeps/gnu/siglist.c (_sys_siglist_internal)
77292         (_sys_sigabbrev_internal): Remove aliases.
77293         (_sys_siglist): Define hidden alias.
77295 2012-05-31  Markus Trippelsdorf  <markus@trippelsdorf.de>
77297         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
77298         bits/sysctl.h.
77300 2012-05-31  H.J. Lu  <hongjiu.lu@intel.com>
77302         [BZ #14117]
77303         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Renamed to ...
77304         * sysdeps/unix/sysv/linux/x86/bits/sysctl.h: This.
77306         * sysdeps/unix/sysv/linux/i386/sys/ucontext.h: Removed.
77307         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Renamed to ...
77308         * sysdeps/unix/sysv/linux/x86/sys/ucontext.h: This.
77309         * sysdeps/unix/sysv/linux/i386/sys/user.h: Removed.
77310         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Renamed to ...
77311         * sysdeps/unix/sysv/linux/x86/sys/user.h: This.
77313         * sysdeps/unix/sysv/linux/i386/sys/procfs.h: Removed.
77314         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Renamed to ...
77315         * sysdeps/unix/sysv/linux/x86/sys/procfs.h: This.
77317         * sysdeps/unix/sysv/linux/x86_64/sys/io.h (insb): Replace addr
77318         with __addr.
77319         (insw): Likewise.
77320         (insl): Likewise.
77321         (outsb): Likewise.
77322         (outsw): Likewise.
77323         (outsl): Likewise.
77325         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Removed.
77326         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Renamed to ...
77327         * sysdeps/unix/sysv/linux/x86/bits/mman.h: This.
77329         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Renamed to ...
77330         * sysdeps/unix/sysv/linux/x86/bits/msq.h: This.
77331         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h: Renamed to ...
77332         * sysdeps/unix/sysv/linux/x86/bits/sem.h: This.
77333         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h: Renamed to ...
77334         * sysdeps/unix/sysv/linux/x86/bits/shm.h: This.
77336         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: Renamed to ...
77337         * sysdeps/unix/sysv/linux/x86/bits/ipctypes.h: This.
77339         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Renamed to ...
77340         * sysdeps/unix/sysv/linux/x86/bits/epoll.h: This.
77342         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Removed.
77343         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Renamed to ...
77344         * sysdeps/unix/sysv/linux/x86/bits/fcntl.h: This.
77346         * sysdeps/unix/sysv/linux/i386/bits/environments.h: Removed.
77347         * sysdeps/unix/sysv/linux/x86_64/bits/environments.h: Renamed
77348         to ...
77349         * sysdeps/unix/sysv/linux/x86/bits/environments.h: This.
77351         * sysdeps/unix/sysv/linux/i386/bits/a.out.h: Removed.
77352         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Renamed to ...
77353         * sysdeps/unix/sysv/linux/x86/bits/a.out.h: This.
77355         * sysdeps/unix/sysv/linux/i386/sys/elf.h: Error when compiling
77356         for x86-64.
77357         * sysdeps/unix/sysv/linux/i386/sys/vm86.h: Likewise.
77359 2012-05-31  Joseph Myers  <joseph@codesourcery.com>
77361         * math/math.h (M_El): Use two more decimal places.
77362         (M_LOG2El): Likewise.
77363         (M_LOG10El): Likewise.
77364         (M_LN2l): Likewise.
77365         (M_LN10l): Likewise.
77366         (M_PIl): Likewise.
77367         (M_PI_2l): Likewise.
77368         (M_PI_4l): Likewise.
77369         (M_1_PIl): Likewise.
77370         (M_2_PIl): Likewise.
77371         (M_2_SQRTPIl): Likewise.
77372         (M_SQRT2l): Likewise.
77373         (M_SQRT1_2l): Likewise.
77375 2012-05-31  David S. Miller  <davem@davemloft.net>
77377         * sysdeps/sparc/sparc64/memcpy.S: Use fsrc2 to move 64-bit
77378         values between float registers.
77379         * sysdeps/sparc/sparc64/memset.S: Likewise.
77380         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
77382 2012-05-31  Mike Frysinger  <vapier@gentoo.org>
77384         * debug/Makefile (CFLAGS-tst-longjmp_chk.c): Delete
77385         -D_FORTIFY_SOURCE=1.
77386         (CPPFLAGS-tst-longjmp_chk.c): Define.
77387         (CFLAGS-tst-longjmp_chk2.c): Delete -D_FORTIFY_SOURCE=1.
77388         (CPPFLAGS-tst-longjmp_chk2.c): Define.
77389         * wcsmbs/Makefile (CPPFLAGS-tst-wchar-h.c): Rename from
77390         CFLAGS-tst-wchar-h.c.
77392 2012-05-31  Marek Polacek  <polacek@redhat.com>
77394         [BZ #14132]
77395         * include/mntent.h (__setmntent_internal, __getmntent_r_internal
77396         __endmntent_internal): Remove declaration.
77397         (__setmntent, __endmntent, __getmntent_r) [NOT_IN_libc]: Remove macro.
77398         (__setmntent, __endmntent, __getmntent_r): Declare hidden proto.
77399         * misc/mntent_r.c: Replace INTDEF with libc_hidden_def.
77401 2012-05-30  David S. Miller  <davem@davemloft.net>
77403         * sysdeps/sparc/sparc32/soft-fp/q_util.c
77404         (___Q_simulate_exceptions): Use real FP ops rather than writing
77405         into the %fsr.
77406         * sysdeps/sparc/sparc32/soft-fp/q_util.c (__Qp_handle_exceptions):
77407         Likewise.
77409 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
77411         [BZ #14117]
77412         * sysdeps/x86_64/bits/xtitypes.h: Renamed to ...
77413         * sysdeps/x86/bits/xtitypes.h: This.
77415         * sysdeps/x86_64/bits/wordsize.h: Renamed to ...
77416         * sysdeps/x86/bits/wordsize.h: This.
77418         * sysdeps/i386/bits/huge_vall.h: Renamed to ...
77419         * sysdeps/x86/bits/huge_vall.h: This.
77421         * sysdeps/i386/bits/select.h: Removed.
77422         * sysdeps/x86_64/bits/select.h: Renamed to ...
77423         * sysdeps/x86/bits/select.h: This.
77425         * sysdeps/i386/bits/setjmp.h: Removed.
77426         * sysdeps/x86_64/bits/setjmp.h: Renamed to ...
77427         * sysdeps/x86/bits/setjmp.h: This.
77429         * sysdeps/i386/bits/mathdef.h: Removed.
77430         * sysdeps/x86_64/bits/mathdef.h: Renamed to ...
77431         * sysdeps/x86/bits/mathdef.h: This.
77433 2012-05-30  Andreas Schwab  <schwab@linux-m68k.org>
77435         [BZ #14132]
77436         * include/sys/socket.h (__connect_internal)
77437         (__libc_sa_len_internal): Remove declaration.
77438         (__connect, __libc_sa_len): Declare hidden_proto.
77439         (SA_LEN): Remove use of INTUSE.
77440         * socket/connect.c: Add libc_hidden_def.
77441         * sysdeps/mach/hurd/connect.c: Replace INTDEF by libc_hidden_def.
77442         * sysdeps/unix/sysv/linux/sa_len.c: Likewise.
77443         * sysdeps/unix/inet/syscalls.list: Remove __connect_internal
77444         alias.
77445         * sysdeps/unix/sysv/linux/s390/s390-64/syscalls.list: Likewise.
77446         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Likewise.
77447         * sysdeps/unix/sysv/linux/connect.S: Use libc_hidden_weak instead
77448         of adding _internal alias.
77450 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
77452         [BZ #14117]
77453         * sysdeps/i386/bits/link.h: Removed.
77454         * sysdeps/i386/bits/linkmap.h: Likewise.
77455         * sysdeps/x86_64/bits/link.h: Renamed to ...
77456         * sysdeps/x86/bits/link.h: This.
77457         * sysdeps/x86_64/bits/linkmap.h: Renamed to ...
77458         * sysdeps/x86/bits/linkmap.h: This.
77460         * sysdeps/i386/bits/endian.h: Removed.
77461         * sysdeps/x86_64/bits/endian.h: Renamed to ...
77462         * sysdeps/x86/bits/endian.h: This.
77464         * sysdeps/i386/bits/byteswap.h: Removed.
77465         * sysdeps/i386/bits/byteswap-16.h: Likewise.
77466         * sysdeps/x86_64/bits/byteswap.h: Renamed to ...
77467         * sysdeps/x86/bits/byteswap.h: This.
77468         * sysdeps/x86_64/bits/byteswap-16.h: Renamed to ...
77469         * sysdeps/x86/bits/byteswap-16.h: This.
77470         * sysdeps/i386/Implies: Add x86.
77471         * sysdeps/x86_64/Implies: Likewise.
77473 2012-05-30  David S. Miller  <davem@davemloft.net>
77475         * soft-fp/soft-fp.h (FP_CUR_EXCEPTIONS): Define.
77476         (FP_TRAPPING_EXCEPTIONS): Provide default implementation.
77477         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h
77478         (FP_TRAPPING_EXCEPTIONS): Define.
77479         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h
77480         (FP_TRAPPING_EXCEPTIONS): Define.
77481         * soft-fp/op-common.h (_FP_PACK_SEMIRAW): Signal underflow for
77482         subnormals only when inexact has been signalled or underflow
77483         exceptions are enabled.
77484         (_FP_PACK_CANONICAL): Likewise.
77486 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
77488         [BZ #14183]
77489         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h (__NLINK_T_TYPE):
77490         Defined with __UWORD_TYPE if __x86_64__ isn't defined.
77492 2012-05-30  Richard Henderson  <rth@twiddle.net>
77494         * sysdeps/unix/make-syscalls.sh: Protect symbol_version output
77495         with #ifndef NOT_IN_libc.
77497         * scripts/abilist.awk: Accept 8 fields.  Handle Alpha functions
77498         marked to avoid plt entry.
77500 2012-05-30  H.J. Lu  <hongjiu.lu@intel.com>
77502         [BZ #14112]
77503         * Makeconfig (default-abi): New macro.
77504         (abi-includes): Likewise.
77505         ($(common-objpfx)soversions.mk): Remove WORDSIZE check.  Use
77506         $(abi-$(default-abi)-lib-soname) for soname if defined.
77507         ($(common-objpfx)gnu/lib-names.stmp): Generate from
77508         abi-variants.
77509         * Makefile (installed-stubs): Likewise.
77510         * include/stubs-biarch.h: Removed.
77511         * scripts/lib-names.awk: Only handle one library at a time.
77512         * scripts/soversions.awk: Remove WORDSIZE support.
77513         * shlib-versions: Remove WORDSIZE and i.86/s390x/powerpc64 ld
77514         entries.
77515         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants):
77516         Removed.
77517         (syscall-list-default-condition): Likewise.
77518         (syscall-list-default-condition): Likewise.
77519         (syscall-list-includes): Likewise.
77520         ($(objpfx)bits/syscall%h $(objpfx)bits/syscall%d): Replace
77521         syscall-list-* with abi-*.  Handle undefined abi-variants.
77522         * sysdeps/unix/sysv/linux/i386/Makefile (default-abi): New macro.
77523         * sysdeps/unix/sysv/linux/i386/Implies: New file.
77524         * sysdeps/unix/sysv/linux/x86/Makefile: Likewise.
77525         * sysdeps/unix/sysv/linux/x86_64/64/Makefile: Likewise.
77526         * sysdeps/unix/sysv/linux/x86_64/Implies: Add unix/sysv/linux/x86.
77527         * sysdeps/unix/sysv/linux/x86_64/Makefile (syscall-list-variants):
77528         Removed.
77529         (syscall-list-32-options): Likewise.
77530         (syscall-list-32-condition): Likewise.
77531         (syscall-list-64-options): Likewise.
77532         (syscall-list-64-condition): Likewise.
77533         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (default-abi): New
77534         macro.
77535         * sysdeps/unix/sysv/linux/powerpc/Makefile (syscall-list-*):
77536         Renamed to ...
77537         (abi-*): This.
77538         (abi-64-ld-soname): New macro.
77539         * sysdeps/unix/sysv/linux/s390/Makefile: Likewise.
77540         * sysdeps/unix/sysv/linux/sparc/Makefile (syscall-list-*):
77541         Renamed to ...
77542         (abi-*): This.
77543         * sysdeps/x86_64/64/shlib-versions: Remove ld entry.
77544         * sysdeps/x86_64/x32/shlib-versions: Likewise.
77546 2012-05-30  Joseph Myers  <joseph@codesourcery.com>
77548         * sysdeps/unix/sysv/linux/kernel-features.h
77549         (__ASSUME_TRUNCATE64_SYSCALL): Remove all definitions.
77550         * sysdeps/unix/sysv/linux/ftruncate64.c: Do not
77551         include <kernel-features.h>.
77552         [!__NR_ftruncate64]: Remove conditional code.
77553         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
77554         [__NR_ftruncate64]: Make code unconditional.
77555         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
77556         * sysdeps/unix/sysv/linux/truncate64.c: Do not
77557         include <kernel-features.h>.
77558         [!__NR_ftruncate64]: Remove conditional code.
77559         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
77560         [__NR_ftruncate64]: Make code unconditional.
77561         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
77562         * sysdeps/unix/sysv/linux/powerpc/powerpc32/ftruncate64.c: Do not
77563         include <kernel-features.h>.
77564         [!__NR_ftruncate64]: Remove conditional code.
77565         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
77566         [__NR_ftruncate64]: Make code unconditional.
77567         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
77568         * sysdeps/unix/sysv/linux/powerpc/powerpc32/truncate64.c: Do not
77569         include <kernel-features.h>.
77570         [!__NR_ftruncate64]: Remove conditional code.
77571         [!__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
77572         [__NR_ftruncate64]: Make code unconditional.
77573         [__ASSUME_TRUNCATE64_SYSCALL]: Likewise.
77575         * configure.in (libc_cv_fpie): Weaken to a compile test using
77576         LIBC_TRY_CC_OPTION.
77577         * configure: Regenerated.
77579 2012-05-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
77581         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: Refreshed.
77582         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Refreshed.
77583         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: Refreshed.
77584         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
77585         Refreshed.
77586         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: Refreshed.
77587         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: Refreshed.
77588         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: Refreshed.
77589         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Refreshed.
77590         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: Refreshed.
77591         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
77592         Refreshed.
77594 2012-05-27  David S. Miller  <davem@davemloft.net>
77596         * sysdeps/sparc/sparc32/soft-fp/q_util.c (___Q_numbers): Delete.
77597         (___Q_zero): New.
77598         (__Q_simulate_exceptions): Return void.  Change to simulate
77599         exceptions by writing into the %fsr.
77600         * sysdeps/sparc/sparc64/soft-fp/qp_util.c
77601         (__Qp_handle_exceptions): Likewise.
77602         (numbers): Delete.
77603         * sysdeps/sparc/sparc64/soft-fp/Versions: Remove entry for
77604         __Qp_handle_exceptions.
77605         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Remove
77606         __Qp_handle_exceptions.
77607         * sysdeps/sparc/sparc32/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
77608         as unused and give dummy FP_RND_NEAREST initializer.
77609         (FP_INHIBIT_RESULTS): Define.
77610         (___Q_simulate_exceptions): Update declaration.
77611         (FP_HANDLE_EXCEPTIONS): Use ___Q_zero and tidy inline asm
77612         formatting.
77613         * sysdeps/sparc/sparc64/soft-fp/sfp-machine.h (_FP_DECL_EX): Mark
77614         as unused and give dummy FP_RND_NEAREST initializer.
77615         (__Qp_handle_exceptions): Update declaration.
77616         (FP_HANDLE_EXCEPTIONS, QP_NO_EXCEPTIONS): Tidy inline asm
77617         formatting.
77619 2012-05-27  Thomas Schwinge  <thomas@codesourcery.com>
77621         * sysdeps/sh/sh4/fpu/fclrexcpt.c (feclearexcept): Use fpu_control_t for
77622         the temporary FPU control word.
77623         * sysdeps/sh/sh4/fpu/fedisblxcpt.c (fedisableexcept): Likewise.
77624         * sysdeps/sh/sh4/fpu/feenablxcpt.c (feenableexcept): Likewise.
77625         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Likewise.
77626         * sysdeps/sh/sh4/fpu/fegetexcept.c (fegetexcept): Likewise.
77627         * sysdeps/sh/sh4/fpu/fegetround.c (fegetround): Likewise.
77628         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Likewise.
77629         * sysdeps/sh/sh4/fpu/fesetenv.c (fesetenv): Likewise.
77630         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Likewise.
77631         * sysdeps/sh/sh4/fpu/feupdateenv.c (feupdateenv): Likewise.
77632         * sysdeps/sh/sh4/fpu/fsetexcptflg.c (fesetexceptflag): Likewise.
77633         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
77635 2012-05-27  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
77637         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Restore fpscr flag
77638         fields.
77640 2012-05-27  Chung-Lin Tang  <cltang@codesourcery.com>
77642         * sysdeps/sh/_mcount.S (_mount): Add CFI directives.
77643         * sysdeps/unix/sh/sysdep.S (__syscall_error): Likewise.
77644         * sysdeps/unix/sysv/linux/sh/sh3/setcontext.S (__setcontext): Likewise.
77645         * sysdeps/unix/sysv/linux/sh/sh3/swapcontext.S (__swapcontext):
77646         Likewise.
77647         * sysdeps/unix/sysv/linux/sh/sh4/setcontext.S (__setcontext): Likewise.
77648         * sysdeps/unix/sysv/linux/sh/sh4/swapcontext.S (__swapcontext):
77649         Likewise.
77651 2012-05-27  Ulrich Drepper  <drepper@gmail.com>
77653         * po/h.po: Update from translation team.
77655 2012-05-26  Andreas Schwab  <schwab@linux-m68k.org>
77657         * sysdeps/powerpc/powerpc32/dl-irel.h: Include <ldsodefs.h>.
77659         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Optimize
77660         handling of denormals.
77661         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
77662         * sysdeps/ieee754/flt-32/s_logbf.c (__logbf): Likewise.
77663         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
77664         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
77665         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
77666         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c (_logb): Likewise.
77667         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c (_logbl):
77668         Likewise.
77670 2012-05-26  Marek Polacek  <polacek@redhat.com>
77672         [BZ #14152]
77673         * math/libm-test.inc (fma_test): Don't always expect underflow
77674         exception.
77676 2012-05-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
77678         [BZ #12416]
77679         * elf/tst-execstack.c: Include stackinfo.h.
77680         (do_test): Adjust test case to ensure that pthread_getattr_np
77681         behaviour remains the same after marking stack executable.
77683 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
77685         * sysdeps/unix/sysv/linux/kernel-features.h
77686         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Remove all definitions.
77687         * sysdeps/unix/sysv/linux/i386/getrlimit.c: Do not include
77688         kernel-features.h.
77689         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
77690         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
77691         * sysdeps/unix/sysv/linux/i386/setrlimit.c Do not include
77692         kernel-features.h.
77693         [!__ASSUME_NEW_GETRLIMIT_SYSCALL]: Remove conditional code.
77694         [__ASSUME_NEW_GETRLIMIT_SYSCALL]: Make code unconditional.
77696 2012-05-25  H.J. Lu  <hongjiu.lu@intel.com>
77698         * configure.in: Define the default includes to being none.
77699         * configure: Regenerated.
77701 2012-05-25  Roland McGrath  <roland@hack.frob.com>
77703         * sysdeps/x86_64/__longjmp.S: Add a static probe here.
77704         * sysdeps/x86_64/setjmp.S: Likewise.
77705         * sysdeps/i386/bsd-setjmp.S: Likewise.
77706         * sysdeps/i386/bsd-_setjmp.S: Likewise.
77707         * sysdeps/i386/setjmp.S: Likewise.
77708         * sysdeps/i386/__longjmp.S: Likewise.
77709         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
77710         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S: Likewise.
77712         * include/stap-probe.h: New file.
77713         * configure.in: Handle --enable-systemtap.
77714         * configure: Regenerated.
77715         * config.h.in (USE_STAP_PROBE): New #undef.
77716         * extra-lib.mk (CPPFLAGS-$(lib)): Add -DIN_LIB=$(lib).
77717         * elf/Makefile (CPPFLAGS-.os): Add -DIN_LIB=rtld.
77718         * elf/rtld-Rules (rtld-CPPFLAGS): Likewise.
77720 2012-05-25  Joseph Myers  <joseph@codesourcery.com>
77722         [BZ #13717]
77723         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
77724         to 2.4.0 where earlier.
77725         * sysdeps/unix/sysv/linux/configure: Regenerated.
77726         * sysdeps/unix/sysv/linux/i386/chown.c: Do not include
77727         <kernel-features.h>.
77728         [__ASSUME_32BITUIDS]: Make code unconditional.
77729         [!__ASSUME_32BITUIDS]: Remove conditional code.
77730         * sysdeps/unix/sysv/linux/i386/fchown.c: Do not include
77731         <kernel-features.h>.
77732         [__ASSUME_32BITUIDS]: Make code unconditional.
77733         [!__ASSUME_32BITUIDS]: Remove conditional code.
77734         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat)
77735         [__ASSUME_32BITUIDS]: Make code unconditional.
77736         (fchownat) [!__ASSUME_32BITUIDS]: Remove conditional code.
77737         * sysdeps/unix/sysv/linux/i386/getegid.c: Do not include
77738         <kernel-features.h>.
77739         [__ASSUME_32BITUIDS]: Make code unconditional.
77740         [!__ASSUME_32BITUIDS]: Remove conditional code.
77741         * sysdeps/unix/sysv/linux/i386/geteuid.c: Do not include
77742         <kernel-features.h>.
77743         [__ASSUME_32BITUIDS]: Make code unconditional.
77744         [!__ASSUME_32BITUIDS]: Remove conditional code.
77745         * sysdeps/unix/sysv/linux/i386/getgid.c: Do not include
77746         <kernel-features.h>.
77747         [__ASSUME_32BITUIDS]: Make code unconditional.
77748         [!__ASSUME_32BITUIDS]: Remove conditional code.
77749         * sysdeps/unix/sysv/linux/i386/getgroups.c: Do not include
77750         <kernel-features.h>.
77751         [__ASSUME_32BITUIDS]: Make code unconditional.
77752         [!__ASSUME_32BITUIDS]: Remove conditional code.
77753         * sysdeps/unix/sysv/linux/i386/getresgid.c: Do not include
77754         <kernel-features.h>.
77755         [__ASSUME_32BITUIDS]: Make code unconditional.
77756         [!__ASSUME_32BITUIDS]: Remove conditional code.
77757         * sysdeps/unix/sysv/linux/i386/getresuid.c: Do not include
77758         <kernel-features.h>.
77759         [__ASSUME_32BITUIDS]: Make code unconditional.
77760         [!__ASSUME_32BITUIDS]: Remove conditional code.
77761         * sysdeps/unix/sysv/linux/i386/getuid.c: Do not include
77762         <kernel-features.h>.
77763         [__ASSUME_32BITUIDS]: Make code unconditional.
77764         [!__ASSUME_32BITUIDS]: Remove conditional code.
77765         * sysdeps/unix/sysv/linux/i386/lchown.c: Do not include
77766         <kernel-features.h>.
77767         [__ASSUME_32BITUIDS]: Make code unconditional.
77768         [!__ASSUME_32BITUIDS]: Remove conditional code.
77769         * sysdeps/unix/sysv/linux/i386/msgctl.c: Do not include
77770         <kernel-features.h>.
77771         [__ASSUME_32BITUIDS]: Make code unconditional.
77772         [!__ASSUME_32BITUIDS]: Remove conditional code.
77773         * sysdeps/unix/sysv/linux/i386/semctl.c: Do not include
77774         <kernel-features.h>.
77775         [__ASSUME_32BITUIDS]: Make code unconditional.
77776         [!__ASSUME_32BITUIDS]: Remove conditional code.
77777         * sysdeps/unix/sysv/linux/i386/setegid.c: Do not include
77778         <kernel-features.h>.
77779         [__NR_setresgid] (__setresgid): Do not declare.
77780         [__ASSUME_32BITUIDS]: Make code unconditional.
77781         [!__ASSUME_32BITUIDS]: Remove conditional code.
77782         * sysdeps/unix/sysv/linux/i386/seteuid.c: Do not include
77783         <kernel-features.h>.
77784         [__NR_setresuid] (__setresuid): Do not declare.
77785         [__ASSUME_32BITUIDS]: Make code unconditional.
77786         [!__ASSUME_32BITUIDS]: Remove conditional code.
77787         * sysdeps/unix/sysv/linux/i386/setfsgid.c: Do not include
77788         <kernel-features.h>.
77789         [__ASSUME_32BITUIDS]: Make code unconditional.
77790         [!__ASSUME_32BITUIDS]: Remove conditional code.
77791         * sysdeps/unix/sysv/linux/i386/setfsuid.c: Do not include
77792         <kernel-features.h>.
77793         [__ASSUME_32BITUIDS]: Make code unconditional.
77794         [!__ASSUME_32BITUIDS]: Remove conditional code.
77795         * sysdeps/unix/sysv/linux/i386/setgid.c: Do not include
77796         <kernel-features.h>.
77797         [__ASSUME_32BITUIDS]: Make code unconditional.
77798         [!__ASSUME_32BITUIDS]: Remove conditional code.
77799         * sysdeps/unix/sysv/linux/i386/setgroups.c: Do not include
77800         <kernel-features.h>.
77801         [__ASSUME_32BITUIDS]: Make code unconditional.
77802         [!__ASSUME_32BITUIDS]: Remove conditional code.
77803         * sysdeps/unix/sysv/linux/i386/setregid.c: Do not include
77804         <kernel-features.h>.
77805         [__ASSUME_32BITUIDS]: Make code unconditional.
77806         [!__ASSUME_32BITUIDS]: Remove conditional code.
77807         * sysdeps/unix/sysv/linux/i386/setresgid.c: Do not include
77808         <kernel-features.h>.
77809         [__ASSUME_32BITUIDS]: Make code unconditional.
77810         [!__ASSUME_32BITUIDS]: Remove conditional code.
77811         * sysdeps/unix/sysv/linux/i386/setresuid.c: Do not include
77812         <kernel-features.h>.
77813         [__ASSUME_32BITUIDS]: Make code unconditional.
77814         [!__ASSUME_32BITUIDS]: Remove conditional code.
77815         * sysdeps/unix/sysv/linux/i386/setreuid.c: Do not include
77816         <kernel-features.h>.
77817         [__ASSUME_32BITUIDS]: Make code unconditional.
77818         [!__ASSUME_32BITUIDS]: Remove conditional code.
77819         * sysdeps/unix/sysv/linux/i386/setuid.c: Do not include
77820         <kernel-features.h>.
77821         [__ASSUME_32BITUIDS]: Make code unconditional.
77822         [!__ASSUME_32BITUIDS]: Remove conditional code.
77823         * sysdeps/unix/sysv/linux/i386/shmctl.c: Do not include
77824         <kernel-features.h>.
77825         [__ASSUME_32BITUIDS]: Make code unconditional.
77826         [!__ASSUME_32BITUIDS]: Remove conditional code.
77827         * sysdeps/unix/sysv/linux/kernel-features.h
77828         (__ASSUME_SETRESUID_SYSCALL): Remove.
77829         (__ASSUME_SETRESGID_SYSCALL): Likewise.
77830         (__ASSUME_32BITUIDS): Likewise.
77831         (__ASSUME_LDT_WORKS): Likewise.
77832         (__ASSUME_O_DIRECTORY): Likewise.
77833         (__ASSUME_NEW_GETRLIMIT_SYSCALL): Define conditional on
77834         architecture but not kernel version.
77835         (__ASSUME_TRUNCATE64_SYSCALL): Likewise.
77836         (__ASSUME_MMAP2_SYSCALL): Likewise.
77837         (__ASSUME_STAT64_SYSCALL): Likewise.
77838         (__ASSUME_IPC64): Likewise.
77839         * sysdeps/unix/sysv/linux/local-setxid.h: Do not include
77840         <kernel-features.h>.
77841         [__ASSUME_32BITUIDS]: Make code unconditional.
77842         [!__ASSUME_32BITUIDS]: Remove conditional code.
77843         * sysdeps/unix/sysv/linux/opendir.c: Do not include
77844         <kernel-features.h>.
77845         [__ASSUME_O_DIRECTORY]: Make code unconditional.
77846         * sysdeps/unix/sysv/linux/opensock.c [__LINUX_KERNEL_VERSION <
77847         132096]: Remove conditional code.
77848         [__LINUX_KERNEL_VERSION >= 132096]: Make code unconditional.
77849         * sysdeps/unix/sysv/linux/s390/s390-32/chown.c: Do not include
77850         <kernel-features.h>.
77851         [__ASSUME_32BITUIDS]: Make code unconditional.
77852         [!__ASSUME_32BITUIDS]: Remove conditional code.
77853         * sysdeps/unix/sysv/linux/s390/s390-32/lchown.c: Do not include
77854         <kernel-features.h>.
77855         [__ASSUME_32BITUIDS]: Make code unconditional.
77856         [!__ASSUME_32BITUIDS]: Remove conditional code.
77857         * sysdeps/unix/sysv/linux/setegid.c: Do not include
77858         <kernel-features.h>.
77859         [__NR_setresgid || __ASSUME_SETRESGID_SYSCALL]: Make code
77860         unconditional.
77861         (__setresgid): Do not declare.
77862         [__ASSUME_32BITUIDS]: Make code unconditional.
77863         [!__ASSUME_32BITUIDS]: Remove conditional code.
77864         * sysdeps/unix/sysv/linux/seteuid.c: Do not include
77865         <kernel-features.h>.
77866         [__NR_setresuid || __ASSUME_SETRESUID_SYSCALL]: Make code
77867         unconditional.
77868         (__setresuid): Do not declare.
77869         [__ASSUME_32BITUIDS]: Make code unconditional.
77870         [!__ASSUME_32BITUIDS]: Remove conditional code.
77871         * sysdeps/unix/sysv/linux/sh/chown.c: Do not include
77872         <kernel-features.h>.
77873         [__ASSUME_32BITUIDS]: Make code unconditional.
77874         [!__ASSUME_32BITUIDS]: Remove conditional code.
77875         * sysdeps/unix/sysv/linux/sparc/sparc32/semctl.c: Do not include
77876         <kernel-features.h>.
77877         [__ASSUME_32BITUIDS]: Make code unconditional.
77878         [!__ASSUME_32BITUIDS]: Remove conditional code.
77880 2012-05-25  Richard Henderson  <rth@twiddle.net>
77882         * sysdeps/powerpc/powerpc32/dl-irel.h (elf_ifunc_invoke): Pass
77883         dl_hwcap to ifunc resolver.
77884         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela): Use
77885         elf_ifunc_invoke.
77886         * sysdeps/powerpc/powerpc64/dl-irel.h (elf_ifunc_invoke): Pass
77887         dl_hwcap to ifunc resolver.
77888         * sysdeps/powerpc/powerpc64/dl-machine.h (resolve_ifunc): Likewise.
77890 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
77892         [BZ #14153]
77893         * sysdeps/ieee754/flt-32/e_acosf.c (__ieee754_acosf): Return pi/2
77894         for |x| <= 2**-26, not 2**-57.
77895         * math/libm-test.inc (acos_test): Do not allow spurious underflow
77896         exception.
77898 2012-05-24  Jeff Law  <law@redhat.com>
77900         * stdio-common/Makefile (tests): Add bug25.
77901         * stdio-common/bug25.c: New test.
77903 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
77905         [BZ #13576]
77906         * malloc/malloc.c (sYSMALLOc): Free the old top chunk with a
77907         multiple of MALLOC_ALIGNMENT in size.
77908         (_int_free): Check chunk size is a multiple of MALLOC_ALIGNMENT.
77910 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
77912         * conform/data/stdio.h-data (BUFSIZ): Use macro-int-constant.
77913         Require >= 256.
77914         (FILENAME_MAX): Use macro-int-constant.
77915         (FOPEN_MAX): Use macro-int-constant.  Require >= 8.
77916         (_IOFBF): Use macro-int-constant.
77917         (_IOLBF): Likewise.
77918         (_IONBF): Likewise.
77919         (SEEK_CUR): Likewise.
77920         (SEEK_END): Likewise.
77921         (SEEK_SET): Likewise.
77922         (TMP_MAX): Likewise.
77923         (EOF): Use macro-int-constant.  Require < 0.
77924         (NULL): Use macro-constant.  Require == 0.
77925         (stdin): Require type to be FILE *.
77926         (stdout): Likewise.
77927         (stderr): Likewise.
77928         * conform/data/stdlib.h-data (EXIT_FAILURE): Use
77929         macro-int-constant.
77930         (EXIT_SUCCESS): Likewise.
77931         (NULL): Use macro-constant.  Require == 0.
77932         (RAND_MAX): Use macro-int-constant.
77933         [ISO99 || ISO11] (lldiv_t): Require also for these standards.
77934         [C99-based standards] (strtof): Require function.
77935         [C99-based standards] (strtold): Likewise.
77936         [C99-based standards] (strtoll): Likewise.
77937         [C99-based standards] (strtoull): Likewise.
77938         [ISO || ISO99 || ISO11] (stddef.h): Do not allow header.
77939         [ISO || ISO99 || ISO11] (limits.h): Likewise.
77940         [ISO || ISO99 || ISO11] (math.h): Likewise.
77941         [ISO || ISO99 || ISO11] (sys/wait.h): Likewise.
77942         (str*): Change to str[abcdefghijklmnopqrstuvwxyz]*.
77943         [ISO || ISO99 || ISO11] (*_t): Do not allow.
77945 2012-05-24  Andreas Schwab  <schwab@linux-m68k.org>
77947         [BZ #14132]
77948         * argp/argp-help.c (dgettext) [_LIBC]: Remove use of INTUSE.
77949         * argp/argp-parse.c (dgettext) [_LIBC]: Likewise.
77950         * intl/dgettext.c (DCGETTEXT): Likewise.
77951         * intl/gettext.c (DCGETTEXT): Likewise.
77952         * intl/l10nflist.c (__argz_count, __argz_stringify): Likewise.
77953         * posix/regex_internal.h (gettext): Likewise.
77954         * include/libintl.h (__dcgettext_internal, __dcngettext_internal):
77955         Remove declaration.
77956         * include/argz.h (__argz_count_internal)
77957         (__argz_stringify_internal): Remove declaration.
77958         (__argz_count, __argz_stringify): Declare hidden proto.
77959         * intl/dcgettext.c: Remove use of INTDEF.
77960         * string/argz-count.c: Replace INTDEF with libc_hidden_def.
77961         * string/argz-stringify.c: Likewise.
77962         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
77963         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
77964         Declare hidden proto.
77965         * include/libio.h (_IO_free_backup_area, _IO_free_wbackup_area)
77966         (_IO_padn, _IO_putc, _IO_sgetn, _IO_vfprintf, _IO_vfscanf):
77967         Declare hidden proto.
77968         * include/stdio.h (__asprintf_internal): Don't declare.
77969         (__asprintf): Don't define as macro.  Declare hidden proto.
77970         * include/stdio_ext.h (__fsetlocking_internal): Don't declare.
77971         (__fsetlocking): Declare hidden proto.
77972         * libio/iolibio.h (_IO_fdopen, _IO_fflush, _IO_ftell, _IO_fread)
77973         (_IO_fwrite, _IO_setbuffer, _IO_setvbuf, _IO_vsprintf): Declare
77974         hidden proto.
77975         (_IO_vprintf, _IO_freopen, _IO_freopen64, _IO_setbuf)
77976         (_IO_setlinebuf): Remove use of INTUSE.
77977         (_IO_setbuffer_internal, _IO_fread_internal, _IO_fdopen_internal)
77978         (_IO_vsprintf_internal, _IO_fflush_internal, _IO_fwrite_internal)
77979         (_IO_ftell_internal, _IO_fputs_internal, _IO_setvbuf_internal):
77980         Remove declaration.
77981         * libio/libioP.h (INTUSE, INTDEF, INTDEF2): Don't define.
77982         (_IO_do_flush): Remove use of INTUSE.
77983         (_IO_switch_to_get_mode, _IO_init, _IO_sputbackc, _IO_un_link)
77984         (_IO_link_in, _IO_doallocbuf, _IO_unsave_markers, _IO_setb)
77985         (_IO_adjust_column, _IO_least_wmarker)
77986         (_IO_switch_to_main_wget_area, _IO_switch_to_wbackup_area)
77987         (_IO_switch_to_wget_mode, _IO_wsetb, _IO_sputbackwc)
77988         (_IO_wdoallocbuf, _IO_default_uflow, _IO_wdefault_uflow)
77989         (_IO_default_doallocate, _IO_wdefault_doallocate)
77990         (_IO_default_finish, _IO_wdefault_finish, _IO_default_pbackfail)
77991         (_IO_wdefault_pbackfail, _IO_default_xsputn, _IO_wdefault_xsputn)
77992         (_IO_default_xsgetn, _IO_wdefault_xsgetn, _IO_do_write)
77993         (_IO_wdo_write, _IO_flush_all, _IO_flush_all_linebuffered)
77994         (_IO_file_doallocate, _IO_file_setbuf, _IO_file_seekoff)
77995         (_IO_file_xsputn, _IO_file_xsgetn, _IO_file_stat, _IO_file_close)
77996         (_IO_file_underflow, _IO_file_overflow, _IO_file_init)
77997         (_IO_file_attach, _IO_file_fopen, _IO_file_read, _IO_file_sync)
77998         (_IO_file_close_it, _IO_file_seek, _IO_file_finish)
77999         (_IO_wfile_xsputn, _IO_wfile_sync, _IO_wfile_underflow)
78000         (_IO_wfile_overflow, _IO_wfile_seekoff, _IO_str_underflow)
78001         (_IO_str_overflow, _IO_str_pbackfail, _IO_str_seekoff)
78002         (_IO_getline, _IO_getline_info, _IO_list_all): Declare hidden
78003         proto.
78004         (_IO_flush_all_internal, _IO_adjust_column_internal)
78005         (_IO_default_uflow_internal, _IO_default_finish_internal)
78006         (_IO_default_pbackfail_internal, _IO_default_xsputn_internal)
78007         (_IO_default_xsgetn_internal, _IO_default_doallocate_internal)
78008         (_IO_wdefault_finish_internal, _IO_wdefault_pbackfail_internal)
78009         (_IO_wdefault_xsputn_internal, _IO_wdefault_xsgetn_internal)
78010         (_IO_wdefault_doallocate_internal, _IO_wdefault_uflow_internal)
78011         (_IO_file_doallocate_internal, _IO_file_setbuf_internal)
78012         (_IO_file_seekoff_internal, _IO_file_xsputn_internal)
78013         (_IO_file_xsgetn_internal, _IO_file_stat_internal)
78014         (_IO_file_close_internal, _IO_file_close_it_internal)
78015         (_IO_file_underflow_internal, _IO_file_overflow_internal)
78016         (_IO_file_init_internal, _IO_file_attach_internal)
78017         (_IO_file_fopen_internal, _IO_file_read_internal)
78018         (_IO_file_sync_internal, _IO_file_seek_internal)
78019         (_IO_file_finish_internal, _IO_wfile_xsputn_internal)
78020         (_IO_wfile_seekoff_internal, _IO_wfile_sync_internal)
78021         (_IO_str_underflow_internal, _IO_str_overflow_internal)
78022         (_IO_str_pbackfail_internal, _IO_str_seekoff_internal)
78023         (_IO_file_jumps_internal, _IO_wfile_jumps_internal)
78024         (_IO_list_all_internal, _IO_link_in_internal)
78025         (_IO_sputbackc_internal, _IO_wdoallocbuf_internal)
78026         (_IO_sgetn_internal, _IO_flush_all_linebuffered_internal)
78027         (_IO_switch_to_wget_mode_internal, _IO_unsave_markers_internal)
78028         (_IO_switch_to_main_wget_area_internal, _IO_wdo_write_internal)
78029         (_IO_do_write_internal, _IO_padn_internal)
78030         (_IO_getline_info_internal, _IO_getline_internal)
78031         (_IO_free_wbackup_area_internal, _IO_free_backup_area_internal)
78032         (_IO_switch_to_wbackup_area_internal, _IO_setb_internal)
78033         (_IO_sputbackwc_internal, _IO_switch_to_get_mode_internal)
78034         (_IO_vfscanf_internal, _IO_vfprintf_internal)
78035         (_IO_doallocbuf_internal, _IO_wsetb_internal, _IO_putc_internal)
78036         (_IO_init_internal, _IO_un_link_internal): Don't declare.
78037         * libio/fileops.c: Replace INTDEF with libc_hidden_def and INTDEF2
78038         with libc_hidden_ver, remove use of INTUSE.
78039         * libio/genops.c: Likewise.
78040         * libio/freopen.c: Likewise.
78041         * libio/freopen64.c: Likewise.
78042         * libio/iofclose.c: Likewise.
78043         * libio/iofdopen.c: Likewise.
78044         * libio/iofflush.c: Likewise.
78045         * libio/iofflush_u.c: Likewise.
78046         * libio/iofgets.c: Likewise.
78047         * libio/iofgets_u.c: Likewise.
78048         * libio/iofopen.c: Likewise.
78049         * libio/iofopncook.c: Likewise.
78050         * libio/iofread.c: Likewise.
78051         * libio/iofread_u.c: Likewise.
78052         * libio/ioftell.c: Likewise.
78053         * libio/iofwrite.c: Likewise.
78054         * libio/iogetline.c: Likewise.
78055         * libio/iogets.c: Likewise.
78056         * libio/iogetwline.c: Likewise.
78057         * libio/iopadn.c: Likewise.
78058         * libio/iopopen.c: Likewise.
78059         * libio/ioseekoff.c: Likewise.
78060         * libio/ioseekpos.c: Likewise.
78061         * libio/iosetbuffer.c: Likewise.
78062         * libio/iosetvbuf.c: Likewise.
78063         * libio/ioungetc.c: Likewise.
78064         * libio/ioungetwc.c: Likewise.
78065         * libio/iovdprintf.c: Likewise.
78066         * libio/iovsprintf.c: Likewise.
78067         * libio/iovsscanf.c: Likewise.
78068         * libio/memstream.c: Likewise.
78069         * libio/obprintf.c: Likewise.
78070         * libio/oldfileops.c: Likewise.
78071         * libio/oldiofclose.c: Likewise.
78072         * libio/oldiofdopen.c: Likewise.
78073         * libio/oldiofopen.c: Likewise.
78074         * libio/oldiopopen.c: Likewise.
78075         * libio/oldstdfiles.c: Likewise.
78076         * libio/putc.c: Likewise.
78077         * libio/setbuf.c: Likewise.
78078         * libio/setlinebuf.c: Likewise.
78079         * libio/stdfiles.c: Likewise.
78080         * libio/strops.c: Likewise.
78081         * libio/vasprintf.c: Likewise.
78082         * libio/vscanf.c: Likewise.
78083         * libio/vsnprintf.c: Likewise.
78084         * libio/vswprintf.c: Likewise.
78085         * libio/wfiledoalloc.c: Likewise.
78086         * libio/wfileops.c: Likewise.
78087         * libio/wgenops.c: Likewise.
78088         * libio/wmemstream.c: Likewise.
78089         * libio/wstrops.c: Likewise.
78090         * libio/__fpurge.c: Likewise.
78091         * libio/__fsetlocking.c: Likewise.
78092         * assert/assert.c: Likewise.
78093         * debug/fgets_chk.c: Likewise.
78094         * debug/fgets_u_chk.c: Likewise.
78095         * debug/fread_chk.c: Likewise.
78096         * debug/fread_u_chk.c: Likewise.
78097         * debug/gets_chk.c: Likewise.
78098         * debug/obprintf_chk.c: Likewise.
78099         * debug/vasprintf_chk.c: Likewise.
78100         * debug/vdprintf_chk.c: Likewise.
78101         * debug/vsnprintf_chk.c: Likewise.
78102         * debug/vsprintf_chk.c: Likewise.
78103         * malloc/mtrace.c: Likewise.
78104         * misc/error.c: Likewise.
78105         * misc/syslog.c: Likewise.
78106         * stdio-common/asprintf.c: Likewise.
78107         * stdio-common/fxprintf.c: Likewise.
78108         * stdio-common/getw.c: Likewise.
78109         * stdio-common/isoc99_fscanf.c: Likewise.
78110         * stdio-common/isoc99_scanf.c: Likewise.
78111         * stdio-common/isoc99_vfscanf.c: Likewise.
78112         * stdio-common/isoc99_vscanf.c: Likewise.
78113         * stdio-common/isoc99_vsscanf.c: Likewise.
78114         * stdio-common/printf-prs.c: Likewise.
78115         * stdio-common/printf_fp.c: Likewise.
78116         * stdio-common/printf_fphex.c: Likewise.
78117         * stdio-common/printf_size.c: Likewise.
78118         * stdio-common/putw.c: Likewise.
78119         * stdio-common/scanf.c: Likewise.
78120         * stdio-common/sprintf.c: Likewise.
78121         * stdio-common/tmpfile.c: Likewise.
78122         * stdio-common/vfprintf.c: Likewise.
78123         * stdio-common/vfscanf.c: Likewise.
78124         * stdlib/strfmon_l.c: Likewise.
78125         * sunrpc/openchild.c: Likewise.
78126         * sunrpc/xdr_stdio.c: Likewise.
78127         * sysdeps/ieee754/ldbl-opt/nldbl-compat.c: Likewise.
78128         * sysdeps/mach/hurd/tmpfile.c: Likewise.
78130 2012-05-24  Roland McGrath  <roland@hack.frob.com>
78132         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
78134         * sysdeps/unix/make-syscalls.sh: Support "syscall:vdso_name@VDSOVER"
78135         in the third column, to generate for the shared library an IFUNC
78136         that uses _dl_vdso_vsym.
78137         * Makerules (COMPILE.c, compile-stdin.c): New variables.
78138         * Makeconfig (object-suffixes-noshared): New variable.
78140         * sysdeps/unix/sysv/linux/dl-vdso.h (PREPARE_VERSION_KNOWN): New macro.
78141         (VDSO_NAME_LINUX_2_6, VDSO_HASH_LINUX_2_6): New macros.
78142         (VDSO_NAME_LINUX_2_6_15, VDSO_HASH_LINUX_2_6_15): New macros.
78143         (VDSO_NAME_LINUX_2_6_29, VDSO_HASH_LINUX_2_6_29): New macros.
78145         [BZ #14132]
78146         * include/sys/time.h (__gettimeofday): Remove macro.
78147         (__gettimeofday, gettimeofday): Add libc_hidden_proto.
78148         * time/gettimeofday.c (__gettimeofday): Remove #undef.
78149         Remove INTDEF.
78150         (__gettimeofday): Add libc_hidden_def.
78151         (gettimeofday): Add libc_hidden_weak.
78152         * sysdeps/mach/gettimeofday.c: Likewise.
78153         * sysdeps/posix/gettimeofday.c: Likewise.
78154         * sysdeps/unix/sysv/linux/powerpc/gettimeofday.c: Likewise.
78155         * sysdeps/unix/sysv/linux/s390/gettimeofday.c: Likewise.
78156         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c
78157         (__gettimeofday_internal): Remove strong_alias.
78158         (__gettimeofday): Add libc_hidden_def.
78159         (gettimeofday): Add libc_hidden_weak.
78160         * sysdeps/unix/syscalls.list (gettimeofday):
78161         Remove __gettimeofday_internal alias.
78163 2012-05-24  Daniel Jacobowitz  <drow@false.org>
78164             H.J. Lu  <hongjiu.lu@intel.com>
78166         [BZ #12495]
78167         * malloc/malloc.c (SMALLBIN_CORRECTION): New.
78168         (MIN_LARGE_SIZE, smallbin_index): Use it to handle 16-byte alignment.
78169         (largebin_index_32_big): New.
78170         (largebin_index): Use it for 16-byte alignment.
78171         (sYSMALLOc): Handle MALLOC_ALIGNMENT > 2 * SIZE_SZ.  Don't update
78172         correction with front_misalign.
78174 2012-05-24  H.J. Lu  <hongjiu.lu@intel.com>
78176         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/ld.abilist: New file.
78177         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libBrokenLocale.abilist:
78178         Likewise.
78179         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libanl.abilist:
78180         Likewise.
78181         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libc.abilist:
78182         Likewise.
78183         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libcrypt.abilist:
78184         Likewise.
78185         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libdl.abilist:
78186         Likewise.
78187         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libm.abilist:
78188         Likewise.
78189         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libnsl.abilist:
78190         Likewise.
78191         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libpthread.abilist:
78192         Likewise.
78193         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libresolv.abilist:
78194         Likewise.
78195         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/librt.abilist:
78196         Likewise.
78197         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libthread_db.abilist:
78198         Likewise.
78199         * sysdeps/unix/sysv/linux/x86_64/x32/nptl/libutil.abilist:
78200         Likewise.
78202         * scripts/data/c++-types-x32-linux-gnu.data: New file.
78203         * sysdeps/x86_64/x32/shlib-versions: Add x32 ABI entry.
78205 2012-05-24  Joseph Myers  <joseph@codesourcery.com>
78207         [BZ #10846]
78208         [BZ #14036]
78209         * math/libm-test.inc (exp_test): Add test from bug 14036.
78210         (pow_test): Add test from bug 10846.
78212         * math/gen-libm-test.pl (%beautify): Remove entries for exceptions
78213         and other flags.
78214         (special_function): Do not include flags in test name.
78215         (parse_args): Likewise.
78216         * sysdeps/i386/fpu/libm-test-ulps: Update.
78217         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
78218         * sysdeps/s390/fpu/libm-test-ulps: Likewise.
78219         * sysdeps/sparc/fpu/libm-test-ulps: Likewise.
78220         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78222         * math/gen-libm-test.pl (%beautify): Add entries for underflow
78223         exceptions.
78224         * math/libm-test.inc ("Philosophy"): Update comment about
78225         exception testing.
78226         (UNDERFLOW_EXCEPTION): New macro.
78227         (UNDERFLOW_EXCEPTION_OK): Likewise.
78228         (UNDERFLOW_EXCEPTION_FLOAT): Likewise.
78229         (UNDERFLOW_EXCEPTION_OK_FLOAT): Likewise.
78230         (UNDERFLOW_EXCEPTION_DOUBLE): Likewise.
78231         (UNDERFLOW_EXCEPTION_LDOUBLE_IBM): Likewise.
78232         (INVALID_EXCEPTION_OK): Update value.
78233         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
78234         (OVERFLOW_EXCEPTION_OK): Likewise.
78235         (IGNORE_ZERO_INF_SIGN): Likewise.
78236         (test_exceptions): Handle underflow exceptions.
78237         (acos_test): Update for underflow exception expectations.
78238         (cexp_test): Likewise.
78239         (clog_test): Likewise.
78240         (clog10_test): Likewise.
78241         (csqrt_test): Likewise.
78242         (ctan_test): Likewise.
78243         (ctanh_test): Likewise.
78244         (exp_test): Likewise.
78245         (exp10_test): Likewise.
78246         (exp2_test): Likewise.
78247         (expm1_test): Likewise.
78248         (fma_test): Likewise.
78249         (j0_test): Likewise.
78250         (jn_test): Likewise.
78251         (nexttoward_test): Likewise.
78252         (pow_test): Likewise.
78253         (scalbn_test): Likewise.
78254         (scalbln_test): Likewise.
78255         (tan_test): Likewise.
78256         (y1_test): Likewise.
78257         * sysdeps/i386/fpu/libm-test-ulps: Update.
78258         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78260 2012-05-23  David S. Miller  <davem@davemloft.net>
78262         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
78263         (__libc_sigaction): Remove unused local variables.
78265 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
78267         * sysdeps/unix/sysv/linux/x86_64/x32/configure: New file.
78269 2012-05-23  Paul Eggert  <eggert@cs.ucla.edu>
78271         mktime: avoid signed integer overflow
78272         * time/mktime.c (__mktime_internal): Do not mishandle the case
78273         where diff == INT_MIN.
78275         mktime: simplify computation of average
78276         * time/mktime.c (ranged_convert): Use new time_t_avg function
78277         instead of rolling our own (probably-slower) code.
78279         mktime: do not assume signed right shift propagates sign bit
78280         * time/mktime.c (isdst_differ): New static function.
78281         (__mktime_internal): No need to normalize tm_isdst now.
78282         (__mktime_internal, not_equal_tm): Use isdst_differ to compare
78283         tm_isdst values.
78285         mktime: merge another wrapv change from gnulib
78286         * time/mktime.c (TYPE_MAXIMUM): Rework slightly to avoid diagnostics
78287         from some compilers.
78289         mktime: remove incorrect attempt at unusual arithmetics
78290         * time/mktime.c (TYPE_ONES_COMPLEMENT, TYPE_SIGNED_MAGNITUDE): Remove.
78291         The code didn't really work on such machines anyway.
78292         (TYPE_MINIMUM): Assume two's complement.
78293         (twos_complement_arithmetic): Verify that long_int and time_t
78294         are two's complement (or unsigned, in the latter case).
78296         mktime: check signed shifts on long_int and time_t, too
78297         * time/mktime.c (SHR): Check that shifts work as desired
78298         on the types long_int and time_t too, as SHR is used on
78299         such types.
78301         mktime: do not assume 'long' is wide enough
78302         * time/mktime.c (verify): Move decl up.
78303         (long_int): New type.
78304         (leapyear, ydhms_diff, guess_time_tm, __mktime_internal): Use it,
78305         to remove assumption in the code that 'long' is wide enough to
78306         store year values.  This assumption is not true on x32 and on
78307         some non-glibc platforms.
78309         mktime: merge wrapv change from gnulib
78310         * time/mktime.c (WRAPV): New macro.
78311         (time_t_avg, time_t_add_ok, time_t_int_add_ok): New static functions.
78312         (guess_time_tm, __mktime_internal): Do not assume that signed
78313         integer overflow wraps around; modern compilers generate code
78314         where this assumption is no longer valid.
78316 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
78318         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
78319         Replace "jmp L(pseudo_end)" with "ret".
78320         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_ERROR_HANDLER):
78321         Likewise.
78323 2012-05-23  Andreas Jaeger  <aj@suse.de>
78325         * sysdeps/unix/sysv/linux/syscalls.list: Add poll.
78326         * sysdeps/unix/sysv/linux/poll.c: Remove file.
78328 2012-05-23  Andreas Jaeger  <aj@suse.de>
78329             Maximilian Attems  <max@stro.at>
78331         * sysdeps/unix/sysv/linux/sys/reboot.h (RB_SW_SUSPEND, RB_KEXEC):
78332         New macros.
78334 2012-05-23  H.J. Lu  <hongjiu.lu@intel.com>
78336         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Rearrange
78337         code so that pseudo_end is just ret and the stack pointer is
78338         correct also for static library in error case.
78340 2012-05-23  Joseph Myers  <joseph@codesourcery.com>
78342         * sysdeps/unix/sysv/linux/powerpc/chown.c: Add comment suggesting
78343         move to syscalls.list.
78344         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c: Likewise.
78345         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c: Likewise.
78346         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c: Likewise.
78347         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c: Likewise.
78349         * manual/install.texi (Running make install): Do not mention Linux
78350         kernel version for which pt_chown is not needed.
78351         (Linux): Do not mention problems with nscd with 2.0 kernels.
78352         * INSTALL: Regenerated.
78354 2012-05-23  Andreas Jaeger  <aj@suse.de>
78356         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h
78357         (MADV_DONTDUMP,MADV_DODUMP): New macros from Linux 3.4.
78358         macro.
78359         * sysdeps/unix/sysv/linux/s390/bits/mman.h
78360         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
78361         * sysdeps/unix/sysv/linux/sh/bits/mman.h
78362         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
78363         * sysdeps/unix/sysv/linux/i386/bits/mman.h
78364         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
78365         * sysdeps/unix/sysv/linux/sparc/bits/mman.h
78366         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
78367         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h
78368         (MADV_DONTDUMP,MADV_DODUMP): Likewise.
78369         * sysdeps/unix/sysv/linux/bits/in.h
78370         (IP_MULTICAST_ALL,IP_UNICAST_IF): Likewise.
78372 2012-05-22  Roland McGrath  <roland@hack.frob.com>
78374         * sysdeps/unix/sysv/linux/dl-vdso.h (CHECK_HASH): Macro removed.
78375         (PREPARE_VERSION): Just use assert instead, it will be elided
78376         under [NDEBUG] anyway.
78378 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
78380         * sysdeps/unix/sysv/linux/Makefile: Include
78381         $(firstword $(wildcard $(sysdirs:=/sysctl.mk))).
78382         (sysdep_routines): Remove sysctl.
78383         * sysdeps/unix/sysv/linux/bits/sysctl.h: New file.
78384         * sysdeps/unix/sysv/linux/sysctl.mk: Likewise.
78385         * sysdeps/unix/sysv/linux/x86_64/bits/sysctl.h: Likewise.
78386         * sysdeps/unix/sysv/linux/x86_64/x32/sysctl.mk: Likewise.
78387         * sysdeps/unix/sysv/linux/sys/sysctl.h: Include <bits/sysctl.h>.
78389 2012-05-22  Andreas Jaeger  <aj@suse.de>
78391         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S: Rearrange code so
78392         that pseudo_end is just ret and the stack pointer is correct also
78393         for static library in error case.
78395 2012-05-22  Paul Pluzhnikov  <ppluzhnikov@google.com>
78397         [BZ #14122]
78398         * nss/nsswitch.c (defconfig_entries): New variable.
78399         (__nss_database_lookup): Don't leak defconfig entries.
78400         (nss_parse_service_list): Don't leak on error paths.
78401         (free_database_entries): New function.
78402         (free_defconfig): New function.
78403         (free_mem): Move common code to free_database_entries.
78405 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
78407         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile (sysdep_routines):
78408         Add arch_prctl.
78409         * sysdeps/unix/sysv/linux/x86_64/x32/arch_prctl.c: New file.
78411         * sysdeps/unix/sysv/linux/wordsize-64/posix_fallocate.c
78412         (posix_fallocate): Use INTERNAL_SYSCALL_TYPES if it is defined.
78413         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (INLINE_SYSCALL_TYPES):
78414         New macro.
78415         (INTERNAL_SYSCALL_NCS_TYPES): Likewise.
78416         (INTERNAL_SYSCALL_TYPES): Likewise.
78417         (LOAD_ARGS_TYPES_[1-6]): Likewise.
78418         (LOAD_REGS_TYPES_[1-6]): Likewise.
78419         (LOAD_ARGS_[1-6]): Use LOAD_ARGS_TYPES_[1-6].
78420         (LOAD_REGS_[1-6]): Use LOAD_REGS_TYPES_[1-6].
78422 2012-05-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78424         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: Add compat symbol
78425         copysignl for GLIBC_2_0.
78426         * sysdeps/powerpc/powerpc32/power7/fpu/s_finite.S: Add compat symbol
78427         finitel for GLIBC_2.0 and __finitel for GLIBC_2_1.
78428         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: Add compat symbol
78429         logbl for GLIBC_2_0.
78430         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: Likewise.
78431         * sysdeps/powerpc/powerpc64/power7/fpu/s_finite.S: Likewise.
78433 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
78435         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Don't include
78436         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
78438         * sysdeps/unix/sysv/linux/i386/sysdep.h (SYSCALL_ERROR_HANDLER):
78439         Use "neg %eax".
78441         * time/mktime.c: Update copyright years.
78443 2012-05-22  Paul Eggert  <eggert@cs.ucla.edu>
78445         mktime: merge comment-quoting-style change from gnulib
78446         * time/mktime.c: Quote 'like this' in comments.
78447         The GNU coding standards suggest that we no longer quote `like this',
78448         as "`" and "'" are typically rendered asymmetrically nowadays.
78449         The typical gnulib style is to quote 'like this' when quoting
78450         code, and "like this" when quoting English.
78452         * time/mktime.c (compile-command): Add "-I.".
78454         mktime: merge mktime-internal.h change from gnulib
78455         * time/mktime.c [!_LIBC]: Include "mktime-internal.h".
78457         mktime: merge time_r change from gnulib
78458         * time/mktime.c [!_LIBC]: Do not include "time_r.h".
78460         mktime: merge DEBUG change from gnulib
78461         * time/mktime.c (mktime) [DEBUG]: #undef before #define-ing, in
78462         case system <time.h> has a #define.
78464         mktime: merge <sys/types.h> change from gnulib
78465         * time/mktime.c: Do not include <sys/types.h>; no longer needed,
78466         since <time.t> is now guaranteed to define time_t.
78468         mktime: merge HAVE_CONFIG_H change from gnulib
78469         * time/mktime.c: Include <config.h> if !_LIBC, not if HAVE_CONFIG_H.
78471 2012-05-22  H.J. Lu  <hongjiu.lu@intel.com>
78473         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
78474         Use "neg %eax".
78476         * sysdeps/unix/sysv/linux/bits/resource.h (RLIM_INFINITY): Use
78477         __rlim_t cast.
78478         (struct rusage): Use anonymous union to pad each field to
78479         __syscall_slong_t.
78481 2012-05-21  David S. Miller  <davem@davemloft.net>
78483         * Makefules (o-iterator): Remove .s cases.
78484         (compile-command.s): Delete.
78485         (COMPILE.s): Delete.
78486         * sysdeps/unix/make-syscalls.sh: Remove .s file tests.
78488 2012-05-21  Joseph Myers  <joseph@codesourcery.com>
78490         * configure.in (libc_cv_predef_stack_protector): Only consider
78491         "foobar" and "__stack_chk_fail" lines in libc_undefs.
78492         * configure: Regenerated.
78494 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
78496         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (SYSCALL_SET_ERRNO):
78497         New macro.  Use R*LP on int and pointer.
78498         (SYSCALL_ERROR_HANDLER): Use SYSCALL_SET_ERRNO.
78499         * sysdeps/unix/sysv/linux/x86_64/x32/lseek.S: New file.
78500         * sysdeps/unix/sysv/linux/x86_64/x32/llseek.S: Likewise.
78501         * sysdeps/unix/sysv/linux/x86_64/x32/sysdep.h: Likewise.
78503         * sysdeps/gnu/bits/utmp.h (struct lastlog): Check
78504         [__WORDSIZE_TIME64_COMPAT32] instead of
78505         [__WORDSIZE == 64 && __WORDSIZE_COMPAT32].
78506         (struct utmp): Likewise.
78507         * sysdeps/gnu/bits/utmpx.h (struct utmpx): Likewise.
78508         * sysdeps/powerpc/powerpc32/bits/wordsize.h (__WORDSIZE_COMPAT32):
78509         Renamed to ...
78510         (__WORDSIZE_TIME64_COMPAT32): This.
78511         * sysdeps/powerpc/powerpc64/bits/wordsize.h: Likewise.
78512         * sysdeps/sparc/sparc32/bits/wordsize.h: Likewise.
78513         * sysdeps/sparc/sparc64/bits/wordsize.h: Likewise.
78514         * sysdeps/unix/sysv/linux/powerpc/bits/wordsize.h: Likewise.
78515         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE_COMPAT32): Removed.
78516         (__WORDSIZE_TIME64_COMPAT32): New macro.
78518 2012-05-21  Andreas Jaeger  <aj@suse.de>
78520         * sysdeps/i386/i686/multiarch/wcschr-c.c: Redefine libc_hidden_def
78521         only if [SHARED]. Add prototype for __wcschr_ia32.
78523 2012-05-21  Roland McGrath  <roland@hack.frob.com>
78525         * sysdeps/x86_64/setjmp.S [PTR_MANGLE] [__ILP32__]: Preserve high bits
78526         of %rbp unmolested in the jmp_buf while mangling the low bits.
78527         * sysdeps/x86_64/__longjmp.S [PTR_DEMANGLE] [__ILP32__]: Restore the
78528         unmolested high bits of %rbp while demangling the low bits.
78529         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Likewise.
78531 2012-05-21  Andreas Jaeger  <aj@suse.de>
78533         * include/shlib-compat.h (libc_sunrpc_symbol): New macro.
78534         * sunrpc/svc_simple.c: Use it for registerrpc.
78535         * sunrpc/xcrypt.c: Use it for passwd2des.
78537         * malloc/malloc.c: Include shlib-compat.h for SHLIB_COMPAT.
78539 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
78541         * sysdeps/unix/sysv/linux/bits/statvfs.h (_STATVFSBUF_F_UNUSED):
78542         Don't define if [__SYSCALL_WORDSIZE != 32].
78543         * sysdeps/x86_64/bits/wordsize.h (__SYSCALL_WORDSIZE):
78544         New macro.
78546 2012-05-21  Bruno Haible  <bruno@clisp.org>
78547             Andreas Jaeger  <aj@suse.de>
78549         [BZ #13691], Revert breakage of iconv() converter for TCVN-5712.
78550         * iconvdata/tcvn5712-1.c (BODY for FROM_LOOP): Don't consider
78551         inptr and inend for must_buffer_ch.
78552         * wcsmbs/tst-mbsnrtowcs.c: Remove file.
78553         * wcsmbs/Makefile (tests): Remove tst-mbsnrtowcs.
78554         * stdio-common/Makefile (tests): Remove bug15.
78555         (bug15-ENV): Remove macro.
78556         * stdio-common/bug15.c: Remove, we do not support vi_VN.TCVN5712-1
78557         anymore.
78559 2012-05-19  Andreas Jaeger  <aj@suse.de>
78560             Roland McGrath  <roland@hack.frob.com>
78562         * manual/contrib.texi: Completely rewritten. It contains now an
78563         alphabetical list of contributors and their contributions.
78565 2012-05-21  Richard Henderson  <rth@twiddle.net>
78567         * misc/getauxval.c (__getauxval): Use unsigned long int.
78568         * misc/sys/auxv.h: Include <sys/cdefs.h>.
78569         (getauxval): Use unsigned long int.
78571 2012-05-21  H.J. Lu  <hongjiu.lu@intel.com>
78573         * sysdeps/unix/sysv/linux/x86_64/x32/syscalls.list: New file.
78575 2012-05-21  Roland McGrath  <roland@hack.frob.com>
78577         * malloc/malloc.c [!SHLIB_COMPAT (libc, GLIBC_2_0, GLIBC_2_16)]
78578         (MALLOC_ALIGNMENT): Set it to the greater of 2 * SIZE_SZ and
78579         __alignof__ (long double).
78581 2012-05-21  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78583         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
78585 2012-05-20  Richard Henderson  <rth@twiddle.net>
78587         * misc/getauxval.c: New file.
78588         * misc/sys/auxv.h: New file.
78589         * misc/Makefile (headers): Add sys/auxv.h, bits/hwcap.h.
78590         (routines): Add getauxval.
78591         * misc/Versions (GLIBC_2.16): Add __getauxval, getauxval.
78592         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): Add _dl_auxv.
78593         * elf/dl-sysdep.c (_dl_auxv): Remove.
78594         (_dl_sysdep_start, _dl_show_auxv): Use GLRO to access _dl_auxv.
78595         * elf/dl-support.c (_dl_auxv): New variable.
78596         (_dl_aux_init): Initialize it.
78597         * manual/startup.texi (Auxiliary Vector): New node.
78598         * sysdeps/generic/bits/hwcap.h: New file.
78599         * sysdeps/powerpc/bits/hwcap.h: New file, split out from ...
78600         * sysdeps/powerpc/sysdep.h: ... here.  Include it.
78601         * sysdeps/sparc/bits/hwcap.h: New file, split out from ...
78602         * sysdeps/sparc/sysdep.h: ... here.  Include it.
78603         * sysdeps/unix/sysv/linux/s390/bits/hwcap.h: New file.
78604         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: Update.
78605         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
78606         Update.
78607         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: Update.
78608         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: Update.
78609         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: Update.
78610         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: Update.
78611         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
78612         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: Update.
78613         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: Update.
78614         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Update.
78616 2012-05-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
78618         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
78620 2012-05-19  David S. Miller  <davem@davemloft.net>
78622         * sysdeps/sparc/fpu/libm-test-ulps: Update.
78624 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
78626         [BZ #14123]
78627         * math/s_ccosh.c: Include <float.h>
78628         (__ccosh): Avoid internal overflow calculating sinh and cosh
78629         values before multiplying by sin and cos values.
78630         * math/s_ccoshf.c: Likewise.
78631         * math/s_ccoshl.c: Likewise.
78632         * math/s_csin.c: Likewise.
78633         * math/s_csinf.c: Likewise.
78634         * math/s_csinl.c: Likewise.
78635         * math/s_csinh.c: Likewise.
78636         * math/s_csinhf.c: Likewise.
78637         * math/s_csinhl.c: Likewise.
78638         * math/libm-test.inc (ccos_test): Add more tests.
78639         (ccosh_test): Likewise.
78640         (csin_test): Likewise.
78641         (csinh_test): Likewise.
78642         * sysdeps/i386/fpu/libm-test-ulps: Update.
78643         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
78645 2012-05-19  H.J. Lu  <hongjiu.lu@intel.com>
78647         * sysdeps/unix/sysv/linux/wordsize-64/preadv.c: New file.
78648         * sysdeps/unix/sysv/linux/wordsize-64/pwritev.c: Likewise.
78650         * sysdeps/x86_64/x32/_itoa.h: Add comment.
78652 2012-05-19  Joseph Myers  <joseph@codesourcery.com>
78654         * sysdeps/powerpc/soft-fp/Makefile: Remove file.
78655         * sysdeps/powerpc/soft-fp/Subdirs: Likewise.
78656         * sysdeps/powerpc/soft-fp/Versions: Likewise.
78657         * sysdeps/powerpc/soft-fp/q_add.c: Likewise.
78658         * sysdeps/powerpc/soft-fp/q_cmp.c: Likewise.
78659         * sysdeps/powerpc/soft-fp/q_cmpe.c: Likewise.
78660         * sysdeps/powerpc/soft-fp/q_div.c: Likewise.
78661         * sysdeps/powerpc/soft-fp/q_dtoq.c: Likewise.
78662         * sysdeps/powerpc/soft-fp/q_feq.c: Likewise.
78663         * sysdeps/powerpc/soft-fp/q_fge.c: Likewise.
78664         * sysdeps/powerpc/soft-fp/q_fgt.c: Likewise.
78665         * sysdeps/powerpc/soft-fp/q_fle.c: Likewise.
78666         * sysdeps/powerpc/soft-fp/q_flt.c: Likewise.
78667         * sysdeps/powerpc/soft-fp/q_fne.c: Likewise.
78668         * sysdeps/powerpc/soft-fp/q_itoq.c: Likewise.
78669         * sysdeps/powerpc/soft-fp/q_lltoq.c: Likewise.
78670         * sysdeps/powerpc/soft-fp/q_mul.c: Likewise.
78671         * sysdeps/powerpc/soft-fp/q_neg.c: Likewise.
78672         * sysdeps/powerpc/soft-fp/q_qtod.c: Likewise.
78673         * sysdeps/powerpc/soft-fp/q_qtoi.c: Likewise.
78674         * sysdeps/powerpc/soft-fp/q_qtoll.c: Likewise.
78675         * sysdeps/powerpc/soft-fp/q_qtos.c: Likewise.
78676         * sysdeps/powerpc/soft-fp/q_qtou.c: Likewise.
78677         * sysdeps/powerpc/soft-fp/q_qtoull.c: Likewise.
78678         * sysdeps/powerpc/soft-fp/q_sqrt.c: Likewise.
78679         * sysdeps/powerpc/soft-fp/q_stoq.c: Likewise.
78680         * sysdeps/powerpc/soft-fp/q_sub.c: Likewise.
78681         * sysdeps/powerpc/soft-fp/q_ulltoq.c: Likewise.
78682         * sysdeps/powerpc/soft-fp/q_util.c: Likewise.
78683         * sysdeps/powerpc/soft-fp/q_utoq.c: Likewise.
78684         * sysdeps/powerpc/soft-fp/sfp-machine.h: Likewise.
78686 2012-05-18  Andreas Jaeger  <aj@suse.de>
78688         * csu/.gitignore: Delete.
78690 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
78692         * sysdeps/unix/sysv/linux/bits/timex.h: Include <bits/types.h>.
78693         (timex): Use __syscall_slong_t.
78695 2012-05-18  Andreas Jaeger  <aj@suse.de>
78696             Carlos O'Donell  <carlos_odonell@mentor.com>
78698         * manual/install.texi (Configuring and compiling): Update
78699         description about files modified in the source directory.
78700         * INSTALL: Regenerated.
78702 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
78704         * sysdeps/unix/x86_64/sysdep.S: Use RAX_LP to access return
78705         value.  Use "or" to set return value to -1.
78706         * sysdeps/unix/sysv/linux/x86_64/sysdep.S: Use RAX_LP to
78707         negate return value.
78709 2012-05-18  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
78711         * sysdeps/powerpc/powerpc32/power4/Makefile (CFLAGS-wordcopy.c)
78712         (CFLAGS-memmove.c): remove -ftree-loop-linear which causes a build
78713         failure if the compiler has Graphite support disabled.
78714         * sysdeps/powerpc/powerpc32/power4/fpu/Makefile (CFLAGS-mpa.c):
78715         Likewise.
78716         * sysdeps/powerpc/powerpc64/power4/Makefile (CFLAGS-wordcopy.c)
78717         (CFLAGS-memmove.c): Likewise.
78718         * sysdeps/powerpc/powerpc64/power4/fpu/Makefile (CFLAGS-mpa.c):
78719         Likewise.
78721 2012-05-18  H.J. Lu  <hongjiu.lu@intel.com>
78723         * sysdeps/x86_64/x32/_itoa.h: New file.
78725         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): Use
78726         getdents system call only if kernel and user dirents have the
78727         same d_ino and d_off.
78729         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
78730         LLONG_MAX != LONG_MAX.
78731         (_itoa_word): Use _ITOA_WORD_TYPE on value.
78732         (_fitoa_word): Likewise.
78734         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Fold copyright
78735         years.
78736         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Likewise.
78737         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h: Likewise.
78738         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Likewise.
78740         * sysdeps/unix/sysv/linux/x86_64/bits/sigcontext.h: Don't
78741         include <bits/wordsize.h>.  Check __x86_64__ instead of
78742         __WORDSIZE.
78743         (sigcontext): Use "__uint64_t" instead of "unsigned long int"
78744         if __x86_64__ is defined.  Use anonymous union on fpstate.
78746         * sysdeps/unix/sysv/linux/x86_64/sys/user.h (user): Use
78747         anonymous union.
78749 2012-05-18  Andreas Schwab  <schwab@linux-m68k.org>
78751         * sysdeps/powerpc/powerpc32/dl-start.S (_dl_start_user): Use
78752         INTUSE on _dl_argv, and _rtld_local instead of _rtld_global.
78753         * sysdeps/powerpc/powerpc32/fpu/__longjmp-common.S [IS_IN_rtld]:
78754         Refer to _rtld_local_ro instead of _rtld_global_ro.
78755         * sysdeps/powerpc/powerpc32/fpu/setjmp-common.S [IS_IN_rtld]:
78756         Likewise.
78757         * sysdeps/powerpc/powerpc64/__longjmp-common.S [IS_IN_rtld]:
78758         Likewise.
78759         * sysdeps/powerpc/powerpc64/setjmp-common.S [IS_IN_rtld]:
78760         Likewise.
78761         * sysdeps/powerpc/powerpc64/dl-trampoline.S [SHARED]: Likewise.
78762         * sysdeps/powerpc/powerpc64/dl-machine.h: Use _rtld_local instead
78763         of _rtld_global, and rtld_progname instead of _dl_argv[0].
78765         [BZ #10882]
78766         * sysdeps/powerpc/powerpc32/dl-machine.c
78767         (__elf_machine_runtime_setup) [PROF]: Don't reference
78768         _dl_prof_resolve.
78770 2012-05-18  Andreas Jaeger  <aj@suse.de>
78772         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Make inline
78773         function only available for GCCs before 3.4 since GCC 3.4
78774         introduced a builtin.
78775         (lrint): Likewise.
78776         (llrintf): Likewise.
78777         (llrint): Likewise.
78778         (fmaxf): Likewise.
78779         (fmax): Likewise.
78780         (fminf): Likewise.
78781         (fmin): Likewise.
78782         (rint): Likewise.
78783         (rintf): Likewise.
78784         (nearbyint): Likewise.
78785         (nearbyintf): Likewise.
78786         (ceil): Likewise.
78787         (ceilf): Likewise.
78788         (floor): Likewise.
78789         (floorf): Likewise.
78791 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
78793         * sysdeps/unix/sysv/linux/pselect.c (data): Use __syscall_ulong_t
78794         on both fields and cast pointer to __syscall_ulong_t.
78796         * bits/types.h (__fsword_t): New type.
78797         * bits/typesizes.h (__FSWORD_T_TYPE): New macro.
78798         sysdeps/mach/hurd/bits/typesizes.h (__FSWORD_T_TYPE): Likewise.
78799         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
78800         (__FSWORD_T_TYPE): Likewise.
78801         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
78802         (__FSWORD_T_TYPE): Likewise.
78803         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
78804         (__FSWORD_T_TYPE): Likewise.
78805         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h
78806         (__FSWORD_T_TYPE): Likewise.
78807         * sysdeps/unix/sysv/linux/bits/statfs.h (statfs): Replace
78808         __SWORD_TYPE with __fsword_t.
78809         (statfs64): Likewise.
78811 2012-05-17  David S. Miller  <davem@davemloft.net>
78813         * crypt/sha512c-test.c (TIMEOUT): Increase to 32.
78815 2012-05-17  Andreas Jaeger  <aj@suse.de>
78817         * elf/tst-relsort1.c (do_test): Fix function declaration to avoid
78818         warning.
78820 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
78822         * sysdeps/x86_64/tst-mallocalign1.c (test): Cast to unsigned long.
78824 2012-05-17  Andreas Jaeger  <aj@suse.de>
78826         * sysdeps/i386/dl-machine.h (elf_machine_rel): Declare refsym only
78827         when it is used.
78829 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
78831         * stdio-common/bug22.c (TIMEOUT): Bump up from 30 to 60.
78833 2012-05-17  H.J. Lu  <hongjiu.lu@intel.com>
78835         * sysdeps/x86_64/Makefile (tests): Add tst-mallocalign1.
78836         * sysdeps/x86_64/tst-mallocalign1.c: New file.
78838 2012-05-17  Andreas Jaeger  <aj@suse.de>
78839             Carlos O'Donell  <carlos_odonell@mentor.com>
78841         [BZ #14059]
78842         * sysdeps/x86_64/multiarch/init-arch.h
78843         (bit_YMM_Usable): Rename to...
78844         (bit_AVX_Usable): ... this.
78845         (bit_FMA4_Usable): New macro.
78846         (bit_XMM_state): New macro.
78847         (bit_YMM_state): New macro.
78848         [__ASSEMBLER__] (index_YMM_Usable): Rename to...
78849         [__ASSEMBLER__] (index_AVX_Usable): ... this.
78850         [__ASSEMBLER__] (index_FMA4_Usable): New macro.
78851         (CPUID_OSXSAVE): New macro.
78852         (CPUID_AVX): New macro.
78853         (CPUID_FMA4): New macro.
78854         (index_YMM_Usable): Rename to...
78855         (index_AVX_Usable): ... this.
78856         (HAS_AVX): Use HAS_ARCH_FEATURE.
78857         (HAS_FMA4): Likewise.
78858         (HAS_YMM_USABLE): Remove.
78859         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
78860         Enable AVX or FMA4 IFF YMM and XMM states are usable and the features
78861         are present.
78862         * sysdeps/x86_64/multiarch/strcmp.S: Use bit_AVX_Usable.
78863         * sysdeps/i386/i686/multiarch/Makefile: Add test-multiarch to tests.
78864         * sysdeps/x86_64/multiarch/Makefile: Likewise.
78865         * sysdeps/i386/i686/multiarch/test-multiarch.c: New file.
78866         * sysdeps/x86_64/multiarch/test-multiarch.c: New file.
78868 2012-05-17  Chris Metcalf  <cmetcalf@tilera.com>
78870         * math/libm-test.c: Support platforms without multiple rounding modes.
78871         * math/bug-nextafter.c: Support platforms without FP exceptions.
78872         * math/bug-nexttoward.c: Likewise.
78873         * math/test-fenv.c: Likewise.
78874         * math/test-misc.c: Likewise.
78875         * stdlib/bug-getcontext.c: Likewise.
78877 2012-05-17  Andreas Jaeger  <aj@suse.de>
78879         * manual/examples/search.c (critter_cmp): Change signature to
78880         avoid warnings.
78881         * manual/string.texi (Collation Functions): Likewise.
78883 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
78885         * bits/types.h: Fold copyright years.
78886         * bits/typesizes.h: Likewise.
78887         * sysdeps/mach/hurd/bits/typesizes.h: Likewise.
78888         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h: Likewise.
78889         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h: Likewise.
78890         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h: Likewise.
78891         * time/time.h: Likewise.
78893 2012-05-16  Paul Pluzhnikov  <ppluzhnikov@google.com>
78895         [BZ #208]
78896         * malloc.c (int_mallinfo): Add parameter to accumulate statistics
78897         in instead of returning them.  Return void.
78898         (__libc_mallinfo): Accumulate over all arenas.
78899         (__malloc_stats): Adjust for change in int_mallinfo interface.
78901 2012-05-16  Roland McGrath  <roland@hack.frob.com>
78903         [BZ #10375]
78904         * configure.in (NM): Add AC_CHECK_TOOL for it.
78905         (libc_extra_cflags): New substituted variable.
78906         Check for -fstack-protector being used implicitly.
78907         * configure: Regenerated.
78908         * config.make.in (config-extra-cflags): New variable,
78909         gets @libc_extra_cflags@.
78910         * Makeconfig (CFLAGS): Add $(config-extra-cflags) near the front.
78912         [BZ #10375]
78913         * configure.in: Check for _FORTIFY_SOURCE being predefined.
78914         (CPPUNDEFS): New substituted variable; add -U_FORTIFY_SOURCE if needed.
78915         * configure: Regenerated.
78916         * config.make.in (CPPUNDEFS): New substituted variable.
78917         * Makeconfig (CPPFLAGS): Put $(CPPUNDEFS) at the beginning.
78918         * Makerules ($(stdio_lim:h=st)): Use $(CPPUNDEFS).
78919         * time/ctime.c: Don't #undef __OPTIMIZE__ and ctime.
78921 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
78923         * sysdeps/unix/sysv/linux/bits/mqueue.h: Include <bits/types.h>.
78924         (mq_attr): Use __syscall_slong_t.
78926 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
78928         * sysdeps/unix/sysv/linux/x86_64/bits/stat.h (_STAT_VER_SVR4):
78929         Check __x86_64__ instead of __WORDSIZE.
78930         (_STAT_VER_LINUX): Likewise.
78931         (stat): Check __x86_64__ instead of __WORDSIZE.  Use
78932         __syscall_ulong_t and __syscall_slong_t.
78933         (stat64): Likewise.
78935 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
78937         * sysdeps/unix/sysv/linux/x86_64/bits/typesizes.h: New file.
78939 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
78941         * sysdeps/unix/sysv/linux/x86_64/bits/ipctypes.h: New file.
78943 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
78945         * sysdeps/unix/sysv/linux/bits/ipc.h (ipc_perm): Use
78946         __syscall_ulong_t.
78948         * sysdeps/unix/sysv/linux/x86_64/sys/ucontext.h: Don't
78949         include <bits/wordsize.h>.  Check __x86_64__ instead of
78950         __WORDSIZE.
78951         (greg_t): Use "__extension__ long long int" if __x86_64__ is
78952         defined.
78953         (mcontext_t): Replace "unsigned long" with "unsigned long long".
78955         * sysdeps/unix/sysv/linux/x86_64/sys/user.h: Don't
78956         include <bits/wordsize.h>.  Check __x86_64__ instead of
78957         __WORDSIZE.
78958         (user_regs_struct): Use "__extension__ unsigned long long"
78959         instead of "unsigned long" if __x86_64__ is defined.
78960         (user): Likewise.  Pad after pointer field if __ILP32__ is
78961         defined.
78963 2012-05-16  Joseph Myers  <joseph@codesourcery.com>
78965         * configure.in (makeinfo): Require version 4.5 or later.  Allow
78966         versions 5 to 9.
78967         * configure: Regenerated.
78968         * manual/install.texi (texinfo): Increase version requirement to
78969         4.5 or later.
78970         * INSTALL: Regenerated.
78972         * include/stdc-predef.h (__STDC_ISO_10646__): Increase to 201103L.
78974 2012-05-16  H.J. Lu  <hongjiu.lu@intel.com>
78976         * sysdeps/x86_64/x32/gmp-mparam.h: New file.
78978         * sysdeps/x86_64/x32/ffs.c: New file.
78980         * sysdeps/unix/sysv/linux/x86_64/bits/shm.h (shmatt_t): Use
78981         __syscall_ulong_t.
78982         (shmid_ds): Add __unused1 and __unused2 only if __x86_64__ isn't
78983         defined.  Use __syscall_ulong_t.
78984         (shminfo): Use __syscall_ulong_t.
78985         (shm_info): Likewise.
78987         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semid_ds): Use
78988         __syscall_ulong_t.
78990         * sysdeps/unix/sysv/linux/x86_64/bits/msq.h: Don't include
78991         <bits/wordsize.h>.
78992         (msgqnum_t): Use __syscall_ulong_t.
78993         (msglen_t): Likewise.
78994         (msqid_ds): Check __x86_64__ instead of __WORDSIZE.  Use
78995         __syscall_ulong_t.
78997         * sysdeps/unix/sysv/linux/x86_64/bits/a.out.h: Don't include
78998         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
79000         * sysdeps/unix/sysv/linux/x86_64/bits/siginfo.h: New file.
79002         * sysdeps/x86_64/x32/divdi3.c: New dummy file.
79003         * sysdeps/x86_64/x32/symbol-hacks.h: Likewise.
79005         * sysvipc/sys/msg.h (msgbuf): Replace long int with
79006         __syscall_slong_t.
79008         * sysdeps/unix/sysv/linux/x86_64/sys/reg.h: Don't
79009         include <bits/wordsize.h>.  Check __x86_64__ instead of
79010         __WORDSIZE.
79012         * sysdeps/unix/sysv/linux/x86_64/sys/procfs.h (elf_greg_t): Use
79013         "unsigned long long int" if __x86_64__ is defined.
79014         (elf_fpregset_t): Check __x86_64__ instead of __WORDSIZE.
79016         * sysdeps/unix/sysv/linux/x86_64/sys/debugreg.h: Don't include
79017         <bits/wordsize.h>.  Check __x86_64__ instead of __WORDSIZE.
79018         (DR_CONTROL_RESERVED): Use ULL instead of UL suffix.
79020         * sysdeps/unix/sysv/linux/x86_64/sigcontextinfo.h: Include
79021         <stdint.h>.
79022         (GET_PC): Cast to uintptr_t first.
79023         (GET_FRAME): Likewise.
79024         (GET_STACK): Likewise.
79026         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort.c: New file.
79027         * sysdeps/unix/sysv/linux/x86_64/x32/alphasort64.c: Likewise.
79028         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko.c: Likewise.
79029         * sysdeps/unix/sysv/linux/x86_64/x32/fseeko64.c: Likewise.
79030         * sysdeps/unix/sysv/linux/x86_64/x32/ftello.c: Likewise.
79031         * sysdeps/unix/sysv/linux/x86_64/x32/ftello64.c: Likewise.
79032         * sysdeps/unix/sysv/linux/x86_64/x32/ftw.c: Likewise.
79033         * sysdeps/unix/sysv/linux/x86_64/x32/ftw64.c: Likewise.
79034         * sysdeps/unix/sysv/linux/x86_64/x32/glob.c: Likewise.
79035         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos.c: Likewise.
79036         * sysdeps/unix/sysv/linux/x86_64/x32/iofgetpos64.c: Likewise.
79037         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen.c: Likewise.
79038         * sysdeps/unix/sysv/linux/x86_64/x32/iofopen64.c: Likewise.
79039         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos.c: Likewise.
79040         * sysdeps/unix/sysv/linux/x86_64/x32/iofsetpos64.c: Likewise.
79041         * sysdeps/unix/sysv/linux/x86_64/x32/lockf.c: Likewise.
79042         * sysdeps/unix/sysv/linux/x86_64/x32/lockf64.c: Likewise.
79043         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp.c: Likewise.
79044         * sysdeps/unix/sysv/linux/x86_64/x32/mkostemp64.c: Likewise.
79045         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp.c: Likewise.
79046         * sysdeps/unix/sysv/linux/x86_64/x32/mkstemp64.c: Likewise.
79047         * sysdeps/unix/sysv/linux/x86_64/x32/scandir.c: Likewise.
79048         * sysdeps/unix/sysv/linux/x86_64/x32/scandir64.c: Likewise.
79049         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat.c: Likewise.
79050         * sysdeps/unix/sysv/linux/x86_64/x32/scandirat64.c: Likewise.
79051         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile.c: Likewise.
79052         * sysdeps/unix/sysv/linux/x86_64/x32/tmpfile64.c: Likewise.
79053         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort.c: Likewise.
79054         * sysdeps/unix/sysv/linux/x86_64/x32/versionsort64.c: Likewise.
79056 2012-05-16  Andreas Schwab  <schwab@linux-m68k.org>
79058         * Makerules (+depfiles): Also collect depfiles from .oS in
79059         $(extra-objs).
79060         * sysdeps/ieee754/ldbl-opt/Makefile (extra-objs): Add $(addsuffix
79061         .oS, $(libnldbl-routines)).
79063         * Makerules (native-compile-mkdep-flags): Define.
79064         * sunrpc/Makefile (extra-objs): Add $(addprefix
79065         cross-,$(rpcgen-objs)), don't add $(cross-rpcgen-objs).
79066         ($(cross-rpcgen-objs)): Use $(native-compile-mkdep-flags) instead
79067         of $(compile-mkdep-flags).  Depend on $(before-compile) instead of
79068         calling $(make-target-directory).
79070 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79072         * bits/types.h (__snseconds_t): Removed.
79073         * time/time.h (struct timespec): Replace __snseconds_t with
79074         __syscall_slong_t.
79075         * bits/typesizes.h (__SNSECONDS_T_TYPE): Removed.
79076         * sysdeps/mach/hurd/bits/typesizes.h (__SNSECONDS_T_TYPE):
79077         Likewise.
79078         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
79079         (__SNSECONDS_T_TYPE): Likewise.
79080         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
79081         (__SNSECONDS_T_TYPE): Likewise.
79082         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
79083         (__SNSECONDS_T_TYPE): Likewise.
79085 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79087         * sysdeps/mach/hurd/bits/typesizes.h
79088         (__SYSCALL_SLONG_TYPE): New macro.
79089         (__SYSCALL_ULONG_TYPE): Likewise.
79091 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79093         * bits/types.h (__syscall_slong_t): New type.
79094         (__syscall_ulong_t): Likewise.
79096         * bits/typesizes.h (__SYSCALL_SLONG_TYPE): New macro.
79097         (__SYSCALL_ULONG_TYPE): Likewise.
79098         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
79099         (__SYSCALL_SLONG_TYPE): Likewise.
79100         (__SYSCALL_ULONG_TYPE): Likewise.
79101         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
79102         (__SYSCALL_SLONG_TYPE): Likewise.
79103         (__SYSCALL_ULONG_TYPE): Likewise.
79104         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
79105         (__SYSCALL_SLONG_TYPE): Likewise.
79106         (__SYSCALL_ULONG_TYPE): Likewise.
79108 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79110         * sysdeps/unix/sysv/linux/x86_64/Makefile (gen-as-const-headers):
79111         Add sigaltstack-offsets.sym.
79112         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S: Include
79113         <sigaltstack-offsets.h>.
79114         (CALL_FAIL): Use RSP_LP to operate on stack.  Use RDI_LP on
79115         longjmp_msg pointer.
79116         (____longjmp_chk): Use R8_LP and RDX_LP on SP and PC.  Use
79117         R*_LP, sizeSS, oSS_FLAGS, oSS_SP and oSS_SIZE for alternate
79118         signal stack.
79119         * sysdeps/unix/sysv/linux/x86_64/sigaltstack-offsets.sym: New.
79121 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
79123         * elf/stackguard-macros.h: Remove file.
79124         * sysdeps/generic/stackguard-macros.h: New file.
79125         * sysdeps/i386/stackguard-macros.h: Likewise.
79126         * sysdeps/powerpc/powerpc32/stackguard-macros.h: Likewise.
79127         * sysdeps/powerpc/powerpc64/stackguard-macros.h: Likewise.
79128         * sysdeps/s390/s390-32/stackguard-macros.h: Likewise.
79129         * sysdeps/s390/s390-64/stackguard-macros.h: Likewise.
79130         * sysdeps/sparc/sparc32/stackguard-macros.h: Likewise.
79131         * sysdeps/sparc/sparc64/stackguard-macros.h: Likewise.
79132         * sysdeps/x86_64/stackguard-macros.h: Likewise.
79133         * nptl/tst-stackguard1.c: Include <stackguard-macros.h> not
79134         <elf/stackguard-macros.h>.
79136         [BZ #14109]
79137         * sysdeps/unix/sysv/linux/powerpc/sys/procfs.h (elf_vrreg_t): Use
79138         __aligned__ in attribute.
79139         * sysdeps/unix/sysv/linux/s390/sys/ucontext.h (__psw_t): Likewise.
79140         (gregset_t): Likewise.
79142 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79144         * sysdeps/x86_64/Implies (wordsize-64): Moved to ....
79145         * sysdeps/x86_64/64/Implies-after: Here.  New file.
79146         * sysdeps/x86_64/x32/Implies-after: New file.
79148 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79150         * sysdeps/x86_64/dl-trampoline.h: Use R*_LP to pass arguments
79151         and access return value for _dl_profile_fixup.  Use R10_LP to
79152         load frame size.
79154 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79156         * sysdeps/unix/sysv/linux/x86_64/x32/init-first.c: New.
79158 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79160         * sysdeps/x86_64/sysdep.h: Allowed to be include more than once.
79161         * sysdeps/x86_64/x32/sysdep.h: New file.
79163 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79165         * sysdeps/x86_64/__longjmp.S: Use R*_LP on SP and PC.
79166         * sysdeps/x86_64/setjmp.S: Likewise.
79168 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79170         * sysdeps/ieee754/dbl-64/wordsize-64/e_log10.c: New file.
79171         * sysdeps/ieee754/dbl-64/wordsize-64/e_log2.c: New file.
79172         * sysdeps/ieee754/dbl-64/e_log2.c: Fixing indents.
79173         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise and also
79174         remove unused global constant.
79176 2012-05-15  Chris Metcalf  <cmetcalf@tilera.com>
79178         * sysdeps/unix/sysv/linux/getsysstats.c: Remove duplicate
79179         include of <not-cancel.h>.
79181 2012-05-15  Roland McGrath  <roland@hack.frob.com>
79183         * nscd/nscd-client.h (__nscd_acquire_maplock): Fix formatting.
79185 2012-05-15  Jeff Law  <law@redhat.com>
79186             Andreas Jaeger  <aj@suse.de>
79188         [BZ #13594]
79189         * nscd/nscd-client.h (__nscd_acquire_maplock): New function, split
79190         out from...
79191         * nscd/nscd_helper.c (__nscd_get_map_ref): ... here.
79192         * nscd/nscd-client.h: Add __nscd_acquire_maplock.
79193         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): Add locking to
79194         code changing __hst_map_handle.map.
79196 2012-05-15  Roland McGrath  <roland@hack.frob.com>
79198         * configure.in (sysnames): Look for Implies-before and Implies-after
79199         files.
79200         * configure: Regenerated.
79202 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79204         * sysdeps/unix/sysv/linux/x86_64/sigaction.c (RESTORE2): Replace
79205         8-byte data alignment with LP_SIZE alignment.
79207 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79209         * sysdeps/unix/sysv/linux/x86_64/clone.S: Load pointer to TID
79210         into R10_LP.
79212 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79214         * sysdeps/unix/sysv/linux/x86_64/x32/dl-cache.h: New.
79216 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79218         * sysdeps/unix/sysv/linux/x86_64/x32/Makefile: New file.
79219         * sysdeps/unix/sysv/linux/x86_64/x32/getcpu.c: Likewise.
79220         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu-static.c:
79221         Likewise.
79222         * sysdeps/unix/sysv/linux/x86_64/x32/sched_getcpu.S: Likewise.
79224 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79226         * sysdeps/x86_64/stackinfo.h (stackinfo_get_sp): Use RSP_LP.
79227         (stackinfo_sub_sp): Likewise.
79229 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79231         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Load pointers into
79232         RAX_LP.
79234 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79236         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Load cache sizes
79237         into R*_LP.
79239 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79241         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Load cache
79242         sizes into R*_LP.
79244 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79246         * sysdeps/x86_64/strcmp.S: Load pointers into R*_LP.
79248 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79250         * sysdeps/x86_64/memcpy.S: Load __x86_64_data_cache_size_half
79251         into R11_LP and load __x86_64_shared_cache_size_half into
79252         R8_LP.
79254 2012-05-15  H.J. Lu  <hongjiu.lu@intel.com>
79256         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Load cache size into
79257         R8_LP.
79259 2012-05-15  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79261         * sysdeps/powerpc/powerpc32/power7/fpu/s_logb.c: New file. Optimized
79262         logb for POWER7.
79263         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbf.c: New file. Optimized
79264         logbf for POWER7.
79265         * sysdeps/powerpc/powerpc32/power7/fpu/s_logbl.c: New file. Optimized
79266         logbl for POWER7.
79267         * sysdeps/powerpc/powerpc64/power7/fpu/s_logb.c: New file. Use
79268         powerpc32/power7/fpu/s_logb.c via #include.
79269         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbf.c: New file. Use
79270         powerpc32/power7/fpu/s_logbf.c via #include.
79271         * sysdeps/powerpc/powerpc64/power7/fpu/s_logbl.c: New file. Use
79272         powerpc32/power7/fpu/s_logbl.c via #include.
79274 2012-05-15  Joseph Myers  <joseph@codesourcery.com>
79276         * README.libm: Remove file.
79278 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
79280         * sysdeps/x86_64/start.S: Simulate popping 4-byte argument
79281         count for x32.  Use R*_LP and omit operand-size suffix.
79283 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
79285         * shlib-versions: Move x86_64-.*-linux.* entries to ...
79286         * sysdeps/x86_64/64/shlib-versions: Here.  New file.
79287         * sysdeps/x86_64/x32/shlib-versions: New file.
79289 2012-05-14  Roland McGrath  <roland@hack.frob.com>
79291         * sysdeps/unix/sysv/linux/dl-osinfo.h (dl_fatal): Function removed.
79292         * elf/rtld.c (dl_main) [DL_SYSDEP_OSCHECK]:
79293         Use _dl_fatal_printf instead.
79295 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
79297         * sysdeps/unix/sysv/linux/configure.in (minimum_kernel): Always
79298         set if not set by the user.  Do not allow for being unset.
79299         * sysdeps/unix/sysv/linux/configure: Regenerated.
79301 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
79303         * sysdeps/x86_64/dl-machine.h (elf_machine_load_address): Remove
79304         the `q' suffix from lea and replace .quad with ASM_ADDR.
79306 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
79308         * sysdeps/unix/sysv/linux/x86_64/sysdep.h (PTR_MANGLE): Remove
79309         the `q' suffix from xor/rol instructions.  Use $2*LP_SIZE+1
79310         instead of $17.
79311         (PTR_DEMANGLE): Likewise.
79313 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
79315         * sysdeps/x86_64/sysdep.h (LP_SIZE): New macro.
79316         (LP_OP): Likewise.
79317         (ASM_ADDR): Likewise.
79318         (RAX_LP): Likewise.
79319         (RBP_LP): Likewise.
79320         (RBX_LP): Likewise.
79321         (RCX_LP): Likewise.
79322         (RDI_LP): Likewise.
79323         (RSI_LP): Likewise.
79324         (RSP_LP): Likewise.
79325         (R8_LP): Likewise.
79326         (R9_LP): Likewise.
79327         (R10_LP): Likewise.
79328         (R10_LP): Likewise.
79329         (R11_LP): Likewise.
79330         (R12_LP): Likewise.
79331         (R13_LP): Likewise.
79332         (R14_LP): Likewise.
79333         (R15_LP): Likewise.
79335 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
79337         * sysdeps/x86_64/x32/dl-machine.h: New file.
79339 2012-05-14  Andreas Jaeger  <aj@suse.de>
79341         * manual/Makefile (subdir): Remove export of subdir.
79342         (all): Remove target.
79343         (.PHONY): Remove all from list.
79344         (mkinstalldirs): Remove.
79345         (.PHONY): Remove installdirs from list.
79346         ($(inst_infodir)/libc.info): Use make-target-directory.
79347         (installdirs): Remove.
79348         (subdir_%): Remove.
79349         (glibc-targets): Remove.
79350         (lib): Remove.
79351         (stubs): Remove.
79352         ($(objpfx)stubs ../po/manual.pot): Remove.
79353         ($(objpfx)stamp%): Remove.
79354         (make-target-directory): Remove.
79355         (subdir_install): Remove.
79356         (routines): Remove.
79357         (aux): Remove.
79358         (sources): Remove.
79359         (objects): Remove.
79360         (headers): Remove.
79362         [BZ #13750]
79363         * manual/.gitignore: Remove, it's not needed anymore.
79364         * manual/libc-texinfo.sh: Pass OUTDIR as extra argument, create
79365         all files in it.
79366         * manual/Makefile (dvi, pdf, info, html): Depend on files in build
79367         directory.
79368         (texis): Renamed to $(objpfx)texis.
79369         (texis-path): New, contains path to generated files.
79370         (chapters.%): Use texis-path for complete path, add extra argument
79371         libc-texinfo.sh.
79372         (libc.dvi, libc.pdf, libc.info, libc.pdf): Add $(objfpx) as prefix.
79373         (libc/index.html, summary.texi): Add $(objpfx) as prefix.
79374         (summary,texi, stamp-summary): Use complete path of
79375         files. Generate files in build dir.
79376         (dir-add.texi): Build in build dir.
79377         (libm-err.texi,stamp-libm-err): Likewise.
79378         (version.texi, stamp-version): Likewise.
79379         (.%c.texi): Likewise.
79380         (%.info,%.dvi,%.pdf): Add $(objpfx) as prefix, build in build dir.
79381         (mostlyclean): Remove target.
79382         (realclean): Remove target.
79383         (generated): Add new variable with contents from mostlyclean and
79384         realclean, remove entries duplicated in common-mostlyclean, add
79385         stamp-libm-err and stamp-version.
79386         (generated-dirs): Add libc directory.
79387         ($(inst_infodir)/libc.info): Install files from build dir.
79389         * manual/install.texi (Configuring and compiling): Adjust since
79390         the info files are not part of the tar ball anymore.
79392 2012-05-14  Andreas Jaeger  <aj@suse.de>
79394         * sysdeps/unix/sysv/linux/getcwd.c (__getcwd): Remove unused
79395         variable.
79397 2012-05-14  Joseph Myers  <joseph@codesourcery.com>
79399         [BZ #13717]
79400         * sysdeps/unix/sysv/linux/configure.in (arch_minimum_kernel): Set
79401         to 2.2.0 where earlier.
79402         * sysdeps/unix/sysv/linux/configure: Regenerated.
79403         * sysdeps/unix/sysv/linux/getcwd.c [!__ASSUME_GETCWD_SYSCALL]:
79404         Remove conditional code.
79405         [__ASSUME_GETCWD_SYSCALL]: Make code unconditional.
79406         * sysdeps/unix/sysv/linux/i386/chown.c [!__ASSUME_LCHOWN_SYSCALL]:
79407         Remove conditional code.
79408         [!__NR_lchown]: Likewise.
79409         [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
79410         [__NR_lchown]: Likewise.
79411         * sysdeps/unix/sysv/linux/i386/fchownat.c (fchownat): Remove
79412         comment referencing __ASSUME_LCHOWN_SYSCALL.
79413         * sysdeps/unix/sysv/linux/i386/sigaction.c
79414         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
79415         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
79416         * sysdeps/unix/sysv/linux/if_index.c [!__ASSUME_SIOCGIFNAME]:
79417         Remove conditional code.
79418         [__ASSUME_SIOCGIFNAME ]: Make code unconditional.
79419         (__protocol_available): Remove #if 0 code.
79420         * sysdeps/unix/sysv/linux/ifreq.c [!__ASSUME_SIOCGIFNAME]: Remove
79421         conditional code.
79422         [__ASSUME_SIOCGIFNAME]: Make code unconditional.
79423         * sysdeps/unix/sysv/linux/kernel-features.h
79424         (__ASSUME_GETCWD_SYSCALL): Don't define.
79425         (__ASSUME_REALTIME_SIGNALS): Likewise.
79426         (__ASSUME_PREAD_SYSCALL): Likewise.
79427         (__ASSUME_PWRITE_SYSCALL): Likewise.
79428         (__ASSUME_POLL_SYSCALL): Likewise.
79429         (__ASSUME_LCHOWN_SYSCALL): Likewise.
79430         (__ASSUME_SETRESUID_SYSCALL): Define for all kernel versions for
79431         non-SPARC.
79432         (__ASSUME_SIOCGIFNAME): Don't define.
79433         (__ASSUME_MSG_NOSIGNAL): Likewise.
79434         (__ASSUME_SENDFILE): Define unconditionally.
79435         (__ASSUME_PROC_SELF_FD_SYMLINK): Don't define.
79436         * sysdeps/unix/sysv/linux/poll.c [!__ASSUME_POLL_SYSCALL]: Remove
79437         conditional code.
79438         [__ASSUME_POLL_SYSCALL]: Make code unconditional.
79439         * sysdeps/unix/sysv/linux/powerpc/chown.c (__chown)
79440         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
79441         (__chown) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
79442         * sysdeps/unix/sysv/linux/powerpc/fchownat.c (fchownat)
79443         [!__ASSUME_LCHOWN_SYSCALL]: Remove conditional code.
79444         (fchownat) [__ASSUME_LCHOWN_SYSCALL]: Make code unconditional.
79445         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread.c
79446         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
79447         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
79448         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pread64.c
79449         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
79450         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
79451         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite.c
79452         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
79453         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
79454         * sysdeps/unix/sysv/linux/powerpc/powerpc32/pwrite64.c
79455         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
79456         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
79457         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread.c
79458         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
79459         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
79460         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pread64.c
79461         [!__ASSUME_PREAD_SYSCALL]: Remove conditional code.
79462         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
79463         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite.c
79464         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
79465         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
79466         * sysdeps/unix/sysv/linux/powerpc/powerpc64/pwrite64.c
79467         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
79468         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
79469         * sysdeps/unix/sysv/linux/pread.c [!__ASSUME_PREAD_SYSCALL]:
79470         Remove conditional code.
79471         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
79472         * sysdeps/unix/sysv/linux/pread64.c [!__ASSUME_PREAD_SYSCALL]:
79473         Remove conditional code.
79474         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
79475         * sysdeps/unix/sysv/linux/ptsname.c (__ptsname_internal)
79476         [__LINUX_KERNEL_VERSION < 131443]: Remove conditional code.
79477         * sysdeps/unix/sysv/linux/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
79478         Remove conditional code.
79479         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
79480         * sysdeps/unix/sysv/linux/pwrite64.c [!__ASSUME_PWRITE_SYSCALL]:
79481         Remove conditional code.
79482         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
79483         * sysdeps/unix/sysv/linux/sh/pread.c [!__ASSUME_PREAD_SYSCALL]:
79484         Remove conditional code.
79485         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
79486         * sysdeps/unix/sysv/linux/sh/pread64.c [!__ASSUME_PREAD_SYSCALL]:
79487         Remove conditional code.
79488         [__ASSUME_PREAD_SYSCALL]: Make code unconditional.
79489         * sysdeps/unix/sysv/linux/sh/pwrite.c [!__ASSUME_PWRITE_SYSCALL]:
79490         Remove conditional code.
79491         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
79492         * sysdeps/unix/sysv/linux/sh/pwrite64.c
79493         [!__ASSUME_PWRITE_SYSCALL]: Remove conditional code.
79494         [__ASSUME_PWRITE_SYSCALL]: Make code unconditional.
79495         * sysdeps/unix/sysv/linux/sigaction.c
79496         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
79497         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
79498         * sysdeps/unix/sysv/linux/sigpending.c
79499         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
79500         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
79501         * sysdeps/unix/sysv/linux/sigprocmask.c
79502         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
79503         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
79504         * sysdeps/unix/sysv/linux/sigsuspend.c
79505         [!__ASSUME_REALTIME_SIGNALS]: Remove conditional code.
79506         [__ASSUME_REALTIME_SIGNALS]: Make code unconditional.
79507         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c
79508         (__libc_missing_rt_sigs): Remove.
79509         (__libc_sigaction) [__NR_rt_sigaction]: Make code unconditional.
79510         (__libc_sigaction): Do not handle ENOSYS from rt_sigaction.
79511         * sysdeps/unix/sysv/linux/syslog.c [!__ASSUME_MSG_NOSIGNAL]:
79512         Remove conditional code.
79513         [__ASSUME_MSG_NOSIGNAL]: Make code unconditional.
79514         * sysdeps/unix/sysv/linux/testrtsig.h (kernel_has_rtsig): Always
79515         return 1.
79516         * sysdeps/unix/sysv/linux/ttyname.c (ttyname)
79517         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Remove conditional code.
79518         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r)
79519         [!__ASSUME_PROC_SELF_FD_SYMLINK]: Likewise.
79521 2012-05-14  Andreas Jaeger  <aj@suse.de>
79523         * sysdeps/i386/fpu/bits/mathinline.h (__pow2): Remove,
79524         it's not used in glibc.
79525         (__coshm1): Likewise.
79526         (__acosh1p): Likewise.
79527         (__sgn): Likewise.
79529         * manual/string.texi (Copying and Concatenation): Add missing
79530         variable in concat example.
79531         Reported by David C. Rankin <drankinatty@suddenlinkmail.com>.
79533 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
79535         [BZ #14103]
79536         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Replace
79537         __builtin_clzl with __builtin_clzll.
79539 2012-05-14  H.J. Lu  <hongjiu.lu@intel.com>
79541         [BZ #14104]
79542         * sysdeps/unix/sysv/linux/check_pf.c (cache): Use
79543         libc_freeres_ptr.
79545 2012-05-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
79547         * sysdeps/i386/i686/fpu/multiarch/Makefile: New file.
79548         * sysdeps/i386/i686fpu/multiarch/e_expf.c: New file.
79549         * sysdeps/i386/i686fpu/multiarch/e_expf-ia32.S: New file.
79550         * sysdeps/i386/i686/fpu/multiarch/e_expf-sse2.S: New file.
79552 2012-05-14  Mike Frysinger  <vapier@gentoo.org>
79554         * NEWS: Update ia64 info.
79556 2012-05-12  Andreas Schwab  <schwab@linux-m68k.org>
79558         * sysdeps/powerpc/memmove.c (MEMMOVE): Don't return a value if
79559         used as bcopy.
79561 2012-05-12  Thomas Schwinge  <thomas@codesourcery.com>
79563         * io/dup3.c (dup3): Rename to __dup3, add weak alias for dup3.
79564         * sysdeps/unix/syscalls.list (dup3): Likewise.
79565         * libio/freopen.c (freopen): Invoke __dup3 instead of dup3.
79566         * libio/freopen64.c (freopen64): Invoke __dup3 instead of dup3.
79568 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
79570         * elf/stackguard-macros.h (STACK_CHK_GUARD) [__x86_64__]: Use
79571         "%c1" with "i" (offsetof (tcbhead_t, stack_guard)).
79573 2012-05-11  H.J. Lu  <hongjiu.lu@intel.com>
79575         * elf/tls-macros.h (TLS_LE): Use mov instead of movq to load
79576         thread pointer.
79577         (TLS_IE): Use mov/add instead of movq/addq to load thread
79578         pointer.
79579         (TLS_GD_PREFIX): New.
79580         (TLS_GD): Use it.
79582 2012-05-11  David S. Miller  <davem@davemloft.net>
79584         * sysdeps/sparc/fpu/bits/fenv.h (__fenv_stfsr): Add __volatile__.
79585         * sysdeps/sparc/fpu/fpu_control.h (_FPU_GETCW): Likewise.
79586         (_FPU_SETCW): Likewise.
79588 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
79590         * sysdeps/x86_64/dl-trampoline.S: Check if RTLD_SAVESPACE_SSE
79591         is 32-byte aligned.
79593 2012-05-11  Andreas Schwab  <schwab@linux-m68k.org>
79595         [BZ #11837]
79596         * iconvdata/gb18030.c: Update tables.
79597         (BODY for FROM_LOOP): Update.  Handle two-byte encoded non-BMP
79598         characters specially.
79599         (BODY for TO_LOOP): Add encoding of missing ranges.
79601 2012-05-11  Thomas Schwinge  <thomas@codesourcery.com>
79603         [BZ #13673]
79604         * sysdeps/mach/hurd/accept4.c: Replace FSF snail mail address with URL.
79605         * sysdeps/mach/hurd/dup3.c: Likewise.
79606         * sysdeps/mach/hurd/readlinkat.c: Likewise.
79607         * sysdeps/powerpc/memmove.c:: Likewise.
79609 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
79611         * sysdeps/x86_64/dl-machine.h (elf_machine_rela_relative): Handle
79612         R_X86_64_RELATIVE64 only if RTLD_BOOTSTRAP isn't defined.
79614 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
79616         * elf/elf.h (R_X86_64_RELATIVE64): New.
79617         (R_X86_64_NUM): Updated.
79618         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Handle
79619         R_X86_64_RELATIVE64.  Always use Elf64_Addr with R_X86_64_64.
79620         (elf_machine_rela_relative): Handle R_X86_64_RELATIVE64.
79621         * sysdeps/x86_64/Makefile (tests): Add tst-quad1 tst-quad2
79622         tst-quad1pie tst-quad2pie
79623         (modules-names): Add tst-quadmod1 tst-quadmod2.
79624         ($(objpfx)tst-quad1): New dependency.
79625         ($(objpfx)tst-quad2): Likewise.
79626         ($(objpfx)tst-quad1pie): Likewise.
79627         ($(objpfx)tst-quad2pie): Likewise.
79628         * sysdeps/x86_64/tst-quad1.c: New file.
79629         * sysdeps/x86_64/tst-quad1pie.c: New file.
79630         * sysdeps/x86_64/tst-quad2.c: Likewise.
79631         * sysdeps/x86_64/tst-quad2pie.c: Likewise.
79632         * sysdeps/x86_64/tst-quadmod1.S: Likewise.
79633         * sysdeps/x86_64/tst-quadmod1pie.S: Likewise.
79634         * sysdeps/x86_64/tst-quadmod2.S: Likewise.
79635         * sysdeps/x86_64/tst-quadmod2pie.S: Likewise.
79637 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79639         * io/fcntl.h (mode_t, off_t, pid_t): Define types.
79640         (__mode_t_defined, __off_t_defined, __pid_t_defined): Define macros.
79641         * streams/stropts.h (t_scalar_t): Define type.
79643         * sysdeps/generic/paths.h (_PATH_MAN): Set to "/usr/share/man"
79644         (_PATH_PRESERVE): Set to "/var/lib".
79645         (_PATH_RWHODIR): Set to "/var/spool/rwho".
79647         * sysdeps/mach/hurd/openat.c (__openat): Set type of MODE to mode_t
79648         instead of int.
79650         * sysdeps/mach/hurd/xmknodat.c (__xmknodat): Deallocate NODE port only
79651         if __dir_mkfile succeeded.
79653         * sysdeps/mach/hurd/dup3.c: Lock _hurd_dtable_lock before
79654         checking for _hurd_dtablesize.  Unlock it right after having
79655         finished _hurd_dtable allocation.
79657 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
79659         * sysdeps/mach/hurd/configure.in: Remove warning for --prefix=[...].
79660         * sysdeps/mach/hurd/configure: Regenerated.
79661         * sysdeps/unix/sysv/linux/configure.in: Move --prefix=/usr
79662         special-casing to...
79663         * sysdeps/gnu/configure.in: ... this new file.
79664         * sysdeps/unix/sysv/linux/configure: Regenerated.
79665         * sysdeps/gnu/configure: New generated file.
79667         * sysdeps/mach/hurd/bits/stat.h (struct stat): Align to what is done
79668         for Linux: use nsec instead of usec, as well as:
79669         [__USE_MISC || __USE_XOPEN2K8] (st_atim, st_mtim, st_ctim): New
79670         members of type struct timespec.
79671         [__USE_MISC || __USE_XOPEN2K8] (st_atime, st_mtime, st_ctime):
79672         New macros.
79673         (struct stat64): Likewise.
79674         (_STATBUF_ST_NSEC): New macro.
79675         * sysdeps/mach/hurd/xstatconv.c (xstat64_conv): Adapt to that.
79677         * hurd/lookup-retry.c (__hurd_file_name_lookup_retry): Use
79678         __strtoul_internal rather than strtoul.
79680 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
79682         * hurd/hurdsock.c (_hurd_socket_server): Check for negative domains,
79683         and reject them.
79685 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79687         * sysdeps/mach/hurd/setresgid.c (__setresgid): Handle the -1 case,
79688         which preserves existing values.
79689         * sysdeps/mach/hurd/setresuid.c (__setresuid): Likewise.
79691 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
79693         * hurd/hurdselect.c (_hurd_select): Return EINVAL for negative
79694         TIMEOUT values.  Return EINVAL for NFDS values either negative or
79695         greater than FD_SETSIZE.
79697 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79699         * sysdeps/mach/hurd/brk.c (_hurd_set_brk): When more space needs to be
79700         allocated, call __vm_protect to finish enabling the existing space, and
79701         pass a copy of _hurd_data_end instead of PAGEBRK to __vm_allocate to
79702         allocate the remainder.
79704 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
79706         * sysdeps/mach/hurd/recvfrom.c (__recvfrom): Check also for a null
79707         address port.  Set ADDR_LEN to 0 when not filling ADDRARG.
79709 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79711         * sysdeps/mach/hurd/readlinkat.c: New file, heavily derived from
79712         sysdeps/mach/hurd/readlink.c.
79714         * posix/tst-sysconf.c (posix_options): Only use
79715         _POSIX_PRIORITIZED_IO, _POSIX_PRIORITY_SCHEDULING, and
79716         _POSIX_SYNCHRONIZED_IO when they are defined
79717         * sysdeps/mach/hurd/bits/posix_opt.h:
79718         (_POSIX_PRIORITY_SCHEDULING): Undefine macro.
79719         (_XOPEN_REALTIME): Undefine macro.
79720         (_XOPEN_REALTIME_THREADS): Undefine macro.
79721         (_XOPEN_SHM): Undefine macro.
79722         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_INHERIT): Define
79723         macro to -1.
79724         [__USE_XOPEN2K8] (_POSIX_THREAD_ROBUST_PRIO_PROTECT): Define
79725         macro to -1.
79726         (_POSIX_ASYNC_IO): Undefine macro.
79727         (_POSIX_PRIORITIZED_IO): Undefine macro.
79728         (_POSIX_SPIN_LOCKS): Define macro to -1.
79730         * bits/sigaction.h [__USE_XOPEN2K8]: Define SA_RESTART,
79731         SA_NODEFER, SA_RESETHAND.
79732         * sysdeps/mach/hurd/bits/fcntl.h [__USE_XOPEN2K8]: Define
79733         O_NOFOLLOW, O_DIRECTORY, O_CLOEXEC, F_GETOWN, F_SETOWN,
79734         F_DUPFD_CLOEXEC.
79736 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
79738         * elf/Makefile (pldd-modules): Define unconditionally.
79740 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
79742         * sysdeps/mach/hurd/opendir.c (__opendirat): New function.
79744 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79746         * hurd/hurdchdir.c (_hurd_change_directory_port_from_name):
79747         Return ENOENT when name is empty.
79748         * sysdeps/mach/hurd/chroot.c (chroot): Likewise.
79750 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
79752         * include/libc-symbols.h [NO_HIDDEN] (hidden_nolink): New macro.
79754         * nss/makedb.c (MAP_POPULATE): If not defined, define to zero.
79756 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79758         Fix mlock in all cases except non-readable pages.
79759         * sysdeps/mach/hurd/mlock.c (mlock): Give VM_PROT_READ
79760         instead of VM_PROT_ALL as parameter to __vm_wire function.
79762         * sysdeps/mach/hurd/mkdir.c: Include <string.h>.
79763         (__mkdir): When path is `/', just fail with EEXIST.
79764         * sysdeps/mach/hurd/mkdirat.c: Likewise.
79766 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
79768         * nss/makedb.c: Include <sys/param.h> (for MAX and roundup), and
79769         <sys/uio.h> (for writev).
79770         * nss/nss_db/db-initgroups.c: Include <limits.h> (for ULONG_MAX),
79771         and <sys/param.h> (for MIN).
79773 2012-05-10  Pino Toscano  <toscano.pino@tiscali.it>
79775         * sysdeps/mach/nanosleep.c: Return EINVAL for invalid values of
79776         REQUESTED_TIME.  Properly set the remaining time and return EINTR
79777         if interrupted.
79779 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
79781         * sysdeps/mach/hurd/Makefile ($(common-objpfx)linkobj/libc.so):
79782         Depend on against $(link-rpcuserlibs).
79784 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79786         * sysdeps/generic/ldsodefs.h [LIBC_STACK_END_NOT_RELRO]
79787         (__libc_stack_end): Do not use attribute_relro.
79788         * sysdeps/mach/hurd/dl-sysdep.h (LIBC_STACK_END_NOT_RELRO): Define.
79789         * sysdeps/mach/hurd/i386/init-first.c (init): Update __libc_stack_end
79790         to libthread-provided value.
79791         * sysdeps/mach/hurd/dl-sysdep.c (__libc_stack_end): Do not use
79792         attribute_relro.
79794 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
79796         [BZ #3748]
79797         * bits/libc-lock.h (__libc_once_get): New macro.
79798         * sysdeps/mach/bits/libc-lock.h: Likewise.
79799         * sysdeps/mach/hurd/bits/libc-lock.h: Likewise.
79800         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Use __libc_once_get
79801         instead of using implementation details.
79803         * libio/fileops.c: Unconditionally include <kernel-features.h>.
79804         * libio/freopen.c: Likewise.
79805         * libio/freopen64.c: Likewise.
79806         * misc/syslog.c: Likewise.
79807         * nscd/connections.c: Likewise.
79808         * nscd/netgroupcache.c: Likewise.
79809         * sysdeps/posix/getcwd.c: Likewise.
79811 2012-05-10  Roland McGrath  <roland@hack.frob.com>
79813         * math/w_ilogbf.c: Add #include <limits.h>.
79815 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79817         * sysdeps/mach/hurd/setitimer.c (setitimer_locked): Use common exit
79818         path instead of returning without unlocking.
79820         * sysdeps/mach/hurd/bits/ioctls.h (_IOIW): New macro for
79821         immediate-write ioctls.
79822         * sysdeps/mach/hurd/ioctl.c: Handle cases with no arguments.
79824 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
79826         * sysdeps/mach/hurd/i386/init-first.c (init): Use
79827         __builtin_frame_address instead of making assumptions about the
79828         location of the return address relative to DATA.  Force early load of
79829         the return address.
79830         (_dl_init_first, doinit1 in doinit in _hurd_stack_setup): Don't use
79831         __builtin_frame_address.
79833         dup3 for GNU Hurd.
79834         * include/unistd.h: Declare __dup3 and use libc_hidden_proto on it.
79835         * sysdeps/mach/hurd/dup3.c: New file, copy from dup2.c.  Evolve it to
79836         implement dup3 and do some further code clean-ups.
79837         * sysdeps/mach/hurd/dup2.c (__dup2): Reimplement using __dup3.
79838         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_DUP3): Define.
79840 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79842         * sysdeps/mach/hurd/dl-sysdep.c: Conditionalize contents on [SHARED].
79844         * hurd/hurd/fd.h (_hurd_fd_get): Call HURD_CRITICAL_BEGIN/
79845         HURD_CRITICAL_END around holding _hurd_dtable_lock.
79846         * sysdeps/mach/hurd/dirfd (dirfd): Likewise.
79847         * sysdeps/mach/hurd/opendir.c (_hurd_fd_opendir): Call
79848         HURD_CRITICAL_BEGIN/HURD_CRITICAL_END around holding
79849         d->port.lock.
79851         * hurd/catch-signal.c (hurd_catch_signal): Use sigsetjmp/siglongjmp
79852         instead of setjmp/longjmp to restore the signal mask.  Call sigsetjmp
79853         when handler == SIG_ERR, not when handler != SIG_ERR.
79855 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
79857         * sysdeps/mach/hurd/bits/socket.h: New file, copy from the bsd4.4 one.
79858         (SOCK_MAX, SOCK_TYPE_MASK, SOCK_CLOEXEC, SOCK_NONBLOCK): New
79859         definitions.
79861         accept4 for GNU Hurd.
79862         * include/sys/socket.h (__libc_accept4): New prototype.
79863         * sysdeps/mach/hurd/accept4.c: New file, copy from accept.c.  Evolve it
79864         to implement __libc_accept4.
79865         * sysdeps/mach/hurd/accept.c (accept): Reimplement using
79866         __libc_accept4.
79867         * sysdeps/mach/hurd/kernel-features.h (__ASSUME_ACCEPT4): Define.
79869         * sysdeps/mach/hurd/i386/____longjmp_chk.S: New file.
79870         * sysdeps/mach/hurd/i386/signal-defines.sym: New file.
79871         * sysdeps/mach/hurd/i386/Makefile (gen-as-const-headers): Add
79872         signal-defines.sym.
79874 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79876         * bits/in.h (SOL_IP, SOL_IPV6, SOL_ICMPV6): New macros.
79878 2012-05-10  Thomas Schwinge  <thomas@schwinge.name>
79880         * sysdeps/mach/hurd/dl-sysdep.c (open_file): Do not raise
79881         assertion on O_CLOEXEC flag.
79882         * hurd/hurd/fd.h: Update comment to mention O_CLOEXEC.
79883         * hurd/intern-fd.c: Likewise.
79884         * hurd/port2fd.c: Likewise.
79886 2012-05-10  Samuel Thibault  <samuel.thibault@ens-lyon.org>
79888         [BZ #3906]
79889         * bits/in.h (IPV6_PKTINFO): Define new macro.
79890         (IPV6_RXINFO,IPV6_TXINFO,SCM_SRCINFO): Redefine to IPV6_PKTINFO.
79892 2012-05-09  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
79894         [BZ #13954]
79895         [BZ #13955]
79896         [BZ #13956]
79897         * sysdeps/ieee754/dbl-64/s_logb.c (__logb): Fix for subnormal number.
79898         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c (__logb): Likewise.
79899         * sysdeps/ieee754/flt-32/s_logbf.c (__logf): Likewise.
79900         * sysdeps/ieee754/ldbl-128/s_logbl.c (__logbl): Likewise.
79901         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c (__logbl): Likewise.
79902         * sysdeps/ieee754/ldbl-96/s_logbl.c (__logbl): Likewise.
79903         * math/libm-test.inc (logb_test) : Additional logb tests.
79905 2012-05-09  Andreas Schwab  <schwab@linux-m68k.org>
79906             Andreas Jaeger  <aj@suse.de>
79908         * configure.in (obsolete-rpc): Add new option --enable-obsolete-rpc.
79909         * configure: Regenerated.
79910         * config.h.in (LINK_OBSOLETE_RPC): New macro.
79911         * config.make.in (link-obsolete-rpc): New substituted variable.
79912         * include/libc-symbols.h (libc_hidden_nolink_sunrpc): Rename from
79913         libc_hidden_nolink and define based on LINK_OBSOLETE_RPC.
79914         * sunrpc/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
79915         (shared-only-routines): Don't set it under [link-obsolete-rpc],
79916         so that libc.a contains the symbols.
79917         * nis/Makefile (headers) [link-obsolete-rpc]: Add rpc headers.
79918         * sunrpc/auth_des.c: Use libc_hidden_nolink_sunrpc.
79919         * sunrpc/auth_none.c: Likewise.
79920         * sunrpc/auth_unix.c: Likewise.
79921         * sunrpc/authdes_prot.c: Likewise.
79922         * sunrpc/authuxprot.c: Likewise.
79923         * sunrpc/clnt_gen.c: Likewise.
79924         * sunrpc/clnt_perr.c: Likewise.
79925         * sunrpc/clnt_raw.c: Likewise.
79926         * sunrpc/clnt_simp.c: Likewise.
79927         * sunrpc/clnt_tcp.c: Likewise.
79928         * sunrpc/clnt_udp.c: Likewise.
79929         * sunrpc/clnt_unix.c: Likewise.
79930         * sunrpc/des_crypt.c: Likewise.
79931         * sunrpc/des_soft.c: Likewise.
79932         * sunrpc/get_myaddr.c: Likewise.
79933         * sunrpc/key_call.c: Likewise.
79934         * sunrpc/key_prot.c: Likewise.
79935         * sunrpc/netname.c: Likewise.
79936         * sunrpc/pm_getmaps.c: Likewise.
79937         * sunrpc/pm_getport.c: Likewise.
79938         * sunrpc/pmap_clnt.c: Likewise.
79939         * sunrpc/pmap_prot.c: Likewise.
79940         * sunrpc/pmap_prot2.c: Likewise.
79941         * sunrpc/pmap_rmt.c: Likewise.
79942         * sunrpc/publickey.c: Likewise.
79943         * sunrpc/rpc_cmsg.c: Likewise.
79944         * sunrpc/rpc_common.c: Likewise.
79945         * sunrpc/rpc_dtable.c: Likewise.
79946         * sunrpc/rpc_prot.c: Likewise.
79947         * sunrpc/rpc_thread.c: Likewise.
79948         * sunrpc/rtime.c: Likewise.
79949         * sunrpc/svc.c: Likewise.
79950         * sunrpc/svc_auth.c: Likewise.
79951         * sunrpc/svc_raw.c: Likewise.
79952         * sunrpc/svc_run.c: Likewise.
79953         * sunrpc/svc_tcp.c: Likewise.
79954         * sunrpc/svc_udp.c: Likewise.
79955         * sunrpc/svc_unix.c: Likewise.
79956         * sunrpc/svcauth_des.c: Likewise.
79957         * sunrpc/xcrypt.c: Likewise.
79958         * sunrpc/xdr.c: Likewise.
79959         * sunrpc/xdr_array.c: Likewise.
79960         * sunrpc/xdr_float.c: Likewise.
79961         * sunrpc/xdr_intXX_t.c: Likewise.
79962         * sunrpc/xdr_mem.c: Likewise.
79963         * sunrpc/xdr_rec.c: Likewise.
79964         * sunrpc/xdr_ref.c: Likewise.
79965         * sunrpc/xdr_sizeof.c: Likewise.
79966         * sunrpc/xdr_stdio.c: Likewise.
79968 2012-05-10  Roland McGrath  <roland@hack.frob.com>
79970         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Fix typo in last
79971         change.  Update copyright years.
79973 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
79975         * include/stdc-predef.h (__STDC_NO_THREADS__): Define.
79977 2012-05-10  Maxim Kuvyrkov  <maxim@codesourcery.com>
79978             Joseph Myers  <joseph@codesourcery.com>
79979             Paul Pluzhnikov  <ppluzhnikov@google.com>
79981         [BZ #14012]
79982         * sunrpc/Makefile [cross-compiling] (headers): Enable additions
79983         requiring rpcgen.
79984         [cross-compiling] (extra-libs): Likewise.
79985         [cross-compiling] (extra-libs-others): Likewise.
79986         [cross-compiling] (librpcsvc-routines): Likewise.
79987         [cross-compiling] (librpcsvc-inhibit-o): Likewise.
79988         [cross-compiling] (omit-deps): Likewise.
79989         (sunrpc-CPPFLAGS): New variable.
79990         (CPPFLAGS): Define using $(sunrpc-CPPFLAGS).
79991         (BUILD_CPPFLAGS): Append $(sunrpc-CPPFLAGS).
79992         (cross-rpcgen-objs): New variable.
79993         (extra-objs): Append $(cross-rpcgen-objs).
79994         ($(cross-rpcgen-objs)): New rule.
79995         ($(objpfx)cross-rpcgen): Likewise.
79996         (rpcgen-cmd): Define to use $(built-program-file).  Expand
79997         comment.
79998         ($(objpfx)rpcsvc/%.stmp): Depend on cross-rpcgen.
79999         ($(objpfx)x%.stmp): Likewise.
80000         * sunrpc/proto.h [IS_IN_build] (_): Define.
80001         [IS_IN_build] (_libc_intl_domainname): Likewise.
80003 2012-05-10  H.J. Lu  <hongjiu.lu@intel.com>
80005         * sysdeps/x86_64/dl-machine.h (elf_machine_rela) [__ILP32__]:
80006         Sign extend relocation result to 64 bits for R_X86_64_DTPOFF64
80007         and R_X86_64_TPOFF64.
80009 2012-05-10  Joseph Myers  <joseph@codesourcery.com>
80011         * sysdeps/unix/sysv/linux/syscalls.list (alarm): Add entry from
80012         sysdeps/unix/sysv/syscalls.list.
80013         (stime): Likewise.
80014         (utime): Likewise.
80015         * sysdeps/unix/sysv/syscalls.list: Remove file.
80017 2012-05-10  Paul Eggert  <eggert@cs.ucla.edu>
80019         [BZ #3440]
80020         * locale/bits/locale.h (__LC_CTYPE, __LC_NUMERIC, __LC_TIME)
80021         (__LC_COLLATE, __LC_MONETARY, __LC_MESSAGES, __LC_ALL, __LC_PAPER)
80022         (__LC_NAME, __LC_ADDRESS, __LC_TELEPHONE, __LC_MEASUREMENT)
80023         (__LC_IDENTIFICATION): Make these macros useful in #if
80024         expressions, as required by C99.
80026 2012-05-10  Andreas Schwab  <schwab@linux-m68k.org>
80028         * sunrpc/Makefile (extra-objs) [$(build-shared) = yes]: Add
80029         $(addsuffix .os,$(rpc-compat-routines)).  Move include ../Rules
80030         after this.
80032 2012-05-09  H.J. Lu  <hongjiu.lu@intel.com>
80034         * stdlib/longlong.h: Updated from GCC.
80036 2012-05-09  Andreas Jaeger  <aj@suse.de>
80038         * nscd/nscd.c (run_modes): Make named enum, reorder so that
80039         default is first entry.
80040         (run_mode): Set type.
80041         (main): Remove informal message about syslog.
80042         (options): Fix typo.
80044         [BZ #14053]
80045         * sysdeps/x86_64/fpu/bits/mathinline.h (lrintf): Add __volatile
80046         to asm.
80047         (lrint): Likewise.
80048         (llrintf): Likewise.
80049         (llrint): Likewise.
80050         (rint): Likewise.
80051         (rintf): Likewise.
80052         (nearbyint): Likewise.
80053         (nearbyintf): Likewise.
80055 2012-05-09  Andreas Jaeger  <aj@suse.de>
80056             Pedro Alves  <palves@redhat.com>
80058         * nscd/nscd.c (run_mode): Use enum.
80059         (main): Cleanup coding style issue.
80061 2012-05-09  Alexandre Oliva  <aoliva@redhat.com>
80062             Andreas Jaeger  <aj@suse.de>
80064         * nscd/nscd.c (go_background): Replaced with...
80065         (run_mode): ... this.
80066         (RUN_FOREGROUND, RUN_DAEMONIZE, RUN_DEBUG): Add.
80067         (options): Add -F --foreground.
80068         (main): Implement it.
80069         (parse_opt): Parse it.
80071 2012-05-09  Andreas Jaeger  <aj@suse.de>
80073         [BZ #14083]
80074         * string/bits/string2.h (strspn) [__GNUC_PREREQ(3, 2) &&
80075         !_HAVE_STRING_ARCH_strspn]: Cast zero to size_t to avoid
80076         -Wconversion warning.
80077         (strspn) [!__GNUC_PREREQ(3, 2) && !_HAVE_STRING_ARCH_strspn]:
80078         Likewise.
80080 2012-05-09  Joseph Myers  <joseph@codesourcery.com>
80082         * conform/data/locale.h-data (NULL): Use macro-constant.  Require
80083         == 0.
80084         (LC_ALL): Use macro-int-constant.
80085         (LC_COLLATE): Likewise.
80086         (LC_CTYPE): Likewise.
80087         (LC_MESSAGES): Likewise.
80088         (LC_MONETARY): Likewise.
80089         (LC_NUMERIC): Likewise.
80090         (LC_TIME): Likewise.
80091         [ISO || ISO99 || ISO11] (LC_MESSAGES): Do not require.
80092         (LC_*): Change to LC_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
80093         [ISO || ISO99 || ISO11] (*_t): Do not allow.
80094         * conform/data/math.h-data (HUGE_VAL): Use macro-constant.
80095         Specify type.
80096         [C99-based standards] (float_t): Expect type.
80097         [C99-based standards] (double_t): Expect type.
80098         [C99-based standards] (HUGE_VALF): Use macro-constant.  Specify
80099         type.
80100         [C99-based standards] (HUGE_VALL): Likewise.
80101         [C99-based standards] (INFINITY): Likewise.
80102         [C99-based standards] (NAN): Likewise.
80103         [C99-based standards] (FP_INFINITE): Use macro-int-constant.
80104         [C99-based standards] (FP_NAN): Likewise.
80105         [C99-based standards] (FP_NORMAL): Likewise.
80106         [C99-based standards] (FP_SUBNORMAL): Likewise.
80107         [C99-based standards] (FP_ZERO): Likewise.
80108         [C99-based standards] (FP_FAST_FMA): Use
80109         optional-macro-int-constant.  Specify type.  Require == 1.
80110         [C99-based standards] (FP_FAST_FMAF): Likewise.
80111         [C99-based standards] (FP_FAST_FMAL): Likewise.
80112         [C99-based standards] (FP_ILOGB0): Use macro-int-constant.
80113         [C99-based standards] (FP_ILOGBNAN): Likewise.
80114         [C99-based standards] (MATH_ERRNO): Use macro-int-constant.
80115         Specify type.
80116         [C99-based standards] (MATH_ERREXCEPT): Likewise.
80117         [C99-based standards] (math_errhandling): Specify type.
80118         [ISO99 || ISO11] (signgam): Do not allow.
80119         [non-C99-based standards] (copysignf): Do not allow.
80120         [non-C99-based standards] (exp2f): Likewise.
80121         [non-C99-based standards] (log2f): Likewise.
80122         [non-C99-based standards] (modff): Allow.
80123         [non-C99-based standards] (erff): Do not allow.
80124         [non-C99-based standards] (erfcf): Likewise.
80125         [non-C99-based standards] (gammaf): Likewise.
80126         [non-C99-based standards] (hypotf): Likewise.
80127         [non-C99-based standards] (j0f): Likewise.
80128         [non-C99-based standards] (j1f): Likewise.
80129         [non-C99-based standards] (jnf): Likewise.
80130         [non-C99-based standards] (lgammaf): Likewise.
80131         [non-C99-based standards] (tgammaf): Likewise.
80132         [non-C99-based standards] (y0f): Likewise.
80133         [non-C99-based standards] (y1f): Likewise.
80134         [non-C99-based standards] (ynf): Likewise.
80135         [non-C99-based standards] (isnanf): Likewise.
80136         [non-C99-based standards] (acoshf): Likewise.
80137         [non-C99-based standards] (asinhf): Likewise.
80138         [non-C99-based standards] (atanhf): Likewise.
80139         [non-C99-based standards] (cbrtf): Likewise.
80140         [non-C99-based standards] (expm1f): Likewise.
80141         [non-C99-based standards] (ilogbf): Likewise.
80142         [non-C99-based standards] (log1pf): Likewise.
80143         [non-C99-based standards] (logbf): Likewise.
80144         [non-C99-based standards] (nextafterf): Likewise.
80145         [non-C99-based standards] (remainderf): Likewise.
80146         [non-C99-based standards] (rintf): Likewise.
80147         [non-C99-based standards] (scalbf): Likewise.
80148         [non-C99-based standards] (copysignl): Likewise.
80149         [non-C99-based standards] (exp2l): Likewise.
80150         [non-C99-based standards] (log2l): Likewise.
80151         [non-C99-based standards] (modfl): Allow.
80152         [non-C99-based standards] (erfl): Do not allow.
80153         [non-C99-based standards] (erfcl): Likewise.
80154         [non-C99-based standards] (gammal): Likewise.
80155         [non-C99-based standards] (hypotl): Likewise.
80156         [non-C99-based standards] (j0l): Likewise.
80157         [non-C99-based standards] (j1l): Likewise.
80158         [non-C99-based standards] (jnl): Likewise.
80159         [non-C99-based standards] (lgammal): Likewise.
80160         [non-C99-based standards] (tgammal): Likewise.
80161         [non-C99-based standards] (y0l): Likewise.
80162         [non-C99-based standards] (y1l): Likewise.
80163         [non-C99-based standards] (ynl): Likewise.
80164         [non-C99-based standards] (isnanl): Likewise.
80165         [non-C99-based standards] (acoshl): Likewise.
80166         [non-C99-based standards] (asinhl): Likewise.
80167         [non-C99-based standards] (atanhl): Likewise.
80168         [non-C99-based standards] (cbrtl): Likewise.
80169         [non-C99-based standards] (expm1l): Likewise.
80170         [non-C99-based standards] (ilogbl): Likewise.
80171         [non-C99-based standards] (log1pl): Likewise.
80172         [non-C99-based standards] (logbl): Likewise.
80173         [non-C99-based standards] (nextafterl): Likewise.
80174         [non-C99-based standards] (remainderl): Likewise.
80175         [non-C99-based standards] (rintl): Likewise.
80176         [non-C99-based standards] (scalbl): Likewise.
80177         [ISO || ISO99 || ISO11] (*_t): Do not allow.
80178         [non-C99-based standards] (FP_*): Do not allow.
80179         [C99-based standards] (FP_*): Change to
80180         FP_[ABCDEFGHIJKLMNOPQRSTUVWXYZ]*.
80181         * conform/data/setjmp.h-data [ISO || ISO99 || ISO11] (*_t): Do not
80182         allow.
80183         * conform/data/signal.h-data (SIG_DFL): Use macro-constant.
80184         (SIG_ERR): Likewise.
80185         [X/Open-based standards] (SIG_HOLD): Likewise.
80186         (SIG_IGN): Likewise.
80187         (SIGABRT): Use macro-int-constant.  Specify type.  Require
80188         positive value.
80189         (SIGFPE): Likewise.
80190         (SIGILL): Likewise.
80191         (SIGINT): Likewise.
80192         (SIGSEGV): Likewise.
80193         (SIGTER): Likewise.
80194         [!ISO && !ISO99 && !ISO11] (SIGALRM): Likewise.
80195         [!ISO && !ISO99 && !ISO11] (SIGHUP): Likewise.
80196         [!ISO && !ISO99 && !ISO11] (SIGIO): Likewise.
80197         [!ISO && !ISO99 && !ISO11] (SIGKILL): Likewise.
80198         [!ISO && !ISO99 && !ISO11] (SIGPIPE): Likewise.
80199         [!ISO && !ISO99 && !ISO11] (SIGQUIT): Likewise.
80200         [!ISO && !ISO99 && !ISO11] (SIGUSR1): Likewise.
80201         [!ISO && !ISO99 && !ISO11] (SIGUSR2): Likewise.
80202         [!ISO && !ISO99 && !ISO11] (SIGCHLD): Likewise.
80203         [!ISO && !ISO99 && !ISO11] (SIGCONT): Likewise.
80204         [!ISO && !ISO99 && !ISO11] (SIGSTOP): Likewise.
80205         [!ISO && !ISO99 && !ISO11] (SIGTSTP): Likewise.
80206         [!ISO && !ISO99 && !ISO11] (SIGTTIN): Likewise.
80207         [!ISO && !ISO99 && !ISO11] (SIGTTOU): Likewise.
80208         [!ISO && !ISO99 && !ISO11] (SIGBUS): Likewise.
80209         [!ISO && !ISO99 && !ISO11] (SIGPOLL): Likewise.
80210         [!ISO && !ISO99 && !ISO11] (SIGPROF): Likewise.
80211         [!ISO && !ISO99 && !ISO11] (SIGSYS): Likewise.
80212         [X/Open-based standards] (SIGTRAP): Likewise.
80213         [!ISO && !ISO99 && !ISO11] (SIGURG): Likewise.
80214         [!ISO && !ISO99 && !ISO11] (SIGVTALRM): Likewise.
80215         [!ISO && !ISO99 && !ISO11] (SIGXCPU): Likewise.
80216         [!ISO && !ISO99 && !ISO11] (SIGXFSZ): Likewise.
80217         * conform/data/stdarg.h-data [ISO || ISO99 || ISO11] (*_t): Do not
80218         allow.
80220 2012-05-08  Ian Wienand  <ianw@vmware.com>
80222         [BZ #14080]
80223         * time/tzset.c (__tzset_parse_tz): Update default rules for
80224         daylight time changes in the Energy Policy Act of 2005.
80226 2012-05-09  Andreas Jaeger  <aj@suse.de>
80228         [BZ #13983]
80229         * elf/ldconfig.c (parse_conf): Change string to make clear that
80230         ldconfig only issued a warning if ld.so.conf does not exist.
80232 2012-05-08  David S. Miller  <davem@davemloft.net>
80234         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: Use
80235         movxtod instead of popping the value on the stack.
80237         * sysdeps/sparc/fpu/libm-test-ulps: Update.
80239 2012-05-08  Carlos O'Donell  <carlos_odonell@mentor.com>
80241         * config.h.in: Add HAVE_ARM_PCS_VFP.
80243 2012-05-08  Roland Mc Grath  <roland@hack.frob.com>
80245         [BZ #13979]
80246         * include/features.h: Warn if user requests __FORTIFY_SOURCE
80247         checking but the checks are disabled for any reason.
80249 2012-05-08  H.J. Lu  <hongjiu.lu@intel.com>
80251         * sysdeps/x86_64/dl-machine.h: Replace Elf64_XXX with ElfW(XXX)
80252         and ELF64_R_TYPE with ELFW(R_TYPE).
80254 2012-05-08  Joseph Myers  <joseph@codesourcery.com>
80256         * sysdeps/unix/sysv/syscalls.list (pause): Remove.
80257         (ulimit): Likewise.
80259         * sysdeps/unix/sysv/syscalls.list (setrlimit): Remove.
80260         (settimeofday): Likewise.
80262 2012-05-08  Mike Frysinger  <vapier@gentoo.org>
80264         * inet/arpa/tftp.h (struct tftphdr): Rename th_u to th_u1.  Add
80265         a struct th_u2 inside the union, and move tu_block/tu_code into
80266         a new th_u3 union of tu_block/tu_code inside of that.  Move
80267         th_data[1] into the th_u2 as tu_data[0].  Change tu_stuff[1] to
80268         tu_stuff[0].  Add a new tu_padding[4] to keep sizeof() the same.
80269         (th_block): Change to th_u1.th_u2.th_u3.tu_block.
80270         (th_code): Change to th_u1.th_u2.th_u3.tu_code.
80271         (th_stuff): Change to th_u1.tu_stuff.
80272         (th_data): Define.
80273         (th_msg): Change to th_u1.th_u2.tu_data.
80275 2012-05-07  David S. Miller  <davem@davemloft.net>
80277         * sysdeps/sparc/fpu/libm-test-ulps: Update.
80279         [BZ #14074]
80280         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK_CALL): New macro.
80281         (SETUP_PIC_REG): Use it.
80282         (SETUP_PIC_REG_LEAF): Use it.
80284 2012-05-07  Joseph Myers  <joseph@codesourcery.com>
80286         [BZ #13885]
80287         [BZ #13923]
80288         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
80289         USE_AS_EXPM1L.
80290         (EXPL_FINITE): Likewise.
80291         (FLDLOG): Likewise.
80292         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
80293         * sysdeps/i386/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
80294         e_expl.S.
80295         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
80296         USE_AS_EXPM1L.
80297         (EXPL_FINITE): Likewise.
80298         (FLDLOG): Likewise.
80299         (IEEE754_EXPL) [USE_AS_EXPM1L]: Support use as expm1l.
80300         * sysdeps/x86_64/fpu/s_expm1l.S: Define USE_AS_EXPM1L and include
80301         e_expl.S.
80302         * math/libm-test.inc (expm1_test): Add more tests.  Do not disable
80303         test of -max_value argument for long double.
80304         * sysdeps/i386/fpu/libm-test-ulps: Update.
80305         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
80307 2012-05-06  David S. Miller  <davem@davemloft.net>
80309         * scripts/data/localplt-sparc-linux-gnu.data: Add '?' markers to
80310         quad soft-float symbols whose references which are compiler
80311         generated.
80312         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
80314 2012-05-06  Joseph Myers  <joseph@codesourcery.com>
80316         [BZ #13884]
80317         [BZ #13914]
80318         * sysdeps/i386/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
80319         USE_AS_EXP10L.
80320         (EXPL_FINITE): Likewise.
80321         (FLDLOG): Likewise.
80322         (c0): Likewise.
80323         (c1): Likewise.
80324         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
80325         Adjust comments for base varying.
80326         (__expl_finite): Change alias to EXPL_FINITE.
80327         * sysdeps/i386/fpu/e_exp10l.S: Define USE_AS_EXP10L and include
80328         e_expl.S.
80329         * sysdeps/ieee754/dbl-64/e_exp10.c: New file.
80330         * sysdeps/ieee754/ldbl-128/e_exp10l.c: Likewise.
80331         * sysdeps/ieee754/ldbl-128ibm/e_exp10l.c: Likewise.
80332         * sysdeps/x86_64/fpu/e_exp10l.S: Likewise.
80333         * sysdeps/x86_64/fpu/e_expl.S (IEEE754_EXPL): Define conditional on
80334         USE_AS_EXP10L.
80335         (EXPL_FINITE): Likewise.
80336         (FLDLOG): Likewise.
80337         (c0): Likewise.
80338         (c1): Likewise.
80339         (__ieee754_expl): Change to IEEE754_EXPL.  Use FLDLOG macro.
80340         Adjust comments for base varying.
80341         (__expl_finite): Change alias to EXPL_FINITE.
80342         * math/libm-test.inc (exp10_test): Add more tests.  Do not disable
80343         tests for bugs.
80344         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
80346         [BZ #14064]
80347         * math/libm-test.inc (check_float_internal): Correct ulp
80348         calculation for subnormal expected results.
80350 2012-05-06  Andreas Jaeger  <aj@suse.de>
80352         * Makeconfig (+math-flags): New, set to -frounding-math.
80353         (+cflags): Add +math-flags so that all of glibc gets compiled with
80354         it.
80356         * sysdeps/x86_64/fpu/libm-test-ulps: Updated.
80358 2012-05-05  Joseph Myers  <joseph@codesourcery.com>
80360         * math/libm-test.inc (hypot_test) [TEST_DOUBLE && TEST_INLINE]:
80361         Disable one test.
80363         [BZ #13787]
80364         [BZ #13922]
80365         [BZ #14036]
80366         * sysdeps/i386/fpu/e_expl.S (csat): New constant.
80367         (__ieee754_expl): Allow for and saturate large arguments.
80368         * sysdeps/ieee754/dbl-64/w_exp.c (o_threshold): Remove variable.
80369         (u_threshold): Likewise.
80370         (__exp): Call __ieee754_exp before checking for overflow and
80371         underflow.
80372         * sysdeps/ieee754/flt-32/w_expf.c (o_threshold): Remove variable.
80373         (u_threshold): Likewise.
80374         (__expf): Call __ieee754_expf before checking for overflow and
80375         underflow.
80376         * sysdeps/ieee754/ldbl-96/w_expl.c (o_threshold): Remove variable.
80377         (u_threshold): Likewise.
80378         (__expl): Call __ieee754_expl before checking for overflow and
80379         underflow.
80380         * sysdeps/x86_64/fpu/e_expl.S (csat): New constant.
80381         (__ieee754_expl): Allow for and saturate large arguments.
80382         * math/libm-test.inc (exp_test): Add another test.  Do not allow
80383         missing overflow exception on overflow.
80384         (expm1_test): Do not allow missing overflow exception on overflow.
80386         * sysdeps/i386/fpu/e_expl.c: Move to ...
80387         * sysdeps/i386/fpu/e_expl.S: ... here.  Write directly in assembly
80388         rather than using inline asm.
80389         * sysdeps/x86_64/fpu/e_expl.c: Remove file.
80390         * sysdeps/x86_64/fpu/e_expl.S: Copy from
80391         sysdeps/i386/fpu/e_expl.S, adjusted for x86_64.
80393         * sysdeps/unix/sysv/syscalls.list (ftime): Remove.
80394         (nice): Likewise.
80395         (poll): Likewise.
80396         (signal): Likewise.
80397         (time): Likewise.
80398         (times): Likewise.
80400 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
80402         * sysdeps/unix/syscalls.list (adjtime): Add entry from
80403         sysdeps/unix/common/syscalls.list.
80404         (fchmod): Likewise.
80405         (fchown): Likewise.
80406         (ftruncate): Likewise.
80407         (getrusage): Likewise.
80408         (gettimeofday): Likewise.
80409         (setpgid): Likewise.
80410         (setregid): Likewise.
80411         (setreuid): Likewise.
80412         (sigaction): Likewise.
80413         (truncate): Likewise.
80414         (vhangup): Likewise.
80415         * sysdeps/unix/common/syscalls.list: Remove file.
80416         * sysdeps/unix/bsd/Implies: Don't include unix/common.
80417         * sysdeps/unix/sysv/linux/Implies: Likewise.
80419 2012-05-04  H.J. Lu  <hongjiu.lu@intel.com>
80421         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: Moved to ...
80422         * sysdeps/unix/sysv/linux/x86_64/64/nptl/ld.abilist: Here.
80423         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist:
80424         Moved to ...
80425         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libBrokenLocale.abilist:
80426         Here.
80427         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: Moved
80428         to ...
80429         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libanl.abilist: Here.
80430         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: Moved
80431         to ...
80432         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libc.abilist: Here.
80433         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: Moved
80434         to ...
80435         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libcrypt.abilist: Here.
80436         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: Moved
80437         to ...
80438         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libdl.abilist: Here.
80439         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: Moved
80440         to ...
80441         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libm.abilist: Here.
80442         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: Moved
80443         to ...
80444         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libnsl.abilist: Here.
80445         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: Moved
80446         to ...
80447         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libpthread.abilist:
80448         Here.
80449         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: Moved
80450         to ...
80451         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libresolv.abilist:
80452         Here.
80453         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: Moved
80454         to ...
80455         * sysdeps/unix/sysv/linux/x86_64/64/nptl/librt.abilist: Here.
80456         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist:
80457         Moved to ...
80458         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libthread_db.abilist:
80459         Here.
80460         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: Moved
80461         to ...
80462         * sysdeps/unix/sysv/linux/x86_64/64/nptl/libutil.abilist: Here.
80464 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
80466         * sysdeps/unix/common/bits/dirent.h: Remove file.
80467         * sysdeps/unix/common/bits/fcntl.h: Likewise.
80469         * sysdeps/unix/bsd/bits/dirent.h: Remove file.
80470         * sysdeps/unix/bsd/bits/fcntl.h: Likewise.
80471         * sysdeps/unix/bsd/bsd4.4/isatty.c: Likewise.
80472         * sysdeps/unix/bsd/isatty.c: Likewise.
80473         * sysdeps/unix/bsd/tcdrain.c: Likewise.
80474         * sysdeps/unix/bsd/tcgetattr.c: Likewise.
80475         * sysdeps/unix/bsd/tcsetattr.c: Likewise.
80477 2012-05-04  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80479         [BZ #13563]
80480         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c (__ieee754_acosl): Fix
80481         long double comparison inaccuracies.
80482         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c (__ieee754_asinl): Likewise.
80483         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
80485 2012-05-04  Andreas Schwab  <schwab@linux-m68k.org>
80487         * sysdeps/unix/make-syscalls.sh: Fix check for version aliases.
80488         * sysdeps/unix/sysv/linux/i386/syscalls.list: Revert last change.
80490 2012-05-04  Joseph Myers  <joseph@codesourcery.com>
80492         [BZ #14049]
80493         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Check for trailing
80494         nonzero digits before rounding a hex value.
80495         * stdlib/tst-strtod.c (tests): Add another test.
80497 2012-05-03  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
80499         * sysdeps/s390/fpu/libm-test-ulps: Update.
80501 2012-05-03  Andreas Jaeger  <aj@suse.de>
80503         * malloc/mcheck.c (mcheck): Add barrier so that malloc/free pair
80504         does not get optimized out.
80505         (malloc_opt_barrier): New.
80507 2012-05-03  Andreas Jaeger  <aj@suse.de>
80508             Roland McGrath  <roland@hack.frob.com>
80510         * Makerules (.PRECIOUS): Add %.symlist pattern to prevent
80511         intermediate file deletion.
80512         (generated): Add .symlist files.
80514 2012-05-03  Joseph Myers  <joseph@codesourcery.com>
80516         [BZ #13775]
80517         * libio/bits/stdio-ldbl.h [__USE_XOPEN2K8] (__dprintf_chk):
80518         Redirect under this condition.
80519         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
80520         [__USE_GNU] (__dprintf_chk): Not under this condition.
80521         [__USE_GNU] (__vdprintf_chk): Likewise.
80522         * libio/bits/stdio2.h [__USE_XOPEN2K8] (__dprintf_chk): Declare
80523         under this condition.
80524         [__USE_XOPEN2K8] (__vdprintf_chk): Likewise.
80525         [__USE_XOPEN2K8] (dprintf): Define under this condition.
80526         [__USE_XOPEN2K8] (vdprintf): Likewise.
80527         [__USE_GNU] (__dprintf_chk): Not under this condition.
80528         [__USE_GNU] (__vdprintf_chk): Likewise.
80529         [__USE_GNU] (dprintf): Likewise.
80530         [__USE_GNU] (vdprintf): Likewise.
80532 2012-05-03  Roland McGrath  <roland@hack.frob.com>
80534         * elf/Makefile (common-generated): Set this instead of generated for
80535         .dyn, .phdr, .jmprel files.  Remove $(common-objpfx) from the
80536         $(all-built-dso)-derived lists.
80538 2012-05-03  Andreas Jaeger  <aj@suse.de>
80540         * sysdeps/i386/fpu/libm-test-ulps: Update.
80542         * FAQ: Removed.
80543         * FAQ.in: Likewise.
80544         * scripts/gen-FAQ.pl: Likewise.
80545         * manual/install.texi (Installation): Point to online location of
80546         FAQ.
80547         * Makefile (files-for-dist): Remove FAQ.
80548         (FAQ): Remove.
80550 2012-05-02  Allan McRae  <allan@archlinux.org>
80552         * elf/Makefile: (LDFLAGS-nodel2mod3.so: Use $(no-as-needed).
80553         (LDFLAGS-reldepmod5.so): Likewise.
80554         (LDFLAGS-reldep6mod1.so): Likewise.
80555         (LDFLAGS-reldep6mod4.so): Likewise.
80556         (LDFLAGS-reldep8mod3.so): Likewise.
80557         (LDFLAGS-unload4mod1.so): Likewise.
80558         (LDFLAGS-unload4mod2.so): Likewise.
80559         (LDFLAGS-tst-initorder): Likewise.
80560         (LDFLAGS-tst-initordera2.so): Likewise.
80561         (LDFLAGS-tst-initordera3.so): Likewise.
80562         (LDFLAGS-tst-initordera4.so): Likewise.
80563         (LDFLAGS-tst-initorderb2.so): Likewise.
80564         (LDFLAGS-noload): Likewise.
80565         (LDFLAGS-next): Likewise.
80566         (LDFLAGS-order2mod1.so): Likewise.
80567         (LDFLAGS-order2mod2.so): Likewise.
80568         (LDFLAGS-tst-initorder2): Likewise.
80569         (LDFLAGS-tst-initorder2a.so): Likewise.
80570         (LDFLAGS-tst-initorder2b.so): Likewise.
80571         (LDFLAGS-tst-initorder2c.so): Likewise.
80572         * stdlib/Makefile: (LDFLAGS-tst-putenv): Likewise.
80574 2012-05-02  David S. Miller  <davem@davemloft.net>
80576         * sysdeps/sparc/fpu/libm-test-ulps: Update.
80578 2012-05-02  Paul Pluzhnikov  <ppluzhnikov@google.com>
80580         [BZ #14055]
80581         * elf/dl-sysdep.c (_dl_show_auxv): Add bounds check.
80583 2012-05-02  Andreas Jaeger  <aj@suse.de>
80585         * math/Makefile (CPPFLAGS-test-ildoubl.c): Add -frounding-math
80586         since we manipulate rounding mode.
80587         (CPPFLAGS-test-idouble.c): Likewise.
80588         (CPPFLAGS-test-ifloat.c): Likewise.
80589         (CFLAGS-test-ldouble.c): Likewise.
80590         (CFLAGS-test-double.c): Likewise.
80591         (CFLAGS-test-float.c): Likewise.
80592         (CFLAGS-test-misc.c): Likewise.
80593         (CFLAGS-test-test-fenv.c): Likewise.
80595 2012-05-02  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
80597         [BZ #2550]
80598         [BZ #2570]
80599         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Use floating-point
80600         comparisons to determine direction to adjust input.
80602 2012-05-01  Roland McGrath  <roland@hack.frob.com>
80604         * elf/Makefile ($(objpfx)check-localplt.out): Redirect the test's
80605         output to the target.
80607         * scripts/localplt.awk: New file.
80608         * elf/Makefile ($(objpfx)check-localplt): Target removed.
80609         (check-localplt-CFLAGS): Variable removed.
80610         ($(all-built-dso:=.jmprel)): New static pattern rule.
80611         (generated): Add those targets.
80612         (localplt-built-dso): New variable.
80613         ($(objpfx)check-localplt.out): Use the script on the .jmprel files.
80615         * elf/check-localplt.c: File removed.
80617         * scripts/check-execstack.awk: New file.
80618         * elf/Makefile ($(objpfx)check-execstack): Target removed.
80619         (check-execstack-CFLAGS): Variable removed.
80620         ($(objpfx)check-execstack.h): Target removed.
80621         ($(objpfx)execstack-default): New target.
80622         (generated): Add that instead of check-execstack.h.
80623         ($(all-built-dso:=.phdr)): New static pattern rule.
80624         (generated): Add those targets.
80625         * elf/check-execstack.c: File removed.
80627         * scripts/check-textrel.awk: New file.
80628         * elf/Makefile ($(objpfx)check-textrel): Target removed.
80629         (check-textrel-CFLAGS): Variable removed.
80630         (all-built-dso): Use := to define.o
80631         ($(all-built-dso:=.dyn)): New static pattern rule.
80632         (generated): Add those targets.
80633         ($(objpfx)check-textrel.out): Use the script on the .dyn files.
80634         * config.make.in (READELF): New substituted variable.
80635         * elf/check-textrel.c: File removed.
80637 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
80639         * conform/data/assert.h-data [ISO || ISO99 || ISO11] (*_t): Do not
80640         allow.
80641         * conform/data/ctype.h-data [C99-based standards] (isblank):
80642         Expect function.
80643         (is*): Change to is[abcdefghijklmnopqrstuvwxyz]*.
80644         (to*): Change to to[abcdefghijklmnopqrstuvwxyz]*.
80645         [ISO || ISO99 || ISO11] (*_t): Do not allow.
80646         * conform/data/errno.h-data (EDOM): Use macro-int-constant.
80647         Specify type.  Require positive value.
80648         (EILSEQ): Likewise.
80649         (ERANGE): Likewise.
80650         [ISO || POSIX] (EILSEQ): Do not expect.
80651         [!ISO && !ISO99 && !ISO11] (E2BIG): Use macro-int-constant.
80652         Specify type.  Require positive value.
80653         [!ISO && !ISO99 && !ISO11] (EACCES): Likewise.
80654         [!ISO && !ISO99 && !ISO11] (EADDRINUSE): Likewise.
80655         [!ISO && !ISO99 && !ISO11] (EADDRNOTAVAIL): Likewise.
80656         [!ISO && !ISO99 && !ISO11] (EAFNOSUPPORT): Likewise.
80657         [!ISO && !ISO99 && !ISO11] (EAGAIN): Likewise.
80658         [!ISO && !ISO99 && !ISO11] (EALREADY): Likewise.
80659         [!ISO && !ISO99 && !ISO11] (EBADF): Likewise.
80660         [!ISO && !ISO99 && !ISO11] (EBADMSG): Likewise.
80661         [!ISO && !ISO99 && !ISO11] (EBUSY): Likewise.
80662         [!ISO && !ISO99 && !ISO11] (ECANCELED): Likewise.
80663         [!ISO && !ISO99 && !ISO11] (ECHILD): Likewise.
80664         [!ISO && !ISO99 && !ISO11] (ECONNABORTED): Likewise.
80665         [!ISO && !ISO99 && !ISO11] (ECONNREFUSED): Likewise.
80666         [!ISO && !ISO99 && !ISO11] (ECONNRESET): Likewise.
80667         [!ISO && !ISO99 && !ISO11] (EDEADLK): Likewise.
80668         [!ISO && !ISO99 && !ISO11] (EDESTADDRREQ): Likewise.
80669         [!ISO && !ISO99 && !ISO11] (EDQUOT): Likewise.
80670         [!ISO && !ISO99 && !ISO11] (EEXIST): Likewise.
80671         [!ISO && !ISO99 && !ISO11] (EFAULT): Likewise.
80672         [!ISO && !ISO99 && !ISO11] (EFBIG): Likewise.
80673         [!ISO && !ISO99 && !ISO11] (EHOSTUNREACH): Likewise.
80674         [!ISO && !ISO99 && !ISO11] (EIDRM): Likewise.
80675         [!ISO && !ISO99 && !ISO11] (EINPROGRESS): Likewise.
80676         [!ISO && !ISO99 && !ISO11] (EINTR): Likewise.
80677         [!ISO && !ISO99 && !ISO11] (EINVAL): Likewise.
80678         [!ISO && !ISO99 && !ISO11] (EIO): Likewise.
80679         [!ISO && !ISO99 && !ISO11] (EISCONN): Likewise.
80680         [!ISO && !ISO99 && !ISO11] (EISDIR): Likewise.
80681         [!ISO && !ISO99 && !ISO11] (ELOOP): Likewise.
80682         [!ISO && !ISO99 && !ISO11] (EMFILE): Likewise.
80683         [!ISO && !ISO99 && !ISO11] (EMLINK): Likewise.
80684         [!ISO && !ISO99 && !ISO11] (EMSGSIZE): Likewise.
80685         [!ISO && !ISO99 && !ISO11] (EMULTIHOP): Likewise.
80686         [!ISO && !ISO99 && !ISO11] (ENAMETOOLONG): Likewise.
80687         [!ISO && !ISO99 && !ISO11] (ENETDOWN): Likewise.
80688         [!ISO && !ISO99 && !ISO11] (ENETUNREACH): Likewise.
80689         [!ISO && !ISO99 && !ISO11] (ENFILE): Likewise.
80690         [!ISO && !ISO99 && !ISO11] (ENOBUFS): Likewise.
80691         [!ISO && !ISO99 && !ISO11] (ENODATA): Likewise.
80692         [!ISO && !ISO99 && !ISO11] (ENODEV): Likewise.
80693         [!ISO && !ISO99 && !ISO11] (ENOENT): Likewise.
80694         [!ISO && !ISO99 && !ISO11] (ENOEXEC): Likewise.
80695         [!ISO && !ISO99 && !ISO11] (ENOLCK): Likewise.
80696         [!ISO && !ISO99 && !ISO11] (ENOLINK): Likewise.
80697         [!ISO && !ISO99 && !ISO11] (ENOMEM): Likewise.
80698         [!ISO && !ISO99 && !ISO11] (ENOMSG): Likewise.
80699         [!ISO && !ISO99 && !ISO11] (ENOPROTOOPT): Likewise.
80700         [!ISO && !ISO99 && !ISO11] (ENOSPC): Likewise.
80701         [!ISO && !ISO99 && !ISO11] (ENOSR): Likewise.
80702         [!ISO && !ISO99 && !ISO11] (ENOSTR): Likewise.
80703         [!ISO && !ISO99 && !ISO11] (ENOSYS): Likewise.
80704         [!ISO && !ISO99 && !ISO11] (ENOTCONN): Likewise.
80705         [!ISO && !ISO99 && !ISO11] (ENOTDIR): Likewise.
80706         [!ISO && !ISO99 && !ISO11] (ENOTEMPTY): Likewise.
80707         [!ISO && !ISO99 && !ISO11] (ENOTSOCK): Likewise.
80708         [!ISO && !ISO99 && !ISO11] (ENOTSUP): Likewise.
80709         [!ISO && !ISO99 && !ISO11] (ENOTTY): Likewise.
80710         [!ISO && !ISO99 && !ISO11] (ENXIO): Likewise.
80711         [!ISO && !ISO99 && !ISO11] (EOPNOTSUPP): Likewise.
80712         [!ISO && !ISO99 && !ISO11] (EOVERFLOW): Likewise.
80713         [!ISO && !ISO99 && !ISO11] (EPERM): Likewise.
80714         [!ISO && !ISO99 && !ISO11] (EPIPE): Likewise.
80715         [!ISO && !ISO99 && !ISO11] (EPROTO): Likewise.
80716         [!ISO && !ISO99 && !ISO11] (EPROTONOSUPPORT): Likewise.
80717         [!ISO && !ISO99 && !ISO11] (EPROTOTYPE): Likewise.
80718         [!ISO && !ISO99 && !ISO11] (EROFS): Likewise.
80719         [!ISO && !ISO99 && !ISO11] (ESPIPE): Likewise.
80720         [!ISO && !ISO99 && !ISO11] (ESRCH): Likewise.
80721         [!ISO && !ISO99 && !ISO11] (ESTALE): Likewise.
80722         [!ISO && !ISO99 && !ISO11] (ETIME): Likewise.
80723         [!ISO && !ISO99 && !ISO11] (ETIMEDOUT): Likewise.
80724         [!ISO && !ISO99 && !ISO11] (ETXTBSY): Likewise.
80725         [!ISO && !ISO99 && !ISO11] (EWOULDBLOCK): Likewise.
80726         [!ISO && !ISO99 && !ISO11] (EXDEV): Likewise.
80727         [XOPEN2K8 || defined POSIX2008] (ENOTRECOVERABLE): Likewise.
80728         [XOPEN2K8 || defined POSIX2008] (EOWNERDEAD): Likewise.
80729         * conform/data/float.h-data (FLT_RADIX): Use macro-int-constant.
80730         Require >= 2.
80731         (FLT_ROUNDS): Expect as macro, not constant.
80732         (FLT_MANT_DIG): Use macro-int-constant.
80733         (DBL_MANT_DIG): Likewise.
80734         (LDBL_MANT_DIG): Likewise.
80735         (FLT_DIG): Likewise.
80736         (DBL_DIG): Likewise.
80737         (LDBL_DIG): Likewise.
80738         (FLT_MIN_EXP): Use macro-int-constant.  Require < 0.
80739         (DBL_MIN_EXP): Likewise.
80740         (LDBL_MIN_EXP): Likewise.
80741         (FLT_MAX_EXP): Use macro-int-constant.
80742         (DBL_MAX_EXP): Likewise.
80743         (LDBL_MAX_EXP): Likewise.
80744         (FLT_MAX_10_EXP): Likewise.
80745         (DBL_MAX_10_EXP): Likewise.
80746         (LDBL_MAX_10_EXP): Likewise.
80747         (FLT_MAX): Use macro-constant.
80748         (DBL_MAX): Likewise.
80749         (LDBL_MAX): Likewise.
80750         (FLT_EPSILON): Use macro-constant.  Give upper bound.
80751         (DBL_EPSILON): Likewise.
80752         (LDBL_EPSILON): Likewise.
80753         (FLT_MIN): Likewise.
80754         (DBL_MIN): Likewise.
80755         (LDBL_MIN): Likewise.
80756         [C99-based standards] (DECIMAL_DIG): Use macro-int-constant.
80757         [C99-based standards] (FLT_EVAL_METHOD): Likewise.
80758         [ISO11] (DBL_HAS_SUBNORM): Use macro-int-constant.
80759         [ISO11] (FLT_HAS_SUBNORM): Likewise.
80760         [ISO11] (LDBL_HAS_SUBNORM): Likewise.
80761         [ISO11] (DBL_DECIMAL_DIG): Likewise.
80762         [ISO11] (FLT_DECIMAL_DIG): Likewise.
80763         [ISO11] (LDBL_DECIMAL_DIG): Likewise.
80764         [ISO11] (DBL_TRUE_MIN): Use macro-constant.
80765         [ISO11] (FLT_TRUE_MIN): Likewise.
80766         [ISO11] (LDBL_TRUE_MIN): Likewise.
80767         [ISO || ISO99 || ISO11] (*_t): Do not allow.
80768         * conform/data/limits.h-data (CHAR_BIT): Use macro-int-constant.
80769         (SCHAR_MIN): Use macro-int-constant.  Specify type.
80770         (SCHAR_MAX): Likewise.
80771         (UCHAR_MAX): Likewise.
80772         (CHAR_MIN): Likewise.
80773         (CHAR_MAX): Likewise.
80774         (MB_LEN_MAX): Use macro-int-constant.
80775         (SHRT_MIN): Use macro-int-constant.  Specify type.
80776         (SHRT_MAX): Likewise.
80777         (USHRT_MAX): Likewise.
80778         (INT_MAX): Likewise.
80779         (INT_MIN): Use macro-int-constant.  Specify type.  Make upper
80780         bound negative.
80781         (UINT_MAX): Use macro-int-constant.  Specify type.  Suffix lower
80782         bound with "U".
80783         (LONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
80784         bound with "L".
80785         (LONG_MIN): Use macro-int-constant.  Specify type.  Make upper
80786         bound negative.  Suffix upper bound with "L".
80787         (ULONG_MAX): Use macro-int-constant.  Specify type.  Suffix lower
80788         bound with "UL".
80789         [C99-based standards] (LLONG_MIN): Use macro-int-constant.
80790         Specify type.
80791         [C99-based standards] (LLONG_MAX): Likewise.
80792         [C99-based standards] (ULLONG_MAX): Likewise.
80793         * conform/data/stddef.h-data (NULL): Use macro-constant.  Require
80794         == 0.
80795         [ISO11] (max_align_t): Require type.
80796         [ISO || ISO99 || ISO11] (*_t): Do not allow.
80798         * conform/conformtest.pl ($CFLAGS_namespace): Define separately
80799         from $CFLAGS, without defining away __attribute__ calls.
80800         (checknamespace): Use $CFLAGS_namespace.
80802         * conform/conformtest.pl (@keywords): Only include C99 keywords
80803         for standards based on C99 or C11.
80805         * conform/data/iso646.h-data [ISO || POSIX || XPG3 || XPG4]:
80806         Disable tests.
80807         * conform/data/stdint.h-data [ISO || POSIX || XPG3 || XPG4 ||
80808         UNIX98]: Likewise.
80810         * conform/conformtest.pl: Handle "macro-int-constant" and test for
80811         usability of symbols in #if.
80813         * conform/conformtest.pl: If macro or constant types start
80814         "promoted:", expect the symbol to be of the following type
80815         promoted by the integer promotions.
80817         * conform/conformtest.pl: Parse all "constant" and "macro" lines
80818         in one place.  Also handle "macro-constant".
80820         * conform/conformtest.pl: Only accept expected macro values with
80821         "==".  Parse all "macro" lines in one place.
80822         * conform/data/stdlib.h-data: Use "==" form on "macro" lines.
80824         * conform/conformtest.pl: Handle braced types on "constant" lines
80825         instead of handling "typed-constant".
80826         * conform/data/signal.h-data: Use "constant" instead of
80827         "typed-constant".
80829         * conform/conformtest.pl: Handle "optional-" at start of lines in
80830         one place rather than duplicating several cases.  Handle each
80831         format of "macro" line with initial "optional-".
80833         * conform/conformtest.pl: Only accept expected constant or
80834         optional-constant values with "==".  Parse all "constant" lines in
80835         one place.  Parse all "optional-constant" lines in one place.
80836         * conform/data/cpio.h-data: Use "==" form on "constant" lines.
80837         * conform/data/fmtmsg.h-data: Likewise.
80838         * conform/data/netinet/in.h-data: Likewise.
80839         * conform/data/tar.h-data: Likewise.
80840         * conform/data/limits.h-data: Use "==" form on "constant" and
80841         "optional-constant" lines.
80843         * conform/conformtest.pl: Use -ansi for XPG3, XPG4 and UNIX98.
80844         Use -std=c99 for XOPEN2K.
80845         (@knownproblems): Remove.
80846         (newtoken): Don't check %isknown.
80848         * conform/data/math.h-data [XPG3 || XPG4 || UNIX98] (fpclassify):
80849         Do not expect macro.
80850         [XPG3 || XPG4 || UNIX98] (isfinite): Likewise.
80851         [XPG3 || XPG4 || UNIX98] (isinf): Likewise.
80852         [XPG3 || XPG4 || UNIX98] (isnan): Likewise.
80853         [XPG3 || XPG4 || UNIX98] (isnormal): Likewise.
80854         [XPG3 || XPG4 || UNIX98] (signbit): Likewise.
80855         [XPG3 || XPG4 || UNIX98] (isgreater): Likewise.
80856         [XPG3 || XPG4 || UNIX98] (isgreaterequal): Likewise.
80857         [XPG3 || XPG4 || UNIX98] (isless): Likewise.
80858         [XPG3 || XPG4 || UNIX98] (islessequal): Likewise.
80859         [XPG3 || XPG4 || UNIX98] (islessgreater): Likewise.
80860         [XPG3 || XPG4 || UNIX98] (isunordered): Likewise.
80861         [XPG3 || XPG4 || UNIX98] (isnan): Expect as function.
80862         [XPG3 || XPG4 || UNIX98] (HUGE_VALF): Do not expect.
80863         [XPG3 || XPG4 || UNIX98] (HUGE_VALL): Likewise.
80864         [XPG3 || XPG4 || UNIX98] (INFINITY): Likewise.
80865         [XPG3 || XPG4 || UNIX98] (NAN): Likewise.
80866         [XPG3 || XPG4 || UNIX98] (FP_INFINITE): Likewise.
80867         [XPG3 || XPG4 || UNIX98] (FP_NAN): Likewise.
80868         [XPG3 || XPG4 || UNIX98] (FP_NORMAL): Likewise.
80869         [XPG3 || XPG4 || UNIX98] (FP_SUBNORMAL): Likewise.
80870         [XPG3 || XPG4 || UNIX98] (FP_ZERO): Likewise.
80871         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMA): Likewise.
80872         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAF): Likewise.
80873         [XPG3 || XPG4 || UNIX98] (FP_FAST_FMAL): Likewise.
80874         [XPG3 || XPG4 || UNIX98] (FP_ILOGB0): Likewise.
80875         [XPG3 || XPG4 || UNIX98] (FP_ILOGBNAN): Likewise.
80876         [XPG3 || XPG4 || UNIX98] (copysign): Likewise.
80877         [XPG3 || XPG4 || UNIX98] (exp2): Likewise.
80878         [XPG3 || XPG4 || UNIX98] (log2): Likewise.
80879         [XPG3 || XPG4 || UNIX98] (tgama): Likewise.
80880         [XPG3] (acosh): Likewise.
80881         [XPG3] (asinh): Likewise.
80882         [XPG3] (atanh): Likewise.
80883         [XPG3] (cbrt): Likewise.
80884         [XPG3] (expm1): Likewise.
80885         [XPG3] (ilogb): Likewise.
80886         [XPG3] (log1p): Likewise.
80887         [XPG3] (logb): Likewise.
80888         [XPG3] (nextafter): Likewise.
80889         [XPG3 || XPG4 || UNIX98] (nexttoward): Likewise.
80890         [XPG3 || XPG4 || UNIX98] (nearbyint): Likewise.
80891         [XPG3] (remainder): Likewise.
80892         [XPG3] (rint): Likewise.
80893         [XPG3 || XPG4 || UNIX98] (round): Likewise.
80894         [XPG3 || XPG4 || UNIX98] (trunc): Likewise.
80895         [XPG3 || XPG4 || UNIX98] (lrint): Likewise.
80896         [XPG3 || XPG4 || UNIX98] (llrint): Likewise.
80897         [XPG3 || XPG4 || UNIX98] (lround): Likewise.
80898         [XPG3 || XPG4 || UNIX98] (llround): Likewise.
80899         [XPG3 || XPG4 || UNIX98] (remquo): Likewise.
80900         [UNIX98 || XOPEN2K] (scalb): Expect.
80901         [XPG3 || XPG4 || UNIX98] (scalbn): Do not expect.
80902         [XPG3 || XPG4 || UNIX98] (scalbln): Likewise.
80903         [XPG3 || XPG4 || UNIX98] (fdim): Likewise.
80904         [XPG3 || XPG4 || UNIX98] (fmax): Likewise.
80905         [XPG3 || XPG4 || UNIX98] (fmin): Likewise.
80906         [XPG3 || XPG4 || UNIX98] (fma): Likewise.
80907         [XPG3 || XPG4 || UNIX98] (nan): Likewise.
80908         [XPG3 || XPG4 || UNIX98] (acosf): Likewise.
80909         [XPG3 || XPG4 || UNIX98] (asinf): Likewise.
80910         [XPG3 || XPG4 || UNIX98] (atanf): Likewise.
80911         [XPG3 || XPG4 || UNIX98] (atan2f): Likewise.
80912         [XPG3 || XPG4 || UNIX98] (ceilf): Likewise.
80913         [XPG3 || XPG4 || UNIX98] (copysignf): Likewise.
80914         [XPG3 || XPG4 || UNIX98] (cosf): Likewise.
80915         [XPG3 || XPG4 || UNIX98] (coshf): Likewise.
80916         [XPG3 || XPG4 || UNIX98] (expf): Likewise.
80917         [XPG3 || XPG4 || UNIX98] (exp2f): Likewise.
80918         [XPG3 || XPG4 || UNIX98] (fabsf): Likewise.
80919         [XPG3 || XPG4 || UNIX98] (floorf): Likewise.
80920         [XPG3 || XPG4 || UNIX98] (fmodf): Likewise.
80921         [XPG3 || XPG4 || UNIX98] (frexpf): Likewise.
80922         [XPG3 || XPG4 || UNIX98] (ldexpf): Likewise.
80923         [XPG3 || XPG4 || UNIX98] (logf): Likewise.
80924         [XPG3 || XPG4 || UNIX98] (log10f): Likewise.
80925         [XPG3 || XPG4 || UNIX98] (log2f): Likewise.
80926         [XPG3 || XPG4 || UNIX98] (modff): Likewise.
80927         [XPG3 || XPG4 || UNIX98] (powf): Likewise.
80928         [XPG3 || XPG4 || UNIX98] (sinf): Likewise.
80929         [XPG3 || XPG4 || UNIX98] (sinhf): Likewise.
80930         [XPG3 || XPG4 || UNIX98] (sqrtf): Likewise.
80931         [XPG3 || XPG4 || UNIX98] (tanf): Likewise.
80932         [XPG3 || XPG4 || UNIX98] (tanhf): Likewise.
80933         [XPG3 || XPG4 || UNIX98] (erff): Likewise.
80934         [XPG3 || XPG4 || UNIX98] (erfcf): Likewise.
80935         [XPG3 || XPG4 || UNIX98] (gammaf): Likewise.
80936         [XPG3 || XPG4 || UNIX98] (hypotf): Likewise.
80937         [XPG3 || XPG4 || UNIX98] (j0f): Likewise.
80938         [XPG3 || XPG4 || UNIX98] (j1f): Likewise.
80939         [XPG3 || XPG4 || UNIX98] (jnf): Likewise.
80940         [XPG3 || XPG4 || UNIX98] (lgammaf): Likewise.
80941         [XPG3 || XPG4 || UNIX98] (tgammaf): Likewise.
80942         [XPG3 || XPG4 || UNIX98] (y0f): Likewise.
80943         [XPG3 || XPG4 || UNIX98] (y1f): Likewise.
80944         [XPG3 || XPG4 || UNIX98] (ynf): Likewise.
80945         [XPG3 || XPG4 || UNIX98] (acoshf): Likewise.
80946         [XPG3 || XPG4 || UNIX98] (asinhf): Likewise.
80947         [XPG3 || XPG4 || UNIX98] (atanhf): Likewise.
80948         [XPG3 || XPG4 || UNIX98] (cbrtf): Likewise.
80949         [XPG3 || XPG4 || UNIX98] (expm1f): Likewise.
80950         [XPG3 || XPG4 || UNIX98] (ilogbf): Likewise.
80951         [XPG3 || XPG4 || UNIX98] (log1pf): Likewise.
80952         [XPG3 || XPG4 || UNIX98] (logbf): Likewise.
80953         [XPG3 || XPG4 || UNIX98] (nextafterf): Likewise.
80954         [XPG3 || XPG4 || UNIX98] (nexttowardf): Likewise.
80955         [XPG3 || XPG4 || UNIX98] (nearbyintf): Likewise.
80956         [XPG3 || XPG4 || UNIX98] (remainderf): Likewise.
80957         [XPG3 || XPG4 || UNIX98] (rintf): Likewise.
80958         [XPG3 || XPG4 || UNIX98] (roundf): Likewise.
80959         [XPG3 || XPG4 || UNIX98] (truncf): Likewise.
80960         [XPG3 || XPG4 || UNIX98] (lrintf): Likewise.
80961         [XPG3 || XPG4 || UNIX98] (llrintf): Likewise.
80962         [XPG3 || XPG4 || UNIX98] (lroundf): Likewise.
80963         [XPG3 || XPG4 || UNIX98] (llroundf): Likewise.
80964         [XPG3 || XPG4 || UNIX98] (remquof): Likewise.
80965         [XPG3 || XPG4 || UNIX98] (scalbf): Likewise.
80966         [XPG3 || XPG4 || UNIX98] (scalbnf): Likewise.
80967         [XPG3 || XPG4 || UNIX98] (scalblnf): Likewise.
80968         [XPG3 || XPG4 || UNIX98] (fdimf): Likewise.
80969         [XPG3 || XPG4 || UNIX98] (fmaxf): Likewise.
80970         [XPG3 || XPG4 || UNIX98] (fminf): Likewise.
80971         [XPG3 || XPG4 || UNIX98] (fmaf): Likewise.
80972         [XPG3 || XPG4 || UNIX98] (nanf): Likewise.
80973         [XPG3 || XPG4 || UNIX98] (acosl): Likewise.
80974         [XPG3 || XPG4 || UNIX98] (asinl): Likewise.
80975         [XPG3 || XPG4 || UNIX98] (atanl): Likewise.
80976         [XPG3 || XPG4 || UNIX98] (atan2l): Likewise.
80977         [XPG3 || XPG4 || UNIX98] (ceill): Likewise.
80978         [XPG3 || XPG4 || UNIX98] (copysignl): Likewise.
80979         [XPG3 || XPG4 || UNIX98] (cosl): Likewise.
80980         [XPG3 || XPG4 || UNIX98] (coshl): Likewise.
80981         [XPG3 || XPG4 || UNIX98] (expl): Likewise.
80982         [XPG3 || XPG4 || UNIX98] (exp2l): Likewise.
80983         [XPG3 || XPG4 || UNIX98] (fabsl): Likewise.
80984         [XPG3 || XPG4 || UNIX98] (floorl): Likewise.
80985         [XPG3 || XPG4 || UNIX98] (fmodl): Likewise.
80986         [XPG3 || XPG4 || UNIX98] (frexpl): Likewise.
80987         [XPG3 || XPG4 || UNIX98] (ldexpl): Likewise.
80988         [XPG3 || XPG4 || UNIX98] (logl): Likewise.
80989         [XPG3 || XPG4 || UNIX98] (log10l): Likewise.
80990         [XPG3 || XPG4 || UNIX98] (log2l): Likewise.
80991         [XPG3 || XPG4 || UNIX98] (modfl): Likewise.
80992         [XPG3 || XPG4 || UNIX98] (powl): Likewise.
80993         [XPG3 || XPG4 || UNIX98] (sinl): Likewise.
80994         [XPG3 || XPG4 || UNIX98] (sinhl): Likewise.
80995         [XPG3 || XPG4 || UNIX98] (sqrtl): Likewise.
80996         [XPG3 || XPG4 || UNIX98] (tanl): Likewise.
80997         [XPG3 || XPG4 || UNIX98] (tanhl): Likewise.
80998         [XPG3 || XPG4 || UNIX98] (erfl): Likewise.
80999         [XPG3 || XPG4 || UNIX98] (erfcl): Likewise.
81000         [XPG3 || XPG4 || UNIX98] (gammal): Likewise.
81001         [XPG3 || XPG4 || UNIX98] (hypotl): Likewise.
81002         [XPG3 || XPG4 || UNIX98] (j0l): Likewise.
81003         [XPG3 || XPG4 || UNIX98] (j1l): Likewise.
81004         [XPG3 || XPG4 || UNIX98] (jnl): Likewise.
81005         [XPG3 || XPG4 || UNIX98] (lgammal): Likewise.
81006         [XPG3 || XPG4 || UNIX98] (tgammal): Likewise.
81007         [XPG3 || XPG4 || UNIX98] (y0l): Likewise.
81008         [XPG3 || XPG4 || UNIX98] (y1l): Likewise.
81009         [XPG3 || XPG4 || UNIX98] (ynl): Likewise.
81010         [XPG3 || XPG4 || UNIX98] (acoshl): Likewise.
81011         [XPG3 || XPG4 || UNIX98] (asinhl): Likewise.
81012         [XPG3 || XPG4 || UNIX98] (atanhl): Likewise.
81013         [XPG3 || XPG4 || UNIX98] (cbrtl): Likewise.
81014         [XPG3 || XPG4 || UNIX98] (expm1l): Likewise.
81015         [XPG3 || XPG4 || UNIX98] (ilogbl): Likewise.
81016         [XPG3 || XPG4 || UNIX98] (log1pl): Likewise.
81017         [XPG3 || XPG4 || UNIX98] (logbl): Likewise.
81018         [XPG3 || XPG4 || UNIX98] (nextafterl): Likewise.
81019         [XPG3 || XPG4 || UNIX98] (nexttowardl): Likewise.
81020         [XPG3 || XPG4 || UNIX98] (nearbyintl): Likewise.
81021         [XPG3 || XPG4 || UNIX98] (remainderl): Likewise.
81022         [XPG3 || XPG4 || UNIX98] (rintl): Likewise.
81023         [XPG3 || XPG4 || UNIX98] (roundl): Likewise.
81024         [XPG3 || XPG4 || UNIX98] (truncl): Likewise.
81025         [XPG3 || XPG4 || UNIX98] (lrintl): Likewise.
81026         [XPG3 || XPG4 || UNIX98] (llrintl): Likewise.
81027         [XPG3 || XPG4 || UNIX98] (lroundl): Likewise.
81028         [XPG3 || XPG4 || UNIX98] (llroundl): Likewise.
81029         [XPG3 || XPG4 || UNIX98] (remquol): Likewise.
81030         [XPG3 || XPG4 || UNIX98] (scalbl): Likewise.
81031         [XPG3 || XPG4 || UNIX98] (scalbnl): Likewise.
81032         [XPG3 || XPG4 || UNIX98] (scalblnl): Likewise.
81033         [XPG3 || XPG4 || UNIX98] (fdiml): Likewise.
81034         [XPG3 || XPG4 || UNIX98] (fmaxl): Likewise.
81035         [XPG3 || XPG4 || UNIX98] (fminl): Likewise.
81036         [XPG3 || XPG4 || UNIX98] (fmal): Likewise.
81037         [XPG3 || XPG4 || UNIX98] (nanl): Likewise.
81039         * conform/conformtest.pl: Define _XOPEN_SOURCE as well as
81040         _XOPEN_SOURCE_EXTENDED for XPG4.
81042         * conform/conformtest.pl: Handle "symbol" lines for allow-header.
81044         * Makeconfig (localtime): Remove variable.
81045         (inst_localtime-file): Likewise.
81047 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
81049         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/ld.abilist:
81050         Update.
81051         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libc.abilist:
81052         Update.
81053         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libm.abilist:
81054         Update.
81055         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/libpthread.abilist:
81056         Update.
81057         * sysdeps/unix/sysv/linux/powerpc/powerpc32/fpu/nptl/librt.abilist:
81058         Update.
81059         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist:
81060         Update.
81061         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist:
81062         Update.
81063         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist:
81064         Update.
81065         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
81066         Update.
81068 2012-05-01  Joseph Myers  <joseph@codesourcery.com>
81070         [BZ #2550]
81071         [BZ #2570]
81072         * math/s_nexttowardf.c (__nexttowardf): Use floating-point
81073         comparisons to determine direction to adjust input.
81074         * sysdeps/i386/fpu/s_nexttoward.c (__nexttoward): Likewise.
81075         * sysdeps/i386/fpu/s_nexttowardf.c(__nexttowardf): Likewise.
81076         * sysdeps/ieee754/ldbl-128/s_nexttoward.c (__nexttoward):
81077         Likewise.
81078         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c (__nexttowardf):
81079         Likewise.
81080         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c (__nexttowardf):
81081         Likewise.
81082         * sysdeps/ieee754/ldbl-96/s_nexttoward.c (__nexttoward): Likewise.
81083         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c (__nexttowardf):
81084         Likewise.
81085         * sysdeps/ieee754/ldbl-opt/s_nexttowardfd.c (__nldbl_nexttowardf):
81086         Likewise.
81087         * math/libm-test.inc (nexttoward_test): Add more tests.
81089 2012-05-01  Andreas Schwab  <schwab@linux-m68k.org>
81091         [BZ #14040]
81092         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S (nearbyintl): Define
81093         in version GLIBC_2.1, not GLIBC_2.0.
81094         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S (nearbyintl):
81095         Likewise.
81097 2012-04-30  Joseph Myers  <joseph@codesourcery.com>
81099         [BZ #13942]
81100         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Calculate 1 - x^2 as
81101         (1 - x) * (1 + x).
81102         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
81103         * sysdeps/i386/fpu/e_asin.S (__ieee754_asin): Likewise.
81104         * math/libm-test.inc (acos_test): Add more tests.
81105         (asin_test): Likewise.
81106         * sysdeps/i386/fpu/libm-test-ulps: Update.
81107         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
81109         [BZ #14034]
81110         * sysdeps/i386/fpu/e_acos.S (__ieee754_acos): Take absolute value
81111         of square root.
81112         * sysdeps/i386/fpu/e_acosf.S (__ieee754_acosf): Likewise.
81113         * sysdeps/i386/fpu/e_acosl.c (__ieee754_acosl): Likewise.
81114         * math/libm-test.inc (acos_test_tonearest): New function.
81115         (acos_test_towardzero): Likewise.
81116         (acos_test_downward): Likewise.
81117         (acos_test_upward): Likewise.
81118         (asin_test_tonearest): Likewise.
81119         (asin_test_towardzero): Likewise.
81120         (asin_test_downward): Likewise.
81121         (asin_test_upward): Likewise.
81122         (main): Call the new functions.
81123         * sysdeps/i386/fpu/libm-test-ulps: Update.
81124         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
81126         [BZ #13884]
81127         [BZ #13924]
81128         * math/e_exp10.c: Include <float.h>.
81129         (__ieee754_exp10): Handle underflow here rather than multiplying
81130         large negative argument by M_LN10.
81131         * math/e_exp10f.c (__ieee754_exp10f): Call __ieee754_exp instead
81132         of __ieee754_expf.
81133         * math/e_exp10l.c: Include <float.h>.
81134         (__ieee754_exp10l): Handle underflow here rather than multiplying
81135         large negative argument by M_LN10l.
81136         * math/libm-test.inc (exp10_test): Add another test.  Do not allow
81137         spurious overflow exception on underflow.
81139 2012-04-29  Marek Polacek  <polacek@redhat.com>
81141         * misc/sys/cdefs.h (__attribute_artificial__): New macro.
81142         (__fortify_function): New macro.
81143         (__extern_always_inline): Don't use __attribute__ ((__artificial__)).
81144         * libio/bits/stdio-ldbl.h: Use __fortify_function in place of
81145         __extern_always_inline.
81146         * libio/bits/stdio2.h: Likewise.
81147         * libio/bits/stdio.h: Likewise.
81148         * string/string.h: Likewise.
81149         * string/bits/string3.h: Likewise.
81150         * include/stdio.h: Likewise.
81151         * stdlib/bits/stdlib.h: Likewise.
81152         * stdlib/stdlib.h: Likewise.
81153         * rt/bits/mqueue2.h: Likewise.
81154         * rt/mqueue.h: Likewise.
81155         * posix/bits/unistd.h: Likewise.
81156         * posix/unistd.h: Likewise.
81157         * io/bits/poll2.h: Likewise.
81158         * io/bits/fcntl2.h: Likewise.
81159         * io/fcntl.h: Likewise.
81160         * io/sys/poll.h: Likewise.
81161         * misc/bits/syslog.h: Likewise.
81162         * misc/bits/syslog-ldbl.h: Likewise.
81163         * misc/sys/syslog.h: Likewise.
81164         * socket/bits/socket2.h: Likewise.
81165         * socket/sys/socket.h: Likewise.
81166         * debug/tst-chk1.c: Likewise.
81167         * wcsmbs/bits/wchar2.h: Likewise.
81168         * wcsmbs/bits/wchar-ldbl.h: Likewise.
81169         * wcsmbs/wchar.h: Likewise.
81171 2012-04-29  Andreas Jaeger  <aj@suse.de>
81173         * Makerules (tests): Remove enable-check-abi protection.
81174         (check-abi-warn): Remove.
81175         (check-abi-%): Remove check-abi-warn usage.
81177         * configure.in: Remove check-abi configure option.
81178         * configure: Regenerated.
81179         * config.make.in (enable-check-abi): Remove.
81181 2012-04-28  Andreas Schwab  <schwab@linux-m68k.org>
81183         [BZ #14033]
81184         * math/bits/math-finite.h [__NO_LONG_DOUBLE_MATH]: Redirect long
81185         double functions to double *_finite functions.
81187         [BZ #13941]
81188         * sysdeps/ieee754/ldbl-128ibm/ldbl2mpn.c
81189         (__mpn_extract_long_double): Use DBL_MIN_EXP instead of
81190         LDBL_MIN_EXP.
81191         * stdio-common/Makefile (tests): Add tst-sprintf3.
81192         * stdio-common/tst-sprintf3.c: New file.
81194         * elf/Makefile ($(objpfx)tst-leaks1-mem, $(objpfx)noload-mem)
81195         ($(objpfx)tst-unused-dep.out): Don't run when cross-compiling.
81197 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
81199         * conform/conformtest.pl: Remove duplicate typed-constant
81200         handling.
81202 2012-04-28  David S. Miller  <davem@davemloft.net>
81204         * Makerules (%.abilist): Add vpath on sysdep_dirs.
81205         (check-abi-%): Remove AWK script prerequisite and explicit
81206         abilist directory.
81207         (check-abi): Rewrite to just diff the symlist with the abilist.
81208         (config-tls, config-abi-config): Delete, no longer used.
81209         (update-abi-%): Remove AWK script and explicit abilist directory.
81210         (update-abi): Rewrite to simply compare and conditionally copy the
81211         symlist and the sysdep abilist file.  Remove update-abi-config
81212         checks.
81213         * abilist/ld.abilist: Remove.
81214         * abilist/libBrokenLocale.abilist: Remove.
81215         * abilist/libanl.abilist: Remove.
81216         * abilist/libcrypt.abilist: Remove.
81217         * abilist/libdl.abilist: Remove.
81218         * abilist/librt.abilist: Remove.
81219         * abilist/libthread_db.abilist: Remove.
81220         * abilist/libutil.abilist: Remove.
81221         * scripts/extract-abilist.awk: Remove.
81222         * scripts/merge-abilist.awk: Remove.
81223         * sysdeps/generic/libcidn.abilist: New file.
81224         * sysdeps/generic/libnss_compat.abilist: New file.
81225         * sysdeps/generic/libnss_db.abilist: New file.
81226         * sysdeps/generic/libnss_dns.abilist: New file.
81227         * sysdeps/generic/libnss_files.abilist: New file.
81228         * sysdeps/generic/libnss_hesiod.abilist: New file.
81229         * sysdeps/generic/libnss_nis.abilist: New file.
81230         * sysdeps/generic/libnss_nisplus.abilist: New file.
81231         * sysdeps/unix/sysv/linux/i386/nptl/ld.abilist: New file.
81232         * sysdeps/unix/sysv/linux/i386/nptl/libanl.abilist: New file.
81233         * sysdeps/unix/sysv/linux/i386/nptl/libBrokenLocale.abilist: New
81234         file.
81235         * sysdeps/unix/sysv/linux/i386/nptl/libc.abilist: New file.
81236         * sysdeps/unix/sysv/linux/i386/nptl/libcrypt.abilist: New file.
81237         * sysdeps/unix/sysv/linux/i386/nptl/libdl.abilist: New file.
81238         * sysdeps/unix/sysv/linux/i386/nptl/libm.abilist: New file.
81239         * sysdeps/unix/sysv/linux/i386/nptl/libnsl.abilist: New file.
81240         * sysdeps/unix/sysv/linux/i386/nptl/libpthread.abilist: New file.
81241         * sysdeps/unix/sysv/linux/i386/nptl/libresolv.abilist: New file.
81242         * sysdeps/unix/sysv/linux/i386/nptl/librt.abilist: New file.
81243         * sysdeps/unix/sysv/linux/i386/nptl/libthread_db.abilist: New
81244         file.
81245         * sysdeps/unix/sysv/linux/i386/nptl/libutil.abilist: New file.
81246         * sysdeps/unix/sysv/linux/x86_64/nptl/ld.abilist: New file.
81247         * sysdeps/unix/sysv/linux/x86_64/nptl/libanl.abilist: New file.
81248         * sysdeps/unix/sysv/linux/x86_64/nptl/libBrokenLocale.abilist: New
81249         file.
81250         * sysdeps/unix/sysv/linux/x86_64/nptl/libc.abilist: New file.
81251         * sysdeps/unix/sysv/linux/x86_64/nptl/libcrypt.abilist: New file.
81252         * sysdeps/unix/sysv/linux/x86_64/nptl/libdl.abilist: New file.
81253         * sysdeps/unix/sysv/linux/x86_64/nptl/libm.abilist: New file.
81254         * sysdeps/unix/sysv/linux/x86_64/nptl/libnsl.abilist: New file.
81255         * sysdeps/unix/sysv/linux/x86_64/nptl/libpthread.abilist: New
81256         file.
81257         * sysdeps/unix/sysv/linux/x86_64/nptl/libresolv.abilist: New file.
81258         * sysdeps/unix/sysv/linux/x86_64/nptl/librt.abilist: New file.
81259         * sysdeps/unix/sysv/linux/x86_64/nptl/libthread_db.abilist: New
81260         file.
81261         * sysdeps/unix/sysv/linux/x86_64/nptl/libutil.abilist: New file.
81262         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/ld.abilist:
81263         New file.
81264         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libanl.abilist:
81265         New file.
81266         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libBrokenLocale.abilist:
81267         New file.
81268         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libc.abilist:
81269         New file.
81270         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libcrypt.abilist:
81271         New file.
81272         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libdl.abilist:
81273         New file.
81274         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libm.abilist:
81275         New file.
81276         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libnsl.abilist:
81277         New file.
81278         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libpthread.abilist:
81279         New file.
81280         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libresolv.abilist:
81281         New file.
81282         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/librt.abilist:
81283         New file.
81284         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libthread_db.abilist:
81285         New file.
81286         * sysdeps/unix/sysv/linux/powerpc/powercp32/fpu/nptl/libutil.abilist:
81287         New file.
81288         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/ld.abilist: New
81289         file.
81290         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libanl.abilist:
81291         New file.
81292         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libBrokenLocale.abilist:
81293         New file.
81294         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libc.abilist: New
81295         file.
81296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libcrypt.abilist:
81297         New file.
81298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libdl.abilist:
81299         New file.
81300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libm.abilist: New
81301         file.
81302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libnsl.abilist:
81303         New file.
81304         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libpthread.abilist:
81305         New file.
81306         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libresolv.abilist:
81307         New file.
81308         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/librt.abilist:
81309         New file.
81310         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libthread_db.abilist:
81311         New file.
81312         * sysdeps/unix/sysv/linux/powerpc/powerpc64/nptl/libutil.abilist:
81313         New file.
81314         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/ld.abilist: New file.
81315         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libanl.abilist: New
81316         file.
81317         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libBrokenLocale.abilist:
81318         New file.
81319         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libc.abilist: New
81320         file.
81321         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libcrypt.abilist: New
81322         file.
81323         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libdl.abilist: New
81324         file.
81325         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libm.abilist: New
81326         file.
81327         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libnsl.abilist: New
81328         file.
81329         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libpthread.abilist:
81330         New file.
81331         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libresolv.abilist: New
81332         file.
81333         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/librt.abilist: New
81334         file.
81335         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libthread_db.abilist:
81336         New file.
81337         * sysdeps/unix/sysv/linux/s390/s390-32/nptl/libutil.abilist: New
81338         file.
81339         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/ld.abilist: New file.
81340         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libanl.abilist: New
81341         file.
81342         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libBrokenLocale.abilist:
81343         New file.
81344         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libc.abilist: New
81345         file.
81346         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libcrypt.abilist: New
81347         file.
81348         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libdl.abilist: New
81349         file.
81350         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libm.abilist: New
81351         file.
81352         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libnsl.abilist: New
81353         file.
81354         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libpthread.abilist:
81355         New file.
81356         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libresolv.abilist: New
81357         file.
81358         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/librt.abilist: New
81359         file.
81360         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libthread_db.abilist:
81361         New file.
81362         * sysdeps/unix/sysv/linux/s390/s390-64/nptl/libutil.abilist: New
81363         file.
81364         * sysdeps/unix/sysv/linux/sh/nptl/ld.abilist: New file.
81365         * sysdeps/unix/sysv/linux/sh/nptl/libanl.abilist: New file.
81366         * sysdeps/unix/sysv/linux/sh/nptl/libBrokenLocale.abilist: New
81367         file.
81368         * sysdeps/unix/sysv/linux/sh/nptl/libc.abilist: New file.
81369         * sysdeps/unix/sysv/linux/sh/nptl/libcrypt.abilist: New file.
81370         * sysdeps/unix/sysv/linux/sh/nptl/libdl.abilist: New file.
81371         * sysdeps/unix/sysv/linux/sh/nptl/libm.abilist: New file.
81372         * sysdeps/unix/sysv/linux/sh/nptl/libnsl.abilist: New file.
81373         * sysdeps/unix/sysv/linux/sh/nptl/libpthread.abilist: New file.
81374         * sysdeps/unix/sysv/linux/sh/nptl/libresolv.abilist: New file.
81375         * sysdeps/unix/sysv/linux/sh/nptl/librt.abilist: New file.
81376         * sysdeps/unix/sysv/linux/sh/nptl/libthread_db.abilist: New file.
81377         * sysdeps/unix/sysv/linux/sh/nptl/libutil.abilist: New file.
81378         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/ld.abilist: New file.
81379         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libanl.abilist: New
81380         file.
81381         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libBrokenLocale.abilist:
81382         New file.
81383         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libc.abilist: New
81384         file.
81385         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libcrypt.abilist: New
81386         file.
81387         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libdl.abilist: New
81388         file.
81389         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libm.abilist: New
81390         file.
81391         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libnsl.abilist: New
81392         file.
81393         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libpthread.abilist:
81394         New file.
81395         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libresolv.abilist:
81396         New file.
81397         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/librt.abilist: New
81398         file.
81399         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libthread_db.abilist:
81400         New file.
81401         * sysdeps/unix/sysv/linux/sparc/sparc32/nptl/libutil.abilist: New
81402         file.
81403         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/ld.abilist: New file.
81404         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libanl.abilist: New
81405         file.
81406         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libBrokenLocale.abilist:
81407         New file.
81408         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libc.abilist: New
81409         file.
81410         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libcrypt.abilist: New
81411         file.
81412         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libdl.abilist: New
81413         file.
81414         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libm.abilist: New
81415         file.
81416         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libnsl.abilist: New
81417         file.
81418         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libpthread.abilist:
81419         New file.
81420         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libresolv.abilist:
81421         New file.
81422         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/librt.abilist: New
81423         file.
81424         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libthread_db.abilist:
81425         New file.
81426         * sysdeps/unix/sysv/linux/sparc/sparc64/nptl/libutil.abilist: New
81427         file.
81429 2012-04-28  Joseph Myers  <joseph@codesourcery.com>
81431         * conform/conformtest.pl: Fix typo in handling typed-constant from
81432         allow-header.
81434 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
81436         * README: Cut down references to pre-2.6 Linux kernels and
81437         Linuxthreads.  Update lists of configurations in libc and ports
81438         and sort alphabetically.  Say "or newer" with Linux kernel version
81439         requirements.
81441         * config.h.in [IS_IN_build]: Allow compiling without optimization.
81443 2012-04-27  Ryan S. Arnold  <rsa@linux.vnet.ibm.com>
81445         [BZ #887]
81446         * math/libm-test.inc (logb_test_downward): New test to expose
81447         erroneous negative sign on -0.0 result of logb[l](1) in FE_DOWNWARD
81448         rounding mode.
81450 2012-04-27  Joseph Myers  <joseph@codesourcery.com>
81452         [BZ #14027]
81453         * math/fclrexcpt.c (__feclearexcept): Return zero if nothing needs
81454         to be done.
81455         * math/fraiseexcpt.c (__feraiseexcept): Likewise.
81456         * math/fsetexcptflg.c (__fesetexceptflag): Likewise.
81458 2012-04-26  Joseph Myers  <joseph@codesourcery.com>
81460         * sysdeps/unix/i386/brk.S: Remove file.
81461         * sysdeps/unix/i386/dl-brk.S: Likewise.
81462         * sysdeps/unix/i386/pipe.S: Likewise.
81463         * sysdeps/unix/i386/sigreturn.S: Likewise.
81464         * sysdeps/unix/i386/syscall.S: Likewise.
81465         * sysdeps/unix/i386/vfork.S: Likewise.
81466         * sysdeps/unix/i386/wait.S: Likewise.
81468         * sysdeps/unix/common/tcsendbrk.c: Move to ...
81469         * sysdeps/unix/sysv/linux/tcsendbrk.c: ... here.
81471         * configure.in (arm*-none*): Do not allow without
81472         --enable-hacker-mode.
81473         (netbsd*): Remove case setting base_os.
81474         (386bsd*): Likewise.
81475         (freebsd*): Likewise.
81476         (bsdi*): Likewise.
81477         (osf*): Likewise.
81478         (sunos*): Likewise.
81479         (ultrix*): Likewise.
81480         (newsos*): Likewise.
81481         (dynix*): Likewise.
81482         (*bsd*): Likewise.
81483         (sysv*): Likewise.
81484         (isc*): Likewise.
81485         (esix*): Likewise.
81486         (sco*): Likewise.
81487         (minix*): Likewise.
81488         (irix4*): Likewise.
81489         (irix6*): Likewise.
81490         (solaris[2-9]*): Likewise.
81491         (none): Likewise.
81492         * configure: Regenerated.
81494 2012-04-26  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81496         [BZ #11521]
81497         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c (__ctanhl): Avoid internal
81498         overflow or cancellation in calculating denominator.
81499         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c (__ctanl): Likewise.
81500         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c (__ieee754_sinhl): Breaking
81501         down expression to avoid unexpected rounding in newer GCCs.
81502         * sysdeps/powerpc/fpu/libm-test-ulps: Update for ctan, ctanh fix.
81504 2012-04-26  David S. Miller  <davem@davemloft.net>
81506         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Generate
81507         long-double compat symbols.
81508         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
81509         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
81510         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
81511         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: Likewise.
81512         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
81513         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Likewise.
81514         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: Likewise.
81515         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: Likewise.
81516         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: Likewise.
81517         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: Likewise.
81518         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: Likewise.
81519         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: Likewise.
81520         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
81522 2012-04-25  David S. Miller  <davem@davemloft.net>
81524         * sysdeps/sparc/sparc32/bits/atomic.h: Include sysdep.h to get
81525         HWCAP_* values only after the memory barriers have been defined.
81526         (atomic_full_barrier): Define.
81527         (atomic_read_barrier): Define.
81528         (atomic_write_barrier): Define.
81530 2012-04-26  Siddhesh Poyarekar  <siddhesh@redhat.com>
81532         * shlib-versions: Add libgcc_s version information.
81533         * sysdeps/generic/libgcc_s.h: Remove.
81534         * sysdeps/generic/framestate.c: Include gnu/lib-names.h instead of
81535         libgcc_s.h.
81536         * sysdeps/gnu/unwind-resume.c: Likewise.
81537         * scripts/test-installation.pl: Remove libgcc_s from link_libs.
81539 2012-04-25  David S. Miller  <davem@davemloft.net>
81541         * sysdeps/unix/sparc/brk.S: Delete.
81542         * sysdeps/unix/sparc/dl-brk.S: Delete.
81543         * sysdeps/unix/sparc/pipe.S: Delete.
81544         * sysdeps/unix/sparc/sysdep.S: Delete.
81545         * sysdeps/unix/sparc/sysdep.h: Delete.
81546         * sysdeps/unix/sparc/vfork.S: Delete.
81547         * sysdeps/sparc/sysdep.h (SPARC_PIC_THUNK, SPARC_PIC_REG)
81548         (SPARC_PIC_REG_LEAF, ENTRY, END, LOC): Define.
81549         * sysdeps/unix/sysv/linux/sparc/sysdep.h (ret, ret_NOERRNO)
81550         (ret_ERRVAL, r0, r1, MOVE): Define.
81551         (JUMPTARGET): Remove.
81552         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Don't include
81553         sysdeps/unix/sparc/sysdep.h
81554         (ENTRY, END): Remove.
81555         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
81557 2012-04-25  Joseph Myers  <joseph@codesourcery.com>
81559         * Makerules (native-compile): Use $(BUILD_LDFLAGS).
81560         (ALL_BUILD_CFLAGS): Use $(BUILD_CPPFLAGS) -D_GNU_SOURCE
81561         -DIS_IN_build.
81563         * timezone/README: Update upstream location and email address for
81564         tzcode and tzdata.
81565         * timezone/zdump.c: Update from tzcode 2012b.
81566         * timezone/zic.c: Likewise.
81568         * configure.in (libc_cv_as_needed): Remove test.
81569         * configure: Regenerated.
81570         * Makeconfig [$(have-as-needed) != yes] (as-needed): Remove
81571         conditional definition.
81572         [$(have-as-needed) != yes] (no-as-needed): Likewise.
81573         [$(have-as-needed) != yes] (libgcc_eh): Likewise.
81574         * config.make.in (have-as-needed): Remove variable.
81576 2012-04-25  Siddhesh Poyarekar  <siddhesh@redhat.com>
81577             Paul Pluzhnikov  <ppluzhnikov@google.com>
81579         * elf/dl-minimal.c (__strtoul_internal): Parse hexadecimal and octal
81580         strings correctly.
81582 2012-04-25  Chung-Lin Tang  <cltang@codesourcery.com>
81584         * sysdeps/sh/memcpy.S: Remove include of endian.h, change
81585         preprocessor endian tests to '#ifdef __BIG_ENDIAN__'.
81586         * sysdeps/sh/strlen.S: Likewise.
81588 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
81590         * sysdeps/unix/fork.S: Remove file.
81591         * sysdeps/unix/i386/fork.S: Likewise.
81592         * sysdeps/unix/sparc/fork.S: Likewise.
81594         * sysdeps/unix/system.c: Remove file.
81595         * sysdeps/unix/bsd/bsd4.4/system.c: Likewise.
81597         * sysdeps/unix/getegid.S: Remove file.
81598         * sysdeps/unix/geteuid.S: Likewise.
81600 2012-04-24  Roland McGrath  <roland@hack.frob.com>
81602         * scripts/check-localplt.awk: New file.
81603         * elf/Makefile ($(objpfx)check-localplt.out): Use that script instead
81604         of diff.
81605         * scripts/data/localplt-generic.data: Add a comment.
81607         * sysdeps/mach/hurd/symlink.c: Don't call __mach_port_deallocate on
81608         NODE when __dir_mkfile failed.
81609         * sysdeps/mach/hurd/symlinkat.c: Likewise.
81610         Reported by Ludovic Courtès <ludo@gnu.org>.
81612 2012-04-24  Andreas Jaeger  <aj@suse.de>
81614         * Makerules (common-clean): Also remove gen-as-const-headers
81615         files.
81617 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
81619         * Makerules (native-compile): Do not change working directory for
81620         build.  Use $(OUTPUT_OPTION) in command.
81621         (ALL_BUILD_CFLAGS): Use $(common-objpfx) to find config.h.
81623 2012-04-24  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81625         [BZ #13886]
81626         * sysdeps/powerpc/powerpc64/fpu/s_floorl.S: Delete file. Use the
81627         sysdeps/ieee754/ldbl-128ibm/s_floorl.c version instead.
81628         * math/libm-test.inc (floor_test): Add more tests.
81629         * sysdeps/powerpc/fpu/libm-test-ulps: Update for pow tests.
81631 2012-04-24  Joseph Myers  <joseph@codesourcery.com>
81633         * sysdeps/unix/getdents.c: Remove file.
81634         * sysdeps/unix/sysv/getdents.c: Likewise.
81635         * sysdeps/unix/sysv/syscalls.list (s_getdents): Remove.
81637         * sysdeps/unix/syscalls.list (madvise): Add syscall from
81638         sysdeps/unix/mman/syscalls.list.
81639         (mmap): Likewise.
81640         (mprotect): Likewise.
81641         (msync): Likewise.
81642         (munmap): Likewise.
81643         * sysdeps/unix/bsd/bsd4.4/Implies: Remove.
81644         * sysdeps/unix/mman/syscalls.list: Remove.
81645         * sysdeps/unix/sysv/linux/Implies: Don't include unix/mman.
81647         * configure.in (libc_cv_libgcc_s_suffix): Remove test.
81648         (libc_cv_as_needed): Don't use $libc_cv_libgcc_s_suffix.
81649         * configure: Regenerated.
81650         * Makeconfig [$(have-as-needed) = yes] (libgcc_eh): Don't use
81651         $(libgcc_s_suffix).
81652         * config.make.in (libgcc_s_suffix): Remove variable.
81654 2012-04-23  Joseph Myers  <joseph@codesourcery.com>
81656         * sysdeps/unix/sysv/gethostname.c: Move to ...
81657         * sysdeps/posix/gethostname.c: ... here.
81659         * sysdeps/unix/execve.S: Remove file.
81661         * sysdeps/unix/_exit.S: Remove file.
81663 2012-04-23  Andreas Jaeger  <aj@suse.de>
81665         [BZ #13739]
81666         * manual/Makefile: Remove make dist support, there's no
81667         need for a stand-alone documentation tar ball.
81668         (TEXI2DVI): Define always, it's not in Makeconfig.
81669         (dist): Removed.
81670         (tar-it): Removed.
81671         (edition): Removed.
81672         (glibc-doc-$(edition).tar): Removed
81673         (%.Z): Removed.
81674         (%.gz): Removed.
81675         (%.uu): Removed.
81676         (ETAGS): Remove, it's in Makeconfig.
81677         (move-if-change): Remove, it's in Makeconfig.
81679 2012-04-23  Paul Eggert  <eggert@cs.ucla.edu>
81681         [BZ #13970]
81682         * stdlib/stdlib.h: Remove warn_unused_result attribute from strtol etc.
81683         (strtod, strtof, strtold, strtol, strtoul, strtoq)
81684         (strtouq, strtoll, strtoull, strtol_l, strtoul_l, strtoll_l, strtoull_l)
81685         (strtod_l, strtof_l, strtold_l): Remove __wur.
81686         It is not necessarily an error to ignore strtol's return value.
81687         One can reliably look at the stored endptr to decide whether
81688         the number had valid syntax.
81690 2012-04-21  Andreas Jaeger  <aj@suse.de>
81692         [BZ #13739]
81693         * sysdeps/s390/s390-64/Makefile (distribute): Remove variable.
81695 2012-04-21  Joseph Myers  <joseph@codesourcery.com>
81697         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.0): Add sysinfo.
81698         * sysdeps/unix/sysv/Versions: Remove file.
81700 2012-04-21  Markus Trippelsdorf  <markus@trippelsdorf.de>
81702         [BZ #13927]
81703         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
81705 2012-04-21  Nick Alcock  <nick.alcock@oracle.com>
81707         [BZ #7064]
81708         * sysdeps/unix/sysv/linux/i386/syscalls.list: Omit explicit
81709         version from __vm86.
81711 2012-04-20  Joseph Myers  <joseph@codesourcery.com>
81713         * sysdeps/unix/common/lxstat.c: Remove file.
81714         * sysdeps/unix/common/syscalls.list (sys_lstat): Remove.
81716         * sysdeps/unix/sysv/Makefile: Remove file.
81718         * sysdeps/unix/sysv/direct.h: Remove file.
81720         * sysdeps/unix/sysv/bits/dirent.h: Remove file.
81721         * sysdeps/unix/sysv/bits/fcntl.h: Likewise.
81722         * sysdeps/unix/sysv/bits/local_lim.h: Likewise.
81723         * sysdeps/unix/sysv/bits/signum.h: Likewise.
81724         * sysdeps/unix/sysv/bits/stat.h: Likewise.
81725         * sysdeps/unix/sysv/bits/utmp.h: Likewise.
81726         * sysdeps/unix/sysv/bits/utsname.h: Likewise.
81728         * sysdeps/unix/sysv/setrlimit.c: Remove file.
81730         * sysdeps/unix/xmknod.c: Remove file.
81731         * sysdeps/unix/syscalls.list (sys_mknod): Remove.
81733         * sysdeps/unix/sysv/settimeofday.c: Remove file.
81735         * sysdeps/unix/sysv/i386/time.S: Remove file.
81737         * sysdeps/unix/fxstat.c: Remove file.
81738         * sysdeps/unix/xstat.c: Likewise.
81739         * sysdeps/unix/syscalls.list (sys_fstat, sys_stat): Remove.
81741         * sysdeps/unix/sysv/sigaction.c: Remove file.
81743         * sysdeps/unix/sysv/Makefile [termio.h not in sysdep_headers]
81744         (sysdep_headers): Remove variable.
81745         [termio.h not in sysdep_headers] (generated): Likewise.
81746         [termio.h not in sysdep_headers] ($(objpfx)termio.h): Remove rule.
81747         * sysdeps/unix/sysv/sysv_termio.h: Remove file.
81748         * sysdeps/unix/sysv/tcdrain.c: Likewise.
81749         * sysdeps/unix/sysv/tcflow.c: Likewise.
81750         * sysdeps/unix/sysv/tcflush.c: Likewise.
81751         * sysdeps/unix/sysv/tcgetattr.c: Likewise.
81752         * sysdeps/unix/sysv/tcgetpgrp.c: Likewise.
81753         * sysdeps/unix/sysv/tcsendbrk.c: Likewise.
81754         * sysdeps/unix/sysv/tcsetattr.c: Likewise.
81755         * sysdeps/unix/sysv/tcsetpgrp.c: Likewise.
81757         * sysdeps/unix/siglist.c: Remove file.
81759         * sysdeps/unix/getppid.S: Remove file.
81761         * sysdeps/unix/mkdir.c: Remove file.
81762         * sysdeps/unix/rmdir.c: Likewise.
81764 2012-04-19  Andreas Schwab  <schwab@linux-m68k.org>
81766         * sysdeps/gnu/errlist-compat.awk (END): Correct computation of
81767         ERR_MAX value.
81768         * sysdeps/unix/sysv/linux/Versions (GLIBC_2.12): Adjust
81769         errlist-compat value.
81771 2012-04-18  David S. Miller  <davem@davemloft.net>
81773         * sysdeps/generic/memcopy.h (reg_char): Delete.
81774         * debug/strcat_chk.c: Use char, not reg_char.
81775         * debug/strcpy_chk.c: Likewise.
81776         * debug/strncat_chk.c: Likewise.
81777         * debug/strncpy_chk.c: Likewise.
81778         * string/memchr.c: Likewise.
81779         * string/memrchr.c: Likewise.
81780         * string/rawmemchr.c: Likewise.
81781         * string/strcat.c: Likewise.
81782         * string/strchr.c: Likewise.
81783         * string/strchrnul.c: Likewise.
81784         * string/strcmp.c: Likewise.
81785         * string/strcpy.c: Likewise.
81786         * string/strncat.c: Likewise.
81787         * string/strncmp.c: Likewise.
81788         * string/strncpy.c: Likewise.
81790 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
81792         * sysdeps/powerpc/memmove.c: New file based on string/memmove.c where
81793         __builtin_memcopy is called when src and dest ranges are known to not
81794         overlap.
81796 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
81798         * sysdeps/powerpc/powerpc64/power6/wordcopy.c
81799         (_wordcopy_fwd_dest_aligned): Replace switch with a parameterized
81800         fwd_align_merge macro call.
81801         (_wordcopy_bwd_dest_aligned): Replace switch with a parameterized
81802         bwd_align_merge macro call.
81803         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
81805 2012-04-18  Will Schmidt  <will_schmidt@vnet.ibm.com>
81807         * sysdeps/powerpc/powerpc64/power6/wordcopy.c: Add fwd_align_merge and
81808         bwd_align_merge macros.
81809         (_wordcopy_fwd_dest_aligned): Use fwd_align_merge macro calls.
81810         (_wordcopy_bwd_dest_aligned): Use bwd_align_merge macro calls.
81811         * sysdeps/powerpc/powerpc32/power6/wordcopy.c: Likewise.
81813 2012-04-18  David S. Miller  <davem@davemloft.net>
81815         * sysdeps/sparc/sparc64/memcopy.h: Delete.
81817 2012-04-18  Andreas Jaeger  <aj@suse.de>
81819         [BZ #6794]
81820         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Moved to ...
81821         * sysdeps/ieee754/ldbl-96/e_ilogbl.c: ... here.
81822         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
81824         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Moved to ...
81825         * sysdeps/ieee754/ldbl-128/e_ilogbl.c: ... here.
81826         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
81828         * sysdeps/ieee754/ldbl-64-128/s_ilogbl.c: Moved to ...
81829         * sysdeps/ieee754/ldbl-64-128/e_ilogbl.c: ... here.
81830         Adjust for changed ldbl-128 files.
81832         * sysdeps/sparc/sparc64/soft-fp/s_ilogbl.c: Moved to ...
81833         * sysdeps/sparc/sparc64/soft-fp/e_ilogbl.c: ... here.
81834         Rename __ilogbl to __ieee754_ilogbl and remove weak_alias.
81836 2012-04-17  David S. Miller  <davem@davemloft.net>
81838         * sysdeps/sparc/sparc32/memcopy.h: Delete.
81840 2012-04-17  Andreas Schwab  <schwab@linux-m68k.org>
81842         * sysdeps/i386/fpu/e_ilogb.S: Remove __ilogb*_finite alias.
81843         * sysdeps/i386/fpu/e_ilogbf.S: Likewise.
81844         * sysdeps/i386/fpu/e_ilogbl.S: Likewise.
81845         * sysdeps/x86_64/fpu/e_ilogbl.S: Likewise.
81846         * sysdeps/ieee754/dbl-64/e_ilogb.c: Likewise.
81847         * sysdeps/ieee754/flt-32/e_ilogbf.c: Likewise.
81849 2012-04-17  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
81851         [BZ #6794]
81852         * math/Makefile: Add e_ilogb and w_ilogb, remove s_logb.
81853         * math/libm-test.inc: Add ilogb errno and exception tests.
81854         * math/w_ilogb.c: New file: ilogb wrapper.
81855         * math/w_ilogbf.c: New file: ilogbf wrapper.
81856         * math/w_ilogbl.c: New file: ilogbl wrapper.
81857         * sysdeps/generic/math_private.h: Add __ieee754_ilogb[l|f] prototypes.
81858         * sysdeps/i386/fpu/s_ilogb.S: Moved to ...
81859         * sysdeps/i386/fpu/e_ilogb.S: ... here. Also fixed a FE_DIVBYZERO
81860         exception being thrown with 0.0 as argument.
81861         * sysdeps/i386/fpu/s_ilogbf.S: Moved to ...
81862         * sysdeps/i386/fpu/e_ilogbf.S: ... here. Also fixed a FE_DIVBYZERO
81863         exception being thrown with 0.0 as argument.
81864         * sysdeps/i386/fpu/s_ilogbl.S: Moved to ...
81865         * sysdeps/i386/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
81866         exception being thrown with 0.0 as argument.
81867         * sysdeps/x86_64/fpu/s_ilogbl.S: Moved to ...
81868         * sysdeps/x86_64/fpu/e_ilogbl.S: ... here. Also fixed a FE_DIVBYZERO
81869         exception being thrown with 0.0 as argument.
81870         * sysdeps/ieee754/dbl-64/s_ilogb.c: Moved to ...
81871         * sysdeps/ieee754/dbl-64/e_ilogb.c: ... here.
81872         * sysdeps/ieee754/flt-32/s_ilogbf.c: Moved to ...
81873         * sysdeps/ieee754/flt-32/e_ilogbf.c: ... here.
81874         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Moved to ...
81875         * sysdeps/ieee754/ldbl-128ibm/e_ilogbl.c: ... here.
81876         * sysdeps/ieee754/ldbl-opt/s_ilogb.c: Moved to ...
81877         * sysdeps/ieee754/ldbl-opt/w_ilogb.c: ... here.
81878         * sysdeps/ieee754/ldbl-opt/w_ilogbl.c: New file: ilogbl wrapper.
81880 2012-04-17  Petr Baudis  <pasky@ucw.cz>
81882         * include/sys/uio.h: Change __vector to __iovec to avoid clash
81883         with altivec.
81885 2012-04-16  Marek Polacek  <polacek@redhat.com>
81887         * elf/pldd-xx.c: Rename static_assert to pldd_assert.
81889 2012-04-16  Marek Polacek  <polacek@redhat.com>
81891         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Reverse the
81892         operands of fdivp instruction.
81894 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
81896         * elf/tst-auditmod1.c: Check __ILP32__ instead of __LP64__.
81897         * elf/tst-auditmod3b.c: Likewise.
81898         * elf/tst-auditmod4b.c: Likewise.
81899         * elf/tst-auditmod5b.c: Likewise.
81900         * elf/tst-auditmod6b.c: Likewise.
81901         * elf/tst-auditmod6c.c: Likewise.
81902         * elf/tst-auditmod7b.c: Likewise.
81903         * sysdeps/x86_64/ffsll.c (ffsl): Likewise.
81904         * sysdeps/x86_64/preconfigure.in: Likewise.
81905         * sysdeps/x86_64/preconfigure: Regenerated.
81907 2012-04-13  H.J. Lu  <hongjiu.lu@intel.com>
81909         * sysdeps/x86_64/bits/wordsize.h (__WORDSIZE): Also check
81910         __ILP32__.
81912 2012-04-13  Antoine Balestrat <merkil33@gmail.com>
81914         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
81915         (__get_clockfreq_via_proc_openprom): Fix test on wrong variable.
81917 2012-04-13  Chris Leonard  <cjlhomeaddress@gmail.com>
81919         [BZ #13973]
81920         * locale/iso-639.def: Fix gl language name. Spotted by
81921         Yaron Shahrabani.
81923 2012-04-12  Roland McGrath  <roland@hack.frob.com>
81925         [BZ #2074]
81926         * libio/libio.h (__io_write_fn): Update comment.
81928 2012-04-12  Petr Baudis  <pasky@ucw.cz>
81930         [BZ #2074]
81931         * stdio.texi (Hook Functions): The user provided writer function
81932         is not allowed to return -1.
81934 2012-04-11  David S. Miller  <davem@davemloft.net>
81936         * sysdeps/sparc/fpu/libm-test-ulps: Update.
81938 2012-04-11  Mike Frysinger  <vapier@gentoo.org>
81940         * .gitignore: Add /ports, /linuxthreads, and /linuxthreads_db.
81941         Add a leading slash to rtkaio.
81943 2012-04-11  Jim Meyering  <meyering@redhat.com>
81945         [BZ #11959]
81946         * libio/stdio.h (fwrite, fwrite_unlocked): Remove __wur.
81947         It is not necessarily an error to ignore fwrite's return
81948         value.  One can reliably use ferror to test for errors after
81949         the fact.
81951 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
81953         * bits/types.h (__snseconds_t): New type.
81954         * time/time.h (struct timespec): Use __snseconds_t on tv_nsec.
81956         * bits/typesizes.h (__SNSECONDS_T_TYPE): New macro.
81957         * sysdeps/unix/bsd/bsd4.4/freebsd/bits/typesizes.h
81958         (__SNSECONDS_T_TYPE): Likewise.
81959         * sysdeps/unix/sysv/linux/s390/bits/typesizes.h
81960         (__SNSECONDS_T_TYPE): Likewise.
81961         * sysdeps/unix/sysv/linux/sparc/bits/typesizes.h
81962         (__SNSECONDS_T_TYPE): Likewise.
81964 2012-04-10  Andreas Jaeger  <aj@suse.de>
81966         [BZ #2636]
81967         * manual/time.texi (Processor Time): Return type of times is
81968         elapsed real time since an arbitrary point in the past.
81969         (CPU Time): Move CLK_TCK from here...
81970         (Processor Time): ...to here.  Correct description.
81971         * manual/conf.texi (Constants for Sysconf): Correct description of
81972         _SC_CLK_TCK.
81974 2012-04-10  David S. Miller  <davem@davemloft.net>
81976         [BZ #13967]
81977         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Handle the case
81978         where the is a gap between DT_REL(A) and DT_JMPREL.
81980 2012-04-10  H.J. Lu  <hongjiu.lu@intel.com>
81982         * sysdeps/x86_64/bits/byteswap.h: Include <features.h>.
81983         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
81984         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
81986 2012-04-10  Siddhesh Poyarekar  <siddhesh@redhat.com>
81988         * elf/dl-support.c (_dl_inhibit_cache): New variable.
81989         * elf/rtld.c (_rtld_global_ro): New member _dl_inhibit_cache.
81990         (dl_main): Handle --inhibit-cache.
81991         * sysdeps/generic/ldsodefs.h (struct rtld_global_ro): New member
81992         _dl_inhibit_cache.
81993         * elf/dl-load.c (_dl_map_object): Use it.
81994         * elf/Makefile: Define SYSCONFDIR when building rtld.c.
81996 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
81998         [BZ #13872]
81999         * sysdeps/i386/fpu/e_powl.S (p78): New object.
82000         (__ieee754_powl): Saturate large exponents rather than testing for
82001         overflow of y*log2(x).
82002         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
82003         * math/libm-test.inc (pow_test): Do not permit spurious overflow
82004         exceptions.
82006         [BZ #11521]
82007         * math/s_ctan.c: Include <float.h>.
82008         (__ctan): Avoid internal overflow or cancellation in calculating
82009         denominator.
82010         * math/s_ctanf.c: Likewise.
82011         * math/s_ctanl.c: Likewise.
82012         * math/s_ctanh.c: Likewise.
82013         * math/s_ctanhf.c: Likewise.
82014         * math/s_ctanhl.c: Likewise.
82015         * math/libm-test.inc (ctan_test): Add more tests.
82016         (ctanh_test): Likewise.
82017         * sysdeps/i386/fpu/libm-test-ulps: Update.
82018         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82020 2012-04-09  Andreas Jaeger  <aj@suse.de>
82022         [BZ #6894]
82023         * manual/filesys.texi (Directory Entries): Mention that d_namlen
82024         is an optional BSD extension.
82026         [BZ #10254]
82027         * manual/stdio.texi (Opening Streams): Document additional fopen
82028         parameters.
82030 2012-04-09  Roland McGrath  <roland@hack.frob.com>
82032         * sysdeps/i386/fpu/bits/mathinline.h (__sincos_code): Don't clobber
82033         %eax without telling the compiler.
82035 2012-04-09  Carlos O'Donell  <carlos_odonell@mentor.com>
82037         [BZ # 13963]
82038         * manual/install.texi: Use sourceware.org.
82040 2012-04-09  Joseph Myers  <joseph@codesourcery.com>
82042         [BZ #13873]
82043         * sysdeps/ieee754/dbl-64/e_pow.c (huge, tiny): New variables.
82044         (__ieee754_pow): Generate overflow and underflow using huge*huge
82045         and tiny*tiny rather than just returning constant infinity or zero
82046         for large exponents.
82047         * math/libm-test.inc (pow_test): Require overflow exceptions for
82048         applicable cases of large exponents.
82050         [BZ #706]
82051         * sysdeps/i386/fpu/e_pow.S (p10): New object.
82052         (__ieee754_pow): Use iterative multiplication algorithm only for
82053         integer exponents with absolute value below 1024.  Check for odd
82054         integer exponents when using algorithm for real exponents.
82055         * math/libm-test.inc (pow_test): Add more tests.
82056         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
82058 2012-04-08  Joseph Myers  <joseph@codesourcery.com>
82060         [BZ #13705]
82061         * math/libm-test.inc (exp_test): Do not allow overflow exception
82062         on underflow test.
82064 2012-04-08  Aurelien Jarno  <aurelien@aurel32.net>
82066         [BZ #13705]
82067         * sysdeps/ieee754/dbl-64/w_exp.c (__exp): Use __kernel_standard
82068         instead of __kernel_standard_f.
82070 2012-04-08  Mike Frysinger  <vapier@gentoo.org>
82072         * sysdeps/i386/i686/memset_chk.S: Update copyright year.
82073         * sysdeps/x86_64/memset_chk.S: Likewise.
82075 2012-04-08  Andreas Jaeger  <aj@suse.de>
82077         [BZ #10153]
82078         * manual/startup.texi (Environment Access): Describe return value
82079         for putenv and setenv.
82081         [BZ #6895]
82082         * manual/filesys.texi (Directory Entries): Add description for
82083         DT_LNK.
82085         [BZ #6890]
82086         * manual/filesys.texi (Directory Entries): Clarify that it's file
82087         system not operating system in the description of DT_UNKNOWN.
82089         [BZ #6578]
82090         * manual/syslog.texi (closelog): Fix reference, it's openlog.
82092 2012-04-08  Stephen Compall  <s11@member.fsf.org>
82094         [BZ #6649]
82095         * manual/llio.texi (Opening and Closing Files): Add cross
82096         reference to explain mode argument.
82098 2012-04-07  Mike Frysinger  <vapier@gentoo.org>
82100         * sysdeps/i386/i686/memset_chk.S: Change PIC to SHARED.
82101         * sysdeps/x86_64/memset_chk.S: Likewise.
82103 2012-04-07  David S. Miller  <davem@davemloft.net>
82105         * elf/elf.h (R_SPARC_WDISP10): Define.
82106         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Handle
82107         R_SPARC_SIZE32.
82108         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Handle
82109         R_SPARC_SIZE64 and R_SPARC_H34.
82111 2012-04-07  Carlos O'Donell  <carlos_odonell@mentor.com>
82113         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Simplify
82114         conditions and remove no longer applicable assertion.
82116 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
82118         * bits/byteswap.h: Include <features.h>.
82119         (__bswap_32): Use __builtin_bswap32 for GCC >= 4.2.
82120         (__bswap_64): Use __builtin_bswap64 for GCC >= 4.2.
82122 2012-04-06  H.J. Lu  <hongjiu.lu@intel.com>
82124         * bits/byteswap.h (__bswap_16): Removed.
82125         Include <bits/byteswap-16.h> to get __bswap_16.
82126         * sysdeps/i386/bits/byteswap.h: Likewise.
82127         * sysdeps/s390/bits/byteswap.h: Likewise.
82128         * sysdeps/x86_64/bits/byteswap.h: Likewise.
82129         * bits/byteswap-16.h: New file.
82130         * sysdeps/i386/bits/byteswap-16.h: Likewise.
82131         * sysdeps/s390/bits/byteswap-16.h: Likewise.
82132         * sysdeps/x86_64/bits/byteswap-16.h: Likewise.
82133         * string/Makefile (headers): Add bits/byteswap-16.h.
82135 2012-04-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
82137         [BZ #13895]
82138         * nss/nsswitch.c (nss_load_library, __nss_lookup_function): Avoid
82139         extra indirection.
82140         * nss/Makefile (tests-static, tests): Add tst-nss-static.
82141         * nss/tst-nss-static.c: New.
82143 2012-04-06  Robert Millan  <rmh@gnu.org>
82145         [BZ #6486]
82146         * manual/llio.texi (File Position Primitive): lseek
82147         refers to WHENCE when it really means OFFSET.
82149 2012-04-06  Andreas Jaeger  <aj@suse.de>
82151         * nss/nss_db/db-initgroups.c: Include <string.h> for strlen and
82152         strncmp declarations.
82154         * abilist/libc.abilist: Add __poll and __ppoll.
82156 2012-04-05  David S. Miller  <davem@davemloft.net>
82158         * scripts/check-local-headers.sh: Accept a host triplet in the
82159         path matched by the exclude regexp.
82161         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Reduce down to one
82162         definition.
82163         * sysdeps/powerpc/powerpc32/dl-machine.h
82164         (ELF_MACHINE_PLTREL_OVERLAP): Delete.
82165         * sysdeps/s390/s390-32/dl-machine.h
82166         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
82167         * sysdeps/sparc/sparc32/dl-machine.h
82168         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
82169         * sysdeps/sparc/sparc64/dl-machine.h
82170         (ELF_MACHINE_PLTREL_OVERLAP): Likewise.
82172         * elf/rtld.c (dl_main): If DL_DEBUG_UNUSED is enabled, turn off
82173         lazy binding.
82174         * elf/dl-lookup.c (_dl_lookup_symbol_x): If DL_DEBUG_UNUSED, ignore
82175         undefined symbol errors.
82177         * elf/rtld.c (dl_main): Skip VDSO when checking for unused
82178         DT_NEEDED entries.
82180 2012-04-05  Michael Matz  <matz@suse.de>
82182         [BZ #13592]
82183         * sysdeps/x86_64/memset.S: Fix size paramater comparisions.
82185 2012-04-05  Andreas Jaeger  <aj@suse.de>
82187         [BZ #13908]
82188         * stdlib/stdlib.h: Don't warn about unused result of mktemp, fix
82189         comment.
82191 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
82193         * sysdeps/sh/sh4/fpu/fesetround.c (fesetround): Fix return value
82194         which ROUND is no valid rounding mode.
82196 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
82198         * sysdeps/sh/sh4/fpu/fegetenv.c (fegetenv): Set fpscr register which
82199         read again.
82200         * sysdeps/sh/sh4/fpu/ftestexcept.c: Likewise.
82202 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
82204         * sysdeps/sh/sh4/fpu/fraiseexcpt.c (feraiseexcept): Produce
82205         an exception using FPU order intentionally.
82207 2012-04-05  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
82209         * sysdeps/sh/sh4/fpu/fedisblxcpt.c: New file.
82210         * sysdeps/sh/sh4/fpu/feenablxcpt.c: New file.
82211         * sysdeps/sh/sh4/fpu/fegetexcept.c: New file.
82212         * sysdeps/sh/sh4/fpu/feupdateenv.c: New file.
82214 2012-04-05  Simon Josefsson  <simon@josefsson.org>
82216         [BZ #12340]
82217         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Return ERANGE instead of
82218         EINVAL when BUFLEN is too smal.
82220 2012-04-05  Thomas Schwinge  <thomas@codesourcery.com>
82222         [BZ #13553]
82223         * sysdeps/mach/i386/machine-lock.h: Use volatile instead of __volatile.
82224         * sysdeps/mach/powerpc/machine-lock.h: Likewise.
82226 2012-04-03  Andreas Jaeger  <aj@suse.de>
82228         [BZ #13938]
82229         * manual/setjmp.texi (System V contexts): Fix sentence.
82231         [BZ #13926]
82232         * sysdeps/i386/bits/byteswap.h [!__GNUC__](__bswap_constant_64):
82233         New macro for this case.
82234         [!__GNUC__] (__bswap_64): New inline function for this case.
82235         * sysdeps/x86_64/bits/byteswap.h: Likewise.
82236         * bits/byteswap.h: Likewise.
82237         * sysdeps/s390/bits/byteswap.h: [!__GNUC__] (__bswap_64): Use
82238         ull, guard with __GLIBC_HAVE_LONG_LONG.
82240         * string/endian.h (htobe64,htole64,be64toh,le64toh): Guard with
82241         __GLIBC_HAVE_LONG_LONG.
82243         * string/byteswap.h (bswap_64): Guard with __GLIBC_HAVE_LONG_LONG.
82244         Include <features.h> for __GLIBC_HAVE_LONG_LONG.
82246 2012-04-02 Tulio Magno Quites Machado Filho <tuliom@linux.vnet.ibm.com>
82248         [BZ #13691]
82249         * iconvdata/tcvn5712-1.c (FROM_LOOP): Test end of input using
82250         inptr and inend, rather than using last_ch.
82252 2012-04-02  David S. Miller  <davem@davemloft.net>
82254         With help from Paul Eggert, Carlos O'Donell, and Roland McGrath.
82255         * stdio-common/printf-parse.h (read_int): Change return type to
82256         'int', return -1 on INT_MAX overflow.
82257         * stdio-common/vfprintf.c (vfprintf): Validate width and precision
82258         against overflow of INT_MAX.  Set errno to EOVERFLOW when 'done'
82259         overflows INT_MAX.  Check for overflow of in-format-string precision
82260         values properly.  Use EOVERFLOW rather than ERANGE throughout.  Use
82261         SIZE_MAX not INT_MAX for integer overflow test.
82262         * stdio-common/printf-parsemb.c: If read_int signals an overflow,
82263         skip the construct in the format string but do not record anything.
82264         * stdio-common/bug22.c: Adjust to test both width/prevision
82265         INT_MAX overflow as well as total length INT_MAX overflow.  Check
82266         explicitly for proper errno values.
82268 2012-04-02  Thomas Schwinge  <thomas@codesourcery.com>
82270         * string/test-memcmp.c [! WIDE]: #include <limits.h> for CHAR_MIN,
82271         CHAR_MAX.
82272         * string/test-strcmp.c [! WIDE]: Likewise.
82273         * time/tst-mktime2.c: Likewise for INT_MAX.
82274         * string/test-string.h: #include <sys/param.h> for MIN.
82276         * csu/init-first.c (__libc_init_first): Call __ctype_init.
82277         * sysdeps/i386/init-first.c (init): Likewise.
82278         * sysdeps/mach/hurd/i386/init-first.c (posixland_init): Likewise.
82279         * sysdeps/mach/hurd/powerpc/init-first.c (posixland_init): Likewise.
82280         * sysdeps/sh/init-first.c (init): Likewise.
82282 2012-04-01  Ulrich Drepper  <drepper@gmail.com>
82284         * po/ru.po: Update from translation team.
82285         * po/vi.po: Likewise.
82287 2012-03-31  Siddhesh Poyarekar  <siddhesh@redhat.com>
82289         * resolv/nss_dns/dns-host.c: Merge copyright years.
82291 2012-03-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
82293         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
82294         Optimize memcpy with prefetch if
82295         DATA_CACHE_SIZE_HALF <= len <  SHARED_CACHE_SIZE_HALF and
82296         src, dst pointers have unequal 16 byte alignments.
82298 2012-03-30  Siddhesh Poyarekar  <siddhesh@redhat.com>
82300         [BZ #13928]
82301         * resolv/nss_dns/dns-host.c (getanswer_r): Also consider ttl
82302         from a CNAME entry and return the minimum ttl for the query.
82303         (gaih_getanswer_slice): Likewise.
82305 2012-03-30  Jeff Law  <law@redhat.com>
82307         * crypt/md5-crypt.c (__md5_crypt_r): Avoid unbounded alloca uses
82308         due to long keys.
82309         * crypt/sha256-crypt.c (__sha256_crypt_r): Likewise.
82310         * crypt/sha512-crypt.c (__sha512_crypt_r): Likewise.
82312         * resolv/nss_dns/dns-host.c: Update copyright year.
82314 2012-03-30  Ulrich Drepper  <drepper@gmail.com>
82316         * resolv/res_send.c (send_dg): Use sendmmsg if we have to write two
82317         requests to save a system call.  Fix check that all bytes are sent.
82319         * sysdeps/unix/sysv/linux/bits/socket.h (struct mmsghdr): Fix up
82320         comments for sendmmsg.
82322 2012-03-30  Tulio Magno Quites Machado Filho  <tuliom@linux.vnet.ibm.com>
82324         [BZ #13691]
82325         * iconvdata/tcvn5712-1.c (FROM_LOOP): Fix a bug when converting strings
82326         with only 1 character between 0x0041 and 0x01b0.
82327         * wcsmbs/Makefile (tests): Add tst-mbsnrtowcs.
82328         * wcsmbs/tst-mbsnrtowcs.c: New file.
82330 2012-03-29  David S. Miller  <davem@davemloft.net>
82332         * libio/fileops.c (_IO_new_file_xsputn): Don't try to optimize
82333         small copies by hand.
82335 2012-03-28  Siddhesh Poyarekar  <siddhesh@redhat.com>
82337         [BZ #13761]
82338         * nis/nss_compat/compat-initgroups.c (getgrent_next_nss)
82339         (_nss_compat_initgroups_dyn): Fall back to malloc/free for large
82340         group memberships.
82342 2012-03-28  David S. Miller  <davem@davemloft.net>
82344         * sysdeps/sparc/sparc32/memcpy.S: Implement mempcpy using a stub
82345         that branches into memcpy.
82346         * sysdeps/sparc/sparc64/memcpy.S: Likewise.
82347         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara1.S: Likewise.
82348         * sysdeps/sparc/sparc64/multiarch/memcpy-niagara2.S: Likewise.
82349         * sysdeps/sparc/sparc64/multiarch/memcpy-ultra3.S: Likewise.
82350         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Add mempcpy multiarch
82351         bits.
82352         * sysdeps/sparc/sparc64/rtld-memcpy.c: Include generic mempcpy
82353         implementation too.
82354         * sysdeps/sparc/mempcpy.S: New file.
82356         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Provide a hidden def to
82357         the IFUNC routine in the libc case.
82358         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
82360         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memset.c: New file.
82361         * sysdeps/sparc/sparc32/sparcv9/multiarch/rtld-memcpy.c: New file.
82362         * sysdeps/sparc/sparc32/sparcv9/rtld-memset.c: New file.
82363         * sysdeps/sparc/sparc32/sparcv9/rtld-memcpy.c: New file.
82364         * sysdeps/sparc/sparc64/multiarch/rtld-memset.c: New file.
82365         * sysdeps/sparc/sparc64/multiarch/rtld-memcpy.c: New file.
82366         * sysdeps/sparc/sparc64/rtld-memset.c: New file.
82367         * sysdeps/sparc/sparc64/rtld-memcpy.c: New file.
82369         * sysdeps/sparc/sparc64/multiarch/memset-niagara1.S: Unroll main
82370         loop to 256 bytes instead of 64 bytes and fix test signedness.
82372         * sysdeps/sparc/Makefile: Add -fPIC to ASFLAGS-.os here....
82373         * sysdeps/sparc/sparc32/Makefile: rather than here...
82374         * sysdeps/sparc/sparc64/Makefile: and here.
82376 2012-03-28  Ulrich Drepper  <drepper@gmail.com>
82378         * malloc/mallocbug.c: Avoid warnings about unused variables.
82380 2012-02-22  Siddhesh Poyarekar  <siddhesh@redhat.com>
82382         [BZ #13760]
82383         * resolv/nss_dns/dns-host.c (gaih_getanswer): Look for errno
82384         in the right place. Discard and retry query if response is
82385         larger than input buffer size.
82387 2012-03-28  Joseph Myers  <joseph@codesourcery.com>
82389         [BZ #369]
82390         [BZ #2678]
82391         [BZ #3866]
82392         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Take absolute value of
82393         x for large integer exponent.
82394         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Likewise.
82395         * sysdeps/i386/fpu/e_powl.S (__ieee754_powl): Likewise.  Adjust
82396         sign of result as needed afterwards.
82397         * sysdeps/x86_64/fpu/e_powl.S (__ieee754_powl): Likewise.
82398         * sysdeps/ieee754/k_standard.c (__kernel_standard): Handle sign of
82399         result for underflowing pow the same as for overflow.
82400         (__kernel_standard_l): Handle powl overflow and underflow here
82401         rather than calling __kernel_standard.
82402         * math/libm-test.inc (pow_test): Add more tests.
82404         [BZ #3868]
82405         [BZ #13879]
82406         [BZ #13910]
82407         [BZ #13911]
82408         [BZ #13912]
82409         [BZ #13913]
82410         [BZ #13915]
82411         [BZ #13916]
82412         [BZ #13917]
82413         [BZ #13918]
82414         [BZ #13919]
82415         [BZ #13920]
82416         [BZ #13921]
82417         * sysdeps/generic/math_private.h (__kernel_standard_l): Declare.
82418         * sysdeps/ieee754/k_standard.c: Include <float.h>.
82419         (__kernel_standard_l): New function.
82420         * math/w_acoshl.c (__acoshl): Use __kernel_standard_l instead of
82421         __kernel_standard.
82422         * math/w_acosl.c (__acosl): Likewise.
82423         * math/w_asinl.c (__asinl): Likewise.
82424         * math/w_atan2l.c (__atan2l): Likewise.
82425         * math/w_atanhl.c (__atanhl): Likewise.
82426         * math/w_coshl.c (__coshl): Likewise.
82427         * math/w_exp10l.c (__exp10l): Likewise.
82428         * math/w_exp2l.c (__exp2l): Likewise.
82429         * math/w_fmodl.c (__fmodl): Likewise.
82430         * math/w_hypotl.c (__hypotl): Likewise.
82431         * math/w_j0l.c (__j0l, __y0l): Likewise.
82432         * math/w_j1l.c (__j1l, __y1l): Likewise.
82433         * math/w_jnl.c (__jnl, __ynl): Likewise.
82434         * math/w_lgammal.c (__lgammal): Likewise.
82435         * math/w_log10l.c (__log10l): Likewise.
82436         * math/w_log2l.c (__log2l): Likewise.
82437         * math/w_logl.c (__logl): Likewise.
82438         * math/w_powl.c (__powl): Likewise.
82439         * math/w_remainderl.c (__remainderl): Likewise.
82440         * math/w_scalbl.c (sysv_scalbl): Likewise.
82441         * math/w_sinhl.c (__sinhl): Likewise.
82442         * math/w_sqrtl.c (__sqrtl): Likewise.
82443         * math/w_tgammal.c (__tgammal): Likewise.
82444         * sysdeps/ieee754/ldbl-128/w_expl.c (__expl): Likewise.
82445         * sysdeps/ieee754/ldbl-96/w_expl.c (__expl): Likewise.
82446         * math/libm-test.inc (acos_test): Add more tests.
82447         (acosh_test): Likewise.
82448         (asin_test): Likewise.
82449         (atanh_test): Likewise.
82450         (exp_test): Likewise.
82451         (exp10_test): Likewise.
82452         (exp2_test): Likewise.
82453         (expm1_test): Likewise.
82454         (lgamma_test): Likewise.
82455         (log_test): Likewise.
82456         (log10_test): Likewise.
82457         (log1p_test): Likewise.
82458         (log2_test): Likewise.
82459         (pow_test): Do not allow some spurious overflow exceptions.
82460         (sqrt_test): Add more tests.
82461         (tgamma_test): Likewise.
82462         (y0_test): Likewise.
82463         (y1_test): Likewise.
82464         (yn_test): Likewise.
82466 2012-03-27  Anton Blanchard  <anton@samba.org>
82468         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Define MAP_STACK and
82469         MAP_HUGETLB.
82470         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
82471         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
82472         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
82474 2012-03-27  David S. Miller  <davem@davemloft.net>
82476         * conform/Makefile: Run run-conformtest.sh using $(BASH).
82478         * sysdeps/sparc/sparc64/Makefile (ASFLAGS-.os): Move before
82479         have-as-vis3 check.
82481 2012-03-27  Andreas Jaeger  <aj@suse.de>
82483         * sysdeps/x86_64/elf/configure.in: Moved to ...
82484         * sysdeps/x86_64/configure.in: ... here.
82485         * sysdeps/x86_64/elf/start.S: Moved to ...
82486         * sysdeps/x86_64/start.S: ... here.
82487         * sysdeps/x86_64/elf/configure: Delete.
82489         * sysdeps/x86_64/configure.in: Merge contents from
82490         sysdeps/i386/configure.in (without i686 check).
82492         * sysdeps/i386/elf/Versions: Merge into ...
82493         * sysdeps/i386/Versions: ... this.
82494         * sysdeps/i386/elf/Versions: Delete file.
82495         * sysdeps/i386/elf/start.S: Moved to ...
82496         * sysdeps/i386/start.S: ...here.
82497         * sysdeps/i386/elf/configure.in: Merge into...
82498         * sysdeps/i386/configure.in: ...here.
82499         * sysdeps/i386/elf/configure.in: Delete file.
82500         * sysdeps/i386/elf/configure: Delete file.
82502         * sysdeps/generic/elf/backtracesyms.c: Moved to ...
82503         * debug/backtracesyms.c: ... here.
82504         * sysdeps/generic/elf/backtracesymsfd.c: Moved to ...
82505         * debug/backtracesymsfd.c: ... here.
82506         * sysdeps/generic/elf/ifunc-sel.h: Moved to ...
82507         * sysdeps/generic/ifunc-sel.h: ... here.
82509         * sysdeps/unix/i386/start.c: Delete file.
82510         * sysdeps/unix/sparc/start.c: Delete file.
82511         * sysdeps/unix/start.c: Delete file.
82513         * sysdeps/sh/elf/configure.in: Moved to ...
82514         * sysdeps/sh/configure.in: ... here.
82515         * sysdeps/sh/elf/start.S: Moved to ...
82516         * sysdeps/sh/start.S: ... here.
82517         * sysdeps/sh/elf/configure: Delete file.
82519         * sysdeps/powerpc/powerpc64/elf/bzero.S: Moved to ...
82520         * sysdeps/powerpc/powerpc64/bzero.S: ... here.
82521         * sysdeps/powerpc/powerpc64/elf/entry.h: Moved to ...
82522         * sysdeps/powerpc/powerpc64/entry.h: ... here.
82523         * sysdeps/powerpc/powerpc64/elf/start.S: Moved to ...
82524         * sysdeps/powerpc/powerpc64/start.S: here.
82525         * sysdeps/powerpc/powerpc64/elf/Makefile: Merge into ...
82526         * sysdeps/powerpc/powerpc64/Makefile: ... this.
82527         * sysdeps/powerpc/powerpc64/elf/configure.in: Merge into ...
82528         * sysdeps/powerpc/powerpc64/configure.in: ... this.
82529         * sysdeps/powerpc/powerpc64/elf/configure: Delete file.
82531         * sysdeps/powerpc/powerpc32/elf/bzero.S: Moved to ...
82532         * sysdeps/powerpc/powerpc32/bzero.S: ... here.
82533         * sysdeps/powerpc/powerpc32/elf/start.S: Moved to ...
82534         * sysdeps/powerpc/powerpc32/start.S: ... here.
82535         * sysdeps/powerpc/powerpc32/elf/configure.in: Merge into ...
82536         * sysdeps/powerpc/powerpc32/configure.in: ... this.
82537         * sysdeps/powerpc/powerpc32/elf/configure: Delete file.
82539         * sysdeps/powerpc/elf/ifunc-sel.h: Moved to ...
82540         * sysdeps/powerpc/ifunc-sel.h: ... here.
82541         * sysdeps/powerpc/elf/rtld-global-offsets.sym: Moved to ...
82542         * sysdeps/powerpc/rtld-global-offsets.sym: ... here.
82544         * sysdeps/sparc/elf/configure.in: Moved to ...
82545         * sysdeps/sparc/configure.in: ... here.
82546         * sysdeps/sparc/elf/configure: Delete file.
82547         * sysdeps/sparc/sparc32/elf/start.S: Moved to ...
82548         * sysdeps/sparc/sparc32/start.S: ... here.
82549         * sysdeps/sparc/sparc64/elf/start.S: Moved to ...
82550         * sysdeps/sparc/sparc64/start.S: ... here.
82551         * sysdeps/sparc/sparc32/elf/Makefile: Merged into ...
82552         * sysdeps/sparc/sparc32/Makefile: ... this.
82553         * sysdeps/sparc/sparc64/elf/Makefile: Merged into ...
82554         * sysdeps/sparc/sparc64/Makefile: ... this.
82556         * sysdeps/s390/s390-32/elf/bsd-_setjmp.S: Moved to ...
82557         * sysdeps/s390/s390-32/bsd-_setjmp.S: ... here.
82558         * sysdeps/s390/s390-32/elf/bsd-setjmp.S: Moved to ...
82559         * sysdeps/s390/s390-32/bsd-setjmp.S: ... here.
82560         * sysdeps/s390/s390-32/elf/setjmp.S: Moved to ...
82561         * sysdeps/s390/s390-32/setjmp.S: ... here.
82562         * sysdeps/s390/s390-32/elf/configure.in: Moved to ...
82563         * sysdeps/s390/s390-32/configure.in: ... here.
82564         * sysdeps/s390/s390-32/elf/configure: Delete file.
82565         * sysdeps/s390/s390-32/elf/start.S: Moved to ...
82566         * sysdeps/s390/s390-32/start.S: ... here.
82568         * sysdeps/s390/s390-64/elf/bsd-_setjmp.S: Moved to ...
82569         * sysdeps/s390/s390-64/bsd-_setjmp.S: ... here.
82570         * sysdeps/s390/s390-64/elf/bsd-setjmp.S: Moved to ...
82571         * sysdeps/s390/s390-64/bsd-setjmp.S: ... here.
82572         * sysdeps/s390/s390-64/elf/setjmp.S: Moved to ...
82573         * sysdeps/s390/s390-64/setjmp.S: ... here.
82574         * sysdeps/s390/s390-64/elf/configure.in: Moved to ...
82575         * sysdeps/s390/s390-64/configure.in: ... here
82576         * sysdeps/s390/s390-64/elf/configure: Delete file.
82577         * sysdeps/s390/s390-64/elf/start.S: Moved to ...
82578         * sysdeps/s390/s390-64/start.S: ... here.
82579         * sysdeps/s390/s390-64/elf/configure: Delete.
82581         * configure.in: Remove support for elf directories in sysdeps.
82583         * configure: Regenerated.
82584         * sysdeps/i386/configure: Regenerated.
82585         * sysdeps/powerpc/powerpc32/configure: Regenerated.
82586         * sysdeps/powerpc/powerpc64/configure: Regenerated.
82587         * sysdeps/s390/s390-32/configure: Regenerated.
82588         * sysdeps/s390/s390-64/configure: Regenerated.
82589         * sysdeps/sh/configure: Regenerated.
82590         * sysdeps/sparc/configure: Regenerated.
82591         * sysdeps/x86_64/configure: Regenerated.
82593 2012-03-26  Andreas Schwab  <schwab@linux-m68k.org>
82595         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
82597         * sysdeps/ieee754/ldbl-128ibm/e_expl.c (lomark): Adjust to take
82598         denormal result into account.
82600 2012-03-25  Roland McGrath  <roland@hack.frob.com>
82602         * posix/confstr.c (confstr): Lift RESTENVS definition to function scope.
82603         Reported by Allan McRae <allan@archlinux.org>.
82605 2012-03-23  Jeff Law  <law@redhat.com>
82607         * nss/getnssent.c (__nss_getent): Fix typo.
82609 2012-03-23  David S. Miller  <davem@davemloft.net>
82611         * sysdeps/sparc/fpu/libm-test-ulps: Update.
82613 2012-03-23  H.J. Lu  <hongjiu.lu@intel.com>
82615         * sysdeps/x86_64/dl-tlsdesc.h (tlsdesc): Use anonymous union
82616         to pad to uint64_t for each field.
82617         (dl_tls_index): Replace unsigned long with uint64_t.
82619 2012-03-23  Daniel Jacobowitz  <dmj@google.com>
82620         Paul Pluzhnikov  <ppluzhnikov@google.com>
82622         [BZ #6528]
82623         * grp/Makefile (otherlibs): Don't set it.
82624         * inet/Makefile (otherlibs): Likewise.
82625         * login/Makefile (otherlibs): Likewise.
82626         * nscd/Makefile (otherlibs): Likewise.
82627         * posix/Makefile (otherlibs): Likewise.
82628         * pwd/Makefile (otherlibs): Likewise.
82629         * rt/Makefile (otherlibs): Likewise.
82630         * sunrpc/Makefile (otherlibs): Likewise.
82631         * nss/Makefile (otherlibs): Likewise.
82632         Add libnss_files to routines and static-only-routines.
82633         ($(objpfx)getent): Remove rule.
82634         * resolv/Makefile: Add libnss_dns and libresolv to routines and
82635         static-only-routines.
82637 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
82639         [BZ #13892]
82640         * math/s_cexp.c: Include <float.h>.
82641         (__cexp): Handle exp result overflowing not necessarily
82642         overflowing both real and imaginary parts of result.
82643         * math/s_cexpf.c: Likewise.
82644         * math/s_cexpl.c: Likewise.
82645         * math/libm-test.inc (cexp_test): Add more tests.
82646         * sysdeps/i386/fpu/libm-test-ulps: Update.
82647         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82649 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
82651         * include/link.h (ELFW): New macro.
82652         * sysdeps/x86_64/dl-irel.h: Replace Elf64_XXX with ElfW(XXX).
82653         Replace ELF64_R_TYPE with ELFW(R_TYPE).
82655 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
82657         * sysdeps/x86_64/dl-tls.h (dl_tls_index): Replace unsigned long
82658         with uint64_t.
82660 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
82662         * sysdeps/generic/ldsodefs.h (struct La_x32_regs): New forward
82663         declaration.
82664         (struct La_x32_retval): Likewise.
82666 2012-03-22  H.J. Lu  <hongjiu.lu@intel.com>
82668         * sysdeps/x86_64/preconfigure.in: New file.
82669         * sysdeps/x86_64/preconfigure: New generated file.
82671 2012-03-22  Joseph Myers  <joseph@codesourcery.com>
82673         [BZ #13824]
82674         * math/e_exp2l.c: Include <float.h>.
82675         (__ieee754_exp2l): Handle overflow and underflow cases
82676         separately.  Only pass fractional part of argument to
82677         __ieee754_expl.
82678         * math/libm-test.inc (exp2_test): Add more tests.
82680         * sysdeps/ieee754/ldbl-128/k_cosl.c (__kernel_cosl): Negate y if
82681         negating x to take absolute value.
82682         * sysdeps/ieee754/ldbl-128/k_sincosl.c (__kernel_sincosl):
82683         Likewise.
82684         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c (__kernel_cosl): Likewise.
82685         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c (__kernel_sincosl):
82686         Likewise.
82687         * sysdeps/ieee754/ldbl-128/k_sinl.c (__kernel_sinl): Negate y when
82688         computing low part if x was negated.
82689         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c (__kernel_sinl): Likewise.
82691 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
82693         * elf/tst-auditmod1.c: Support la_x32_gnu_pltenter and
82694         la_x32_gnu_pltexit.
82695         (pltexit): Cast int_retval to ptrdiff_t.
82696         * elf/tst-auditmod3b.c: Likewise.
82697         * elf/tst-auditmod4b.c: Likewise.
82698         * elf/tst-auditmod5b.c: Likewise.
82699         * elf/tst-auditmod6b.c: Likewise.
82700         * elf/tst-auditmod6c.c: Likewise.
82701         * elf/tst-auditmod7b.c: Likewise.
82703         * sysdeps/generic/ldsodefs.h (audit_ifaces): Add x32_gnu_pltenter
82704         and x32_gnu_pltexit.
82706         * sysdeps/x86_64/bits/link.h: Check __x86_64__ instead of
82707         __ELF_NATIVE_CLASS.
82708         (La_x32_regs): New macro.
82709         (La_x32_retval): Likewise.
82710         (la_x32_gnu_pltenter): New function prototype.
82711         (la_x32_gnu_pltexit): Likewise.
82713 2012-03-21  Andreas Schwab  <schwab@linux-m68k.org>
82715         * sysdeps/ieee754/ldbl-128ibm/e_powl.c (huge, tiny): Correct
82716         exponent.
82718         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
82720         * configure.in (libc_cv_cc_nofma): Check for option to disable
82721         generation of FMA instructions.
82722         * configure: Regenerate.
82723         * config.make.in (config-cflags-nofma): Set from libc_cv_cc_nofma.
82724         * sysdeps/ieee754/dbl-64/Makefile: New file.
82725         * sysdeps/x86_64/fpu/multiarch/Makefile (libm-sysdep_routines):
82726         Remove brandred-fma4.
82727         (CFLAGS-brandred-fma4.c): Remove.
82728         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Remove.
82729         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c (__branred): Don't
82730         define.
82731         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c (__branred): Don't
82732         define.
82734 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
82736         * stdio-common/_itoa.c: Check _ITOA_NEEDED instead of
82737         LLONG_MAX != LONG_MAX.
82738         (_itoa_word): Use _ITOA_WORD_TYPE on value.
82739         (_fitoa_word): Likewise.
82740         * stdio-common/_itowa.c: Check _ITOA_NEEDED instead of
82741         LLONG_MAX != LONG_MAX.
82742         * stdio-common/_itowa.h: Include <_itoa.h>.
82743         (_itowa_word): Use _ITOA_WORD_TYPE on value.
82744         (_itowa): New macro.  Defined only if _ITOA_NEEDED is false.
82745         * sysdeps/generic/_itoa.h (_ITOA_NEEDED): New macro.  Defined
82746         only if not defined.
82747         (_ITOA_WORD_TYPE): Likewise.
82748         (_itoa_word): Use _ITOA_WORD_TYPE on value.
82749         Check !_ITOA_NEEDED instead of LONG_MAX == LLONG_MAX.
82751 2012-03-21  David S. Miller  <davem@davemloft.net>
82753         * sysdeps/sparc/fpu/libm-test-ulps: Update.
82755 2012-03-21  H.J. Lu  <hongjiu.lu@intel.com>
82757         * sysdeps/unix/sysv/linux/configure.in: Check x86_64* instead
82758         of x86_64 when setting libc_cv_slibdir, libdir and
82759         libc_cv_localedir.
82760         * sysdeps/unix/sysv/linux/configure: Regenerated.
82762 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
82764         * manual/lang.texi (Old Varargs): Remove section.
82765         (How Variadic): Update menu.
82766         (va_start): Do not mention varargs.h.
82768 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
82769             Joseph Myers  <joseph@codesourcery.com>
82771         * configure.in (libc_cv_ssp): Use LIBC_TRY_CC_OPTION instead of a
82772         link test.
82773         * configure: Regenerated.
82775 2012-03-21  Thomas Schwinge  <thomas@codesourcery.com>
82777         * conform/conformtest.pl: Handle --tmpdir argument, defaulting to /tmp.
82778         * conform/run-conformtest.sh: Pass --tmpdir argument when invoking
82779         conformtest.pl
82781 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
82783         * NOTES: Remove.
82784         * Makefile (files-for-dist): Remove NOTES.
82785         (NOTES): Remove rule.
82786         * README: Don't refer to NOTES.
82787         * manual/creature.texi: Don't include macros.texi.
82788         * manual/intro.texi (creature.texi): Remove comment referring to
82789         NOTES.
82791         * aclocal.m4 (LIBC_TRY_CC_OPTION): New macro.
82792         * configure.in (libc_cv_cc_submachine): Use LIBC_TRY_CC_OPTION.
82793         * configure: Regenerated.
82794         * sysdeps/i386/configure.in (libc_cv_cc_sse4): Use
82795         LIBC_TRY_CC_OPTION.
82796         (libc_cv_as_i686): Likewise.
82797         (libc_cv_cc_avx): Likewise.
82798         (libc_cv_cc_sse2avx): Likewise.
82799         (libc_cv_cc_fma4): Likewise.
82800         (libc_cv_cc_novzeroupper): Likewise.
82801         * sysdeps/i386/configure: Regenerated.
82803         [BZ #13883]
82804         * sysdeps/i386/fpu/s_cexp.S: Remove.
82805         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
82806         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
82807         * math/libm-test.inc (cexp_test): Add more tests.
82808         * sysdeps/i386/fpu/libm-test-ulps: Update.
82809         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
82811 2012-03-21  Allan McRae  <allan@archlinux.org>
82813         * timezone/Makefile: Do not install iso3166.tab and zone.tab
82815 2012-03-21  Joseph Myers  <joseph@codesourcery.com>
82817         [BZ #13871]
82818         * math/w_exp2.c: Do not include <float.h>.
82819         (o_threshold, u_threshold): Remove.
82820         (__exp2): Calculate result before checking finiteness and calling
82821         __kernel_standard.
82822         * math/w_exp2f.c: Likewise.
82823         * math/w_exp2l.c: Likewise.
82824         * math/libm-test.inc (exp2_test): Require overflow exception for
82825         1e6 input.
82827         [BZ #3866]
82828         * sysdeps/i386/fpu/e_pow.S (__ieee754_pow): Test for y outside the
82829         range of signed 64-bit integers before using fistpll.  Remove
82830         checks for whether integers fit in mantissa bits.
82831         * sysdeps/i386/fpu/e_powf.S (__ieee754_powf): Test for y outside
82832         the range of signed 32-bit integers before using fistpl.  Remove
82833         checks for whether integers fit in mantissa bits.
82834         * sysdeps/i386/fpu/e_powl.S (p64): New object.
82835         (__ieee754_powl): Test for y outside the range of signed 64-bit
82836         integers before using fistpll.  Reduce 64-bit values to 63-bit
82837         ones as needed.
82838         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Ensure
82839         divide-by-zero is raised for zero to large negative powers.
82840         * sysdeps/x86_64/fpu/e_powl.S (p64): New object.
82841         (__ieee754_powl): Test for y outside the range of signed 64-bit
82842         integers before using fistpll.  Reduce 64-bit values to 63-bit
82843         ones as needed.
82844         * math/libm-test.inc (pow_test): Add more tests.
82846 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
82848         * debug/backtracesymsfd.c: Include <_itoa.h> instead of
82849         <stdio-common/_itoa.h>.
82850         * debug/segfault.c: Likewise.
82851         * elf/dl-cache.c: Likewise.
82852         * elf/dl-minimal.c: Likewise.
82853         * elf/dl-misc.c: Likewise.
82854         * elf/dl-sysdep.c: Likewise.
82855         * elf/dl-version.c: Likewise.
82856         * elf/rtld.c: Likewise.
82857         * hurd/hurdsock.c: Likewise.
82858         * hurd/lookup-retry.c: Likewise.
82859         * malloc/malloc.c: Likewise.
82860         * malloc/mtrace.c: Likewise.
82861         * nscd/nscd_getgr_r.c: Likewise.
82862         * nscd/nscd_getpw_r.c: Likewise.
82863         * nscd/nscd_getserv_r.c: Likewise.
82864         * posix/getopt_init.c: Likewise.
82865         * posix/wordexp.c: Likewise.
82866         * stdio-common/_itoa.c: Likewise.
82867         * stdio-common/printf_fphex.c: Likewise.
82868         * stdio-common/vfprintf.c: Likewise.
82869         * string/_strerror.c: Likewise.
82870         * sysdeps/generic/elf/backtracesymsfd.c: Likewise.
82871         * sysdeps/i386/i686/hp-timing.h: Likewise.
82872         * sysdeps/mach/_strerror.c: Likewise.
82873         * sysdeps/mach/hurd/powerpc/register-dump.h: Likewise.
82874         * sysdeps/mach/hurd/sethostid.c: Likewise.
82875         * sysdeps/mach/hurd/xmknodat.c: Likewise.
82876         * sysdeps/mach/xpg-strerror.c: Likewise.
82877         * sysdeps/powerpc/powerpc32/dl-machine.c: Likewise.
82878         * sysdeps/powerpc/powerpc32/power4/hp-timing.h: Likewise.
82879         * sysdeps/powerpc/powerpc32/register-dump.h: Likewise.
82880         * sysdeps/powerpc/powerpc64/dl-machine.c: Likewise.
82881         * sysdeps/powerpc/powerpc64/hp-timing.h: Likewise.
82882         * sysdeps/powerpc/powerpc64/register-dump.h: Likewise.
82883         * sysdeps/sparc/sparc32/sparcv9/hp-timing.h: Likewise.
82884         * sysdeps/sparc/sparc64/hp-timing.h: Likewise.
82885         * sysdeps/unix/sysv/linux/fd_to_filename.h: Likewise.
82886         * sysdeps/unix/sysv/linux/futimes.c: Likewise.
82887         * sysdeps/unix/sysv/linux/i386/register-dump.h: Likewise.
82888         * sysdeps/unix/sysv/linux/ptsname.c: Likewise.
82889         * sysdeps/unix/sysv/linux/s390/s390-32/register-dump.h: Likewise.
82890         * sysdeps/unix/sysv/linux/s390/s390-64/register-dump.h: Likewise.
82891         * sysdeps/unix/sysv/linux/sh/sh3/register-dump.h: Likewise.
82892         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Likewise.
82893         * sysdeps/unix/sysv/linux/sparc/sparc32/register-dump.h: Likewise.
82894         * sysdeps/unix/sysv/linux/sparc/sparc64/register-dump.h: Likewise.
82895         * sysdeps/unix/sysv/linux/ttyname.c: Likewise.
82896         * sysdeps/unix/sysv/linux/ttyname_r.c: Likewise.
82897         * sysdeps/unix/sysv/linux/x86_64/register-dump.h: Likewise.
82899         * stdio-common/_itoa.c: Include <_itoa.h> instead of "_itoa.h".
82901         * stdio-common/_itoa.h: Moved to ...
82902         * sysdeps/generic/_itoa.h: Here.
82904         * stdio-common/_itowa.c: Include <_itowa.h> instead of "_itowa.h".
82906         * stdio-common/printf_fphex.c: Include <_itoa.h> and <_itowa.h>
82907         instead of "_itoa.h" and "_itowa.h".
82908         * stdio-common/vfprintf.: Likewise.
82910 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
82912         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't include
82913         <bits/wordsize.h>.
82914         (__signbitf): Check __x86_64__ instead of __WORDSIZE.
82915         (__signbit): Likewise.
82916         (llrintf): Likewise.
82917         (llrint): Likewise.
82919 2012-03-20  H.J. Lu  <hongjiu.lu@intel.com>
82921         * sysdeps/x86_64/bits/setjmp.h (__jmp_buf): Support x86-64 with
82922         __WORDSIZE != 64.
82924 2012-03-20  Joseph Myers  <joseph@codesourcery.com>
82926         * math/gen-libm-test.pl (%beautify): Add OVERFLOW_EXCEPTION and
82927         OVERFLOW_EXCEPTION_OK.
82928         * math/libm-test.inc ("Philosophy"): Update comment about
82929         exception testing.
82930         (OVERFLOW_EXCEPTION): Define.
82931         (OVERFLOW_EXCEPTION_OK): Likewise.
82932         (INVALID_EXCEPTION_OK): Renumber.
82933         (DIVIDE_BY_ZERO_EXCEPTION_OK): Likewise.
82934         (IGNORE_ZERO_INF_SIGN): Likewise.
82935         (test_exceptions): Handle FE_OVERFLOW.
82936         (exp10_test): Expect overflow exceptions.
82937         (exp2_test): Likewise.
82938         (expm1_test): Likewise.
82939         (nextafter_test): Likewise.
82940         (pow_test): Likewise.
82941         (scalbn_test): Likewise.
82942         (scalbln_test): Likewise.
82944 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
82946         * sysdeps/x86_64/bits/atomic.h
82947         (__arch_c_compare_and_exchange_val_64_acq): Use atomic64_t on
82948         64bit integer.
82949         (atomic_exchange_acq): Likewise.
82950         (__arch_exchange_and_add_body): Likewise.
82951         (__arch_add_body): Likewise.
82952         (atomic_add_negative): Likewise.
82953         (atomic_add_zero): Likewise.
82955 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
82957         * sysdeps/x86_64/fpu/bits/fenv.h: Don't include <bits/wordsize.h>.
82958         (fenv_t): Check __x86_64__ instead of __WORDSIZE.
82960 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
82962         * sysdeps/x86_64/bits/mathdef.h: Don't include <bits/wordsize.h>.
82963         Check __x86_64__ instead of __WORDSIZE.
82965 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
82967         * sysdeps/unix/sysv/linux/x86_64/ldd-rewrite.sed: Support x32.
82969 2012-03-19  David S. Miller  <davem@davemloft.net>
82971         * sysdeps/sparc/fpu/libm-test-ulps: Update.
82973         * sysdeps/sparc/fpu/fenv_private.h: New file.
82974         * sysdeps/sparc/fpu/math_private.h: Use it.
82975         (libc_feholdexcept, libc_feholdexceptf, libc_feholdexceptl):
82976         Remove.
82977         (libc_feholdexcept_setround, libc_feholdexcept_setroundf)
82978         (libc_feholdexcept_setroundl): Remove.
82979         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl):
82980         Remove.
82981         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Remove.
82982         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvf): Remove.
82984 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
82986         * sysdeps/x86_64/fpu/math_private.h (EXTRACT_WORDS64): Use
82987         int64_t instead of long int.
82988         (INSERT_WORDS64): Likewise.
82990 2012-03-19  H.J. Lu  <hongjiu.lu@intel.com>
82992         * sysdeps/x86_64/jmpbuf-unwind.h (_JMPBUF_CFA_UNWINDS_ADJ): Cast
82993         _Unwind_GetCFA return to _Unwind_Ptr first.
82995 2012-03-19  Joseph Myers  <joseph@codesourcery.com>
82997         [BZ #13629]
82998         * math/s_clog.c: Include <float.h>.
82999         (__clog): Scale large or subnormal inputs.
83000         * math/s_clogf.c: Likewise.
83001         * math/s_clogl.c: Likewise.
83002         * math/s_clog10.c: Include <float.h>.
83003         (M_LOG10_2): Define.
83004         (__clog10): Scale large or subnormal inputs.
83005         * math/s_clog10f.c: Likewise.
83006         * math/s_clog10l.c: Likewise.
83007         * math/libm-test.inc (clog_test): Add more tests.
83008         (clog10_test): Likewise.
83009         * sysdeps/i386/fpu/libm-test-ulps: Update.
83010         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83012         [BZ #11451]
83013         * sysdeps/ieee754/dbl-64/e_atan2.c (__ieee754_atan2): Scale large
83014         x and y.
83015         * math/libm-test.inc (atan2_test): Add another test.
83017         * Makerules (common-objdir-compile): Remove.
83018         * sysdeps/unix/Makefile (config-generated): Do not add
83019         $(unix-generated) to variable.
83020         [generic bits/local_lim.h] (mk-local_lim-CFLAGS): Remove variable.
83021         [generic bits/local_lim.h] ($(common-objpfx)bits/local_lim.h):
83022         Remove rule.
83023         [generic bits/local_lim.h] ($(common-objpfx)mk-local_lim):
83024         Likewise.
83025         [generic bits/local_lim.h] (before-compile): Do not append to
83026         variable.
83027         [generic bits/local_lim.h] (common-generated): Likewise.
83028         [generic sys/param.h] (before-compile): Do not append to variable.
83029         [generic sys/param.h] ($(common-objpfx)sys/param.h): Remove rule.
83030         [generic sys/param.h] ($(common-objpfx)param.h.c): Likewise.
83031         [generic sys/param.h] ($(common-objpfx)param.h.dep): Likewise.
83032         [generic sys/param.h] ($(common-objpfx)param.h.dep): Do not
83033         include.
83034         [generic sys/param.h] (sys/param.h-includes): Remove variable.
83035         [generic sys/param.h] (sys/param.h-includes): Remove rule.
83036         [generic sys/param.h] ($(addprefix
83037         $(common-objpfx),$(sys/param.h-includes))): Likewise.
83038         [generic sys/param.h] (common-generated): Do not append to
83039         variable.
83040         [generic sys/param.h] (sysdep_headers): Likewise.
83041         [generic bits/errno.h] (before-compile): Do not append to
83042         variable.
83043         [generic bits/errno.h] ($(common-objpfx)bits/errno.h): Remove
83044         rule.
83045         [generic bits/errno.h] ($(common-objpfx)make-errnos): Likewise.
83046         [generic bits/errno.h] ($(common-objpfx)make-errnos.c): Likewise.
83047         [generic bits/errno.h] ($(common-objpfx)errnos): Likewise.
83048         [generic bits/errno.h] (common-generated): Do not append to
83049         variable.
83050         [generic bits/ioctls.h] (before-compile): Do not append to
83051         variable.
83052         [generic bits/ioctls.h] ($(common-objpfx)bits/ioctls.h): Remove
83053         rule.
83054         [generic bits/ioctls.h] (ioctl-includes): Remove variable.
83055         [generic bits/ioctls.h] (make-ioctls-CFLAGS): Likewise.
83056         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls): Remove
83057         rule.
83058         [generic bits/ioctls.h] ($(common-objpfx)make-ioctls.c): Likewise.
83059         [generic bits/ioctls.h] (bits_termios.h): Remove variable.
83060         [generic bits/ioctls.h] ($(common-objpfx)ioctls): Remove rule.
83061         [generic bits/ioctls.h] (common-generated): Do not append to
83062         variable.
83063         [generic sys/syscall.h] (syscall.h): Remove variable.
83064         [generic sys/syscall.h] ($(common-objpfx)sys/syscall.h): Remove
83065         rule.
83066         [generic sys/syscall.h] (before-compile): Do not append to
83067         variable.
83068         [generic sys/syscall.h] (common-generated): Likewise.
83069         * sysdeps/unix/errnos-tmpl.c: Remove file.
83070         * sysdeps/unix/errnos.awk: Likewise.
83071         * sysdeps/unix/ioctls-tmpl.c: Likewise.
83072         * sysdeps/unix/ioctls.awk: Likewise.
83073         * sysdeps/unix/mk-local_lim.c: Likewise.
83074         * sysdeps/unix/snarf-ioctls: Likewise.
83076 2012-03-19  Richard Henderson  <rth@twiddle.net>
83078         * sysdeps/i386/fpu/fenv_private.h: New file.
83079         * sysdeps/i386/fpu/math_private.h: Use it.
83080         (math_opt_barrier, math_force_eval): Remove.
83081         (libc_feholdexcept_setround_53bit): Remove.
83082         (libc_feupdateenv_53bit): Remove.
83083         * sysdeps/x86_64/fpu/math_private.h: Likewise.
83084         (math_opt_barrier, math_force_eval): Remove.
83085         (libc_feholdexcept): Remove.
83086         (libc_feholdexcept_setround): Remove.
83087         (libc_fetestexcept, libc_fesetenv): Remove.
83088         (libc_feupdateenv_test): Remove.
83089         (libc_feupdateenv, libc_feholdsetround): Remove.
83090         (libc_feresetround): Remove.
83092         * sysdeps/i386/fpu/feholdexcpt.c (feholdexcept): Avoid the fldenv.
83093         * sysdeps/x86_64/fpu/feholdexcpt.c (feholdexcept): Likewise.
83095         * sysdeps/generic/math_private.h (default_libc_feupdateenv_test): New.
83096         (libc_feupdateenv_test, libc_feupdateenv_testf): New.
83097         (libc_feupdateenv_testl): New.
83098         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv_test): New.
83099         (libc_feupdateenv_testf): New.
83100         (libc_feupdateenv): Use libc_feupdateenv_test.
83101         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Use libc_feupdateenv_test.
83102         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Likewise.
83104         * sysdeps/generic/math_private.h (libc_feholdsetround): New.
83105         (libc_feholdsetroundf, libc_feholdsetroundl): New.
83106         (libc_feresetround, libc_feresetroundf, libc_feresetroundl): New.
83107         (libc_feresetround_noex): New.
83108         (libc_feresetround_noexf): New.
83109         (libc_feresetround_noexl): New.
83110         (SET_RESTORE_ROUND, SET_RESTORE_ROUNDF, SET_RESTORE_ROUNDL): New.
83111         (SET_RESTORE_ROUND_NOEX, SET_RESTORE_ROUND_NOEXF): New.
83112         (SET_RESTORE_ROUND_NOEXL, SET_RESTORE_ROUND_53BIT): New.
83113         * sysdeps/ieee754/dbl-64/e_exp.c (__ieee754_exp): Use
83114         SET_RESTORE_ROUND.
83115         * sysdeps/ieee754/dbl-64/e_pow.c (__ieee754_pow): Likewise.
83116         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Use SET_RESTORE_ROUND_53BIT.
83117         (__cos): Likewise.
83118         * sysdeps/ieee754/dbl-64/s_tan.c (__tan): Likewise.
83119         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Use
83120         SET_RESTORE_ROUND_NOEX.
83121         * sysdeps/ieee754/dbl-64/e_exp2f.c (__ieee754_exp2f): Use
83122         SET_RESTORE_ROUND_NOEXF.
83123         * sysdeps/ieee754/flt-32/e_expf.c (__ieee754_expf): Likewise.
83124         * sysdeps/x86_64/fpu/math_private.h (libc_feholdsetround): New.
83125         (libc_feholdsetroundf): New.
83126         (libc_feresetround, libc_feresetroundf): New.
83128         * sysdeps/i386/fpu/math_private.h: Include <fenv.h>, <fpu_control.h>.
83129         (libc_feholdexcept_setround_53bit): Convert from macro to function.
83130         (libc_feupdateenv_53bit): Likewise.  Don't force _FPU_EXTENDED.
83132         * sysdeps/generic/math_private.h: Include <fenv.h>.
83133         (default_libc_feholdexcept): New.
83134         (default_libc_feholdexcept_setround): New.
83135         (default_libc_fesetenv, default_libc_feupdateenv): New.
83136         (libc_feholdexcept): Only define if undefined.
83137         (libc_feholdexceptf, libc_feholdexceptl): Likewise.
83138         (libc_feholdexcept_setround, libc_feholdexcept_setroundf): Likewise.
83139         (libc_feholdexcept_setroundl): Likewise.
83140         (libc_feholdexcept_setround_53bit): Likewise.
83141         (libc_fetestexcept, libc_fetestexceptf, libc_fetestexceptl): Likewise.
83142         (libc_fesetenv, libc_fesetenvf, libc_fesetenvl): Likewise.
83143         (libc_feupdateenv, libc_feupdateenvf, libc_feupdateenvl): Likewise.
83144         (libc_feupdateenv_53bit): Likewise.
83145         * sysdeps/x86_64/fpu/math_private.h: Include <fenv.h>.
83146         (libc_feholdexcept): Convert from macro to inline function.
83147         (libc_feholdexcept_setround, libc_fetestexcept): Likewise.
83148         (libc_fesetenv, libc_feupdateenv): Likewise.
83150         * sysdeps/generic/math_private.h (GET_HIGH_WORD): Define only if
83151         not previously defined.
83152         (GET_LOW_WORD, EXTRACT_WORDS64, INSERT_WORDS): Likewise.
83153         (INSERT_WORDS64, SET_HIGH_WORD, SET_LOW_WORD): Likewise.
83154         (GET_FLOAT_WORD, SET_FLOAT_WORD): Likewise.
83155         * sysdeps/ieee754/dbl-64/wordsize-64/math_private.h: New file.
83156         * sysdeps/ieee754/flt-32/math_private.h: New file.
83157         * sysdeps/x86_64/fpu/math_private.h: Move the include_next of
83158         math_private.h below SET_FLOAT_WORD.
83159         (__isnan, __isinf_ns, __finite): Remove.
83160         (__isnanf, __isinf_nsf, __finitef): Remove.
83162 2012-03-18  Andreas Schwab  <schwab@linux-m68k.org>
83164         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
83166 2012-03-17  David S. Miller  <davem@davemloft.net>
83168         [BZ #6471]
83169         * sysdeps/unix/sysv/linux/sparc/Versions: Add __getshmlba entry
83170         for 2.16.
83172 2012-03-16  David S. Miller  <davem@davemloft.net>
83174         * sysdeps/unix/sysv/linux/shmat.c (shmat): Use -1l to avoid
83175         warnings.
83177         [BZ #6471]
83178         * sysdeps/unix/sysv/linux/shmat.c (shmat): Test for syscall errors
83179         properly.
83180         * sysdeps/unix/sysv/linux/sparc/getshmlba.c: New file.
83181         * sysdeps/unix/sysv/linux/sparc/Makefile: Add getshmlba to
83182         sysdep_routines when subdir is sysvipc.
83183         * sysdeps/unix/sysv/linux/sparc/bits/shm.h (SHMLBA): Use new
83184         __getshmlba helper.
83186         * sysdeps/sparc/fpu/libm-test/ulps: Update.
83188 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
83190         * sysdeps/x86_64/ffsll.c (ffsl): Define alias only under
83191         [__LP64__].
83193 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
83195         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Moved to ...
83196         * sysdeps/ieee754/dbl-64/wordsize-64/s_llround.c: This.
83197         (__lround): Renamed to ...
83198         (__llround): This.  Replace long int with long long int.
83199         Define lround functions as aliases of llround functions.
83200         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Empty file.
83202 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
83204         * sysdeps/unix/sysv/linux/x86_64/makecontext.c (__makecontext):
83205         Use greg_t on sp.  Use unsigned int on idx_uc_link.  Cast
83206         adresses to uintptr_t.  Replace "long int" and "unsigned long
83207         int" with "greg_t" on va_arg.
83209 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
83211         * sysdeps/generic/ldconfig.h (FLAG_X8664_LIBX32): New macro.
83212         * elf/cache.c (print_entry): Handle FLAG_X8664_LIBX32.
83214         * sysdeps/unix/sysv/linux/i386/readelflib.c (process_elf_file):
83215         Move e_machine check before EI_CLASS check.  Handle x32
83216         libraries.  Check EM_IA_64 only if SKIP_EM_IA_64 isn't defined.
83217         * sysdeps/unix/sysv/linux/x86_64/readelflib.c: Just define
83218         SKIP_EM_IA_64 and include
83219         <sysdeps/unix/sysv/linux/i386/readelflib.c>.
83221         * sysdeps/unix/sysv/linux/x86_64/dl-cache.h:
83222         Don't include <sysdeps/unix/sysv/linux/sparc/dl-cache.h>.
83223         (add_system_dir): New macro.
83225         * sysdeps/unix/sysv/linux/x86_64/ldconfig.h
83226         (SYSDEP_KNOWN_INTERPRETER_NAMES): Add /libx32/ld-linux-x32.so.2.
83228 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
83230         [BZ #2551]
83231         [BZ #2552]
83232         [BZ #2553]
83233         [BZ #2554]
83234         [BZ #2562]
83235         [BZ #2563]
83236         [BZ #2565]
83237         [BZ #2566]
83238         [BZ #2576]
83239         * math/w_j0.c (j0): Don't produce TLOSS errors for POSIX libm.
83240         (y0): Likewise.
83241         * math/w_j0f.c (j0f): Likewise.
83242         (y0f): Likewise.
83243         * math/w_j0l.c (__j0l): Likewise.
83244         (__y0l): Likewise.
83245         * math/w_j1.c (j1): Likewise.
83246         (y1): Likewise.
83247         * math/w_j1f.c (j1f): Likewise.
83248         (y1f): Likewise.
83249         * math/w_j1l.c (__j1l): Likewise.
83250         (__y1l): Likewise.
83251         * math/w_jn.c (jn): Likewise.
83252         (yn): Likewise.
83253         * math/w_jnf.c (jnf): Likewise.
83254         (ynf): Likewise.
83255         * math/w_jnl.c (__jnl): Likewise.
83256         (__ynl): Likewise.
83257         * math/libm-test.inc (j0_test): Add more tests.
83258         (j1_test): Likewise.
83259         (jn_test): Likewise.  Add trailing semicolon to existing test.
83260         (y0_test): Likewise.
83261         (y1_test): Likewise.
83262         * sysdeps/i386/fpu/libm-test-ulps: Update.
83263         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83265         [BZ #13851]
83266         [BZ #13854]
83267         * sysdeps/ieee754/dbl-64/s_tan.c (tan): Use
83268         libc_feholdexcept_setround_53bit and libc_feupdateenv_53bit.
83269         * sysdeps/ieee754/ldbl-96/k_tanl.c: New file.
83270         * sysdeps/ieee754/ldbl-96/s_tanl.c: Include <errno.h>.
83271         (__tanl): Set errno for infinite argument.
83272         * sysdeps/i386/fpu/mptan.c: Remove.
83273         * sysdeps/i386/fpu/s_tan.S: Likewise.
83274         * sysdeps/i386/fpu/s_tanl.S: Likewise.
83275         * sysdeps/x86_64/fpu/k_tanl.c: Likewise.
83276         * sysdeps/x86_64/fpu/s_tanl.S: Likewise.
83277         * math/libm-test.inc (tan_test): Add more tests and enable more
83278         tests for double and long double.
83279         * sysdeps/i386/fpu/libm-test-ulps: Update.
83280         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83282 2012-03-16  Jan Kratochvil  <jan.kratochvil@redhat.com>
83284         * sysdeps/x86_64/elf/start.S: Include <sysdep.h>.
83285         (_start): Add cfi_startproc, cfi_undefined for rip and cfi_endproc.
83287 2012-03-16  Roland McGrath  <roland@hack.frob.com>
83289         * aclocal.m4 (LIBC_PRECONFIGURE): New macro.
83290         * configure.in: Use it for both main tree and add-ons.
83291         * configure: Regenerated.
83293 2012-03-16  H.J. Lu  <hongjiu.lu@intel.com>
83295         * time/offtime.c (__offtime): Use time_t on days, rem, y and yg.
83297 2012-03-16  Joseph Myers  <joseph@codesourcery.com>
83299         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Include generator program
83300         in comment.
83302         [BZ #13851]
83303         * sysdeps/ieee754/ldbl-96/e_rem_pio2l.c: New file.
83304         * sysdeps/ieee754/ldbl-96/k_cosl.c: Likewise.
83305         * sysdeps/ieee754/ldbl-96/k_sinl.c: Likewise.
83306         * sysdeps/ieee754/ldbl-96/t_sincosl.c: Likewise.
83307         * sysdeps/ieee754/ldbl-96/s_cosl.c (__cosl): Correct test for
83308         infinite argument.
83309         * sysdeps/ieee754/ldbl-96/s_sinl.c (__sinl): Likewise.
83310         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Handle __FLT_EVAL_METHOD__
83311         != 0 for prec == 2.
83312         * sysdeps/i386/fpu/e_rem_pio2l.c: Remove.
83313         * sysdeps/i386/fpu/k_rem_pio2.c: Likewise.
83314         * sysdeps/i386/fpu/s_cosl.S: Likewise.
83315         * sysdeps/i386/fpu/s_sincosl.S: Likewise.
83316         * sysdeps/i386/fpu/s_sinl.S: Likewise.
83317         * sysdeps/x86_64/fpu/e_rem_pio2l.c: Likewise.
83318         * sysdeps/x86_64/fpu/k_cosl.c: Likewise.
83319         * sysdeps/x86_64/fpu/k_sinl.c: Likewise.
83320         * sysdeps/x86_64/fpu/s_cosl.S: Likewise.
83321         * sysdeps/x86_64/fpu/s_sincosl.S: Likewise.
83322         * sysdeps/x86_64/fpu/s_sinl.S: Likewise.
83323         * math/libm-test.inc (cos_test): Add more tests and enable more
83324         tests for long double.
83325         (sin_test): Likewise.
83326         (sincos_test): Likewise.
83327         * sysdeps/i386/fpu/libm-test-ulps: Update.
83328         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83330 2012-03-16  David S. Miller  <davem@davemloft.net>
83332         * sysdeps/sparc/fpu/math_private.h: New file.
83334 2012-03-15  David S. Miller  <davem@davemloft.net>
83336         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma-vis3.S: New
83337         file.
83338         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fma.c: New file.
83339         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf-vis3.S: New
83340         file.
83341         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaf.c: New file.
83342         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma-vis3.S: New file.
83343         * sysdeps/sparc/sparc64/fpu/multiarch/s_fma.c: New file.
83344         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf-vis3.S: New file.
83345         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaf.c: New file.
83346         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add fma/fmaf
83347         sysdep routines.
83348         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
83350         * sysdeps/sparc/sparc32/fpu/s_fma.c: New file.
83351         * sysdeps/sparc/sparc64/fpu/s_fma.c: New file.
83353         * sysdeps/sparc/sparc-ifunc.h: New file.
83354         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: Use
83355         sparc-ifunc.h
83356         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: Likewise.
83357         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S:
83358         Likewise.
83359         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S:
83360         Likewise.
83361         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: Likewise.
83362         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: Likewise.
83363         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: Likewise.
83364         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S:
83365         Likewise.
83366         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: Likewise.
83367         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: Likewise.
83368         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: Likewise.
83369         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: Likewise.
83370         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S:
83371         Likewise.
83372         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S:
83373         Likewise.
83374         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: Likewise.
83375         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: Likewise.
83376         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: Likewise.
83377         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: Likewise.
83378         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: Likewise.
83379         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: Likewise.
83380         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: Likewise.
83381         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: Likewise.
83382         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: Likewise.
83383         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: Likewise.
83384         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: Likewise.
83385         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: Likewise.
83386         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: Likewise.
83387         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: Likewise.
83388         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: Likewise.
83389         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: Likewise.
83390         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: Likewise.
83391         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: Likewise.
83392         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: Likewise.
83393         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: Likewise.
83394         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: Likewise.
83395         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: Likewise.
83396         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: Likewise.
83397         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: Likewise.
83399 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
83401         * sysdeps/powerpc/fpu/e_hypotf.c: Use double precision instead of
83402         scaling.
83403         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
83405 2012-03-15  Andreas Jaeger  <aj@suse.de>
83407         [BZ #13852]
83408         * sysdeps/i386/fpu/e_rem_pio2f.c: Delete so that i386 uses the
83409         ieee754/flt-32 implementation for sin, cos and sincos.
83410         * sysdeps/i386/fpu/k_rem_pio2f.c: Likewise.
83411         * sysdeps/i386/fpu/s_cosf.S: Likewise.
83412         * sysdeps/i386/fpu/s_sincosf.S: Likewise.
83413         * sysdeps/i386/fpu/s_sinf.S: Likewise.
83414         * sysdeps/i386/fpu/s_tanf.S: Delete so that i386 uses the
83415         ieee754/flt-32 implementation for tan.
83417         * math/libm-test.inc (cos_test): Enable some large input tests for
83418         float as well
83419         (sin_test): Likewise.
83420         (sincos_test): Likewise.
83421         (tan_test): Add tests for large input.
83423         * sysdeps/i386/fpu/libm-test-ulps: Update.
83425 2012-03-15  Andreas Jaeger  <aj@suse.de>
83427         [BZ #13658]
83428         * math/libm-test.inc (cos_test): Add more test cases.
83429         (sin_test): Likewise.
83430         (sincos_test): Likewise.
83432 2012-03-15  Andreas Jaeger  <aj@suse.de>
83434         [BZ #13837]
83435         * math/libm-test.inc (cos_test): Add a test case for large input
83436         value.
83437         (sin_test): Likewise.
83438         (sincos_test): Likewise.
83440 2012-03-15  Andreas Jaeger  <aj@suse.de>
83441             Joseph Myers  <joseph@codesourcery.com>
83443         [BZ #13658]
83444         * sysdeps/x86_64/fpu/s_sincos.S: Delete files so that
83445         x86-64 and i386 use the iee754/dbl-64 sin and cos implementation.
83446         * sysdeps/i386/fpu/branred.c: Likewise.
83447         * sysdeps/i386/fpu/dosincos.c: Likewise.
83448         * sysdeps/i386/fpu/mpa.c: Likewise.
83449         * sysdeps/i386/fpu/s_cos.S: Likewise.
83450         * sysdeps/i386/fpu/s_sin.S: Likewise.
83451         * sysdeps/i386/fpu/s_sincos.S: Likewise.
83452         * sysdeps/i386/fpu/sincos32.c: Likewise.
83454         * sysdeps/generic/math_private.h (libc_feholdexcept_setround_53bit):
83455         Define.
83456         (libc_feupdateenv_53bit): Define.
83457         * sysdeps/i386/fpu/math_private.h (libc_feholdexcept_setround_53bit):
83458         Define.
83459         (libc_feupdateenv_53bit): Define.
83461         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Do double arithmetic in
83462         53 bit (without extend i386 double precision).
83464         * math/libm-test.inc (sincos_test): Add tests for large input.
83465         (sin): Likewise.
83466         (cos): Likewise.
83468         * sysdeps/i386/fpu/libm-test-ulps: Update ULPs.
83470 2012-03-15  Andreas Schwab  <schwab@linux-m68k.org>
83472         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
83474 2012-03-15  David S. Miller  <davem@davemloft.net>
83476         * sysdeps/sparc/sparc64/fpu/s_fmax.S: New file.
83477         * sysdeps/sparc/sparc64/fpu/s_fmaxf.S: New file.
83478         * sysdeps/sparc/sparc64/fpu/s_fmin.S: New file.
83479         * sysdeps/sparc/sparc64/fpu/s_fminf.S: New file.
83480         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmax.S: New file.
83481         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmaxf.S: New file.
83482         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fmin.S: New file.
83483         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fminf.S: New file.
83484         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmax.S: New file.
83485         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf-vis3.S: New file.
83486         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmaxf.S: New file.
83487         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin-vis3.S: New file.
83488         * sysdeps/sparc/sparc64/fpu/multiarch/s_fmin.S: New file.
83489         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf-vis3.S: New file.
83490         * sysdeps/sparc/sparc64/fpu/multiarch/s_fminf.S: New file.
83491         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax-vis3.S: New
83492         file.
83493         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmax.S: New file.
83494         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf-vis3.S: New
83495         file.
83496         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmaxf.S: New file.
83497         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin-vis3.S: New
83498         file.
83499         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fmin.S: New file.
83500         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf-vis3.S: New
83501         file.
83502         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fminf.S: New file.
83503         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new vis3
83504         fmin/fmax sysdep routines.
83505         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Likewise.
83507 2012-03-14  David S. Miller  <davem@davemloft.net>
83509         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil-vis3.S: New file.
83510         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceil.S: New file.
83511         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf-vis3.S: New file.
83512         * sysdeps/sparc/sparc64/fpu/multiarch/s_ceilf.S: New file.
83513         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite-vis3.S: New file.
83514         * sysdeps/sparc/sparc64/fpu/multiarch/s_finite.S: New file.
83515         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef-vis3.S: New file.
83516         * sysdeps/sparc/sparc64/fpu/multiarch/s_finitef.S: New file.
83517         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor-vis3.S: New file.
83518         * sysdeps/sparc/sparc64/fpu/multiarch/s_floor.S: New file.
83519         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf-vis3.S: New file.
83520         * sysdeps/sparc/sparc64/fpu/multiarch/s_floorf.S: New file.
83521         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf-vis3.S: New file.
83522         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinf.S: New file.
83523         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff-vis3.S: New file.
83524         * sysdeps/sparc/sparc64/fpu/multiarch/s_isinff.S: New file.
83525         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan-vis3.S: New file.
83526         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnan.S: New file.
83527         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf-vis3.S: New file.
83528         * sysdeps/sparc/sparc64/fpu/multiarch/s_isnanf.S: New file.
83529         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint-vis3.S: New file.
83530         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrint.S: New file.
83531         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf-vis3.S: New file.
83532         * sysdeps/sparc/sparc64/fpu/multiarch/s_lrintf.S: New file.
83533         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint-vis3.S: New file.
83534         * sysdeps/sparc/sparc64/fpu/multiarch/s_rint.S: New file.
83535         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf-vis3.S: New file.
83536         * sysdeps/sparc/sparc64/fpu/multiarch/s_rintf.S: New file.
83537         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: Add new VIS3
83538         routines.
83539         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil-vis3.S: New
83540         file.
83541         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceil.S: New file.
83542         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf-vis3.S: New
83543         file.
83544         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_ceilf.S: New file.
83545         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs-vis3.S: New
83546         file.
83547         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabs.S: New file.
83548         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf-vis3.S: New
83549         file.
83550         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_fabsf.S: New file.
83551         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor-vis3.S: New
83552         file.
83553         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floor.S: New file.
83554         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf-vis3.S: New
83555         file.
83556         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_floorf.S: New
83557         file.
83558         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint-vis3.S: New
83559         file.
83560         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrint.S: New
83561         file.
83562         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf-vis3.S:
83563         New file.
83564         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_llrintf.S: New
83565         file.
83566         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint-vis3.S: New
83567         file.
83568         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rint.S: New file.
83569         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf-vis3.S: New
83570         file.
83571         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_rintf.S: New file.
83572         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt-vis3.S: New
83573         file.
83574         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrt.S: New file.
83575         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf-vis3.S: New
83576         file.
83577         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/w_sqrtf.S: New file.
83578         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: Add new
83579         VIS3 routines.
83581         * sysdeps/sparc/sparc32/sparcv9/fpu/unix/sysv/linux/multiarch/Implies:
83582         New file.
83584         * sysdeps/sparc/fpu/libm-test-ulps: Update.
83586         * sysdeps/sparc/configure.in: New file.
83587         * sysdeps/sparc/configure: Generate.
83588         * configure.in (libc_cv_sparc_as_vis3): Substitute.
83589         * configure: Regenerate.
83590         * config.h.in (HAVE_AS_VIS3_SUPPORT): New.
83591         * config.make.in (have-as-vis3): New.
83592         * sysdeps/sparc/sparc32/sparcv9/Makefile (ASFLAGS-*): If VIS3 is
83593         available use -Av9d instead of -Av9a.
83594         * sysdeps/sparc/sparc64/Makefile: Likewise.
83595         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/Makefile: New file.
83596         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign-vis3.S:
83597         New file.
83598         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysign.S: New
83599         file.
83600         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf-vis3.S:
83601         New file.
83602         * sysdeps/sparc/sparc32/sparcv9/fpu/multiarch/s_copysignf.S: New
83603         file.
83604         * sysdeps/sparc/sparc64/fpu/multiarch/Makefile: New file.
83605         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit-vis3.S: New file.
83606         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbit.S: New file.
83607         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf-vis3.S: New file.
83608         * sysdeps/sparc/sparc64/fpu/multiarch/s_signbitf.S: New file.
83610         * sysdeps/sparc/sparc64/fpu/s_copysign.S (__copysign): Use
83611         fzeros/fnegs to load 0x80000000 into a float register instead of
83612         using the stack.
83613         * sysdeps/sparc/sparc64/fpu/s_copysignf.S (__copysignf): Likewise.
83615 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
83617         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
83618         bits/syscall.h.
83619         ($(objpfx)syscall-%.h): Rename rule to $(objpfx)bits/syscall%h.
83620         ($(objpfx)syscall-%.d): Rename rule to $(objpfx)bits/syscall%d.
83621         ($(inst_includedir)/bits/syscall.h): Remove rule.
83622         ($(objpfx)bits/syscall.d): Include instead of
83623         $(objpfx)syscall-list.d.
83624         (generated): Change syscall-list.h and syscall-list.d to
83625         bits/syscall.h and bits/syscall.d.
83627 2012-03-14  Roland McGrath  <roland@hack.frob.com>
83629         [BZ #13846]
83630         * manual/llio.texi (Memory-mapped I/O): Fix wrong function name.
83632 2012-03-14  Joseph Myers  <joseph@codesourcery.com>
83634         [BZ #13841]
83635         * math/s_csqrt.c: Include <float.h>.
83636         (__csqrt): Scale large or subnormal inputs.
83637         * math/s_csqrtf.c: Likewise.
83638         * math/s_csqrtl.c: Likewise.
83639         * math/libm-test.inc (csqrt_test): Add more tests.
83640         * sysdeps/i386/fpu/libm-test-ulps: Update.
83641         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
83643         [BZ #13840]
83644         * math/libm-test.inc (hypot_test): Add more tests.
83646 2012-03-13  David S. Miller  <davem@davemloft.net>
83648         [BZ #13840]
83649         * sysdeps/ieee754/flt-32/e_hypotf.c (__ieee754_hypotf): Rewrite to use
83650         double-precision for the calculation instead of scaling.
83652 2012-03-13  Joseph Myers  <joseph@codesourcery.com>
83654         * sysdeps/ieee754/dbl-64/s_nearbyint.c (__nearbyint): Do not
83655         manipulate bits before adding and subtracting TWO52[sx].
83656         * sysdeps/ieee754/dbl-64/s_rint.c (__rint): Likewise.
83657         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c (__nearbyint):
83658         Likewise.
83659         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c (__rint): Likewise.
83661 2012-03-13  David S. Miller  <davem@davemloft.net>
83663         * sysdeps/sparc/Makefile: Remove rtld-global-offsets.sym handling.
83664         * sysdeps/sparc/elf/rtld-global-offsets.sym: Delete.
83665         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Don't include
83666         rtld-global-offsets.h
83667         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
83669         * sysdeps/ieee754/ldbl-128/s_expm1l.c (__expm1l): Use expl for
83670         large parameters.
83672         * sysdeps/unix/sysv/linux/sparc/sparc64/dl-fxstatat64.c: New file.
83674         * sysdeps/unix/sysv/linux/openat.c (OPENAT_NOT_CANCEL): Declare syscall
83675         'err' in the ifdef scope in which it is actually used.
83677         * nss/nss_db/db-init.c: Include string.h
83679 2012-03-12  David S. Miller  <davem@davemloft.net>
83681         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
83682         masking out of the most significant byte of random value used.
83683         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
83684         Fix coding style in previous change.
83686         * sysdeps/unix/sysv/linux/kernel-features.h
83687         (__ASSUME_CLONE_THREAD_FLAGS): Set on sparc when 2.5.64 and later.
83688         (__ASSUME_TGKILL): Set on sparc when 2.6.1 and later, simplify
83689         expression.
83690         (__ASSUME_FADVISE64_64_SYSCALL): Set on sparc when 2.6.1 and
83691         later.
83693 2012-03-11  David S. Miller  <davem@davemloft.net>
83695         * sysdeps/unix/sysv/linux/sparc/sparc64/makecontext.c
83696         (__makecontext): Fix signedness of pointer casts setting up 'sp'.
83697         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL) Use 'long'
83698         for 'resultvar' otherwise things get truncated on 64-bit.
83700         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
83701         Fix masking out of the most significant byte of random value used.
83703         * sysdeps/sparc/fpu/libm-test-ulps: Update.
83705 2012-03-10  Andreas Schwab  <schwab@linux-m68k.org>
83707         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
83709 2012-03-09  David S. Miller  <davem@davemloft.net>
83711         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Protect local
83712         variables with appropriate CPP guards.
83713         * sysdeps/sparc/sparc32/dl-trampoline.S: Propagate the stack_ptr
83714         from the frame pointer, not the stack pointer.  Correct layout
83715         comments.  Fix test on resulting framesize and the management of
83716         the outregs buffer for pltexit.  Preserve floating point return
83717         values across _dl_call_pltexit call.
83718         * sysdeps/sparc/sparc64/dl-trampoline.S: Fix test on resulting
83719         framesize and the management of the outregs buffer for pltexit.
83720         Preserve floating point return values across _dl_call_pltexit
83721         call.
83722         * elf/sotruss-lib.c (la_sparc32_gnu_pltenter)
83723         (la_sparc64_gnu_pltenter, la_sparc32_gnu_pltexit)
83724         (la_sparc64_gnu_pltexit): New functions.
83725         (print_exit): Fix format string for return register value.
83727 2012-03-10  Joseph Myers  <joseph@codesourcery.com>
83729         * sunrpc/Makefile (others): Add rpcgen.
83730         ($(objpfx)rpcgen): Remove special build rule and dependency on
83731         libc.
83732         * sunrpc/rpcgen.c: New file.
83734 2012-03-09  Paul Eggert  <eggert@cs.ucla.edu>
83736         [BZ #13673]
83737         * posix/bug-regex33.c: Replace FSF snail mail address with URL.
83738         * stdio-common/bug-vfprintf-nargs.c: Likewise.
83739         * sysdeps/i386/crti.S: Likewise.
83740         * sysdeps/i386/crtn.S: Likewise.
83741         * sysdeps/powerpc/powerpc32/crti.S: Likewise.
83742         * sysdeps/powerpc/powerpc32/crtn.S: Likewise.
83743         * sysdeps/powerpc/powerpc64/crti.S: Likewise.
83744         * sysdeps/powerpc/powerpc64/crtn.S: Likewise.
83745         * sysdeps/sh/crti.S: Likewise.
83746         * sysdeps/sh/crtn.S: Likewise.
83747         * sysdeps/x86_64/fpu/e_expf.S: Likewise.
83749         [BZ #13673]
83750         * locale/programs/charmap-kw.gperf: Replace FSF snail mail address
83751         with URL.
83752         * locale/programs/locfile-kw.gperf: Likewise.
83753         * locale/programs/charmap-kw.h: Regenerated.
83754         * locale/programs/locfile-kw.h: Likewise.
83756         [BZ #13673]
83757         * intl/plural.y: Replace FSF snail mail address with URL.
83758         * intl/plural.c: Regenerated.
83760 2012-03-09  Richard Henderson  <rth@twiddle.net>
83762         * include/math_private.h: Remove file.
83763         * math/math_private.h: Move file ...
83764         * sysdeps/generic/math_private.h: ... here.
83766         * sysdeps/i386/fpu/math_private.h: Use include_next for math_private.h.
83767         * sysdeps/powerpc/fpu/math_private.h: Likewise.
83768         * sysdeps/x86_64/fpu/math_private.h: Likewise.
83770         * sysdeps/i386/fpu/s_fpclassifyl.c: Use <> to include both <math.h>
83771         and <math_private.h>.
83772         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
83773         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
83774         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
83775         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
83776         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
83777         * sysdeps/ieee754/dbl-64/branred.c: Likewise.
83778         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
83779         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
83780         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
83781         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
83782         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
83783         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
83784         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
83785         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
83786         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
83787         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
83788         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
83789         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
83790         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
83791         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
83792         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
83793         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
83794         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
83795         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
83796         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Likewise.
83797         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
83798         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
83799         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
83800         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
83801         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
83802         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
83803         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
83804         * sysdeps/ieee754/dbl-64/s_cbrt.c: Likewise.
83805         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
83806         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
83807         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
83808         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
83809         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
83810         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
83811         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
83812         * sysdeps/ieee754/dbl-64/s_fpclassify.c: Likewise.
83813         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
83814         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
83815         * sysdeps/ieee754/dbl-64/s_isinf.c: Likewise.
83816         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: Likewise.
83817         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
83818         * sysdeps/ieee754/dbl-64/s_llrint.c: Likewise.
83819         * sysdeps/ieee754/dbl-64/s_llround.c: Likewise.
83820         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
83821         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
83822         * sysdeps/ieee754/dbl-64/s_lrint.c: Likewise.
83823         * sysdeps/ieee754/dbl-64/s_lround.c: Likewise.
83824         * sysdeps/ieee754/dbl-64/s_modf.c: Likewise.
83825         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
83826         * sysdeps/ieee754/dbl-64/s_remquo.c: Likewise.
83827         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
83828         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
83829         * sysdeps/ieee754/dbl-64/s_scalbln.c: Likewise.
83830         * sysdeps/ieee754/dbl-64/s_scalbn.c: Likewise.
83831         * sysdeps/ieee754/dbl-64/s_signbit.c: Likewise.
83832         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
83833         * sysdeps/ieee754/dbl-64/s_sincos.c: Likewise.
83834         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
83835         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
83836         * sysdeps/ieee754/dbl-64/s_trunc.c: Likewise.
83837         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
83838         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
83839         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
83840         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: Likewise.
83841         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: Likewise.
83842         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: Likewise.
83843         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
83844         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Likewise.
83845         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
83846         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: Likewise.
83847         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf.c: Likewise.
83848         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: Likewise.
83849         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
83850         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: Likewise.
83851         * sysdeps/ieee754/dbl-64/wordsize-64/s_lround.c: Likewise.
83852         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: Likewise.
83853         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Likewise.
83854         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: Likewise.
83855         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
83856         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
83857         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: Likewise.
83858         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: Likewise.
83859         * sysdeps/ieee754/dbl-64/wordsize-64/s_trunc.c: Likewise.
83860         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
83861         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
83862         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
83863         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
83864         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
83865         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
83866         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
83867         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
83868         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
83869         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
83870         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
83871         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
83872         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
83873         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
83874         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
83875         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
83876         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
83877         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
83878         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
83879         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
83880         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
83881         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
83882         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
83883         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
83884         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
83885         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
83886         * sysdeps/ieee754/flt-32/s_cbrtf.c: Likewise.
83887         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
83888         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
83889         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
83890         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
83891         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
83892         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
83893         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
83894         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
83895         * sysdeps/ieee754/flt-32/s_fpclassifyf.c: Likewise.
83896         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
83897         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
83898         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
83899         * sysdeps/ieee754/flt-32/s_isinff.c: Likewise.
83900         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
83901         * sysdeps/ieee754/flt-32/s_llrintf.c: Likewise.
83902         * sysdeps/ieee754/flt-32/s_llroundf.c: Likewise.
83903         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
83904         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
83905         * sysdeps/ieee754/flt-32/s_lrintf.c: Likewise.
83906         * sysdeps/ieee754/flt-32/s_lroundf.c: Likewise.
83907         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
83908         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
83909         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
83910         * sysdeps/ieee754/flt-32/s_remquof.c: Likewise.
83911         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
83912         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
83913         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
83914         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
83915         * sysdeps/ieee754/flt-32/s_signbitf.c: Likewise.
83916         * sysdeps/ieee754/flt-32/s_sincosf.c: Likewise.
83917         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
83918         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
83919         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
83920         * sysdeps/ieee754/flt-32/s_truncf.c: Likewise.
83921         * sysdeps/ieee754/k_standard.c: Likewise.
83922         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
83923         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
83924         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
83925         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
83926         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
83927         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
83928         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
83929         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
83930         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
83931         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
83932         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
83933         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
83934         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
83935         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
83936         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
83937         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
83938         * sysdeps/ieee754/ldbl-128/e_rem_pio2l.c: Likewise.
83939         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
83940         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
83941         * sysdeps/ieee754/ldbl-128/k_cosl.c: Likewise.
83942         * sysdeps/ieee754/ldbl-128/k_sincosl.c: Likewise.
83943         * sysdeps/ieee754/ldbl-128/k_sinl.c: Likewise.
83944         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
83945         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
83946         * sysdeps/ieee754/ldbl-128/s_atanl.c: Likewise.
83947         * sysdeps/ieee754/ldbl-128/s_cbrtl.c: Likewise.
83948         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
83949         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
83950         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
83951         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
83952         * sysdeps/ieee754/ldbl-128/s_expm1l.c: Likewise.
83953         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
83954         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
83955         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
83956         * sysdeps/ieee754/ldbl-128/s_fpclassifyl.c: Likewise.
83957         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
83958         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
83959         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: Likewise.
83960         * sysdeps/ieee754/ldbl-128/s_isinfl.c: Likewise.
83961         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
83962         * sysdeps/ieee754/ldbl-128/s_llrintl.c: Likewise.
83963         * sysdeps/ieee754/ldbl-128/s_llroundl.c: Likewise.
83964         * sysdeps/ieee754/ldbl-128/s_log1pl.c: Likewise.
83965         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
83966         * sysdeps/ieee754/ldbl-128/s_lrintl.c: Likewise.
83967         * sysdeps/ieee754/ldbl-128/s_lroundl.c: Likewise.
83968         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
83969         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
83970         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
83971         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
83972         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
83973         * sysdeps/ieee754/ldbl-128/s_remquol.c: Likewise.
83974         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
83975         * sysdeps/ieee754/ldbl-128/s_roundl.c: Likewise.
83976         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
83977         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
83978         * sysdeps/ieee754/ldbl-128/s_signbitl.c: Likewise.
83979         * sysdeps/ieee754/ldbl-128/s_sincosl.c: Likewise.
83980         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
83981         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
83982         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
83983         * sysdeps/ieee754/ldbl-128/s_truncl.c: Likewise.
83984         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
83985         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
83986         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
83987         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
83988         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
83989         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
83990         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
83991         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
83992         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
83993         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
83994         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
83995         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
83996         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
83997         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
83998         * sysdeps/ieee754/ldbl-128ibm/e_rem_pio2l.c: Likewise.
83999         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
84000         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
84001         * sysdeps/ieee754/ldbl-128ibm/k_cosl.c: Likewise.
84002         * sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Likewise.
84003         * sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Likewise.
84004         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
84005         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
84006         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Likewise.
84007         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
84008         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
84009         * sysdeps/ieee754/ldbl-128ibm/s_ctanhl.c: Likewise.
84010         * sysdeps/ieee754/ldbl-128ibm/s_ctanl.c: Likewise.
84011         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
84012         * sysdeps/ieee754/ldbl-128ibm/s_expm1l.c: Likewise.
84013         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
84014         * sysdeps/ieee754/ldbl-128ibm/s_finitel.c: Likewise.
84015         * sysdeps/ieee754/ldbl-128ibm/s_fpclassifyl.c: Likewise.
84016         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
84017         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
84018         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: Likewise.
84019         * sysdeps/ieee754/ldbl-128ibm/s_isinfl.c: Likewise.
84020         * sysdeps/ieee754/ldbl-128ibm/s_isnanl.c: Likewise.
84021         * sysdeps/ieee754/ldbl-128ibm/s_log1pl.c: Likewise.
84022         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
84023         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
84024         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
84025         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
84026         * sysdeps/ieee754/ldbl-128ibm/s_remquol.c: Likewise.
84027         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
84028         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
84029         * sysdeps/ieee754/ldbl-128ibm/s_signbitl.c: Likewise.
84030         * sysdeps/ieee754/ldbl-128ibm/s_sincosl.c: Likewise.
84031         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
84032         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
84033         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
84034         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
84035         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
84036         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
84037         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
84038         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
84039         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
84040         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
84041         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
84042         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
84043         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
84044         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
84045         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
84046         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
84047         * sysdeps/ieee754/ldbl-96/s_cbrtl.c: Likewise.
84048         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
84049         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
84050         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
84051         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
84052         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
84053         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
84054         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
84055         * sysdeps/ieee754/ldbl-96/s_fpclassifyl.c: Likewise.
84056         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
84057         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
84058         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: Likewise.
84059         * sysdeps/ieee754/ldbl-96/s_isinfl.c: Likewise.
84060         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
84061         * sysdeps/ieee754/ldbl-96/s_llrintl.c: Likewise.
84062         * sysdeps/ieee754/ldbl-96/s_llroundl.c: Likewise.
84063         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
84064         * sysdeps/ieee754/ldbl-96/s_lrintl.c: Likewise.
84065         * sysdeps/ieee754/ldbl-96/s_lroundl.c: Likewise.
84066         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
84067         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
84068         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
84069         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
84070         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
84071         * sysdeps/ieee754/ldbl-96/s_remquol.c: Likewise.
84072         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
84073         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
84074         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
84075         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
84076         * sysdeps/ieee754/ldbl-96/s_signbitl.c: Likewise.
84077         * sysdeps/ieee754/ldbl-96/s_sincosl.c: Likewise.
84078         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
84079         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
84080         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
84081         * sysdeps/ieee754/ldbl-96/s_truncl.c: Likewise.
84082         * sysdeps/ieee754/s_lib_version.c: Likewise.
84083         * sysdeps/ieee754/s_matherr.c: Likewise.
84084         * sysdeps/ieee754/s_signgam.c: Likewise.
84085         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
84086         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
84087         * sysdeps/powerpc/fpu/e_rem_pio2f.c: Likewise.
84088         * sysdeps/powerpc/fpu/k_cosf.c: Likewise.
84089         * sysdeps/powerpc/fpu/k_rem_pio2f.c: Likewise.
84090         * sysdeps/powerpc/fpu/k_sinf.c: Likewise.
84091         * sysdeps/powerpc/fpu/s_cosf.c: Likewise.
84092         * sysdeps/powerpc/fpu/s_float_bitwise.h: Likewise.
84093         * sysdeps/powerpc/fpu/s_isnan.c: Likewise.
84094         * sysdeps/powerpc/fpu/s_rint.c: Likewise.
84095         * sysdeps/powerpc/fpu/s_rintf.c: Likewise.
84096         * sysdeps/powerpc/fpu/s_sinf.c: Likewise.
84097         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
84098         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
84099         * sysdeps/powerpc/powerpc32/fpu/s_llrintf.c: Likewise.
84100         * sysdeps/powerpc/powerpc32/power4/fpu/slowexp.c: Likewise.
84101         * sysdeps/powerpc/powerpc32/power4/fpu/slowpow.c: Likewise.
84102         * sysdeps/powerpc/powerpc64/power4/fpu/slowexp.c: Likewise.
84103         * sysdeps/powerpc/powerpc64/power4/fpu/slowpow.c: Likewise.
84104         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
84105         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
84107 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
84109         * sunrpc/rpc_cout.c: Remove __GNU_LIBRARY__ conditionals.
84110         * sunrpc/rpc_main.c: Likewise.
84111         * sunrpc/rpc_svcout.c: Likewise.
84113 2012-03-09  David S. Miller  <davem@davemloft.net>
84115         * include/math_private.h: New file.
84117 2012-03-09  Joseph Myers  <joseph@codesourcery.com>
84119         * sysdeps/unix/sysv/linux/bits/socket_type.h: New file.
84120         * sysdeps/unix/sysv/linux/sparc/bits/socket_type.h: Likewise.
84121         * sysdeps/unix/sysv/linux/bits/socket.h: Get enum __socket_type
84122         from <bits/socket_type.h>.
84123         (enum __socket_type): Don't define here.
84124         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Remove.
84125         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
84126         bits/socket_type.h.
84128         [BZ #13566]
84129         * libio/stdio.h (gets): Always declare for C++ up to C++11 without
84130         checking __USE_GNU.
84132         * Makerules ($(inst_includedir)/%.h): New rule.
84133         * stdio-common/Makefile (headers): Add bits/stdio_lim.h.
84134         (install-others): Remove variable setting.
84135         ($(inst_includedir)/bits/stdio_lim.h): Remove rule.
84137 2012-03-08  Richard Henderson  <rth@twiddle.net>
84139         * sysdeps/powerpc/fpu/math_private.h (__ieee754_sqrt): Convert
84140         from macro to inline function; merge with the
84141         !__LIBC_INTERNAL_MATH_INLINES version.
84142         (__ieee754_sqrtf): Likewise.
84144         * sysdeps/x86_64/fpu/math_private.h (__rint): Convert from macro
84145         to inline function.
84146         (__rintf, __floor, __floorf): Likewise.
84148         * sysdeps/x86_64/fpu/math_private.h (__ieee754_sqrt): Convert from
84149         macro to inline function.
84150         (__ieee754_sqrtf, __ieee754_sqrtl): Likewise.
84152         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Include <math_private.h>,
84153         not <math/math_private.h>.
84155 2012-03-08  David S. Miller  <davem@davemloft.net>
84157         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c: Update
84158         copyright year.
84159         * sysdeps/unix/sysv/linux/sparc/sysdep.h: Likewise.
84161 2012-03-08  Thomas Schwinge  <thomas@codesourcery.com>
84163         * resolv/gai_misc.c (handle_requests): Fix struct timespec
84164         normalization.
84165         * rt/tst-cpuclock2.c (test_nanosleep): Likewise.
84166         * sysdeps/pthread/aio_misc.c (handle_fildes_io): Likewise.
84168 2012-03-08  Ulrich Drepper  <drepper@gmail.com>
84170         * stdio-common/tst-fphex.c: Various cleanups.  The macros cannot
84171         be defined individually, they must be defined as a block.  Define
84172         S for printing a string instead of hidint the different by using a
84173         macro for adding the 'l'.
84174         * stdio-common/tst-fphex-wide.c: Adjust.
84176 2012-03-07  Marek Polacek  <polacek@redhat.com>
84178         * stdio-common/tst-long-dbl-fphex.c: Fix test for non ldbl-96 targets.
84180 2012-03-08  Marek Polacek  <polacek@redhat.com>
84182         [BZ #13806]
84183         * stdio-common/Makefile (tests): Add tst-fphex-wide.
84184         * stdio-common/tst-fphex.c: Define a few macros to make the
84185         test reusable.  Use them.
84186         * stdio-common/tst-fphex-wide.c: New file.
84188 2012-03-08  Joseph Myers  <joseph@codesourcery.com>
84190         [BZ #6911]
84191         * manual/macros.texi (gnusystems): New macro.
84192         (nongnusystems): Likewise.
84193         (gnulinuxhurdsystems): Likewise.
84194         (gnuhurdsystems): Likewise..
84195         (gnulinuxsystems): Likewise.
84196         * manual/charset.texi: Use new macros or @theglibc{} to refer to
84197         variants of the GNU system, not "GNU system".
84198         * manual/conf.texi: Likewise.
84199         * manual/errno.texi: Likewise.  Update example of errno macro
84200         expansion.
84201         * manual/filesys.texi: Likewise.
84202         (getumask): Document as specific to GNU/Hurd.
84203         * manual/install.texi: Likewise.  Reword some references to
84204         GNU/Linux.
84205         * manual/intro.texi: Likewise.
84206         * manual/io.texi: Likewise.
84207         (File Name Portability): Detail which constraints are inapplicable
84208         to all GNU systems and which are only inapplicable to GNU/Hurd.
84209         * manual/job.texi: Likewise.
84210         * manual/llio.texi: Likewise.
84211         (O_NOCTTY): Document as present on GNU/Linux.
84212         * manual/maint.texi: Likewise.
84213         * manual/memory.texi: Likewise.
84214         * manual/pattern.texi: Likewise.
84215         * manual/pipe.texi: Likewise.
84216         * manual/process.texi: Likewise.
84217         * manual/resource.texi: Likewise.
84218         (RUSAGE_CHILDREN): Remove statement about specifying a particular
84219         child on GNU/Hurd.
84220         * manual/setjmp.texi: Likewise.
84221         * manual/signal.texi: Likewise.
84222         * manual/startup.texi: Likewise.
84223         * manual/stdio.texi: Likewise.
84224         * manual/terminal.texi: Likewise.
84225         (ONLCR): Document as POSIX.
84226         (OXTABS): Document availability on GNU/Linux as XTABS.
84227         (ONOEOT): Document availability separately from other bits.
84228         (VLNEXT, VDISCARD, VSTATUS): Document availability individually.
84229         * manual/time.texi: Likewise.
84230         * manual/users.texi: Likewise.
84231         * INSTALL: Regenerated.
84232         * sysdeps/gnu/errlist.c: Regenerated.
84234         * aclocal.m4 (LIBC_TRY_LINK_STATIC): New macro.
84235         * configure.in (libc_cv_preinit_array): Use LIBC_TRY_LINK_STATIC.
84236         (libc_cv_ctors_header): Likewise.  Use asm ("") instead of calling
84237         puts.
84238         * configure: Regenerated.
84240 2012-03-07  Joseph Myers  <joseph@codesourcery.com>
84242         * sysdeps/i386/configure.in (cpuid.h): Use AC_CHECK_HEADER with no
84243         default includes instead of AC_HEADER_CHECK.
84244         * sysdeps/i386/configure: Regenerated.
84246         [BZ #10716]
84247         * math/s_cacosh.c (__cacosh): Convert negative log results to 0.
84248         * math/s_cacoshf.c (__cacoshf): Likewise.
84249         * math/s_cacoshl.c (__cacoshl): Likewise.
84250         * math/s_casinh.c (__casinh): Set signs of result from argument.
84251         * math/s_casinhf.c (__casinhf): Likewise.
84252         * math/s_casinhl.c (__casinhl): Likewise.
84253         * math/libm-test.inc (cacos_test, cacosh_test, casin_test)
84254         (casinh_test): Add more tests.
84255         * sysdeps/i386/fpu/libm-test-ulps: Update.
84256         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84258 2012-03-07  Ulrich Drepper  <drepper@gmail.com>
84260         * po/zh_TW.po: Update from translation team.
84262         * login/Makefile (distribute): Remove variable.
84263         * catgets/Makefile: Likewise.
84264         * mach/Makefile: Likewise.
84265         * malloc/Makefile: Likewise.
84266         * misc/Makefile: Likewise.
84267         * iconv/Makefile: Likewise.
84268         * nscd/Makefile: Likewise.
84269         * hurd/Makefile: Likewise.
84270         * manual/Makefile: Likewise.
84271         * locale/Makefile: Likewise.
84272         * intl/Makefile: Likewise.
84273         * conform/Makefile: Likewise.
84274         * nss/Makefile: Likewise.
84275         * time/Makefile: Likewise.
84276         * soft-fp/Makefile: Likewise.
84277         * dirent/Makefile: Likewise.
84278         * gmon/Makefile: Likewise.
84279         * po/Makefile: Likewise.
84280         * rt/Makefile: Likewise.
84281         * socket/Makefile: Likewise.
84282         * math/Makefile: Likewise.
84283         * signal/Makefile: Likewise.
84284         * debug/Makefile: Likewise.
84285         * elf/Makefile: Likewise.
84286         * timezone/Makefile: Likewise.
84287         * stdlib/Makefile: Likewise.
84288         * iconvdata/Makefile: Likewise.
84289         * sunrpc/Makefile: Likewise.
84290         * io/Makefile: Likewise.
84291         * argp/Makefile: Likewise.
84292         * inet/Makefile: Likewise.
84293         * hesiod/Makefile: Likewise.
84294         * grp/Makefile: Likewise.
84295         * csu/Makefile: Likewise.
84296         * wctype/Makefile: Likewise.
84297         * crypt/Makefile: Likewise.
84298         * libio/Makefile: Likewise.
84299         * string/Makefile: Likewise.
84300         * nis/Makefile: Likewise.
84301         * resolv/Makefile: Likewise.
84302         * stdio-common/Makefile: Likewise.
84303         * wcsmbs/Makefile: Likewise.
84304         * dlfcn/Makefile: Likewise.
84305         * posix/Makefile: Likewise.
84307         [BZ #6959]
84308         * timezone/Makefile: Don't install timezone files, just the programs
84309         and scripts.
84311 2012-03-06  Ulrich Drepper  <drepper@gmail.com>
84313         * nss/databases.def: Add missing gshadow entry.
84315         * stdio-common/vfprintf.c: Fix formatting.  Missing copyright update.
84317 2012-03-06  Marek Polacek  <polacek@redhat.com>
84319         [BZ #13726]
84320         * sysdeps/ieee754/ldbl-96/printf_fphex.c: Adjust position of wnumstr.
84321         * sysdeps/x86_64/fpu/printf_fphex.c: Likewise.
84322         * stdio-common/Makefile (tests): Add tst-long-dbl-fphex.
84323         * stdio-common/tst-long-dbl-fphex.c: New file.
84325 2012-03-06  David S. Miller  <davem@davemloft.net>
84327         * sysdeps/unix/sysv/linux/sparc/sparc64/get_clockfreq.c
84328         (set_obp_int): New function.
84329         (get_obp_int): New function.
84330         (__get_clockfreq_via_dev_openprom): Likewise.
84331         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INTERNAL_SYSCALL_ERROR_P):
84332         Avoid unused variable warnings on 'val' and use builtin_expect.
84333         (INLINE_SYSCALL): Don't wrap INTERNAL_SYSCALL_ERROR_P with
84334         __builtin_expect.
84335         (INLINE_CLONE_SYSCALL): Likewise.
84337 2012-03-05  David S. Miller  <davem@davemloft.net>
84339         * sysdeps/sparc/fpu/libm-test-ulps: Update.
84341 2012-03-05  Andreas Schwab  <schwab@linux-m68k.org>
84343         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
84345         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Drop exp(-x) term
84346         only for |x| >= 40.
84347         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
84349 2012-03-05  H.J. Lu  <hongjiu.lu@intel.com>
84351         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c (gettimeofday_ifunc):
84352         Replace gettimeofday with __vdso_gettimeofday.
84354         * sysdeps/unix/sysv/linux/x86_64/init-first.c
84355         (_libc_vdso_platform_setup): Replace clock_gettime and getcpu with
84356         __vdso_clock_gettime and __vdso_getcpu.
84358         * sysdeps/unix/sysv/linux/x86_64/time.c (time_ifunc): Replace
84359         time with __vdso_time.
84361 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
84363         * manual/lang.texi (size_t): Note types to which size_t may be
84364         equivalent with the GNU C Library, but do not describe when
84365         differences between them are significant.
84367 2012-03-05  Andreas Jaeger  <aj@suse.de>
84369         * sysdeps/i386/fpu/libm-test-ulps: Update.
84371 2012-03-05  Joseph Myers  <joseph@codesourcery.com>
84373         [BZ #3976]
84374         * sysdeps/ieee754/dbl-64/e_pow.c: Include <fenv.h>.
84375         (__ieee754_pow): Save and restore rounding mode and use
84376         round-to-nearest for main computations.
84377         * math/libm-test.inc (pow_test_tonearest): New function.
84378         (pow_test_towardzero): Likewise.
84379         (pow_test_downward): Likewise.
84380         (pow_test_upward): Likewise.
84381         (main): Call the new functions.
84382         * sysdeps/i386/fpu/libm-test-ulps: Update.
84383         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84385         [BZ #3976]
84386         * math/libm-test.inc (cosh_test_tonearest): New function.
84387         (cosh_test_towardzero): Likewise.
84388         (cosh_test_downward): Likewise.
84389         (cosh_test_upward): Likewise.
84390         (sinh_test_tonearest): Likewise.
84391         (sinh_test_towardzero): Likewise.
84392         (sinh_test_downward): Likewise.
84393         (sinh_test_upward): Likewise.
84394         (main): Call the new functions.
84395         * sysdeps/i386/fpu/libm-test-ulps: Update.
84396         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84398 2012-03-05  Tom de Vries  <tom@codesourcery.com>
84400         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Ensure
84401         default stack guard is set in last bytes.
84402         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Same.
84404 2012-03-05  Kees Cook  <keescook@chromium.org>
84406         * stdio-common/vfprintf.c (vfprintf): add missing errno settings.
84408         [BZ #13656]
84409         * stdio-common/vfprintf.c (vfprintf): Check for nargs overflow and
84410         possibly allocate from heap instead of stack.
84411         * stdio-common/bug-vfprintf-nargs.c: New file.
84412         * stdio-common/Makefile (tests): Add nargs overflow test.
84414 2012-03-03  Andreas Schwab  <schwab@linux-m68k.org>
84416         * sysdeps/powerpc/fpu/libm-test-ulps: Update.
84418 2012-03-03  Marek Polacek  <polacek@redhat.com>
84420         * include/sys/cdefs.h: Remove __GNUC_PREREQ macro.
84421         * math/math_private.h: Likewise.
84422         * stdlib/tst-strtod.c: Likewise.
84423         * sysdeps/i386/i486/bits/atomic.h: Likewise.
84424         * sysdeps/x86_64/bits/atomic.h: Likewise.
84426 2012-03-02  David S. Miller  <davem@davemloft.net>
84428         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrint.S: New file.
84429         * sysdeps/sparc/sparc32/sparcv9/fpu/s_llrintf.S: New file.
84430         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrint.S: New file.
84431         * sysdeps/sparc/sparc32/sparcv9/fpu/s_lrintf.S: New file.
84432         * sysdeps/sparc/sparc64/fpu/s_llrint.S: New file.
84433         * sysdeps/sparc/sparc64/fpu/s_llrintf.S: New file.
84434         * sysdeps/sparc/sparc64/fpu/s_lrint.S: New file.
84435         * sysdeps/sparc/sparc64/fpu/s_lrintf.S: New file.
84437 2012-03-02  Roland McGrath  <roland@hack.frob.com>
84439         [BZ #13792]
84440         * manual/examples/README: New file, says the example source files
84441         can be used under GPL>=2.
84442         * manual/Makefile (%.c.texi): Eat the leading part of the file until a
84443         line containing just "*/".
84444         * manual/examples/add.c: Add copyright header (GPL>=2).
84445         * manual/examples/argp-ex1.c: Likewise.
84446         * manual/examples/argp-ex2.c: Likewise.
84447         * manual/examples/argp-ex3.c: Likewise.
84448         * manual/examples/argp-ex4.c: Likewise.
84449         * manual/examples/atexit.c: Likewise.
84450         * manual/examples/db.c: Likewise.
84451         * manual/examples/dir.c: Likewise.
84452         * manual/examples/dir2.c: Likewise.
84453         * manual/examples/execinfo.c: Likewise.
84454         * manual/examples/filecli.c: Likewise.
84455         * manual/examples/filesrv.c: Likewise.
84456         * manual/examples/fmtmsgexpl.c: Likewise.
84457         * manual/examples/genpass.c: Likewise.
84458         * manual/examples/inetcli.c: Likewise.
84459         * manual/examples/inetsrv.c: Likewise.
84460         * manual/examples/isockad.c: Likewise.
84461         * manual/examples/longopt.c: Likewise.
84462         * manual/examples/memopen.c: Likewise.
84463         * manual/examples/memstrm.c: Likewise.
84464         * manual/examples/mkfsock.c: Likewise.
84465         * manual/examples/mkisock.c: Likewise.
84466         * manual/examples/mygetpass.c: Likewise.
84467         * manual/examples/pipe.c: Likewise.
84468         * manual/examples/popen.c: Likewise.
84469         * manual/examples/rprintf.c: Likewise.
84470         * manual/examples/search.c: Likewise.
84471         * manual/examples/select.c: Likewise.
84472         * manual/examples/setjmp.c: Likewise.
84473         * manual/examples/sigh1.c: Likewise.
84474         * manual/examples/sigusr.c: Likewise.
84475         * manual/examples/stpcpy.c: Likewise.
84476         * manual/examples/strdupa.c: Likewise.
84477         * manual/examples/strftim.c: Likewise.
84478         * manual/examples/strncat.c: Likewise.
84479         * manual/examples/subopt.c: Likewise.
84480         * manual/examples/swapcontext.c: Likewise.
84481         * manual/examples/termios.c: Likewise.
84482         * manual/examples/testopt.c: Likewise.
84483         * manual/examples/testpass.c: Likewise.
84484         * manual/examples/timeval_subtract.c: Likewise.
84486         [BZ #13792]
84487         * manual/time.texi (Elapsed Time): Move timeval_subtract example
84488         function to ...
84489         * manual/timeval_subtract.c.texi: ... here, new file.
84491 2012-03-02  David S. Miller  <davem@davemloft.net>
84493         * sysdeps/sparc/fpu/libm-test-ulps: Update for recently added tests.
84495 2012-03-02  Joseph Myers  <joseph@codesourcery.com>
84497         [BZ #3976]
84498         * sysdeps/ieee754/dbl-64/s_sin.c: Include <fenv.h>
84499         (__sin): Save and restore rounding mode and use round-to-nearest
84500         for all computations.
84501         (__cos): Save and restore rounding mode and use round-to-nearest
84502         for all computations.
84503         * sysdeps/ieee754/dbl-64/s_tan.c: Include "math_private.h" and
84504         <fenv.h>.
84505         (tan): Save and restore rounding mode and use round-to-nearest for
84506         all computations.
84507         * math/libm-test.inc (cos_test_tonearest): New function.
84508         (cos_test_towardzero): Likewise.
84509         (cos_test_downward): Likewise.
84510         (cos_test_upward): Likewise.
84511         (sin_test_tonearest): Likewise.
84512         (sin_test_towardzero): Likewise.
84513         (sin_test_downward): Likewise.
84514         (sin_test_upward): Likewise.
84515         (tan_test_tonearest): Likewise.
84516         (tan_test_towardzero): Likewise.
84517         (tan_test_downward): Likewise.
84518         (tan_test_upward): Likewise.
84519         (main): Call the new functions.
84520         * sysdeps/i386/fpu/libm-test-ulps: Update.
84521         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84523         [BZ #10135]
84524         * sysdeps/ieee754/dbl-64/s_scalbln.c (__scalbln): First test for
84525         small n, then large n, before computing and testing k+n.
84526         * sysdeps/ieee754/dbl-64/s_scalbn.c (__scalbn): Likewise.
84527         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c (__scalbln):
84528         Likewise.
84529         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c (__scalbn):
84530         Likewise.
84531         * sysdeps/ieee754/flt-32/s_scalblnf.c (__scalblnf): Likewise.
84532         * sysdeps/ieee754/flt-32/s_scalbnf.c (__scalbnf): Likewise.
84533         * sysdeps/ieee754/ldbl-128/s_scalblnl.c (__scalblnl): Likewise.
84534         * sysdeps/ieee754/ldbl-128/s_scalbnl.c (__scalbnl): Likewise.
84535         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c (__scalblnl): Likewise.
84536         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c (__scalbnl): Likewise.
84537         * sysdeps/ieee754/ldbl-96/s_scalblnl.c (__scalblnl): Likewise.
84538         * sysdeps/ieee754/ldbl-96/s_scalbnl.c (__scalbnl): Likewise.
84539         * math/libm-test.inc (scalbn_test): Add more tests.
84540         (scalbln_test): Likewise.
84542         * manual/filesys.texi (mode_t): Describe constraints on size and
84543         signedness, not exact equivalence to a particular type.
84544         (ino_t): Likewise.
84545         (ino64_t): Likewise.
84546         (dev_t): Likewise.
84547         (nlink_t): Likewise.
84548         (blkcnt_t): Likewise.
84549         (blkcnt64_t): Likewise.
84550         * manual/llio.texi (off_t): Likewise.
84552         [BZ #3976]
84553         * sysdeps/ieee754/dbl-64/e_exp.c: Include <fenv.h>.
84554         (__ieee754_exp): Save and restore rounding mode and use
84555         round-to-nearest for all computations.
84556         * math/libm-test.inc (exp_test_tonearest): New function.
84557         (exp_test_towardzero): Likewise.
84558         (exp_test_downward): Likewise.
84559         (exp_test_upward): Likewise.
84560         (main): Call the new functions.
84561         * sysdeps/i386/fpu/libm-test-ulps: Update.
84562         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84564 2012-03-01  Chris Demetriou  <cgd@google.com>
84566         * sysdeps/gnu/errlist-compat.awk: Don't depend on AWK internals to
84567         have predictable order.
84569 2012-03-01  David S. Miller  <davem@davemloft.net>
84571         * sysdeps/unix/sysv/linux/sparc/sparc32/getpagesize.c: Delete.
84573         * sysdeps/sparc/sparc64/fpu/s_finite.S: New file.
84574         * sysdeps/sparc/sparc64/fpu/s_finitef.S: New file.
84575         * sysdeps/sparc/sparc64/fpu/s_isinf.S: New file.
84576         * sysdeps/sparc/sparc64/fpu/s_isinff.S: New file.
84578         * sysdeps/sparc/sparc32/fpu/s_signbit.S: New file.
84579         * sysdeps/sparc/sparc32/fpu/s_signbitf.S: New file.
84580         * sysdeps/sparc/sparc32/fpu/s_signbitl.S: New file.
84581         * sysdeps/sparc/sparc32/sparcv9/fpu/s_isnan.S: New file.
84582         * sysdeps/sparc/sparc64/fpu/s_isnan.S: New file.
84583         * sysdeps/sparc/sparc64/fpu/s_isnanf.S: New file.
84584         * sysdeps/sparc/sparc64/fpu/s_signbit.S: New file.
84585         * sysdeps/sparc/sparc64/fpu/s_signbitf.S: New file.
84586         * sysdeps/sparc/sparc64/fpu/s_signbitl.S: New file.
84588         * sysdeps/sparc/fpu/libm-test-ulps: Update.
84590         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Move...
84591         * sysdeps/sparc/fpu/libm-test-ulps: to here.
84592         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Delete.
84594         * sysdeps/sparc/crti.S: Remove HAVE_BINUTILS_GOTDATA checks.
84595         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
84596         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
84597         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: Likewise.
84598         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: Likewise.
84599         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: Likewise.
84600         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: Likewise.
84601         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
84602         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
84603         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: Likewise.
84604         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: Likewise.
84605         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
84606         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
84607         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
84608         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
84609         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
84610         * config.h.in (HAVE_BINUTILS_GOTDATA): Delete.
84611         * sysdeps/sparc/elf/configure.in: Remove binutils GOTDATA checks.
84612         * sysdeps/sparc/elf/configure: Regenerated.
84614 2012-03-01  Joseph Myers  <joseph@codesourcery.com>
84616         * configure.in (AS, LD): Require binutils 2.20 or later.
84617         * configure: Regenerated.
84618         * manual/install.texi (Tools for Compilation): Give binutils 2.20
84619         as required minimum version.
84620         * INSTALL: Regenerated.
84622         [BZ #2541]
84623         [BZ #4108]
84624         * sysdeps/ieee754/flt-32/s_erff.c (__erfcf): Mask out one more bit
84625         before squaring exponent.
84626         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c (__erfcl): Mask out whole
84627         bottom long double and 27 bits of top long double before squaring
84628         exponent.
84629         * math/libm-test.inc (erfc_test): Add more tests.
84630         * sysdeps/i386/fpu/libm-test-ulps: Update.
84631         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
84632         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84634 2012-03-01  Kai Tietz  <ktietz@redhat.com>
84636         * soft-fp/soft-fp.h (_FP_STRUCT_LAYOUT): New macro.
84637         * soft-fp/quad.h (_FP_UNION_Q): Use _FP_STRUCT_LAYOUT on struct
84638         containing bit-fields.
84639         * soft-fp/extended.h (_FP_UNION_E): Likewise.
84640         * soft-fp/single.h (_FP_UNION_S): Likewise.
84641         * soft-fp/double.h (_FP_UNION_D): Likewise.
84643 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
84645         [BZ #13786]
84646         * sysdeps/i386/i686/multiarch/strcmp.S [USE_AS_STRCASECMP_L]: Do
84647         not include ../strcmp.S.
84648         [USE_AS_STRNCASECMP_L]: Likewise.
84649         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c
84650         (__strcasecmp_l_ia32): Define as alias to __strcasecmp_l_nonascii.
84651         * sysdeps/i386/i686/multiarch/strncase_l-c.c
84652         (__strncasecmp_l_ia32): Define as alias to
84653         __strncasecmp_l_nonascii.
84655         [BZ #5794]
84656         * math/libm-test.inc (expm1_test): Add test for bug 5794.
84657         * sysdeps/i386/fpu/libm-test-ulps: Update.
84658         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84660         * sysdeps/i386/fpu/libm-test-ulps: Reduce some expected errors.
84661         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
84663 2012-02-29  Jeff Law  <law@redhat.com>
84665         * resolv/res_query.c (__libc_res_nquerydomain): Avoid
84666         out of bounds read.
84668 2012-02-29  Marek Polacek  <polacek@redhat.com>
84670         [BZ #13706]
84671         * elf/rtld.c (dl_main): Always set l_used to 1 for vDSO.
84672         * elf/Makefile: Add rules to run tst-unused-dep.out.
84674 2012-02-28  David S. Miller  <davem@davemloft.net>
84676         * sysdeps/sparc/sparc32/fpu/w_sqrt.S: New file.
84677         * sysdeps/sparc/sparc32/fpu/w_sqrtf.S: New file.
84678         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrt.S: New file.
84679         * sysdeps/sparc/sparc32/sparcv9/fpu/w_sqrtf.S: New file.
84680         * sysdeps/sparc/sparc64/fpu/w_sqrt.S: New file.
84681         * sysdeps/sparc/sparc64/fpu/w_sqrtf.S: New file.
84683 2012-02-29  Joseph Myers  <joseph@codesourcery.com>
84685         * math/libm-test.inc (llround_test): Move one test from
84686         lround_test.  Use TEST_f_L in moved test.
84687         (lround_test): Move misplaced test to llround_test.  Add testcase
84688         from bug 2561.
84690 2012-02-28  Ulrich Drepper  <drepper@gmail.com>
84692         * sysdeps/x86_64/fpu/e_expf.S: New file.
84693         Contributed by Dmitrieva Liubov <liubov.dmitrieva@gmail.com>.
84695 2012-02-28  Stanislav Brabec  <sbrabec@suse.cz>
84697         [BZ #13637]
84698         * posix/regex_internal.c (re_string_skip_chars): Fix miscomputation
84699         of remain_len that may cause incomplete multi-byte character and
84700         false match.
84701         * posix/bug-regex33.c: New file.
84702         * posix/Makefile (tests): Add bug-regex33.
84704 2012-02-28  Joseph Myers  <joseph@codesourcery.com>
84706         * manual/macros.texi: New file.
84707         * Makefile (INSTALL, NOTES): Depend on manual/macros.texi.
84708         * manual/libc.texinfo: Include macros.texi.
84709         * manual/creatute.texi: Likewise.
84710         * manual/install.texi: Likewise.
84711         * manual/arith.texi: Use macros @Theglibc{}, @theglibc{} and
84712         @glibcadj{} in references to the GNU C Library.
84713         * manual/charset.texi: Likewise.
84714         * manual/conf.texi: Likewise.
84715         * manual/contrib.texi: Likewise.  Consistently use "GNU C Library"
84716         when not using those macros.
84717         * manual/creature.texi: Likewise.
84718         * manual/crypt.texi: Likewise.
84719         * manual/errno.texi: Likewise.
84720         * manual/filesys.texi: Likewise.
84721         * manual/header.texi: Likewise.
84722         * manual/install.texi: Likewise.
84723         * manual/intro.texi: Likewise.
84724         * manual/io.texi: Likewise.
84725         * manual/job.texi: Likewise.
84726         * manual/lang.texi: Likewise.
84727         * manual/libc.texiinfo: Likewise.
84728         * manual/llio.texi: Likewise.
84729         * manual/locale.texi: Likewise.
84730         * manual/maint.texi: Likewise.
84731         * manual/math.texi: Likewise.
84732         * manual/memory.texi: Likewise.
84733         * manual/message.texi: Likewise.
84734         * manual/nss.texi: Likewise.
84735         * manual/pattern.texi: Likewise.
84736         * manual/process.texi: Likewise.
84737         * manual/resource.texi: Likewise.
84738         * manual/search.texi: Likewise.
84739         * manual/setjmp.texi: Likewise.
84740         * manual/signal.texi: Likewise.
84741         * manual/socket.texi: Likewise.
84742         * manual/startup.texi: Likewise.
84743         * manual/stdio.texi: Likewise.
84744         * manual/string.texi: Likewise.
84745         * manual/sysinfo.texi: Likewise.
84746         * manual/syslog.texi: Likewise.
84747         * manual/terminal.texi: Likewise.
84748         * manual/time.texi: Likewise.
84749         * manual/users.texi: Likewise.
84750         * INSTALL: Regenerated.
84751         * NOTES: Regenerated.
84752         * sysdeps/gnu/errlist.c: Regenerated.
84754 2012-02-28  Andreas Schwab  <schwab@linux-m68k.org>
84756         * include/dirent.h: Include <dirstream.h> before
84757         <dirent/dirent.h>.
84759 2012-02-28  David S. Miller  <davem@davemloft.net>
84761         * sysdeps/sparc/sparc32/fpu/s_copysign.S: New file.
84762         * sysdeps/sparc/sparc32/fpu/s_copysignf.S: New file.
84763         * sysdeps/sparc/sparc64/fpu/s_copysign.S: New file.
84764         * sysdeps/sparc/sparc64/fpu/s_copysignf.S: New file.
84766 2012-02-27  David S. Miller  <davem@davemloft.net>
84768         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floor.S: New file.
84769         * sysdeps/sparc/sparc32/sparcv9/fpu/s_floorf.S: New file.
84770         * sysdeps/sparc/sparc64/fpu/s_floor.S: New file.
84771         * sysdeps/sparc/sparc64/fpu/s_floorf.S: New file.
84773         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix accidental use of
84774         frame pointer instead of stack pointer relative arg slot.
84775         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
84776         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
84777         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
84779 2012-02-27  Carlos O'Donell  <carlos_odonell@mentor.com>
84781         [BZ #3992]
84782         * stdlib/fmtmsg.c: Use of uint32_t requires stdint.h.
84784 2012-02-27  David S. Miller  <davem@davemloft.net>
84786         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: Fix comment formatting.
84787         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: Likewise.
84788         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: Likewise.
84789         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: Likewise.
84790         * sysdeps/sparc/sparc64/fpu/s_ceil.S: Likewise.
84791         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: Likewise.
84792         * sysdeps/sparc/sparc64/fpu/s_rint.S: Likewise.
84793         * sysdeps/sparc/sparc64/fpu/s_rintf.S: Likewise.
84795 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
84797         * configure.in (CC): Restrict allowed GCC versions to 4.3 and
84798         later.  Allow versions 5-9.
84799         * configure: Regenerated.
84800         * manual/install.texi (Tools for Compilation): Give GCC 4.3 as
84801         required minimum version and 4.6 as recommended version.  Do not
84802         mention bugs in GCC 2.7 and 2.8.
84803         * INSTALL: Regenerated.
84805 2012-02-27  David S. Miller  <davem@davemloft.net>
84807         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceil.S: New file.
84808         * sysdeps/sparc/sparc32/sparcv9/fpu/s_ceilf.S: New file.
84809         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rint.S: New file.
84810         * sysdeps/sparc/sparc32/sparcv9/fpu/s_rintf.S: New file.
84811         * sysdeps/sparc/sparc64/fpu/s_ceil.S: New file.
84812         * sysdeps/sparc/sparc64/fpu/s_ceilf.S: New file.
84813         * sysdeps/sparc/sparc64/fpu/s_rint.S: New file.
84814         * sysdeps/sparc/sparc64/fpu/s_rintf.S: New file.
84816         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c (__nearbyintl): Do not
84817         manipulate bits before adding and subtracting TWO112[sx].
84818         * sysdeps/ieee754/ldbl-128/s_rintl.c (__rintl): Likewise.
84820 2012-02-27  Roland McGrath  <roland@hack.frob.com>
84822         [BZ #13775]
84823         * libio/bits/stdio-ldbl.h (vdprintf, dprintf): Put these under
84824         [__USE_XOPEN2K8] rather than [__USE_GNU], to match the stdio.h decls.
84825         * libio/stdio.h (vdprintf, dprintf): Remove comment about these not
84826         being in POSIX, because they are in 1003.1-2008.
84828         * rt/tst-aio.c: Include <fcntl.h>.
84829         * rt/tst-aio7.c: Likewise.
84830         * rt/tst-aio64.c: Likewise.
84832         * stdio-common/tst-fmemopen.c (main): Remove spurious const.
84834 2012-02-27  Joseph Myers  <joseph@codesourcery.com>
84836         * manual/install.texi (--with-headers): Describe headers as
84837         interface headers, not private headers.
84838         (Specific advice for GNU/Linux systems): Describe use of headers
84839         from "make headers_install", not private headers from older
84840         kernels.
84841         * INSTALL: Regenerated.
84842         * sysdeps/unix/sysv/linux/configure.in (LIBC_LINUX_VERSION):
84843         Change to 2.6.19.
84844         * sysdeps/unix/sysv/linux/configure: Regenerated.
84846         * manual/llio.texi (fclean): Remove documentation.
84848         * manual/Makefile (libc-texi-generated): New variable.  Include
84849         version.texi.
84850         (libc.dvi, libc.pdf, libc.info, libc/index.html): Depend on
84851         $(libc-texi-generated), not duplicated list of files.
84852         (version.texi, stamp-version): New rules.
84853         (realclean): Remove $(libc-texi-generated), not individual files
84854         from that list.  Do not remove dir-add.texinfo.
84855         * manual/libc.texinfo: Comment out uses of edition numbers and
84856         references to printed manual.  Remove last-updated dates.
84857         (EDITION): Comment out.
84858         (ISBN): Likewise.
84859         (VERSION, UPDATED): Remove.
84860         (version.texi): Include.
84862 2012-02-27  Andreas Schwab  <schwab@linux-m68k.org>
84864         * sysdeps/posix/spawni.c: Include <signal.h>.
84865         * sysdeps/pthread/aio_cancel.c: Include <fcntl.h>.
84866         * sysdeps/pthread/aio_fsync.c: Likewise.
84868 2012-02-26  Ulrich Drepper  <drepper@gmail.com>
84870         * conform/Makefile (tests): Run only when not cross-compiling and
84871         when fast-check is not defined.
84873         * conform/conformtest.pl: XPG7 and POSIX2008 require C99.
84874         * conform/data/limits.h-data: Fixes for POSIX2008.
84875         * conform/run-conformtest.sh: Run all tests.
84876         * include/arpa/inet.h: Changes to allow conformtest.pl to use the
84877         headers.
84878         * include/bits/dlfcn.h: Likewise.
84879         * include/langinfo.h: Likewise.
84880         * include/monetary.h: Likewise.
84881         * include/sys/poll.h: Likewise.
84883         * io/fcntl.h: Define AT_NO_AUTOMOUNT and AT_EMPTY_PATH only
84884         for __USE_GNU.
84885         * posix/spawn.h: Define __need_sigset_t.
84886         * posix/sys/wait.h: Don't include <sys/resource.h>, define id_t here.
84887         * posix/unistd.h: Declare ctermid only for XPG before XPG6.
84888         * rt/aio.h: Don't include fcntl.h and signal.h.  Use bits/siginfo.h
84889         to get sigevent_t only.
84890         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg and recvmmsg
84891         only for __USE_GNU.
84892         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
84893         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
84894         process_vm_writev only for __USE_GNU.
84895         * termios/termios.h: Declare tcgetsid also for POSIX2008.
84897         * conform/Makefile: For now ignore errors from run-conformtest.
84898         * conform/conformtest.pl: Simplify code.  Add -ansi to CFLAGS for
84899         POSIX to avoid namespace pollution.  Don't prepend headers.
84900         * conform/data/aio.h-data: Fixes for POSIX testing.
84901         * conform/data/fcntl.h-data: Likewise.
84902         * conform/data/glob.h-data: Likewise.
84903         * conform/data/grp.h-data: Likewise.
84904         * conform/data/pthread.h-data: Likewise.
84905         * conform/data/pwd.h-data: Likewise.
84906         * conform/data/signal.h-data: Likewise.
84907         * conform/data/spawn.h-data: Likewise.
84908         * conform/data/stdio.h-data: Likewise.
84909         * conform/data/stdlib.h-data: Likewise.
84910         * conform/data/stropts.h-data: Likewise.
84911         * conform/data/sys/mman.h-data: Likewise.
84912         * conform/data/sys/stat.h-data: Likewise.
84913         * conform/data/sys/types.h-data: Likewise.
84914         * conform/data/sys/wait.h-data: Likewise.
84915         * conform/data/time.h-data: Likewise.
84916         * conform/data/unistd.h-data: Likewise.
84917         * conform/data/utime.h-data: Likewise.
84919         * io/sys/stat.h: fchmod was always in POSIX.
84920         * posix/sys/wait.h: Include <sys/resource.h> only for waitid.
84921         * posix/unistd.h: fsync and ftruncate were in early POSIX as well.
84922         * rt/aio.h: Define __need_timespec before including <time.h>.
84923         * sysdeps/unix/sysv/linux/bits/siginfo.h: Don't name siginfo_t
84924         struct.  Add forward declaration of pthread_attr_t and use it in
84925         sigevent.
84926         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
84927         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
84928         * sysdeps/unix/sysv/linux/bits/time.h: Don't let __STRICT_ANSI__
84929         always remove CLK_TCK definition.
84931 2012-02-26  Andreas Schwab  <schwab@linux-m68k.org>
84933         * sysdeps/ieee754/dbl-64/k_tan.c: Replace with empty file.
84935 2012-02-25  Ulrich Drepper  <drepper@gmail.com>
84937         * conform/run-conformtest.sh: New file.
84938         * conform/Makefile: Run run-conformtest for tests.
84939         * conform/conformtest.pl: Many bug fixes.  Add ISO C99, ISO C11
84940         support.
84942         * conform/data/uchar.h-data: New file.
84943         * conform/data/aio.h-data: Fixes for ISO C and POSIX 1995 testing.
84944         * conform/data/arpa/inet.h-data: Likewise.
84945         * conform/data/assert.h-data: Likewise.
84946         * conform/data/complex.h-data: Likewise.
84947         * conform/data/cpio.h-data: Likewise.
84948         * conform/data/ctype.h-data: Likewise.
84949         * conform/data/dirent.h-data: Likewise.
84950         * conform/data/dlfcn.h-data: Likewise.
84951         * conform/data/errno.h-data: Likewise.
84952         * conform/data/fcntl.h-data: Likewise.
84953         * conform/data/float.h-data: Likewise.
84954         * conform/data/fmtmsg.h-data: Likewise.
84955         * conform/data/fnmatch.h-data: Likewise.
84956         * conform/data/ftw.h-data: Likewise.
84957         * conform/data/glob.h-data: Likewise.
84958         * conform/data/grp.h-data: Likewise.
84959         * conform/data/iconv.h-data: Likewise.
84960         * conform/data/inttypes.h-data: Likewise.
84961         * conform/data/langinfo.h-data: Likewise.
84962         * conform/data/libgen.h-data: Likewise.
84963         * conform/data/limits.h-data: Likewise.
84964         * conform/data/locale.h-data: Likewise.
84965         * conform/data/math.h-data: Likewise.
84966         * conform/data/monetary.h-data: Likewise.
84967         * conform/data/mqueue.h-data: Likewise.
84968         * conform/data/ndbm.h-data: Likewise.
84969         * conform/data/net/if.h-data: Likewise.
84970         * conform/data/netdb.h-data: Likewise.
84971         * conform/data/netinet/in.h-data: Likewise.
84972         * conform/data/nl_types.h-data: Likewise.
84973         * conform/data/poll.h-data: Likewise.
84974         * conform/data/pthread.h-data: Likewise.
84975         * conform/data/pwd.h-data: Likewise.
84976         * conform/data/regex.h-data: Likewise.
84977         * conform/data/sched.h-data: Likewise.
84978         * conform/data/search.h-data: Likewise.
84979         * conform/data/semaphore.h-data: Likewise.
84980         * conform/data/setjmp.h-data: Likewise.
84981         * conform/data/signal.h-data: Likewise.
84982         * conform/data/spawn.h-data: Likewise.
84983         * conform/data/stdarg.h-data: Likewise.
84984         * conform/data/stdio.h-data: Likewise.
84985         * conform/data/stdlib.h-data: Likewise.
84986         * conform/data/string.h-data: Likewise.
84987         * conform/data/strings.h-data: Likewise.
84988         * conform/data/stropts.h-data: Likewise.
84989         * conform/data/sys/ipc.h-data: Likewise.
84990         * conform/data/sys/mman.h-data: Likewise.
84991         * conform/data/sys/msg.h-data: Likewise.
84992         * conform/data/sys/resource.h-data: Likewise.
84993         * conform/data/sys/select.h-data: Likewise.
84994         * conform/data/sys/sem.h-data: Likewise.
84995         * conform/data/sys/shm.h-data: Likewise.
84996         * conform/data/sys/socket.h-data: Likewise.
84997         * conform/data/sys/stat.h-data: Likewise.
84998         * conform/data/sys/statvfs.h-data: Likewise.
84999         * conform/data/sys/time.h-data: Likewise.
85000         * conform/data/sys/timeb.h-data: Likewise.
85001         * conform/data/sys/times.h-data: Likewise.
85002         * conform/data/sys/types.h-data: Likewise.
85003         * conform/data/sys/uio.h-data: Likewise.
85004         * conform/data/sys/un.h-data: Likewise.
85005         * conform/data/sys/utsname.h-data: Likewise.
85006         * conform/data/sys/wait.h-data: Likewise.
85007         * conform/data/syslog.h-data: Likewise.
85008         * conform/data/tar.h-data: Likewise.
85009         * conform/data/termios.h-data: Likewise.
85010         * conform/data/utime.h-data: Likewise.
85011         * conform/data/utmpx.h-data: Likewise.
85012         * conform/data/varargs.h-data: Likewise.
85013         * conform/data/wchar.h-data: Likewise.
85014         * conform/data/wctype.h-data: Likewise.
85015         * conform/data/wordexp.h-data: Likewise.
85017         * include/stropts.h: New file.
85018         * include/uchar.h: New file.
85019         * include/aio.h: Changes to allow conformtest.pl to use the headers.
85020         * include/assert.h: Likewise.
85021         * include/ctype.h: Likewise.
85022         * include/dirent.h: Likewise.
85023         * include/dlfcn.h: Likewise.
85024         * include/fcntl.h: Likewise.
85025         * include/fnmatch.h: Likewise.
85026         * include/glob.h: Likewise.
85027         * include/grp.h: Likewise.
85028         * include/libio.h: Likewise.
85029         * include/locale.h: Likewise.
85030         * include/math.h: Likewise.
85031         * include/net/if.h: Likewise.
85032         * include/netdb.h: Likewise.
85033         * include/netinet/in.h: Likewise.
85034         * include/pthread.h: Likewise.
85035         * include/pwd.h: Likewise.
85036         * include/regex.h: Likewise.
85037         * include/sched.h: Likewise.
85038         * include/search.h: Likewise.
85039         * include/setjmp.h: Likewise.
85040         * include/signal.h: Likewise.
85041         * include/stdio.h: Likewise.
85042         * include/stdlib.h: Likewise.
85043         * include/string.h: Likewise.
85044         * include/sys/cdefs.h: Likewise.
85045         * include/sys/mman.h: Likewise.
85046         * include/sys/msg.h: Likewise.
85047         * include/sys/resource.h: Likewise.
85048         * include/sys/select.h: Likewise.
85049         * include/sys/socket.h: Likewise.
85050         * include/sys/stat.h: Likewise.
85051         * include/sys/statvfs.h: Likewise.
85052         * include/sys/time.h: Likewise.
85053         * include/sys/times.h: Likewise.
85054         * include/sys/uio.h: Likewise.
85055         * include/sys/utsname.h: Likewise.
85056         * include/sys/wait.h: Likewise.
85057         * include/termios.h: Likewise.
85058         * include/time.h: Likewise.
85059         * include/ulimit.h: Likewise.
85060         * include/unistd.h: Likewise.
85061         * include/utime.h: Likewise.
85062         * include/wchar.h: Likewise.
85063         * include/wctype.h: Likewise.
85064         * include/wordexp.h: Likewise.
85066         * posix/tar.h (TSVTX): Should not be visible for POSIX before 2008.
85068         * time/time.h: TIME_UTC must be a macro.
85069         Make timespec_get available for ISO C11 only as well.
85071 2012-02-24  Ulrich Drepper  <drepper@gmail.com>
85073         * stdlib/fmtmsg.c (fmtmsg): Lock around use of severity list.
85074         Reported by Peng Haitao <penght@cn.fujitsu.com>.
85076 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
85078         * configure.in: Use -o not -a in test for unsupported multi-arch.
85080 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
85082         * manual/texinfo.tex: Update to version 2012-01-19.16.
85084 2012-02-24  Joseph Myers  <joseph@codesourcery.com>
85086         * manual/Makefile (licenses): Change fdl-1.1.texi to fdl-1.3.texi.
85088 2012-02-24  Roland McGrath  <roland@hack.frob.com>
85090         [BZ #13738]
85091         * manual/libc.texinfo (FDL_VERSION): Set to 1.3.
85092         * manual/fdl-1.3.texi: New file.
85093         * manual/fdl-1.1.texi: File removed.
85095         [BZ #13738]
85096         * manual/libc.texinfo (FDL_VERSION): New @set.
85097         Use it for mention of FDL in cover text.
85098         (Documentation License): Use it in @include file name.
85100 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
85101             Roland McGrath  <roland@hack.frob.com>
85103         [BZ #5461]
85104         * manual/arith.texi (strtoll): Refer to LLONG_MAX and LLONG_MIN)
85105         (not LONG_LONG_MAX and LONG_LONG_MIN.
85106         * manual/lang.texi (LONG_LONG_MIN): Document first as ISO
85107         LLONG_MIN.  Refer to LONG_LONG_MIN only as older GCC-specific
85108         name.
85109         (LONG_LONG_MAX, LLONG_MAX, ULONG_LONG_MAX, ULLONG_MAX): Likewise.
85111 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
85113         [BZ #2547]
85114         [BZ #11365]
85115         * sysdeps/ieee754/flt-32/s_nearbyintf.c (__nearbyintf): Do not
85116         manipulate bits before adding and subtracting TWO23[sx].
85117         * math/libm-test.inc (nearbyint_test): Add more tests.
85119 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
85121         [BZ #2548]
85122         * sysdeps/ieee754/flt-32/s_rintf.c (__rintf): Do not manipulate
85123         bits before adding and subtracting TWO23[sx].
85124         * math/libm-test.inc (rint_test): Add more tests.
85125         (rint_test_tonearest): Likewise.
85126         (rint_test_towardzero): Likewise.
85127         (rint_test_downward): Likewise.
85128         (rint_test_upward: Likewise.
85130 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
85132         [BZ #10110]
85133         * include/stdc-predef.h: New file.  Extracted from features.h.
85134         * include/features.h: Include stdc-predef.h.
85135         * Makefile (headers): Add stdc-predef.h.
85136         * CONFORMANCE (Compiler limitations): Update.
85138 2012-02-22  Joseph Myers  <joseph@codesourcery.com>
85140         * manual/libc.texinfo (VERSION, UPDATED): Revert.
85142 2012-02-21  David S. Miller  <davem@davemloft.net>
85144         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: More jn test ULP updates.
85145         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
85147 2012-02-20  David S. Miller  <davem@davemloft.net>
85149         * sysdeps/sparc/sparc32/__longjmp.S: Unwind in the 'thread' path
85150         using a normal save/restore sequence, rather than allocating a
85151         dummy stack frame just to store a frame pointer and restore.
85152         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
85154 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
85156         * manual/install.texi: Fix stray word in line-wrapped comment.
85158 2012-02-20  David S. Miller  <davem@davemloft.net>
85160         * sysdeps/sparc/elf/configure.in (PI_STATIC_AND_HIDDEN): Define if
85161         both binutils and gcc support GOTDATA.
85163         * sysdeps/unix/sparc/sysdep.h: Document why we don't use
85164         "rd %pc" in the PIC register setup sequences.
85166         * sysdeps/sparc/crti.S: Try to use GOTDATA relocs.
85167         * sysdeps/sparc/sparc32/dl-machine.h (RTLD_START): Likewise.
85168         * sysdeps/sparc/sparc32/elf/start.S: Likewise.
85169         * sysdeps/sparc/sparc64/dl-machine.h (RTLD_START): Likewise.
85170         * sysdeps/sparc/sparc64/elf/start.S: Likewise.
85171         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Likewise.
85172         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
85173         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Likewise.
85174         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h
85175         (SYSCALL_ERROR_HANDLER): Likewise.
85176         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Likewise.
85177         * sysdeps/unix/sysv/linux/sparc/sparc64/brk.S: Likewise.
85178         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h
85179         (SYSCALL_ERROR_HANDLER): Likewise.
85181         * config.h.in (HAVE_BINUTILS_GOTDATA): New.
85182         (HAVE_GCC_GOTDATA): New.
85183         * sysdeps/sparc/elf/configure.in: Test for GOTDATA
85184         relocation support in both binutils and gcc.
85185         * sysdeps/sparc/elf/configure: Regenerate.
85187         * sysdeps/sparc/sparc32/elf/configure.in: Delete.
85188         * sysdeps/sparc/sparc32/elf/configure: Delete.
85189         * sysdeps/sparc/sparc64/elf/configure.in: Delete.
85190         * sysdeps/sparc/sparc64/elf/configure: Delete.
85191         * sysdeps/sparc/elf/configure.in: New file.
85192         * sysdeps/sparc/elf/configure: Generate.
85194         * sysdeps/sparc/sparc32/elf/configure.in: Delete WDISP22 check.
85195         * sysdeps/sparc/sparc32/elf/configure: Regenerate.
85196         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
85197         * sysdeps/sparc/sparc64/elf/configure: Regenerate.
85198         * config.h.in (BROKEN_SPARC_WDISP22): Remove.
85200 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
85202         * manual/install.texi: Do not mention specific glibc version
85203         numbers.
85204         * manual/libc.texinfo (VERSION, UPDATED): Update.
85205         (@copying): Use @copyright{} and range of years.
85207 2012-02-21  Joseph Myers  <joseph@codesourcery.com>
85209         [BZ #13695]
85210         * csu/Makefile (distribute): Remove initfini.c and defs.awk.
85211         [crti.S not in sysdirs] (generated): Do not append.
85212         [crti.S not in sysdirs] (omit-deps): Likewise.
85213         [crti.S not in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Remove rule.
85214         [crti.S not in sysdirs] ($(objpfx)initfini.s): Likewise.
85215         [crti.S not in sysdirs] ($(objpfx)crti.S): Likewise.
85216         [crti.S not in sysdirs] ($(objpfx)crtn.S): Likewise.
85217         [crti.S not in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)):
85218         Likewise.
85219         [crti.S not in sysdirs] ($(objpfx)defs.h): Likewise.
85220         [crti.S not in sysdirs] (CFLAGS-initfini.s): Remove variable.
85221         [crti.S not in sysdirs] (initfini.c): Remove vpath directive.
85222         * csu/defs.awk: Remove file.
85223         * sysdeps/generic/initfini.c: Likewise.
85224         * sysdeps/powerpc/powerpc32/Makefile (CFLAGS-initfini.s): Remove
85225         variable.
85226         * sysdeps/powerpc/powerpc64/Makefile (CFLAGS-initfini.s):
85227         Likewise.
85229 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
85231         * sysdeps/unix/sysv/linux/bits/epoll.h: New file.
85232         * sysdeps/unix/sysv/linux/sparc/bits/epoll.h: Likewise.
85233         * sysdeps/unix/sysv/linux/x86_64/bits/epoll.h: Likewise.
85234         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Remove
85235         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
85236         * sysdeps/unix/sysv/linux/sys/epoll.h: Get flags from
85237         <bits/epoll.h>.
85238         (EPOLL_CLOEXEC, EPOLL_NONBLOCK): Don't define here.
85239         (__EPOLL_PACKED): Define to empty if not defined by
85240         <bits/epoll.h>.
85241         (struct epoll_event): Use __EPOLL_PACKED to make possibly packed.
85242         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
85243         bits/epoll.h.
85245 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
85247         * sysdeps/unix/sysv/linux/bits/timerfd.h: New file.
85248         * sysdeps/unix/sysv/linux/sparc/bits/timerfd.h: Likewise.
85249         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Remove.
85250         * sysdeps/unix/sysv/linux/sys/timerfd.h: Get flags from
85251         <bits/timerfd.h>.
85252         (TFD_CLOEXEC, TFD_NONBLOCK): Don't define here.
85253         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
85254         bits/timerfd.h.
85256 2012-02-20  Joseph Myers  <joseph@codesourcery.com>
85258         * sysdeps/i386/fpu/libm-test-ulps: Resort with gen-libm-test.pl -n
85259         in C locale.
85260         * sysdeps/powerpc/fpu/libm-test-ulps: Likewise.
85261         * sysdeps/sh/sh4/fpu/libm-test-ulps: Likewise.
85262         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Likewise.
85263         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85265 2012-02-20  Aurelien Jarno  <aurelien@aurel32.net>
85267         * sysdeps/sparc/sparc32/fpu/libm-test-ulps: Adjust ULPs for jn tests.
85268         * sysdeps/sparc/sparc64/fpu/libm-test-ulps: Likewise.
85270 2012-02-19  Andreas Schwab  <schwab@linux-m68k.org>
85272         * manual/errno.texi (Error Codes): Add EHWPOISON entry.
85273         * sysdeps/unix/sysv/linux/bits/errno.h (EHWPOISON): Define if not
85274         defined.
85275         * sysdeps/unix/sysv/linux/sparc/bits/errno.h (EHWPOISON):
85276         Likewise.
85277         * sysdeps/unix/sysv/linux/sparc/Versions: Add new errlist compat
85278         entry for 2.16.
85280 2012-02-19  Aurelien Jarno  <aurelien@aurel32.net>
85282         * math/w_acos.c: Use non-signaling floating-point comparisons.
85283         * math/w_acosf.c: Likewise.
85284         * math/w_acosh.c: Likewise.
85285         * math/w_acoshf.c: Likewise.
85286         * math/w_acoshl.c: Likewise.
85287         * math/w_acosl.c: Likewise.
85288         * math/w_asin.c: Likewise.
85289         * math/w_asinf.c: Likewise.
85290         * math/w_asinl.c: Likewise.
85291         * math/w_atanh.c: Likewise.
85292         * math/w_atanhf.c: Likewise.
85293         * math/w_atanhl.c: Likewise.
85294         * math/w_exp2.c: Likewise.
85295         * math/w_exp2f.c: Likewise.
85296         * math/w_exp2l.c: Likewise.
85297         * math/w_j0.c: Likewise.
85298         * math/w_j0f.c: Likewise.
85299         * math/w_j0l.c: Likewise.
85300         * math/w_j1.c: Likewise.
85301         * math/w_j1f.c: Likewise.
85302         * math/w_j1l.c: Likewise.
85303         * math/w_jn.c: Likewise.
85304         * math/w_jnf.c: Likewise.
85305         * math/w_log.c: Likewise.
85306         * math/w_log10.c: Likewise.
85307         * math/w_log10f.c: Likewise.
85308         * math/w_log10l.c: Likewise.
85309         * math/w_log2.c: Likewise.
85310         * math/w_log2f.c: Likewise.
85311         * math/w_log2l.c: Likewise.
85312         * math/w_logf.c: Likewise.
85313         * math/w_logl.c: Likewise.
85314         * math/w_sqrt.c: Likewise.
85315         * math/w_sqrtf.c: Likewise.
85316         * math/w_sqrtl.c: Likewise.
85317         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
85318         * sysdeps/ieee754/dbl-64/w_exp.c: Likewise.
85319         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
85320         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
85321         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
85323 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
85325         [BZ #9739]
85326         * manual/string.texi (strnlen): Use correct parameter name in
85327         equivalent expression.
85329 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
85331         [BZ #11174]
85332         * manual/users.texi (seteuid): Consistently use neweuid for
85333         argument name.
85335 2012-02-19  Joseph Myers  <joseph@codesourcery.com>
85337         [BZ #13704]
85338         * manual/nss.texi (Services in the NSS configuration): Correct
85339         list of services in example configuration file.
85341 2012-02-19  Nick Bowler  <nbowler@draconx.ca>
85343         [BZ #11322]
85344         * manual/arith.texi: Remove statements about negative zero
85345         behaving identically to zero.
85347 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
85349         [BZ #5993]
85350         * manual/install.texi: Do not document upgrading from libc5.
85352 2012-02-18  Joseph Myers  <joseph@codesourcery.com>
85354         [BZ #4596]
85355         * manual/conf.texi (_POSIX_VERSION): Do not mention __POSIX__.
85357 2012-02-18  David S. Miller  <davem@davemloft.net>
85359         * sysdeps/unix/sparc/sysdep.h (SPARC_PIC_THUNK): New macro.
85360         (SETUP_PIC_REG): Use SPARC_PIC_THUNK and don't save and restore
85361         %o7 across the call.
85362         (SETUP_PIC_REG_LEAF): Do %o7 save/restore in this new macro
85363         instead.
85364         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Use
85365         SETUP_PIC_REG_LEAF.
85366         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
85367         * sysdeps/sparc/crti.S: Use SETUP_PIC_REG.
85368         * sysdeps/sparc/crtn.S: Likewise.
85370 2012-02-17  Ulrich Drepper  <drepper@gmail.com>
85372         * aout/Makefile: Remove.
85374 2012-02-18  Rafe Kettler  <rafe.kettler@gmail.com>
85376         [BZ #13058]
85377         * manual/examples/argp-ex1.c (main): Format definition in GNU
85378         style.
85379         * manual/examples/argp-ex2.c (main): Likewise.
85380         * manual/examples/argp-ex3.c (main): Likewise.
85381         * manual/examples/argp-ex4.c (main): Likewise.
85382         * manual/examples/longopt.c (main): Use new-style prototype
85383         definition.
85384         * manual/examples/strncat.c (main): Specify return type and use
85385         (void) for arguments.
85386         * manual/examples/subopt.c (main): Use char **argv argument.
85388 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
85390         [BZ #5077]
85391         * manual/lang.texi (FLT_EPSILON): Avoid description depending on
85392         rounding modes.
85394 2012-02-17  Fabrice Bauzac  <fabrice.bauzac@wanadoo.fr>
85396         [BZ #6907]
85397         * manual/string.texi (strchr): Change when strchrnul is
85398         recommended.
85400 2012-02-17  Dwayne Grant McConnell  <decimal@us.ibm.com>
85402         [BZ #174]
85403         * manual/locale.texi (setlocale): Document LOCPATH.
85405 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
85407         [BZ #10210]
85408         * manual/process.texi (execle): Move @dots{} before last argument.
85410 2012-02-17  Paul Bolle  <pebolle@tiscali.nl>
85412         [BZ #12047]
85413         * manual/charset.texi (Generic Charset Conversion): Fix typo
85414         (LC_TYPE -> LC_CTYPE).
85416 2012-02-17  Nicolas Boulenguez  <nicolas.boulenguez@free.fr>
85418         [BZ #5805]
85419         * manual/arith.texi (scalbn): Use @var{} on parameter names.
85420         (scalbnf): Likewise.
85421         (scalbnl): Likewise.
85422         (scalbln): Likewise.
85423         (scalblnf): Likewise.
85424         (scalblnl): Likewise.
85425         * manual/errno.texi (vwarn): Name last parameter as @var{ap}.
85426         (vwarnx): Likewise.
85427         (verr): Likewise.
85428         (verrx): Likewise.
85429         * manual/filesys.texi (telldir): Use braces around return type.
85430         * manual/llio.texi (mmap): Add space after comma.
85431         (mmap64): Likewise.
85432         * manual/math.texi (jn): Use @var{} on parameter names.
85433         (jnf): Likewise.
85434         (jnl): Likewise.
85435         (yn): Likewise.
85436         (ynf): Likewise.
85437         (ynl): Likewise.
85438         * manual/memory.texi (alloca): Remove semicolon on @deftypefun
85439         line.
85440         * manual/resource.texi (ulimit): Use @dots{} instead of literal
85441         "...".
85442         (sched_get_priority_min): Remove semicolon on @deftypefun line.
85443         (sched_get_priority_max): Likewise.
85444         * manual/signal.texi (sigvec): Add space after comma.
85445         * manual/socket.texi (if_nametoindex): Use @var{} on parameter
85446         names.
85447         (if_indextoname): Likewise.
85448         (if_freenameindex): Likewise.
85449         (sendto): Use ',' instead of '.' in prototype.
85450         * manual/startup.texi (syscall): Use @dots{} instead of literal
85451         "...".
85452         * manual/stdio.texi (__fpending): Separate initial words of
85453         paragraph from @deftypefun line.
85454         * manual/syslog.texi (syslog): Use @dots{} instead of literal
85455         "...".
85456         (vsyslog): Use @var{} on parameter names.
85457         * manual/terminal.texi (stty): Use @var{} on parameter names.
85458         * manual/users.texi (getutmp): Use @var{} on parameter names.
85459         (getutmpx): Likewise.
85461 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
85463         [BZ #6884]
85464         * manual/stdio.texi (fopen): Fix typos in description of
85465         ",ccs=STRING".
85467 2012-02-17  Aurelien Jarno  <aurelien@aurel32.net>
85469         [BZ #4026]
85470         * sysdeps/unix/sysv/linux/clock_settime.c: include <time.h> to
85471         get clock_id definition.
85473 2012-02-17  Thomas Schwinge  <thomas@schwinge.name>
85475         [BZ #4822]
85476         * sysdeps/mach/hurd/malloc-machine.h: #include <sys/mman.h>.
85477         (madvise): Cast every argument to void on its own.
85479 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
85481         [BZ #9902]
85482         * manual/startup.texi (Exit Status): Fix typo.
85484 2012-02-17  Joseph Myers  <joseph@codesourcery.com>
85486         [BZ #10140]
85487         * manual/examples/argp-ex1.c: Include <stdlib.h>.
85488         * manual/examples/argp-ex2.c: Likewise.
85489         * manual/examples/argp-ex3.c: Likewise.
85491 2012-02-16  Richard Henderson  <rth@redhat.com>
85493         * sysdeps/s390/s390-32/crti.S, sysdeps/s390/s390-32/crtn.S: New files.
85494         * sysdeps/s390/s390-32/initfini.c: Remove.
85495         * sysdeps/s390/s390-64/crti.S, sysdeps/s390/s390-64/crtn.S:
85496         * sysdeps/s390/s390-64/initfini.c: Remove.
85498 2012-02-15  Kaz Kojima  <kkojima@rr.iij4u.or.jp>
85500         * sysdeps/sh/crti.S, sysdeps/sh/crtn.S: New files, based on
85501         compiler output for sysdeps/generic/initfini.c.
85502         * sysdeps/sh/elf/initfini.c: Remove file.
85504 2012-02-16  David S. Miller  <davem@davemloft.net>
85506         [BZ #11494]
85507         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h (O_FSYNC): Define.
85509         * sysdeps/sparc/Makefile: Add -fPIC when building crt{i,n}.S
85510         * sysdeps/sparc/crti.S: New file.
85511         * sysdeps/sparc/crtn.S: New file.
85512         * sysdeps/sparc/sparc32/Makefile: Remove initfini handling.
85513         * sysdeps/sparc/sparc64/Makefile: Likewise.
85515 2012-02-15  Mike Frysinger  <vapier@gentoo.org>
85517         [BZ #3335]
85518         * sysdeps/unix/sysv/linux/getcwd.c: Include sys/param.h.
85520 2012-02-15  Roland McGrath  <roland@hack.frob.com>
85522         [BZ #4822]
85523         * sysdeps/mach/hurd/malloc-machine.h (madvise): New macro.
85525         * mach/devstream.c (cookie_io_functions_t): Macro removed.
85526         (write, read, close): Likewise.
85527         Patch by Aurelien Jarno <aurelien@aurel32.net>.
85529 2012-02-15  Joseph Myers  <joseph@codesourcery.com>
85531         * sysdeps/unix/sysv/linux/bits/signalfd.h: New file.
85532         * sysdeps/unix/sysv/linux/sparc/bits/signalfd.h: Likewise.
85533         * sysdeps/unix/sysv/linux/sparc/sys/signalfd.h: Remove.
85534         * sysdeps/unix/sysv/linux/sys/signalfd.h: Get flags from
85535         <bits/signalfd.h>.
85536         (SFD_CLOEXEC, SFD_NONBLOCK): Don't define here.
85537         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
85538         bits/signalfd.h.
85540 2012-02-14  Marek Polacek  <polacek@redhat.com>
85542         * sysdeps/x86_64/crti.S: New file.
85543         * sysdeps/x86_64/crtn.S: New file.
85544         * sysdeps/x86_64/elf/initfini.c: Remove file.
85546 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
85548         * sysdeps/unix/sysv/linux/bits/inotify.h: New file.
85549         * sysdeps/unix/sysv/linux/sparc/bits/inotify.h: Likewise.
85550         * sysdeps/unix/sysv/linux/sparc/sys/inotify.h: Remove.
85551         * sysdeps/unix/sysv/linux/sys/inotify.h: Get flags from
85552         <bits/inotify.h>.
85553         (IN_CLOEXEC, IN_NONBLOCK): Don't define here.
85554         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
85555         bits/inotify.h.
85557 2012-02-13  Joseph Myers  <joseph@codesourcery.com>
85559         * sysdeps/unix/sysv/linux/bits/eventfd.h: New file.
85560         * sysdeps/unix/sysv/linux/sparc/bits/eventfd.h: Likewise.
85561         * sysdeps/unix/sysv/linux/sparc/sys/eventfd.h: Remove.
85562         * sysdeps/unix/sysv/linux/sys/eventfd.h: Get flags from
85563         <bits/eventfd.h>.
85564         (EFD_SEMAPHORE, EFD_CLOEXEC, EFD_NONBLOCK): Don't define here.
85565         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
85566         bits/eventfd.h.
85568 2012-02-10  Thomas Schwinge  <thomas@codesourcery.com>
85570         * sysdeps/i386/fpu/feupdateenv.c (__feupdateenv): Invoke
85571         __feraiseexcept instead of feraiseexcept.
85573         * rt/tst-cpuclock1.c: Add a few comments, and error checking for
85574         nanosleep invocations.
85575         * rt/tst-cpuclock2.c: Print some values as intended, fix explanatory
85576         strings, and add error checking for a nanosleep invocations.
85578 2012-02-09  Paul Eggert  <eggert@cs.ucla.edu>
85580         Replace FSF snail mail address with URLs, as per GNU coding standards.
85581         Most of the snail mail addresses were wrong anyway, and omitting
85582         them makes the source code easier to maintain.  Almost all of the
85583         changes are to license notices and to locale LC_IDENTIFICATION
85584         addresses, except for this one:
85585         * manual/libc.texinfo: In "Published by", give the FSF's URL,
85586         not its snail mail address.
85588 2012-02-09  Richard Henderson  <rth@twiddle.net>
85590         * sysdeps/unix/sysv/linux/internal_statvfs.c: Use <> for include
85591         of kernel-features.h.
85593         * elf/dl-tls.c (update_get_addr): Avoid pointer type mismatch warning.
85595 2012-02-08  Marek Polacek  <polacek@redhat.com>
85597         * libio/libio.h: Remove _G_HAVE_SYS_CDEFS conditional.
85598         * sysdeps/mach/hurd/_G_config.h: Remove _G_HAVE_SYS_CDEFS macro.
85599         * sysdeps/gnu/_G_config.h: Likewise.
85600         * sysdeps/generic/_G_config.h: Likewise.
85602 2012-02-08  Andreas Schwab  <schwab@linux-m68k.org>
85604         * sysdeps/i386/fpu/libm-test-ulps: Reduce ldouble ULPs for jn
85605         tests.
85606         * sysdeps/x86_64/fpu/libm-test-ulps: Likewise.
85608         * sysdeps/powerpc/powerpc32/crti.S: New file.
85609         * sysdeps/powerpc/powerpc32/crtn.S: New file.
85610         * sysdeps/powerpc/powerpc64/crti.S: New file.
85611         * sysdeps/powerpc/powerpc64/crtn.S: New file.
85613         * Makeconfig (have-initfini): Don't set.
85614         * config.make.in (have-initfini, need-nopic-initfini): Don't set.
85615         * configure.in (nopic_initfini): Don't substitute.
85616         * config.h.in (HAVE_INITFINI): Don't #undef.
85617         * csu/Makefile (CPPFLAGS): Don't add -DHAVE_INITFINI.
85618         * csu/gmon-start.c: Assume HAVE_INITFINI is defined.
85620 2012-02-08  Joseph Myers  <joseph@codesourcery.com>
85622         Support crti.S and crtn.S provided directly by architectures.
85623         * csu/Makefile [crti.S in sysdirs] (generated): Do not append.
85624         [crti.S in sysdirs] (omit-deps): Likewise.
85625         [crti.S in sysdirs] (CFLAGS-initfini.s): Do not define variable.
85626         [crti.S in sysdirs] ($(crtstuff:%=$(objpfx)%.o)): Disable rule.
85627         [crti.S in sysdirs] ($(objpfx)initfini.s): Likewise.
85628         [crti.S in sysdirs] ($(objpfx)crti.S): Likewise.
85629         [crti.S in sysdirs] ($(objpfx)crtn.S): Likewise.
85630         [crti.S in sysdirs] ($(patsubst %,$(objpfx)crt%.o,i n)): Likewise.
85631         [crti.S in sysdirs] ($(objpfx)defs.h): Likewise.
85632         [crti.S in sysdirs] (initfini.c): Remove vpath directive.
85633         * sysdeps/i386/crti.S, sysdeps/i386/crtn.S: New files, based on
85634         compiler output for sysdeps/generic/initfini.c.
85635         * sysdeps/i386/elf/Makefile: Remove file.
85636         * sysdeps/i386/Makefile (CFLAGS-initfini.s): Remove variable.
85638 2012-02-07  Marek Polacek  <polacek@redhat.com>
85640         * sysdeps/generic/_G_config.h: Remove _G_ARGS macro.
85641         * sysdeps/gnu/_G_config.h: Likewise.
85642         * sysdeps/mach/hurd/_G_config.h: Likewise.
85644 2012-02-07  Marek Polacek  <polacek@redhat.com>
85646         * math/Makefile (tests): Add tst-CMPLX2.
85647         * math/tst-CMPLX2.c: New file.
85649 2012-02-07  Andreas Schwab  <schwab@linux-m68k.org>
85651         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
85653         * math/libm-test.inc (jn_test): Add missing L suffix.
85655 2012-02-06  Marek Polacek  <polacek@redhat.com>
85657         * sysdeps/s390/asm-syntax.h: Remove __ELF__ conditionals.
85658         * sysdeps/i386/fpu/e_powf.S: Likewise.
85659         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
85660         * sysdeps/i386/fpu/s_cexpl.S: Likewise.
85661         * sysdeps/i386/fpu/e_acosh.S: Likewise.
85662         * sysdeps/i386/fpu/e_pow.S: Likewise.
85663         * sysdeps/i386/fpu/s_asinhl.S: Likewise.
85664         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
85665         * sysdeps/i386/fpu/s_expm1.S: Likewise.
85666         * sysdeps/i386/fpu/s_frexpf.S: Likewise.
85667         * sysdeps/i386/fpu/e_log2.S: Likewise.
85668         * sysdeps/i386/fpu/e_log2l.S: Likewise.
85669         * sysdeps/i386/fpu/e_scalb.S: Likewise.
85670         * sysdeps/i386/fpu/e_powl.S: Likewise.
85671         * sysdeps/i386/fpu/s_log1p.S: Likewise.
85672         * sysdeps/i386/fpu/e_log10f.S: Likewise.
85673         * sysdeps/i386/fpu/s_cbrtf.S: Likewise.
85674         * sysdeps/i386/fpu/e_logl.S: Likewise.
85675         * sysdeps/i386/fpu/s_cbrt.S: Likewise.
85676         * sysdeps/i386/fpu/s_expm1l.S: Likewise.
85677         * sysdeps/i386/fpu/s_frexpl.S: Likewise.
85678         * sysdeps/i386/fpu/s_expm1f.S: Likewise.
85679         * sysdeps/i386/fpu/e_log2f.S: Likewise.
85680         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
85681         * sysdeps/i386/fpu/e_log.S: Likewise.
85682         * sysdeps/i386/fpu/s_cexp.S: Likewise.
85683         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
85684         * sysdeps/i386/fpu/s_log1pl.S: Likewise.
85685         * sysdeps/i386/fpu/e_logf.S: Likewise.
85686         * sysdeps/i386/fpu/e_log10l.S: Likewise.
85687         * sysdeps/i386/fpu/e_atanh.S: Likewise.
85688         * sysdeps/i386/fpu/s_log1pf.S: Likewise.
85689         * sysdeps/i386/fpu/s_asinhf.S: Likewise.
85690         * sysdeps/i386/fpu/s_cexpf.S: Likewise.
85691         * sysdeps/i386/fpu/e_log10.S: Likewise.
85692         * sysdeps/i386/fpu/s_frexp.S: Likewise.
85693         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
85694         * sysdeps/i386/fpu/s_asinh.S: Likewise.
85695         * sysdeps/i386/fpu/s_cbrtl.S: Likewise.
85696         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
85697         * sysdeps/i386/i686/fpu/e_logl.S: Likewise.
85698         * sysdeps/i386/asm-syntax.h: Likewise.
85699         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
85700         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
85701         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
85702         * sysdeps/x86_64/fpu/s_expm1l.S: Likewise.
85703         * sysdeps/x86_64/fpu/s_log1pl.S: Likewise.
85704         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
85705         * sysdeps/x86_64/fpu/s_copysignf.S: Likewise.
85706         * sysdeps/x86_64/fpu/s_copysign.S: Likewise.
85707         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
85708         * sysdeps/powerpc/sysdep.h: Likewise.
85709         * sysdeps/powerpc/powerpc64/sysdep.h: Likewise.
85710         * sysdeps/powerpc/powerpc32/sysdep.h: Likewise.
85712 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
85714         [BZ #411]
85715         * sysdeps/i386/sysdep.h (__i686): Undefine and redefine.
85717 2012-02-06  Joseph Myers  <joseph@codesourcery.com>
85719         * sysdeps/i386/sysdep.h: Include <features.h>.
85720         (GET_PC_THUNK, GET_PC_THUNK_STR): Define conditionally on compiler
85721         version.
85723 2012-02-05  Joseph Myers  <joseph@codesourcery.com>
85725         * sysdeps/i386/sysdep.h (SETUP_PIC_REG_STR, LOAD_PIC_REG_STR):
85726         Define.
85727         * sysdeps/unix/sysv/linux/i386/sysdep.h (check_consistency): Use
85728         LOAD_PIC_REG_STR.
85730 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
85732         * sysdeps/i386/sysdep.h (GET_PC_THUNK, GET_PC_THUNK_STR): Define.
85733         (SETUP_PIC_REG): Use GET_PC_THUNK.
85734         * sysdeps/unix/sysv/linux/i386/sysdep.h: Use GET_PC_THUNK_STR
85735         macro.
85737 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
85739         * sysdeps/i386/sysdep.h (SETUP_PIC_REG, LOAD_PIC_REG): Define also
85740         for non-PIC compilation.
85741         (SETUP_PIC_REG): Add .p2align directive.
85742         * sysdeps/i386/i686/memcmp.S: Use macros for PIC register setup.
85743         * sysdeps/i386/i686/multiarch/bcopy.S: Likewise.
85744         * sysdeps/i386/i686/multiarch/bzero.S: Likewise.
85745         * sysdeps/i386/i686/multiarch/memchr.S: Likewise.
85746         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Likewise.
85747         * sysdeps/i386/i686/multiarch/memcmp.S: Likewise.
85748         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Likewise.
85749         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
85750         * sysdeps/i386/i686/multiarch/memcpy.S: Likewise.
85751         * sysdeps/i386/i686/multiarch/memcpy_chk.S: Likewise.
85752         * sysdeps/i386/i686/multiarch/memmove.S: Likewise.
85753         * sysdeps/i386/i686/multiarch/memmove_chk.S: Likewise.
85754         * sysdeps/i386/i686/multiarch/mempcpy.S: Likewise.
85755         * sysdeps/i386/i686/multiarch/mempcpy_chk.S: Likewise.
85756         * sysdeps/i386/i686/multiarch/memrchr.S: Likewise.
85757         * sysdeps/i386/i686/multiarch/memset-sse2-rep.S: Likewise.
85758         * sysdeps/i386/i686/multiarch/memset-sse2.S: Likewise.
85759         * sysdeps/i386/i686/multiarch/memset.S: Likewise.
85760         * sysdeps/i386/i686/multiarch/memset_chk.S: Likewise.
85761         * sysdeps/i386/i686/multiarch/rawmemchr.S: Likewise.
85762         * sysdeps/i386/i686/multiarch/strcasecmp.S: Likewise.
85763         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Likewise.
85764         * sysdeps/i386/i686/multiarch/strcat.S: Likewise.
85765         * sysdeps/i386/i686/multiarch/strchr.S: Likewise.
85766         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Likewise.
85767         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Likewise.
85768         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
85769         * sysdeps/i386/i686/multiarch/strcpy-sse2.S: Likewise.
85770         * sysdeps/i386/i686/multiarch/strcpy.S: Likewise.
85771         * sysdeps/i386/i686/multiarch/strcspn.S: Likewise.
85772         * sysdeps/i386/i686/multiarch/strlen.S: Likewise.
85773         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
85774         * sysdeps/i386/i686/multiarch/strnlen.S: Likewise.
85775         * sysdeps/i386/i686/multiarch/strrchr.S: Likewise.
85776         * sysdeps/i386/i686/multiarch/strspn.S: Likewise.
85777         * sysdeps/i386/i686/multiarch/wcschr.S: Likewise.
85778         * sysdeps/i386/i686/multiarch/wcscmp.S: Likewise.
85779         * sysdeps/i386/i686/multiarch/wcscpy.S: Likewise.
85780         * sysdeps/i386/i686/multiarch/wcslen.S: Likewise.
85781         * sysdeps/i386/i686/multiarch/wcsrchr.S: Likewise.
85782         * sysdeps/i386/i686/multiarch/wmemcmp.S: Likewise.
85784 2012-02-03  Joseph Myers  <joseph@codesourcery.com>
85786         * math/tst-CMPLX.c: Include <stdio.h>.
85788 2012-01-31  Joseph Myers  <joseph@codesourcery.com>
85790         * sysdeps/powerpc/bits/mathdef.h (float_t): Always define as
85791         float.
85792         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
85793         * sysdeps/sparc/bits/mathdef.h: Likewise.
85795 2012-01-31  Marek Polacek  <polacek@redhat.com>
85797         * libio/libio.h: Don't define _PARAMS.
85798         * locale/programs/config.h: Don't define PARAMS.
85799         * stdlib/strtol_l.c: Likewise.
85800         (__strtol_l): Remove PARAMS from the prototype.
85802 2012-01-31  Ulrich Drepper  <drepper@gmail.com>
85804         * malloc/malloc.c: Remove name translation.  Don't use mixed-cap
85805         names.  Just use the correct names.  Remove unnecessary wrapper
85806         functions.
85807         * malloc/arena.c: Likewise.
85808         * malloc/hooks.c: Likewise.
85810         * malloc/arena.c (arena_get2): Really don't call __get_nprocs if
85811         ARENA_TEST says not to.  Simplify test for creation of a new arena.
85812         Partially based on a patch by Siddhesh Poyarekar <siddhesh@redhat.com>.
85814 2012-01-30  Ulrich Drepper  <drepper@gmail.com>
85816         * elf/dl-tls.c (__tls_get_addr): Optimize by transforming all calls
85817         into tail calls.
85818         (update_get_addr): New function.
85819         (tls_get_addr_tail): Take GET_ADDR_ARGS parameter, remove
85820         GET_ADDR_MODULE parameter.
85822 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
85824         * crypt/cert.c: Remove __STDC__ conditionals.
85825         * crypt/crypt-entry.c: Likewise.
85826         * crypt/crypt_util.c: Likewise.
85827         * libio/filedoalloc.c: Likewise.
85828         * libio/fileops.c: Likewise.
85829         * libio/genops.c: Likewise.
85830         * libio/iofclose.c: Likewise.
85831         * libio/iofdopen.c: Likewise.
85832         * libio/iofopen.c: Likewise.
85833         * libio/iofopen64.c: Likewise.
85834         * libio/iogetdelim.c: Likewise.
85835         * libio/iopopen.c: Likewise.
85836         * libio/obprintf.c: Likewise.
85837         * libio/oldfileops.c: Likewise.
85838         * libio/oldiofclose.c: Likewise.
85839         * libio/oldiofdopen.c: Likewise.
85840         * libio/oldiofopen.c: Likewise.
85841         * libio/oldiopopen.c: Likewise.
85842         * libio/wfiledoalloc.c: Likewise.
85843         * libio/wgenops.c: Likewise.
85844         * locale/programs/xmalloc.c: Likewise.
85845         * misc/syslog.c: Likewise.
85846         * stdio-common/xbug.c: Likewise.
85847         * string/memchr.c: Likewise.
85848         * string/memcmp.c: Likewise.
85849         * string/memrchr.c: Likewise.
85850         * string/rawmemchr.c: Likewise.
85851         * sysdeps/posix/getcwd.c: Likewise.
85852         * time/strftime_l.c: Likewise.
85854 2012-01-30  Joseph Myers  <joseph@codesourcery.com>
85856         * configure.in (libc_cv_cc_sse2avx): AC_SUBST.
85857         * config.make.in (config-cflags-sse2avx): Define.
85858         * sysdeps/x86_64/fpu/multiarch/Makefile (CFLAGS-slowexp-avx.c):
85859         Fix typo.
85861 2012-01-29  Chris Metcalf  <cmetcalf@tilera.com>
85863         * scripts/config.guess: Update from upstream config git repository.
85864         * scripts/config.sub: Likewise.
85866 2012-01-28  Chris Metcalf  <cmetcalf@tilera.com>
85868         * elf/elf.h (EM_TILEPRO, EM_TILEGX): New macros.
85869         (EM_NUM): Update.
85870         (R_TILEPRO_*, R_TILEGX_*): New macros.
85872         * scripts/firstversions.awk: Fix bug in version range handling.
85874         * sysdeps/unix/sysv/linux/grantpt.c: Use <> brackets for not-cancel.h.
85876         * sysdeps/unix/sysv/linux/faccessat.c (faccessat): Call __fxstatat64.
85878         * include/sys/epoll.h: New file.
85879         * sysdeps/unix/sysv/linux/epoll_pwait.c (epoll_pwait): Mark as
85880         libc_hidden_def.
85882 2012-01-28  Ulrich Drepper  <drepper@gmail.com>
85884         * sysdeps/x86_64/fpu/bits/mathinline.h (__signbitl): Optimize a bit.
85885         Avoid unnecessary __WORDSIZE == 64 test.
85886         (fmaxf): Use VEX format if possible.
85887         (fmax): Likewise.
85888         (fminf): Likewise.
85889         (fmin): Likewise.
85891         * config.h.in: Define HAVE_SSE2AVX_SUPPORT.
85892         * math/math_private.h: Remove libc_fegetround* and
85893         libc_fesetround*.
85894         * sysdeps/i386/configure.in: Check for -msse2avx.
85895         * sysdeps/x86_64/fpu/math_private.h: Use VEX-encoded instructions
85896         also if SSE2AVX is defined.
85897         Remove libc_fegetround* and libc_fesetround*.
85898         * sysdeps/x86_64/fpu/multiarch/Makefile: Compile *-avx functions
85899         if config-cflags-sse2avx is yes.  Also add -DSSE2AVX to defines.
85900         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_AVX again instead
85901         of HAS_YMM_USABLE.
85902         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
85903         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
85904         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
85905         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
85906         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
85908         * sysdeps/x86_64/fpu/math_private.h: Simplify use of AVX instructions.
85910 2012-01-19  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
85912         * sysdeps/powerpc/powerpc32/a2/memcpy.S: Fix for when cache line
85913         size is not set.
85914         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
85916 2012-01-27  Ulrich Drepper  <drepper@gmail.com>
85918         [BZ #13618]
85919         * elf/dl-open.c (dl_open_worker): Sort objects by dependency before
85920         relocation.
85921         * Makeconfig (libm): Define.
85922         * elf/Makefile: Add rules to build and run tst-relsort1.
85923         * elf/tst-relsort1.c: New file.
85924         * elf/tst-relsort1mod1.c: New file.
85925         * elf/tst-relsort1mod2.c: New file.
85927 2012-01-27  Joseph Myers  <joseph@codesourcery.com>
85929         * math/s_ldexp.c: Remove __STDC__ conditionals.
85930         * math/s_ldexpf.c: Likewise.
85931         * math/s_ldexpl.c: Likewise.
85932         * math/s_nextafter.c: Likewise.
85933         * math/s_nexttowardf.c: Likewise.
85934         * math/s_significand.c: Likewise.
85935         * math/s_significandf.c: Likewise.
85936         * math/s_significandl.c: Likewise.
85937         * math/w_jnl.c: Likewise.
85938         * sysdeps/i386/fpu/s_isinfl.c: Likewise.
85939         * sysdeps/i386/fpu/s_isnanl.c: Likewise.
85940         * sysdeps/i386/fpu/s_nextafterl.c: Likewise.
85941         * sysdeps/i386/fpu/s_nexttoward.c: Likewise.
85942         * sysdeps/i386/fpu/s_nexttowardf.c: Likewise.
85943         * sysdeps/ieee754/dbl-64/k_rem_pio2.c: Likewise.
85944         * sysdeps/ieee754/dbl-64/k_tan.c: Likewise.
85945         * sysdeps/ieee754/dbl-64/s_copysign.c: Likewise.
85946         * sysdeps/ieee754/dbl-64/s_erf.c: Likewise.
85947         * sysdeps/ieee754/dbl-64/s_fabs.c: Likewise.
85948         * sysdeps/ieee754/dbl-64/s_finite.c: Likewise.
85949         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
85950         * sysdeps/ieee754/dbl-64/s_frexp.c: Likewise.
85951         * sysdeps/ieee754/dbl-64/s_ilogb.c: Likewise.
85952         * sysdeps/ieee754/dbl-64/s_isnan.c: Likewise.
85953         * sysdeps/ieee754/dbl-64/s_logb.c: Likewise.
85954         * sysdeps/ieee754/dbl-64/s_nearbyint.c: Likewise.
85955         * sysdeps/ieee754/dbl-64/s_tanh.c: Likewise.
85956         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Likewise.
85957         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
85958         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
85959         * sysdeps/ieee754/flt-32/e_rem_pio2f.c: Likewise.
85960         * sysdeps/ieee754/flt-32/k_cosf.c: Likewise.
85961         * sysdeps/ieee754/flt-32/k_rem_pio2f.c: Likewise.
85962         * sysdeps/ieee754/flt-32/k_sinf.c: Likewise.
85963         * sysdeps/ieee754/flt-32/k_tanf.c: Likewise.
85964         * sysdeps/ieee754/flt-32/s_atanf.c: Likewise.
85965         * sysdeps/ieee754/flt-32/s_copysignf.c: Likewise.
85966         * sysdeps/ieee754/flt-32/s_cosf.c: Likewise.
85967         * sysdeps/ieee754/flt-32/s_erff.c: Likewise.
85968         * sysdeps/ieee754/flt-32/s_fabsf.c: Likewise.
85969         * sysdeps/ieee754/flt-32/s_finitef.c: Likewise.
85970         * sysdeps/ieee754/flt-32/s_frexpf.c: Likewise.
85971         * sysdeps/ieee754/flt-32/s_ilogbf.c: Likewise.
85972         * sysdeps/ieee754/flt-32/s_isnanf.c: Likewise.
85973         * sysdeps/ieee754/flt-32/s_logbf.c: Likewise.
85974         * sysdeps/ieee754/flt-32/s_nextafterf.c: Likewise.
85975         * sysdeps/ieee754/flt-32/s_sinf.c: Likewise.
85976         * sysdeps/ieee754/flt-32/s_tanf.c: Likewise.
85977         * sysdeps/ieee754/flt-32/s_tanhf.c: Likewise.
85978         * sysdeps/ieee754/k_standard.c: Likewise.
85979         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
85980         * sysdeps/ieee754/ldbl-128/k_tanl.c: Likewise.
85981         * sysdeps/ieee754/ldbl-128/s_asinhl.c: Likewise.
85982         * sysdeps/ieee754/ldbl-128/s_ceill.c: Likewise.
85983         * sysdeps/ieee754/ldbl-128/s_copysignl.c: Likewise.
85984         * sysdeps/ieee754/ldbl-128/s_cosl.c: Likewise.
85985         * sysdeps/ieee754/ldbl-128/s_erfl.c: Likewise.
85986         * sysdeps/ieee754/ldbl-128/s_fabsl.c: Likewise.
85987         * sysdeps/ieee754/ldbl-128/s_finitel.c: Likewise.
85988         * sysdeps/ieee754/ldbl-128/s_floorl.c: Likewise.
85989         * sysdeps/ieee754/ldbl-128/s_frexpl.c: Likewise.
85990         * sysdeps/ieee754/ldbl-128/s_ilogbl.c: Likewise.
85991         * sysdeps/ieee754/ldbl-128/s_isnanl.c: Likewise.
85992         * sysdeps/ieee754/ldbl-128/s_logbl.c: Likewise.
85993         * sysdeps/ieee754/ldbl-128/s_modfl.c: Likewise.
85994         * sysdeps/ieee754/ldbl-128/s_nearbyintl.c: Likewise.
85995         * sysdeps/ieee754/ldbl-128/s_nextafterl.c: Likewise.
85996         * sysdeps/ieee754/ldbl-128/s_nexttoward.c: Likewise.
85997         * sysdeps/ieee754/ldbl-128/s_nexttowardf.c: Likewise.
85998         * sysdeps/ieee754/ldbl-128/s_rintl.c: Likewise.
85999         * sysdeps/ieee754/ldbl-128/s_scalblnl.c: Likewise.
86000         * sysdeps/ieee754/ldbl-128/s_scalbnl.c: Likewise.
86001         * sysdeps/ieee754/ldbl-128/s_sinl.c: Likewise.
86002         * sysdeps/ieee754/ldbl-128/s_tanhl.c: Likewise.
86003         * sysdeps/ieee754/ldbl-128/s_tanl.c: Likewise.
86004         * sysdeps/ieee754/ldbl-128/w_expl.c: Likewise.
86005         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
86006         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
86007         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
86008         * sysdeps/ieee754/ldbl-128ibm/k_tanl.c: Likewise.
86009         * sysdeps/ieee754/ldbl-128ibm/s_asinhl.c: Likewise.
86010         * sysdeps/ieee754/ldbl-128ibm/s_ceill.c: Likewise.
86011         * sysdeps/ieee754/ldbl-128ibm/s_copysignl.c: Likewise.
86012         * sysdeps/ieee754/ldbl-128ibm/s_cosl.c: Likewise.
86013         * sysdeps/ieee754/ldbl-128ibm/s_erfl.c: Likewise.
86014         * sysdeps/ieee754/ldbl-128ibm/s_fabsl.c: Likewise.
86015         * sysdeps/ieee754/ldbl-128ibm/s_floorl.c: Likewise.
86016         * sysdeps/ieee754/ldbl-128ibm/s_frexpl.c: Likewise.
86017         * sysdeps/ieee754/ldbl-128ibm/s_ilogbl.c: Likewise.
86018         * sysdeps/ieee754/ldbl-128ibm/s_llrintl.c: Likewise.
86019         * sysdeps/ieee754/ldbl-128ibm/s_llroundl.c: Likewise.
86020         * sysdeps/ieee754/ldbl-128ibm/s_logbl.c: Likewise.
86021         * sysdeps/ieee754/ldbl-128ibm/s_lrintl.c: Likewise.
86022         * sysdeps/ieee754/ldbl-128ibm/s_lroundl.c: Likewise.
86023         * sysdeps/ieee754/ldbl-128ibm/s_modfl.c: Likewise.
86024         * sysdeps/ieee754/ldbl-128ibm/s_nearbyintl.c: Likewise.
86025         * sysdeps/ieee754/ldbl-128ibm/s_nextafterl.c: Likewise.
86026         * sysdeps/ieee754/ldbl-128ibm/s_nexttoward.c: Likewise.
86027         * sysdeps/ieee754/ldbl-128ibm/s_nexttowardf.c: Likewise.
86028         * sysdeps/ieee754/ldbl-128ibm/s_rintl.c: Likewise.
86029         * sysdeps/ieee754/ldbl-128ibm/s_roundl.c: Likewise.
86030         * sysdeps/ieee754/ldbl-128ibm/s_scalblnl.c: Likewise.
86031         * sysdeps/ieee754/ldbl-128ibm/s_scalbnl.c: Likewise.
86032         * sysdeps/ieee754/ldbl-128ibm/s_sinl.c: Likewise.
86033         * sysdeps/ieee754/ldbl-128ibm/s_tanhl.c: Likewise.
86034         * sysdeps/ieee754/ldbl-128ibm/s_tanl.c: Likewise.
86035         * sysdeps/ieee754/ldbl-128ibm/s_truncl.c: Likewise.
86036         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
86037         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
86038         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
86039         * sysdeps/ieee754/ldbl-96/s_ceill.c: Likewise.
86040         * sysdeps/ieee754/ldbl-96/s_copysignl.c: Likewise.
86041         * sysdeps/ieee754/ldbl-96/s_cosl.c: Likewise.
86042         * sysdeps/ieee754/ldbl-96/s_erfl.c: Likewise.
86043         * sysdeps/ieee754/ldbl-96/s_fabsl.c: Likewise.
86044         * sysdeps/ieee754/ldbl-96/s_finitel.c: Likewise.
86045         * sysdeps/ieee754/ldbl-96/s_floorl.c: Likewise.
86046         * sysdeps/ieee754/ldbl-96/s_frexpl.c: Likewise.
86047         * sysdeps/ieee754/ldbl-96/s_ilogbl.c: Likewise.
86048         * sysdeps/ieee754/ldbl-96/s_isnanl.c: Likewise.
86049         * sysdeps/ieee754/ldbl-96/s_logbl.c: Likewise.
86050         * sysdeps/ieee754/ldbl-96/s_nearbyintl.c: Likewise.
86051         * sysdeps/ieee754/ldbl-96/s_nextafterl.c: Likewise.
86052         * sysdeps/ieee754/ldbl-96/s_nexttoward.c: Likewise.
86053         * sysdeps/ieee754/ldbl-96/s_nexttowardf.c: Likewise.
86054         * sysdeps/ieee754/ldbl-96/s_rintl.c: Likewise.
86055         * sysdeps/ieee754/ldbl-96/s_sinl.c: Likewise.
86056         * sysdeps/ieee754/ldbl-96/s_tanhl.c: Likewise.
86057         * sysdeps/ieee754/ldbl-96/s_tanl.c: Likewise.
86058         * sysdeps/ieee754/s_matherr.c: Likewise.
86059         * sysdeps/powerpc/fpu/w_sqrt.c: Likewise.
86060         * sysdeps/powerpc/fpu/w_sqrtf.c: Likewise.
86061         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrt.c: Likewise.
86062         * sysdeps/powerpc/powerpc64/power4/fpu/w_sqrtf.c: Likewise.
86064 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
86066         * crypt/md5.h: Remove __STDC__ conditionals.
86067         * libio/libioP.h: Likewise.
86068         * locale/programs/config.h: Likewise.
86069         * sysdeps/generic/sysdep.h: Likewise.
86070         * sysdeps/i386/asm-syntax.h: Likewise.
86071         * sysdeps/s390/asm-syntax.h: Likewise.
86072         * sysdeps/unix/sysdep.h: Likewise.
86073         * sysdeps/unix/sysv/linux/powerpc/powerpc32/sysdep.h: Likewise.
86074         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h: Likewise.
86076 2012-01-26  Joseph Myers  <joseph@codesourcery.com>
86078         * libio/libio.h: Remove __STDC__ conditionals.
86079         * malloc/obstack.h: Likewise.
86080         * math/complex.h: Likewise.
86081         * math/math.h: Likewise.
86082         * sysdeps/generic/_G_config.h: Likewise.
86083         * sysdeps/gnu/_G_config.h: Likewise.
86084         * sysdeps/mach/hurd/_G_config.h: Likewise.
86085         * sysdeps/powerpc/bits/mathdef.h: Likewise.
86086         * sysdeps/sh/sh4/bits/mathdef.h: Likewise.
86087         * sysdeps/sparc/bits/mathdef.h: Likewise.
86089 2012-01-26  Ulrich Drepper  <drepper@gmail.com>
86091         [BZ #13583]
86092         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_OSXSAVE.
86093         Clean up HAS_* macros.
86094         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): If
86095         bit_AVX is set also check OSXAVE/XCR0 and set bit_YMM_Usable if
86096         possible.
86097         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Use HAS_YMM_USABLE, not
86098         HAS_AVX.
86099         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
86100         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
86101         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
86102         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
86103         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
86105 2012-01-25  Joseph Myers  <joseph@codesourcery.com>
86107         * elf/tst-unique3.cc (gets): Remove declaration.
86108         * elf/tst-unique3lib.cc (gets): Likewise.
86109         * elf/tst-unique3lib2.cc (gets): Likewise.
86110         * elf/tst-unique4.cc (gets): Likewise.
86112 2012-01-24  Ulrich Drepper  <drepper@gmail.com>
86114         * include/stdio.h: Add C++ protection.  Add gets declarations and
86115         definitions.
86116         * debug/tst-chk1.c: Don't declare gets here.
86117         * stdio-common/tst-gets.c: Likewise.
86119 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
86121         * posix/glob: Remove directory.
86123 2012-01-24  Joseph Myers  <joseph@codesourcery.com>
86125         * wcsmbs/Makefile (tst-c16c32-1-ENV): Define.
86127 2012-01-22  Pino Toscano  <toscano.pino@tiscali.it>
86129         * sysdeps/mach/hurd/socket.c (__socket): Return EAFNOSUPPORT instead
86130         of the non-standard EPFNOSUPPORT.
86132 2011-12-26  Samuel Thibault  <samuel.thibault@ens-lyon.org>
86134         * sysdeps/mach/hurd/mmap.c (__mmap): When MAPADDR is nonzero, try
86135         __vm_allocate and __vm_map with ANYWHERE set to 0 first, and try with
86136         ANYWHERE set to 1 only on KERN_NO_SPACE error.
86138 2012-01-21  Ulrich Drepper  <drepper@gmail.com>
86140         * wcsmbs/uchar.h: Test __STDC_VERSION__.
86142 2012-01-20  Ulrich Drepper  <drepper@gmail.com>
86144         * nscd/aicache.c (addhstaiX): Do not cache negative results of
86145         transient errors.
86146         * nscd/grpcache.c (cache_addgr): Likewise.
86147         * nscd/hstcache.c (cache_addhst): Likewise.
86148         * nscd/initgrcache.c (addinitgroupsX): Likewise.
86149         * nscd/pwdcache.c (cache_addpw): Likewise.
86150         * nscd/servicescache.c (cache_addserv): Likewise.
86152 2012-01-16  Ulrich Drepper  <drepper@gmail.com>
86154         * malloc/malloc.c: Various cleanups.
86155         * malloc/hooks.c: Likewise.
86157         * stdlib/Makefile (tests): Add bug-fmtmsg1.
86158         * stdlib/bug-fmtmsg1.c: New file.
86160         * stdlib/fmtmsg.c (init): Add missing unlock.
86161         Patch by Peng Haitao <penght@cn.fujitsu.com>.
86163 2012-01-12  Marek Polacek  <polacek@redhat.com>
86165         * libio/bits/stdio2.h: Do not define gets for ISO C11, ISO C++11,
86166         and _GNU_SOURCE.
86168 2012-01-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
86170         * powerpc/powerpc32/sysdep.h: Add GLUE and GENERATE_GOT_LABEL macros.
86171         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Call
86172         macro to ensure uniqueness of label name.
86173         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
86174         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
86176 2012-01-11  Ulrich Drepper  <drepper@gmail.com>
86178         * sysdeps/ieee754/dbl-64/wordsize-64/e_acosh.c: New file.
86180         * sysdeps/ieee754/dbl-64/s_scalbln.c: Add branch prediction.
86181         * sysdeps/ieee754/flt-32/s_scalblnf.c: Likewise.
86182         * sysdeps/ieee754/ldbl-96/s_scalblnl.c: Likewise.
86183         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbln.c: New file.
86185 2012-01-10  Ulrich Drepper  <drepper@gmail.com>
86187         * sysdeps/ieee754/dbl-64/wordsize-64/s_modf.c: New file.
86189         * sysdeps/ieee754/dbl-64/s_modf.c: Add branch prediction.
86190         * sysdeps/ieee754/flt-32/s_modff.c: Likewise.
86191         * sysdeps/ieee754/ldbl-96/s_modfl.c: Likewise.
86193         * math/bits/mathcalls.h: Add const attribute to fmin and fmax.
86195         * sysdeps/ieee754/dbl-64/s_scalbn.c: Add branch prediction.
86196         * sysdeps/ieee754/flt-32/s_scalbnf.c: Likewise.
86197         * sysdeps/ieee754/ldbl-96/s_scalbnl.c: Likewise.
86198         * sysdeps/ieee754/dbl-64/wordsize-64/s_scalbn.c: New file.
86200         * math/bits/math-finite.h: Add ldexp support.
86202 2012-01-10  Marek Polacek  <polacek@redhat.com>
86204         * locale/programs/localedef.h (show_archive_content): Add noreturn
86205         attribute.
86207 2012-01-09  Ulrich Drepper  <drepper@gmail.com>
86209         * sysdeps/ieee754/dbl-64/s_log1p.c (__log1p): Add branch prediction.
86211 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
86213         * io/bits/poll2.h: Add __BEGIN/__END_DECLS.
86215         * io/Makefile (headers): Add bits/poll2.h.
86217 2011-01-05  Will Schmidt  <will_schmidt@vnet.ibm.com>
86219         * sysdeps/unix/sysv/linux/powerpc/powerpc32/getcontext.S: Fix a
86220         typo #include statement.
86222 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
86224         * include/sys/cdefs.h: Define __attribute_alloc_size.
86225         * catgets/gencat.c: Add alloc_size attribute and apply consistently
86226         the malloc attribute to xmalloc, xcalloc, xrealloc, and xstrdup.
86227         * elf/pldd.c: Likewise.
86228         * iconv/iconv_charmap.c: Likewise.
86229         * iconv/iconvconfig.c: Likewise.
86230         * iconv/strtab.c: Likewise.
86231         * locale/programs/locale.c: Likewise.
86232         * locale/programs/localedef.h: Likewise.
86233         * locale/programs/simple-hash.c: Likewise.
86234         * nscd/nscd.h: Likewise.
86235         * nss/makedb.c: Likewise.
86236         * sysdeps/generic/ldconfig.h: Likewise.
86237         * locale/programs/localedef.c: Remove xmalloc prototype.
86238         * nscd/mem.c: Remove xmalloc and xcalloc prototypes.
86240 2012-01-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
86242         * stdio-common/vfscanf.c (_IO_vfscanf_internal): Use alloca when
86243         appropriate.
86245 2012-01-08  Ulrich Drepper  <drepper@gmail.com>
86247         * math/Makefile (tests): Add tst-CMPLX.
86248         * math/tst-CMPLX.c: New file.
86250         * math/complex.h (CMPLXL): Fix typo.
86252         * debug/Makefile (routines): Add poll_chk and ppoll_chk.
86253         * debug/Versions: Export __pool_chk and __ppoll_chk from libc for
86254         GLIBC_2.16.
86255         * debug/tst-chk1.c: Add poll and ppoll tests.
86256         * io/sys/poll.h: Include bits/poll2.h for _FORTIFY_SOURCE.
86257         * include/sys/poll.h: Add hidden proto for ppoll.
86258         * sysdeps/unix/sysv/linux/ppoll.c: Add hidden def.
86259         * sysdeps/mach/hurd/ppoll.c: Likewise.
86260         * io/ppoll.c: Likewise.
86261         * debug/poll_chk.c: New file.
86262         * debug/ppoll_chk.c: New file.
86263         * include/bits/poll2.h: New file.
86264         * io/bits/poll2.h: New file.
86266         [BZ #1350]
86267         * math/complex.h (CMPLX, CMPLXF, CMPLXL): Define.
86269         * configure.in: static is always set to yes.  Remove.
86270         * config.make.in: Don't set build-static.
86271         * Makeconfig: Remove use of build-static.
86272         * dlfcn/Makefile: Likewise.
86273         * elf/Makefile: Likewise.
86274         * math/Makefile: Likewise.
86275         * misc/Makefile: Likewise.
86276         * nptl/Makefile: Likewise.
86277         * sysdeps/mach/hurd/Makefile: Likewise.
86279         * configure.in: PWD_P is not used anymore.
86280         * config.make.in: Remove PWD_P entry.
86282         * configure.in: Remove last remnants of RANLIB.
86283         No need to check for signed size_t anymore.
86284         Don't set libc_commonpagesize and libc_relro_required here for Alpha
86285         and IA-64.
86286         Remove __builtin_expect test because we require at least gcc 3.4.
86287         * aclocal.m4: Likewise.
86289         * wcsmbs/mbrtoc16.c: Implement using towc function.
86290         * wcsmbs/wcsmbsload.h: No need for toc16 and fromc16 functions.
86291         * wcsmbs/wcsmbsload.c: Likewise.
86292         * iconv/gconv_simple.c: Likewise.
86293         * iconv/gconv_int.h: Likewise.
86294         * iconv/gconv_builtin.h: Likewise.
86295         * iconv/iconv_prog.c: Remove CHAR16 handling.
86297         * wcsmbs/c16rtomb.c: Remove #if 0'ed code.
86299         * wcsmbs/mbrtowc.c: Better check for invalid inputs.
86301         * configure.in: Remove --with-elf and --enable-bounded options.
86302         Dont set base_machine for ia64.  More non-ELF conditions removed.
86303         Remove testing and setting of leading underscore information.
86304         * config.make.in (build-bounded): Set to no.
86305         * config.h.in: Remove NO_UNDERSCORES entry.
86306         * include/libc-symbols.h: Don't define HAVE_WEAK_SYMBOLS.  ELF has
86307         them.
86308         * csu/start.c: Remove !NO_UNDERSCORE code.
86309         * locale/localeinfo.h: Likewise.
86310         * sysdeps/generic/machine-gmon.h: Likewise.
86311         * sysdeps/generic/sysdep.h: Likewise.
86312         * sysdeps/i386/sysdep.h: Likewise.
86313         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
86314         * sysdeps/mach/sysdep.h: Likewise.
86315         * sysdeps/s390/s390-32/sysdep.h: Likewise.
86316         * sysdeps/s390/s390-64/sysdep.h: Likewise.
86317         * sysdeps/sh/sysdep.h: Likewise.
86318         * sysdeps/sparc/sparc32/alloca.S: Likewise.
86319         * sysdeps/unix/i386/sysdep.S: Likewise.
86320         * sysdeps/unix/sparc/start.c: Likewise.
86321         * sysdeps/unix/sparc/sysdep.S: Likewise.
86322         * sysdeps/unix/sparc/sysdep.h: Likewise.
86323         * sysdeps/unix/start.c: Likewise.
86324         * sysdeps/unix/x86_64/sysdep.S: Likewise.
86325         * sysdeps/x86_64/sysdep.h: Likewise.
86327 2012-01-07  Ulrich Drepper  <drepper@gmail.com>
86329         [BZ #13553]
86330         * misc/sys/cdefs.h: Remove __const, __signed, and __volatile definition
86331         for non-gcc.
86332         * argp/argp-fmtstream.h: Use const instead __const.
86333         * argp/argp.h: Likewise.
86334         * assert/assert.h: Likewise.
86335         * bits/fenv.h: Likewise.
86336         * bits/sched.h: Likewise.
86337         * bits/sigset.h: Likewise.
86338         * bits/sigthread.h: Likewise.
86339         * catgets/nl_types.h: Likewise.
86340         * conform/data/pthread.h-data: Likewise.
86341         * crypt/crypt-private.h: Likewise.
86342         * crypt/crypt.h: Likewise.
86343         * crypt/crypt_util.c: Likewise.
86344         * ctype/ctype.h: Likewise.
86345         * debug/execinfo.h: Likewise.
86346         * debug/mbsnrtowcs_chk.c: Likewise.
86347         * debug/mbsrtowcs_chk.c: Likewise.
86348         * debug/wcsnrtombs_chk.c: Likewise.
86349         * debug/wcsrtombs_chk.c: Likewise.
86350         * debug/wcstombs_chk.c: Likewise.
86351         * dirent/dirent.h: Likewise.
86352         * dlfcn/dlfcn.h: Likewise.
86353         * elf/neededtest4.c: Likewise.
86354         * grp/grp.h: Likewise.
86355         * gshadow/gshadow.h: Likewise.
86356         * iconv/gconv.h: Likewise.
86357         * iconv/gconv_int.h: Likewise.
86358         * iconv/gconv_simple.c: Likewise.
86359         * iconv/iconv.h: Likewise.
86360         * iconv/loop.c: Likewise.
86361         * iconv/skeleton.c: Likewise.
86362         * include/aio.h: Likewise.
86363         * include/aliases.h: Likewise.
86364         * include/argz.h: Likewise.
86365         * include/arpa/inet.h: Likewise.
86366         * include/assert.h: Likewise.
86367         * include/dirent.h: Likewise.
86368         * include/dlfcn.h: Likewise.
86369         * include/execinfo.h: Likewise.
86370         * include/fcntl.h: Likewise.
86371         * include/fenv.h: Likewise.
86372         * include/glob.h: Likewise.
86373         * include/grp.h: Likewise.
86374         * include/libintl.h: Likewise.
86375         * include/mntent.h: Likewise.
86376         * include/netdb.h: Likewise.
86377         * include/pwd.h: Likewise.
86378         * include/rpc/netdb.h: Likewise.
86379         * include/sched.h: Likewise.
86380         * include/search.h: Likewise.
86381         * include/shadow.h: Likewise.
86382         * include/signal.h: Likewise.
86383         * include/stdio.h: Likewise.
86384         * include/stdlib.h: Likewise.
86385         * include/string.h: Likewise.
86386         * include/sys/socket.h: Likewise.
86387         * include/sys/stat.h: Likewise.
86388         * include/sys/statfs.h: Likewise.
86389         * include/sys/statvfs.h: Likewise.
86390         * include/sys/syslog.h: Likewise.
86391         * include/sys/time.h: Likewise.
86392         * include/sys/uio.h: Likewise.
86393         * include/time.h: Likewise.
86394         * include/unistd.h: Likewise.
86395         * include/utmp.h: Likewise.
86396         * include/wchar.h: Likewise.
86397         * include/wctype.h: Likewise.
86398         * inet/aliases.h: Likewise.
86399         * inet/arpa/inet.h: Likewise.
86400         * inet/netinet/ether.h: Likewise.
86401         * inet/netinet/in.h: Likewise.
86402         * intl/libintl.h: Likewise.
86403         * io/bits/fcntl2.h: Likewise.
86404         * io/fcntl.h: Likewise.
86405         * io/ftw.h: Likewise.
86406         * io/sys/poll.h: Likewise.
86407         * io/sys/stat.h: Likewise.
86408         * io/sys/statfs.h: Likewise.
86409         * io/sys/statvfs.h: Likewise.
86410         * io/utime.h: Likewise.
86411         * libio/bits/stdio.h: Likewise.
86412         * libio/bits/stdio2.h: Likewise.
86413         * libio/libio.h: Likewise.
86414         * libio/libioP.h: Likewise.
86415         * libio/stdio.h: Likewise.
86416         * locale/lc-ctype.c: Likewise.
86417         * locale/locale.h: Likewise.
86418         * login/utmp.h: Likewise.
86419         * malloc/arena.c: Likewise.
86420         * malloc/malloc.c: Likewise.
86421         * malloc/malloc.h: Likewise.
86422         * malloc/mcheck.c: Likewise.
86423         * malloc/mtrace.c: Likewise.
86424         * math/bits/mathcalls.h: Likewise.
86425         * math/fenv.h: Likewise.
86426         * math/math_private.h: Likewise.
86427         * misc/bits/error.h: Likewise.
86428         * misc/bits/syslog.h: Likewise.
86429         * misc/err.h: Likewise.
86430         * misc/error.h: Likewise.
86431         * misc/fstab.h: Likewise.
86432         * misc/mntent.h: Likewise.
86433         * misc/regexp.h: Likewise.
86434         * misc/search.h: Likewise.
86435         * misc/sgtty.h: Likewise.
86436         * misc/sys/mman.h: Likewise.
86437         * misc/sys/syslog.h: Likewise.
86438         * misc/sys/uio.h: Likewise.
86439         * misc/sys/xattr.h: Likewise.
86440         * misc/ttyent.h: Likewise.
86441         * nis/rpcsvc/ypclnt.h: Likewise.
86442         * nss/nss.h: Likewise.
86443         * posix/bits/unistd.h: Likewise.
86444         * posix/fnmatch.h: Likewise.
86445         * posix/glob.h: Likewise.
86446         * posix/sched.h: Likewise.
86447         * posix/spawn.h: Likewise.
86448         * posix/sys/wait.h: Likewise.
86449         * posix/unistd.h: Likewise.
86450         * posix/wordexp.h: Likewise.
86451         * pwd/pwd.h: Likewise.
86452         * resolv/netdb.h: Likewise.
86453         * resource/sys/resource.h: Likewise.
86454         * rt/aio.h: Likewise.
86455         * rt/bits/mqueue2.h: Likewise.
86456         * rt/mqueue.h: Likewise.
86457         * shadow/shadow.h: Likewise.
86458         * signal/signal.h: Likewise.
86459         * socket/send.c: Likewise.
86460         * socket/sendto.c: Likewise.
86461         * socket/sys/socket.h: Likewise.
86462         * stdio-common/printf.h: Likewise.
86463         * stdlib/bits/stdlib.h: Likewise.
86464         * stdlib/fmtmsg.h: Likewise.
86465         * stdlib/monetary.h: Likewise.
86466         * stdlib/stdlib.h: Likewise.
86467         * stdlib/ucontext.h: Likewise.
86468         * streams/stropts.h: Likewise.
86469         * string/argz.h: Likewise.
86470         * string/bits/string2.h: Likewise.
86471         * string/string.h: Likewise.
86472         * string/strings.h: Likewise.
86473         * sunrpc/rpc/auth.h: Likewise.
86474         * sunrpc/rpc/auth_des.h: Likewise.
86475         * sunrpc/rpc/clnt.h: Likewise.
86476         * sunrpc/rpc/netdb.h: Likewise.
86477         * sunrpc/rpc/pmap_clnt.h: Likewise.
86478         * sunrpc/rpc/xdr.h: Likewise.
86479         * sysdeps/generic/inttypes.h: Likewise.
86480         * sysdeps/generic/net/if.h: Likewise.
86481         * sysdeps/generic/sys/swap.h: Likewise.
86482         * sysdeps/gnu/net/if.h: Likewise.
86483         * sysdeps/gnu/utmpx.h: Likewise.
86484         * sysdeps/i386/fpu/bits/fenv.h: Likewise.
86485         * sysdeps/i386/i486/bits/string.h: Likewise.
86486         * sysdeps/ieee754/ldbl-opt/nldbl-strtold_l.c: Likewise.
86487         * sysdeps/s390/bits/string.h: Likewise.
86488         * sysdeps/s390/fpu/bits/fenv.h: Likewise.
86489         * sysdeps/sparc/fpu/bits/fenv.h: Likewise.
86490         * sysdeps/sparc/fpu/bits/mathinline.h: Likewise.
86491         * sysdeps/unix/sysv/linux/bits/resource.h: Likewise.
86492         * sysdeps/unix/sysv/linux/bits/sched.h: Likewise.
86493         * sysdeps/unix/sysv/linux/bits/sigset.h: Likewise.
86494         * sysdeps/unix/sysv/linux/bits/socket.h: Likewise.
86495         * sysdeps/unix/sysv/linux/bits/sys_errlist.h: Likewise.
86496         * sysdeps/unix/sysv/linux/bits/uio.h: Likewise.
86497         * sysdeps/unix/sysv/linux/i386/glob64.c: Likewise.
86498         * sysdeps/unix/sysv/linux/i386/olddirent.h: Likewise.
86499         * sysdeps/unix/sysv/linux/preadv.c: Likewise.
86500         * sysdeps/unix/sysv/linux/prlimit.c: Likewise.
86501         * sysdeps/unix/sysv/linux/pwritev.c: Likewise.
86502         * sysdeps/unix/sysv/linux/readv.c: Likewise.
86503         * sysdeps/unix/sysv/linux/s390/s390-32/utmp-convert.h: Likewise.
86504         * sysdeps/unix/sysv/linux/s390/s390-32/utmpx32.h: Likewise.
86505         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
86506         * sysdeps/unix/sysv/linux/sparc/sparc32/sigaction.c: Likewise.
86507         * sysdeps/unix/sysv/linux/sparc/sparc64/sigaction.c: Likewise.
86508         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
86509         * sysdeps/unix/sysv/linux/sparc/sys/timerfd.h: Likewise.
86510         * sysdeps/unix/sysv/linux/sys/acct.h: Likewise.
86511         * sysdeps/unix/sysv/linux/sys/epoll.h: Likewise.
86512         * sysdeps/unix/sysv/linux/sys/mount.h: Likewise.
86513         * sysdeps/unix/sysv/linux/sys/swap.h: Likewise.
86514         * sysdeps/unix/sysv/linux/sys/timerfd.h: Likewise.
86515         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
86516         * sysdeps/x86_64/fpu/bits/fenv.h: Likewise.
86517         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Likewise.
86518         * sysdeps/x86_64/strncase_l-nonascii.c: Likewise.
86519         * sysvipc/sys/ipc.h: Likewise.
86520         * sysvipc/sys/msg.h: Likewise.
86521         * sysvipc/sys/sem.h: Likewise.
86522         * sysvipc/sys/shm.h: Likewise.
86523         * termios/termios.h: Likewise.
86524         * time/sys/time.h: Likewise.
86525         * time/time.h: Likewise.
86526         * wcsmbs/bits/wchar2.h: Likewise.
86527         * wcsmbs/uchar.h: Likewise.
86528         * wcsmbs/wchar.h: Likewise.
86529         * wctype/wctype.h: Likewise.
86531         [BZ #13551]
86532         * Makeconfig: Remove all but ELF support including AIX support.
86533         * Makerules: Likewise.
86534         * config.h.in: Likewise.
86535         * config.make.in: Likewise.
86536         * configure: Likewise.
86537         * configure.in: Likewise.
86538         * csu/Makefile: Likewise.
86539         * csu/version.c: Likewise.
86540         * debug/Makefile: Likewise.
86541         * dlfcn/Makefile: Likewise.
86542         * elf/Makefile: Likewise.
86543         * extra-lib.mk: Likewise.
86544         * iconv/Makefile: Likewise.
86545         * include/libc-symbols.h: Likewise.
86546         * include/shlib-compat.h: Likewise.
86547         * resolv/Makefile: Likewise.
86548         * resolv/res_libc.c: Likewise.
86549         * rt/Makefile: Likewise.
86550         * sysdeps/i386/asm-syntax.h: Likewise.
86551         * sysdeps/i386/sysdep.h: Likewise.
86552         * sysdeps/ieee754/ldbl-opt/math_ldbl_opt.h: Likewise.
86553         * sysdeps/mach/sysdep.h: Likewise.
86554         * sysdeps/powerpc/powerpc32/Makefile: Likewise.
86555         * sysdeps/powerpc/powerpc64/Makefile: Likewise.
86556         * sysdeps/s390/asm-syntax.h: Likewise.
86557         * sysdeps/s390/s390-32/sysdep.h: Likewise.
86558         * sysdeps/s390/s390-64/sysdep.h: Likewise.
86559         * sysdeps/sh/sysdep.h: Likewise.
86560         * sysdeps/unix/sparc/sysdep.h: Likewise.
86561         * sysdeps/wordsize-32/divdi3.c: Likewise.
86562         * sysdeps/x86_64/sysdep.h: Likewise.
86564         * argp/Versions: Remove _argp_unlock_xxx.
86566         [BZ #13559]
86567         * abilist/ld.abilist: Update.  Adjust for removal of tls option.
86568         * abilist/libBrokenLocale.abilist: Likewise.
86569         * abilist/libanl.abilist: Likewise.
86570         * abilist/libc.abilist: Likewise.
86571         * abilist/libcrypt.abilist: Likewise.
86572         * abilist/libdl.abilist: Likewise.
86573         * abilist/libm.abilist: Likewise.
86574         * abilist/libnsl.abilist: Likewise.
86575         * abilist/libpthread.abilist: Likewise.
86576         * abilist/libresolv.abilist: Likewise.
86577         * abilist/librt.abilist: Likewise.
86578         * abilist/libthread_db.abilist: Likewise.
86579         * abilist/libutil.abilist: Likewise.
86580         * abilist/libnss_db.abilist: New file.
86582         * scripts/abilist.awk: Add support for indirect functions.
86584         * sysdeps/unix/sysv/linux/configure.in: Remove m68k support.
86586         * sysdeps/generic/ldsodefs.h: Remove Alpha support.
86588         * shlib-versions: Remove entries for ports architectures.
86590         * elf/tls-macros.h: Remove support for Alpha and IA-64.  Should be in
86591         files in ports.
86592         * elf/stackguard-macros.h: Remove support for IA-64.
86593         * elf/tst-auditmod1.c: Likewise.
86594         * sysdeps/generic/ldsodefs.h: Likewise.
86596         * sysdeps/unix/sysv/linux/configure.in: Ports should define
86597         libc_cv_gcc_unwind_find_fde and arch_minimum_kernel in their
86598         configure files.
86600         [BZ #13552]
86601         * configure.in: Remove --enable-omitfp support.
86602         * FAQ.in: Adjust.
86603         * config.make.in: Likewise.
86604         * Makeconfig: Likewise.
86605         * manual/install.texi: Likewise.
86607         In case anyone cares, the IA-64 architecture could move to ports.
86608         * sysdeps/ia64/*: Removed.
86609         * sysdeps/unix/sysv/linux/ia64/*: Removed.
86610         * sysdeps/unix/sysv/linux/kernel-features.h: Remove IA-64 support.
86612         [BZ #13555]
86613         * configure.in: Remove entries for unsupported architectures.
86615         [BZ #13533]
86616         * iconv/gconv_builtin.h: Use CHAR16 for the char16_t conversions.
86617         * iconv/gconv_simple.c: Rename char16_t routines.  Add char16_t<->utf8
86618         routines.
86619         * iconv/gconv_int.h: Adjust prototypes for char16_t routines.
86620         * iconv/iconv_prog.c: Recognize CHAR16 as internal name.
86621         * wcsmbs/c16rtomb.c: Fix a few problems.  Disable all the code and
86622         fall back to using wcrtomb.
86623         * wcsmbs/mbrtoc16.: Fix implementation to handle real conversions.
86624         * wcsmbs/wcsmbsload.c: Make char16 routines optional.  Adjust for
86625         renaming.
86626         * wcsmbs/Makefile (tests): Add tst-c16c32-1:
86627         * wcsmbs/tst-c16c32-1.c: New file.
86629         * wcsmbs/wcrtomb.c: Use MB_LEN_MAX instead of MB_CUR_MAX for sizing
86630         local variable.
86632         * libio/stdio.h: Do not declare gets at all for _GNU_SOURCE.
86634         * elf/tst-unique3.cc: Add explicit declaration of gets.
86635         * elf/tst-unique3lib.cc: Likewise.
86636         * elf/tst-unique3lib2.cc: Likewise.
86637         * elf/tst-unique4.cc: Likewise.
86639         * string/test-strcpy.c (do_one_test): Fix format string for WIDE use.
86641 2012-01-06  Joseph Myers  <joseph@codesourcery.com>
86643         [BZ #13566]
86644         * assert/assert.h (static_assert): Don't define for C++.
86645         * libio/stdio.h (gets): Do declare for C++ <= C++11.
86646         * wcsmbs/uchar.h (char16_t, char32_t): Don't typedef for C++11.
86648 2012-01-03  Ulrich Drepper  <drepper@gmail.com>
86650         * iconv/loop.c (single loop): Fix assertion in storing of
86651         remaining bytes.
86653         * posix/regcomp.c (init_word_char): Optimize a bit for sane encodings.
86655 2012-01-01  Ulrich Drepper  <drepper@gmail.com>
86657         * posix/getconf.c: Update copyright year.
86658         * nss/getent.c: Likewise.
86659         * nss/makedb.c: Likewise.
86660         * iconv/iconvconfig.c: Likewise.
86661         * iconv/iconv_prog.c: Likewise.
86662         * elf/ldconfig.c: Likewise.
86663         * elf/pldd.c: Likewise.
86664         * elf/sotruss.ksh: Likewise.
86665         * catgets/gencat.c: Likewise.
86666         * csu/version.c: Likewise.
86667         * elf/ldd.bash.in: Likewise.
86668         * elf/sprof.c (print_version): Likewise.
86669         * locale/programs/locale.c: Likewise.
86670         * locale/programs/localedef.c: Likewise.
86671         * login/programs/pt_chown.c: Likewise.
86672         * nscd/nscd.c (print_version): Likewise.
86673         * debug/xtrace.sh: Likewise.
86674         * malloc/memusage.sh: Likewise.
86675         * malloc/mtrace.pl: Likewise.
86676         * debug/catchsegv.sh: Likewise.
86678 2011-12-30  Jakub Jelinek  <jakub@redhat.com>
86680         * posix/regex_internal.c (re_string_fetch_byte_case): Remove
86681         pure attribute.
86683 2011-12-24  Ulrich Drepper  <drepper@gmail.com>
86685         [BZ #13533]
86686         * iconv/gconv_simple.c: Add ASCII<->UTF-16 transformations.
86687         * iconv/gconv_builtin.h: Add entries for internal ASCII<->UTF-16
86688         transformations.
86689         * iconv/gconv_int.h: Likewise.
86690         * wcsmbs/Makefile (routines): Add mbrtoc16 and c16rtomb.
86691         * wcsmbs/Versions: Export mbrtoc16, c16rtomb, mbrtoc32, c32rtomb
86692         from libc for GLIBC_2.16.
86693         * wcsmbs/mbrtowc.c: Define mbrtoc32 alias.
86694         * wcsmbs/wcrtomb.c: Define c32rtomb alias.
86695         * wcsmbs/uchar.h: Really define mbstate_t.
86696         * wcsmbs/wchar.h: Allow defining mbstate_t in uchar.h.
86697         * wcsmbs/c16rtomb.c: New file.
86698         * wcsmbs/mbrtoc16.c: New file.
86699         * wcsmbs/wcsmbsload.c: Add static definitions for c16 conversions
86700         for C/POSIX locale.
86701         (__wcsmbs_load_conv): Do not fill in c16 routines yet.
86702         * wcsmbs/wcsmbsload.h (gconv_fcts): Add entries for c16 routines.
86704         * wcsmbs/wchar.h: Add missing __restrict.
86706 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
86708         [BZ #13532]
86709         * time/Makefile (routines): Add timespec_get.
86710         * time/Versions: Export timespec_get from libc for GLIBC_2.16.
86711         * time/time.h: Define TIME_UTC and declare timespec_get.  Define
86712         timespec for ISO C11.
86713         * time/timespec_get.c: New file.
86714         * sysdeps/unix/sysv/linux/timespec_get.c: New file.
86715         * sysdeps/unix/sysv/linux/x86_64/timespec_get.c: New file.
86717         [BZ #13531]
86718         * malloc/malloc.c: Define alias aligned_alloc for public_mEMALIGn.
86719         * stdlib/stdlib.h: Declare aligned_alloc.
86720         * Versions.def: Add GLIBC_2.16 for libc.
86721         * malloc/Versions: Export aligned_alloc from libc for GLIBC_2.16.
86723         [BZ 13527]
86724         * stdlib/stdlib.h: Make at_quick_exit and quick_exit available for
86725         ISO C11.
86727         * include/features.h: Define __USE_ISOCXX11 when compiling ISO C++11
86728         code.
86730         [BZ #13528]
86731         * libio/stdio.h: Do not declare gets for ISO C11 and _GNU_SOURCE.
86733         [BZ #13529]
86734         * assert/assert.h (static_assert): Define.
86736         * version.h: Update for 2.16 development version.
86738         [BZ #13526]
86739         * include/features.h: Handle __STDC_VERSION__ >= 201112 and
86740         _ISOC11_SOURCE.
86742         * version.h (RELEASE): Bump for 2.15 release.
86743         * include/features.h (__GLIBC_MINOR__): Bump to 15.
86745         * sysdeps/x86_64/dl-machine.h: Fix typos in comments.
86746         Patch by Marek Polacek <mpolacek@redhat.com>.
86748         * bits/byteswap.h: Protect long long constants with __extension__.
86749         * sysdeps/i386/bits/byteswap.h: Likewise.
86750         * sysdeps/ia64/bits/byteswap.h: Likewise.
86751         * sysdeps/s390/bits/byteswap.h: Likewise.
86752         * sysdeps/x86_64/bits/byteswap.h: Likewise.
86754 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86756         [BZ #13540]
86757         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Fix overrun in
86758         destination buffer.
86759         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: Likewise.
86761 2011-12-23  Marek Polacek  <polacek@redhat.com>
86763         * elf/dl-addr.c (determine_info): Add inline keyword.
86764         * elf/tst-auditmod4b.c (check_avx): Likewise.
86765         * elf/tst-auditmod6b.c (check_avx): Likewise.
86766         * elf/tst-auditmod6c.c (check_avx): Likewise.
86767         * elf/tst-auditmod7b.c (check_avx): Likewise.
86769 2011-12-23  Ulrich Drepper  <drepper@gmail.com>
86771         * sysdeps/i386/fpu/bits/fenv.h (feraiseexcept): Also enable for
86772         !__SSE_MATH__.
86774 2011-12-23  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86776         [BZ #13540]
86777         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: Fix wrong copying
86778         processing for last bytes.
86780 2011-08-06  Bruno Haible  <bruno@clisp.org>
86782         [BZ #13061]
86783         * iconvdata/cp1258.c (comp_table_data): Combine U+00A8 U+0301 to
86784         U+0385, not to U+1FEE.
86786         [BZ #13062]
86787         * iconvdata/tcvn5712-1.c (comp_table_data): Remove useless and wrong
86788         entry for U+00A5 U+0301.
86790 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
86792         [BZ #13166]
86793         * inet/getnameinfo.c (getnameinfo): Return EAI_OVERFLOW if the
86794         buffer for the output is too small.
86796         * sysdeps/i386/fpu/bits/fenv.h [__SSE_MATH__]: Add feraiseexcept
86797         optimization.
86799         [BZ #13185]
86800         * sysdeps/i386/fpu/fgetexcptflg.c (__fegetexceptflag): Also return
86801         SSE flags if possible.
86803 2011-12-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86805         [BZ #13540]
86806         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Fix wrong copying
86807         processing for last bytes.
86809 2011-12-22  Joseph Myers  <joseph@codesourcery.com>
86811         * sysdeps/unix/sysv/linux/Makefile (syscall-list-variants)
86812         (syscall-list-default-options, syscall-list-default-condition)
86813         (syscall-list-includes): Define.
86814         ($(objpfx)syscall-%.h $(objpfx)syscall-%.d): Support arbitrary
86815         list of ABIs and options and #if conditions for each ABI.  Do not
86816         handle common syscalls between ABIs specially.
86817         * sysdeps/unix/sysv/linux/powerpc/Makefile (64bit-predefine):
86818         Remove.
86819         (syscall-list-variants, syscall-list-32bit-options)
86820         (syscall-list-32bit-condition, syscall-list-64bit-options)
86821         (syscall-list-64bit-condition): Define.
86822         * sysdeps/unix/sysv/linux/s390/Makefile (64bit-predefine): Remove.
86823         (syscall-list-variants, syscall-list-32bit-options)
86824         (syscall-list-32bit-condition, syscall-list-64bit-options)
86825         (syscall-list-64bit-condition): Define.
86826         * sysdeps/unix/sysv/linux/sparc/Makefile (64bit-predefine):
86827         Remove.
86828         (syscall-list-variants, syscall-list-32bit-options)
86829         (syscall-list-32bit-condition, syscall-list-64bit-options)
86830         (syscall-list-64bit-condition): Define.
86831         * sysdeps/unix/sysv/linux/x86_64/Makefile (64bit-predefine):
86832         Remove.
86833         (syscall-list-variants, syscall-list-32bit-options)
86834         (syscall-list-32bit-condition, syscall-list-64bit-options)
86835         (syscall-list-64bit-condition): Define.
86837 2011-12-22  Ulrich Drepper  <drepper@gmail.com>
86839         * locale/iso-639.def: Add brx entry.
86841         [BZ #13328]
86842         * malloc/mtrace.c (tr_freehook): Avoid unnecessary unlock/lock.
86843         Proposed by Mariusz_Cukr <marcukr@op.pl>.
86845         * sysdeps/x86_64/fpu/bits/fenv.h: Use __REDIRECT_NTH for
86846         __feraiseexcept_renamed.
86848 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
86850         [BZ #13538]
86851         * sysdeps/unix/sysv/linux/sys/epoll.h: Initialize EPOLLONESHOT and
86852         EPOLLET with unsigned values.
86853         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Likewise.
86854         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h: Likewise.
86856         * math/s_cacosh.c: Use Kahan's formula if the subtraction could lead
86857         to large cancellation.
86858         * math/s_cacoshf.c: Likewise.
86859         * math/s_cacoshl.c: Likewise.
86861 2011-11-18  Richard B. Kreckel  <kreckel@ginac.de>
86863         [BZ #13305]
86864         [BZ #12786]
86865         * math/s_cacosh.c: Fix rare miscomputation in cacosh().
86866         * math/s_cacoshf.c: Likewise.
86867         * math/s_cacoshl.c: Likewise.
86869 2011-12-21  Ulrich Drepper  <drepper@gmail.com>
86871         [BZ #13439]
86872         * iconv/gconv.h: Define __GCONV_SWAP.
86873         * iconvdata/unicode.c: The swap bit must be stored in __flags.
86874         * iconvdata/utf-16.c: Likewise.
86875         * iconvdata/utf-32.c: Likewise.
86877 2011-12-21  Andreas Schwab  <schwab@linux-m68k.org>
86879         [BZ #13524]
86880         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Clear lowest limb of
86881         numerator after shifting it by one limb.
86883 2011-12-19  Rafael Ávila de Espíndola  <rafael.espindola@gmail.com>
86885         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Define it only
86886         under [__USE_EXTERN_INLINES].
86888 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
86890         [BZ #13446]
86891         * stdio-common/vfprintf.c (vfprintf): Fix extension of specs array.
86893 2011-11-22  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
86895         * sysdeps/powerpc/Makefile: Added locale-defines.sym generation.
86896         * sysdeps/powerpc/locale-defines.sym: Locale definitions for strcasecmp
86897         optimized code.
86898         * sysdeps/powerpc/powerpc32/power7/Makefile: New file.
86899         * sysdeps/powerpc/powerpc32/power7/strcasecmp.S: New file.
86900         * sysdeps/powerpc/powerpc32/power7/strcasecmp_l.S: New file.
86901         * sysdeps/powerpc/powerpc64/power7/Makefile: Added unroll-loop option
86902         for strncasecmp/strncasecmp_l compilation.
86903         * sysdeps/powerpc/powerpc64/power7/strcasecmp.S: New file.
86904         * sysdeps/powerpc/powerpc64/power7/strcasecmp_l.S: New file.
86906 2011-12-08  Marek Polacek  <mpolacek@redhat.com>
86908         [BZ #13484]
86909         * math/bits/math-finite.h: Use __REDIRECT_NTH and __NTH instead
86910         of __asm__.
86912 2011-12-17  Ulrich Drepper  <drepper@gmail.com>
86914         [BZ #13506]
86915         * time/tzfile.c (__tzfile_read): Check values from file header.
86917 2011-11-21  Will Schmidt  <will_schmidt@vnet.ibm.com>
86919         * powerpc/powerpc32/sysdep.h: Define SETUP_GOT_ACCESS() macro.
86920         * powerpc/powerpc32/a2/memcpy.S: Use SETUP_GOT_ACCESS() macro.
86921         * powerpc/powerpc32/dl-start.S: Likewise.
86922         * powerpc/powerpc32/elf/start.S: Likewise.
86923         * powerpc/powerpc32/fpu/__longjmp-common.S: Likewise.
86924         * powerpc/powerpc32/fpu/s_ceil.S: Likewise.
86925         * powerpc/powerpc32/fpu/s_ceilf.S: Likewise.
86926         * powerpc/powerpc32/fpu/s_floor.S: Likewise.
86927         * powerpc/powerpc32/fpu/s_floorf.S: Likewise.
86928         * powerpc/powerpc32/fpu/s_lround.S: Likewise.
86929         * powerpc/powerpc32/fpu/s_rint.S: Likewise.
86930         * powerpc/powerpc32/fpu/s_rintf.S: Likewise.
86931         * powerpc/powerpc32/fpu/s_round.S: Likewise.
86932         * powerpc/powerpc32/fpu/s_roundf.S: Likewise.
86933         * powerpc/powerpc32/fpu/s_trunc.S: Likewise.
86934         * powerpc/powerpc32/fpu/s_truncf.S: Likewise.
86935         * powerpc/powerpc32/fpu/setjmp-common.S: Likewise.
86936         * powerpc/powerpc32/memset.S: Likewise.
86937         * powerpc/powerpc32/power4/fpu/s_llround.S: Likewise.
86938         * powerpc/powerpc32/power4/fpu/w_sqrt.S: Likewise.
86939         * powerpc/powerpc32/power4/fpu/w_sqrtf.S: Likewise.
86940         * powerpc/powerpc32/power5/fpu/w_sqrt.S: Likewise.
86941         * powerpc/powerpc32/power5/fpu/w_sqrtf.S: Likewise.
86942         * powerpc/powerpc32/power7/fpu/s_finite.S: Likewise.
86943         * powerpc/powerpc32/power7/fpu/s_isinf.S: Likewise.
86944         * powerpc/powerpc32/power7/fpu/s_isnan.S: Likewise.
86945         * unix/sysv/linux/powerpc/powerpc32/____longjmp_chk.S: Likewise.
86946         * unix/sysv/linux/powerpc/powerpc32/brk.S: Likewise.
86947         * unix/sysv/linux/powerpc/powerpc32/getcontext-common.S: Likewise.
86948         * unix/sysv/linux/powerpc/powerpc32/setcontext-common.S: Likewise.
86949         * unix/sysv/linux/powerpc/powerpc32/swapcontext-common.S: Likewise.
86951 2011-11-18  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
86953         * math/libm-test.inc: Added more nearbyint tests.
86954         * sysdeps/powerpc/powerpc32/fpu/s_nearbyint.S: New file.
86955         * sysdeps/powerpc/powerpc32/fpu/s_nearbyintf.S: New file.
86956         * sysdeps/powerpc/powerpc64/fpu/s_nearbyint.S: New file.
86957         * sysdeps/powerpc/powerpc64/fpu/s_nearbyintf.S: New file.
86959 2011-11-21  Ross Lagerwall  <rosslagerwall@gmail.com>
86961         * resolv/res_init.c (__res_vinit): Open /etc/resolv.conf with
86962         FD_CLOEXEC.
86964 2011-11-14  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86966         * sysdeps/x86_64/multiarch/Makefile [subdir=wcsmbs] (sysdep_routines):
86967         Add wcscpy-ssse3 wcscpy-c.
86968         * sysdeps/x86_64/multiarch/wcscpy-ssse3.S: New file.
86969         * sysdeps/x86_64/multiarch/wcscpy-c.c: New file.
86970         * sysdeps/x86_64/multiarch/wcscpy.S: New file.
86971         * sysdeps/x86_64/wcschr.S: New file.
86972         * sysdeps/x86_64/wcsrchr.S: New file.
86973         * string/test-strcmp.c: Remove checking of wcscmp function for
86974         wrong alignments.
86975         * sysdeps/i386/i686/multiarch/Makefile [subdir=wcsmbs]
86976         (sysdep_routines): Add wcscpy-ssse3 wcscpy-c wcschr-sse2 wcschr-c
86977         wcsrchr-sse2 wcsrchr-c.
86978         * sysdeps/i386/i686/multiarch/wcschr.S: New file.
86979         * sysdeps/i386/i686/multiarch/wcschr-c.c: New file.
86980         * sysdeps/i386/i686/multiarch/wcschr-sse2.S: New file.
86981         * sysdeps/i386/i686/multiarch/wcsrchr.S: New file.
86982         * sysdeps/i386/i686/multiarch/wcsrchr-c.c: New file.
86983         * sysdeps/i386/i686/multiarch/wcsrchr-sse2.S: New file.
86984         * sysdeps/i386/i686/multiarch/wcscpy.S: New file.
86985         * sysdeps/i386/i686/multiarch/wcscpy-c.c: New file.
86986         * sysdeps/i386/i686/multiarch/wcscpy-ssse3.S: New file.
86987         * wcsmbc/wcschr.c (WCSCHR): New macro.
86989 2011-11-17  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
86991         * wcsmbs/Makefile (strop-tests): Add wcsrchr wcscpy.
86992         * wcsmbs/test-wcsrchr.c: New file.
86993         * string/test-strrchr.c: Add wcsrchr support.
86994         (WIDE): New macro.
86995         * wcsmbs/test-wcscpy.c: New file.
86996         * string/test-strcpy.c: Add wcscpy support.
86997         (WIDE): New macro.
86999 2011-12-10  Ulrich Drepper  <drepper@gmail.com>
87001         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Lift one operation out of
87002         the inner loop.
87004 2011-12-06  Andreas Schwab  <schwab@linux-m68k.org>
87006         [BZ #13472]
87007         * sysdeps/powerpc/fpu/e_hypot.c (twoM600): Correct value.
87009 2011-12-04  Ulrich Drepper  <drepper@gmail.com>
87011         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Fix attribute.
87012         Minor optimizations.
87014         * sunrpc/clnt_unix.c (clntunix_control): Fix aliasing issues.
87015         * sunrpc/clnt_tcp.c (clnttcp_control): Likewise.
87016         * sunrpc/clnt_udp.c (clntudp_call): Likewise.
87018 2011-12-03  Ulrich Drepper  <drepper@gmail.com>
87020         * inet/netinet/in.h: Provide versions of IN6_IS_ADDR_UNSPECIFIED,
87021         IN6_IS_ADDR_LOOPBACK, IN6_IS_ADDR_LINKLOCAL, IN6_IS_ADDR_SITELOCAL,
87022         IN6_IS_ADDR_V4MAPPED, IN6_IS_ADDR_V4COMPAT, and IN6_ARE_ADDR_EQUAL
87023         for gcc to avoid warnings.
87024         * inet/Makefile (tests): Add tst-checks.
87025         * inet/tst-checks.c: New file.
87027         * sysdeps/generic/dl-hash.h (_dl_elf_hash): Add attribute to avoid
87028         warning.
87030         * sysdeps/x86_64/multiarch/wmemcmp-c.c: Provide prototype for
87031         __wmemcmp_sse2.
87033         * sysdeps/x86_64/fpu/s_scalbln.c: Removed.
87034         * sysdeps/x86_64/fpu/s_scalbn.c: Removed.
87036         * malloc/mcheck.h: Fix use of incorrect encoding in comment.
87038 2011-12-02  Ulrich Drepper  <drepper@gmail.com>
87040         * nis/nis_findserv.c (__nis_findfastest_with_timeout): Avoid aliasing
87041         problem.
87043         * nscd/aicache.c (addhstaiX): Avoid unused variable warning.
87045 2011-11-29  Joseph Myers  <joseph@codesourcery.com>
87047         * sysdeps/unix/sysv/linux/sh/bits/atomic.h (rNOSP): Define
87048         conditional on GCC version.
87049         (__arch_compare_and_exchange_val_8_acq)
87050         (__arch_compare_and_exchange_val_16_acq)
87051         (__arch_compare_and_exchange_val_32_acq, atomic_exchange_and_add)
87052         (atomic_add, atomic_add_negative, atomic_add_zero, atomic_bit_set)
87053         (atomic_bit_test_set): Use rNOSP instead of "r" constraints.
87055 2011-12-02  Joseph Myers  <joseph@codesourcery.com>
87057         * sysdeps/sh/backtrace.c: New file.
87059 2011-12-02  Andreas Schwab  <schwab@redhat.com>
87061         * misc/bits/select2.h (__FD_ELT): Mark as extension.  Add
87062         parenthesis.
87064 2011-12-01  Andreas Schwab  <schwab@redhat.com>
87066         * sysdeps/unix/sysv/linux/futimes.c: Truncate time values when
87067         falling back to utime.
87069 2011-11-30  Andreas Schwab  <schwab@redhat.com>
87071         * sysdeps/s390/fpu/libm-test-ulps: Relax cpow (2 + 3 i, 4 + 0 i)
87072         expectations for float.
87074 2011-11-29  Andreas Schwab  <schwab@redhat.com>
87076         * locale/weight.h (findidx): Add parameter len.
87077         * locale/weightwc.h (findidx): Likewise.
87078         * posix/fnmatch_loop.c (FCT): Adjust caller.
87079         * posix/regcomp.c (build_equiv_class): Likewise.
87080         * posix/regex_internal.h (re_string_elem_size_at): Likewise.
87081         * posix/regexec.c (check_node_accept_bytes): Likewise.
87082         * string/strcoll_l.c (STRCOLL): Likewise.
87083         * string/strxfrm_l.c (STRXFRM): Likewise.
87085 2011-11-17  Ulrich Drepper  <drepper@gmail.com>
87087         * Makefile.in: Remove CVSOPT handling.
87088         * configure.in: Remove use of AC_REVISION.
87089         * iconvdata/Makefile (distribute): No need to filter out CVS.
87090         * scripts/list-sources.sh: Remove CVS, subversion and monotone
87091         handling.
87093 2011-11-16  Andreas Schwab  <schwab@redhat.com>
87095         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S
87096         [USE_AS_STRCASECMP_L]: Fix argument offsets for non-PIC.
87097         [USE_AS_STRNCASECMP_L]: Likewise.
87098         (__strcasecmp_ssse3, __strncasecmp_ssse3): Handle
87099         NO_TLS_DIRECT_SEG_REFS.
87100         * sysdeps/i386/i686/multiarch/strcmp-sse4.S [USE_AS_STRCASECMP_L]:
87101         Fix argument offsets for non-PIC.
87102         [USE_AS_STRNCASECMP_L]: Likewise.
87103         (__strcasecmp_sse4_2, __strncasecmp_sse4_2): Handle
87104         NO_TLS_DIRECT_SEG_REFS.
87106 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
87108         * locale/loadarchive.c (_nl_load_locale_from_archive): Open files with
87109         O_CLOEXEC.
87110         * locale/loadlocale.c (_nl_load_locale): Likewise.
87112 2011-11-15  Andreas Schwab  <schwab@redhat.com>
87114         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU)
87115         [__ASSUME_POSIX_CPU_TIMERS > 0]: Assign to retval and break.
87116         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c
87117         (SYSCALL_GETTIME): Set errno on error.
87119         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Properly
87120         count references to noai6ai_cached.
87122 2011-11-15  Ulrich Drepper  <drepper@gmail.com>
87124         * time/getdate.c (__getdate_r): Set FD_CLOEXEC for given file.
87126         * sysdeps/unix/sysv/linux/readonly-area.c (__readonly_area): Set
87127         FD_CLOEXEC for /proc/self/maps.
87129         * sysdeps/unix/sysv/linux/getsysstats.c (phys_pages_info): Set
87130         FD_CLOEXEC for /proc/meminfo.
87132         * sysdeps/posix/getaddrinfo.c (gaiconf_init): Set FD_CLOEXEC for
87133         gai.conf.
87135         * resolv/res_query.c (res_hostalias):  Don't allow cancellation and set
87136         FD_CLOEXEC for given file.
87138         * resolv/res_hconf.c (do_init): Set FD_CLOEXEC for host.conf.
87140         * resolv/gethnamaddr.c (_sethtent): Don't allow cancellation and set
87141         FD_CLOEXEC for /etc/hosts.
87142         (_gethtent): Likewise.
87144         * nss/nsswitch.c (nss_parse_file): Set FD_CLOEXEC.
87146         * nss/nss_files/files-netgrp.c (_nss_files_setnetgrent): Don't allow
87147         cancellation and set FD_CLOEXEC for /etc/netgroup.
87149         * nss/nss_files/files-key.c (search): Don't allow cancellation when
87150         reading /etc/publickey.
87152         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Don't
87153         allow cancellation when reading /etc/group.
87155         * nss/nss_files/files-alias.c (internal_setent): Don't allow
87156         cancellation.
87157         (get_next_alias): Likewise for included file.  Also set FD_CLOEXEC.
87159         * nss/nss_files/files-XXX.c (internal_setent): Don't allow cancellation
87160         when using data file.
87162         * nis/nss-default.c (init): Set FD_CLOEXEC for /etc/default/nss.
87164         * nis/nis_file.c (read_nis_obj): Set FD_CLOEXEC.
87165         (write_nis_obj): Use "c" and "e" in fopen.
87167         * misc/mntent_r.c (__setmntent): Also append e to fopen format.
87169         * misc/getusershell.c (initshells): Set FD_CLOEXEC for /etc/shells.
87171         * misc/getttyent.c (setttyent): Set FD_CLOEXEC.
87173         * misc/getpass.c (getpass): Set FD_CLOEXEC for /dev/tty.
87175         * intl/localealias.c (read_alias_file): Set FD_CLOEXEC for
87176         locale.alias.
87178         * inet/ruserpass.c (ruserpass): Set FD_CLOEXEC for .netrc.
87180         * inet/rcmd.c (iruserfopen): Set FD_CLOEXEC for hosts.equiv.
87182         * iconv/gconv_conf.c (read_conf_file): Set FD_CLOEXEC for config file.
87184         * hesiod/hesiod.c (parse_config_file): Prevent cancellation in config
87185         file parsing and set FD_CLOEXEC.
87187 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
87189         * time/tzfile.c (__tzfile_read): Use "e" in fopen call.
87191 2011-11-14  Andreas Schwab  <schwab@redhat.com>
87193         * malloc/arena.c (arena_get2): Don't call reused_arena when
87194         _int_new_arena failed.
87196 2011-11-14  Ulrich Drepper  <drepper@gmail.com>
87198         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]
87199         (sysdep_routines): Add strcasecmp_l-sse4 and strncase_l-sse4.
87200         * sysdeps/i386/i686/multiarch/strcasecmp.S: Re-enable SSE4.2 code.
87201         * sysdeps/i386/i686/multiarch/strcmp.S: Likewise.
87202         * sysdeps/i386/i686/multiarch/strncase.S: Likewise.
87203         * sysdeps/i386/i686/multiarch/strcmp-sse4.S: Change to allow reuse
87204         to compile strcasecmp and strncasecmp.
87205         * sysdeps/i386/i686/multiarch/strcasecmp_l-sse4.S: New file.
87206         * sysdeps/i386/i686/multiarch/strncase_l-sse4.S: New file.
87208         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Use L macro consistently.
87210 2011-11-13  Ulrich Drepper  <drepper@gmail.com>
87212         * sysdeps/i386/i686/multiarch/Makefile [subdir=string]: Add
87213         locale-defines.sym to gen-as-const-headers.
87214         (sysdep_routines): Add strcasecmp_l-c, strcasecmp-c,
87215         strcasecmp_l-ssse3, strncase_l-c, strncase-c, and strncase_l-ssse3.
87216         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Change to allow reuse
87217         to compile strcasecmp and strncasecmp.
87218         * sysdeps/i386/i686/multiarch/strcmp.S: Allow to use for
87219         strcasecmp_l and strncasecmp_l.
87220         * sysdeps/i386/i686/multiarch/locale-defines.sym: New file.
87221         * sysdeps/i386/i686/multiarch/strcasecmp-c.c: New file.
87222         * sysdeps/i386/i686/multiarch/strcasecmp.S: New file.
87223         * sysdeps/i386/i686/multiarch/strcasecmp_l-c.c: New file.
87224         * sysdeps/i386/i686/multiarch/strcasecmp_l-ssse3.S: New file.
87225         * sysdeps/i386/i686/multiarch/strcasecmp_l.S: New file.
87226         * sysdeps/i386/i686/multiarch/strncase-c.c: New file.
87227         * sysdeps/i386/i686/multiarch/strncase.S: New file.
87228         * sysdeps/i386/i686/multiarch/strncase_l-c.c: New file.
87229         * sysdeps/i386/i686/multiarch/strncase_l-ssse3.S: New file.
87230         * sysdeps/i386/i686/multiarch/strncase_l.S: New file.
87232 2011-11-12  Ulrich Drepper  <drepper@gmail.com>
87234         * sysdeps/unix/clock_gettime.c (clock_gettime): No need to assign
87235         result of SYSDEP_GETTIME_CPU to retval.
87236         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSDEP_GETTIME_CPU): Add
87237         parameter list to macro.  Remove trailing semicolon.  Adjust users.
87239         * resolv/getaddrinfo_a.c (getaddrinfo_a): Avoid warning about unused
87240         variable.
87242         * sysdeps/ieee754/ldbl-96/e_j0l.c (__ieee754_j0l): Avoid storing
87243         mantissa words.
87244         * sysdeps/ieee754/ldbl-96/e_j1l.c (__ieee754_j1l): Likewise.
87246         * sysdeps/ieee754/ldbl-96/e_hypotl.c (__ieee754_hypotl): Avoid warning
87247         from unused variable.
87249         * sysdeps/generic/sysdep.h: Clean up, pretty print, use dwarf2.h for
87250         DWARF definitions.
87251         * sysdeps/generic/dwarf2.h: Don't define enums when using the file
87252         for assembling.
87254         * elf/dl-iteratephdr.c [!SHARED] (__dl_iterate_phdr): Don't iterate
87255         over namespaces.
87257         * sunrpc/rpc_prot.c (rejected): Fix case value.
87259         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS): Use
87260         unsigned long long int to avoid warnings in shift.
87262         * posix/regex_internal.c (re_string_reconstruct): Actually use result
87263         of use of trans.
87264         * posix/regex_internal.h (re_string_wchar_at): Remove temporary
87265         variable tmp.
87267         * sysdeps/i386/i686/multiarch/wcscmp-c.c: Avoid warning.
87268         * sysdeps/i386/i686/multiarch/wcslen-c.c: Likewise.
87269         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: Likewise.
87271         * nis/nis_table.c (nis_list): Use variable of correct type for
87272         result of __follow_path call.
87274 2011-11-07  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
87276         * sysdeps/powerpc/fpu/math_private.h: Using inline assembly version
87277         of math functions ceil, trunc, floor, round, and sqrt, when
87278         avaliable on the platform.
87279         * sysdeps/powerpc/fpu/e_sqrt.c: Undefine __ieee754_sqrt to avoid
87280         name clash.
87281         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
87282         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
87283         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
87285 2011-10-30  Marek Polacek  <mpolacek@redhat.com>
87287         * libio/wfileops.c (_IO_wfile_underflow_mmap): Remove unused variable.
87288         * sysdeps/ieee754/dbl-64/mpsqrt.c (__mpsqrt): Likewise.
87290 2011-11-11  Roland McGrath  <roland@hack.frob.com>
87292         * include/unistd.h: Fix __readlink return type.
87293         Reported by Chris Metcalf <cmetcalf@tilera.com>.
87295 2011-11-11  Ulrich Drepper  <drepper@gmail.com>
87297         * stdlib/ucontext.h: Undo last change for makecontext.
87299 2011-11-11  Andreas Schwab  <schwab@redhat.com>
87301         * nss/db-Makefile ($(VAR_DB)/group.db): Fix typo in awk script.
87303         * misc/sys/cdefs.h (__REDIRECT_NTHNL): Define.
87304         * setjmp/setjmp.h: Mark functions as non-leaf.
87305         * setjmp/bits/setjmp2.h: Likewise.
87306         * stdlib/ucontext.h: Likewise.
87308 2011-11-10  Andreas Schwab  <schwab@redhat.com>
87310         * malloc/arena.c (_int_new_arena): Don't increment narenas.
87311         (reused_arena): Don't check arena limit.
87312         (arena_get2): Atomically check arena limit.
87314 2011-11-08  Ulrich Drepper  <drepper@gmail.com>
87316         * locale/findlocale.c (_nl_find_locale): Use __strcasecmp_l.
87317         * intl/localealias.c (strcasecmp): Define using __strcasecmp_l.
87319         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S: Remove unnecessary
87320         instructions.
87322 2011-11-07  Andreas Schwab  <schwab@redhat.com>
87324         * libio/genops.c (_IO_flush_all_lockp): Only register cleanup
87325         handler when locking.
87327         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
87328         Fix size of allocated buffer.
87330 2011-11-04  Andreas Schwab  <schwab@redhat.com>
87332         [BZ #10103]
87333         * math/math.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Provide
87334         declarations for long double functions.
87335         * math/complex.h [__NO_LONG_DOUBLE_MATH && !_LIBC]: Likewise.
87337         * elf/sprof.c (load_shobj): Fix off-by-one when reading link name.
87339 2011-11-03  Andreas Schwab  <schwab@redhat.com>
87341         * nscd/nscd.c (main): Don't start AVC thread until credentials are
87342         installed.
87344         * nss/makedb.c (set_file_creation_context): Do nothing if SELinux
87345         is disabled.
87347 2011-11-02  Samuel Thibault  <samuel.thibault@ens-lyon.org>
87349         * bits/ioctl-types.h (_IOT_sgttyb): Set number of chars to 4.
87351 2011-11-01  Andreas Schwab  <schwab@linux-m68k.org>
87353         * include/alloca.h (stackinfo_alloca_round): Define.
87354         (extend_alloca): Use it.
87355         [_STACK_GROWS_UP]: Correct check for adjacent allocation.
87356         * elf/dl-deps.c (_dl_map_object_deps): Don't round alloca size
87357         here.
87359         * scripts/check-local-headers.sh: Ignore libaudit.h.
87361         * nscd/Makefile (extra-objs): Make recursively expanded.
87363 2011-11-01  Ulrich Drepper  <drepper@gmail.com>
87365         * sysdeps/x86_64/strcmp.S: Fix test for non-ASCII locales.
87366         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Likewise.
87368         * posix/tst-rfc3484.c: Add missing __free_in6ai dummy function.
87369         * posix/tst-rfc3484-2.c: Likewise.
87370         * posix/tst-rfc3484-3.c: Likewise.
87372         * sysdeps/unix/sysv/linux/bits/uio.h: Declare process_vm_readv and
87373         process_vm_writev.
87374         * sysdeps/unix/sysv/linux/syscalls.list: Add process_vm_readv and
87375         process_vm_writev.
87376         * sysdeps/unix/sysv/linux/Versions: Export process_vm_readv and
87377         process_vm_writev from libc using GLIBC_2.15 version.
87379         * nscd/connections.c: Use kernel headers instead of <netlink/netlink.h>.
87381 2011-10-31  Paul Pluzhnikov  <ppluzhnikov@google.com>
87383         * elf/dl-deps.c (_dl_map_object_deps): Reuse alloca space to reduce
87384         stack usage.
87386 2011-10-31  Ulrich Drepper  <drepper@gmail.com>
87388         [BZ #13367]
87389         * nss/getent.c (initgroups_keys): Show error message in case no group
87390         names are given.
87392         * include/ifaddrs.h: Declare __free_in6ai and __bump_nl_timestamp.
87393         * inet/check_pf.c: Provide dummy versions of __free_in6ai and
87394         __bump_nl_timestamp.
87395         * nscd/connections (nscd_init): When host database is served open
87396         netlink socket and request notification about configuration changes.
87397         (main_loop_poll): Track netlink file descriptor and bump timestamp
87398         in case data becomes available.
87399         (main_loop_epoll): Likewise.
87400         * nscd/nscd-client.h (DB_VERSION): Bump to 2.
87401         (database_pers_head): Add extra_data fileds.
87402         Declare __nscd_get_mapping and __nscd_get_nl_timestamp.
87403         * nscd/nscd_gethst_r.c (__nscd_get_nl_timestamp): New function.
87404         * nscd/nscd_helper.c (__nscd_get_mapping): Renamed from get_mapping.
87405         Adjust caller.
87406         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Don't call free on
87407         in6ai data, call __free_in6ai.
87408         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd] (sysdep-CFLAGS):
87409         Add -DHAVE_NETLINK.
87410         * sysdeps/unix/sysv/linux/check_pf.c: Major rewrite.  Cache the
87411         interface information.  Reuse previous data if netlink timestamp
87412         is not changed.
87413         (__bump_nl_timestamp): New function.
87414         (__free_in6ai): New function.
87416 2011-10-30  Ulrich Drepper  <drepper@gmail.com>
87418         * sysdeps/unix/sysv/linux/check_pf.c (make_request): Don't call
87419         close_not_cancel_no_status here.
87420         (__check_pf): Reorganize code a bit to not call close twice if OOM.
87422 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
87424         [BZ #13276]
87425         * malloc/malloc.c (munmap_chunk): Don't use assertion to check munmap
87426         return value.
87428         * posix/sys/wait.h: Mark wait3 and wait4 with __THROWNL.
87429         * libio/stdio.h: Mark sprintf, vsprintf snprintf, vsnprintf, vasprintf,
87430         asprintf, __asprintf, obstack_printf, obstack_vprintf with __THROWNL.
87432 2011-07-03  Andreas Jaeger  <aj@suse.de>
87434         [BZ #10709]
87435         * sysdeps/ieee754/dbl-64/s_sin.c (__sin): Fix incorrect rounding
87436         of sin. Patch suggested by Paul Zimmermann <zimmerma+gcc@loria.fr>.
87437         * math/libm-test.inc (sin_test): Add test case.
87439 2011-10-29  Ulrich Drepper  <drepper@gmail.com>
87441         [BZ #13337]
87442         * elf/sprof.c (load_shobj): Correctly NUL-terminate link name.
87443         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
87445         * elf/chroot_canon.c (chroot_canon): Cleanups.
87447         * elf/dl-lookup.c (_dl_setup_hash): Avoid warning.
87449         [BZ #13335]
87450         * elf/chroot_canon.c (chroot_canon): Fix readlink call.
87451         Patch by Thomas Jarosch <thomas.jarosch@intra2net.com>.
87453         * string/test-strchr.c: Make usable for strchrnul testing.
87454         * string/test-strchrnul.c: New file.
87455         * string/Makefile (strop-tests): Add strchrnul.
87457         * po/it.po: Update from translation team.
87458         * po/es.po: Likewise.
87460 2011-10-28  Ulrich Drepper  <drepper@gmail.com>
87462         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Take
87463         the three constants needed as parameters.  Drop the others.
87464         (strcasestr_sse42): Load uclow, uchigh, and lcqword and pass to
87465         __m128i_strloadu_tolower.
87466         Create and initialize variable zero and use it in all the places
87467         where _mm_setzero_si128 was used.
87469         * sysdeps/x86_64/fpu/multiarch/Makefile: Don't build brandred-avx.c,
87470         doasin-avx.c, dosincos-avx.c, e_asin-avx.c, mpatan-avx.c,
87471         mpatan2-avx.c, mpsqrt-avx.c, mptan-avx.c, sincos32-avx.c.
87472         * sysdeps/x86_64/fpu/multiarch/e_asin.c: There are no _avx variants
87473         anymore.
87474         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: Don't redirect __mpatan2.
87475         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: Don't redirect __mpatan.
87476         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: Don't redirect __branred,
87477         __docos, __dubsin, __mpcos, __mpcos1, __mpsin, __mpsin1.
87478         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: Don't redirect __branred,
87479         __mpranred, __mptan.
87480         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: Removed.
87481         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: Removed.
87482         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: Removed.
87483         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: Removed.
87484         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: Removed.
87485         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: Removed.
87486         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: Removed.
87487         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: Removed.
87488         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: Removed.
87490 2011-10-28  Andreas Schwab  <schwab@redhat.com>
87492         * sysdeps/i386/i686/multiarch/strnlen-c.c (libc_hidden_def): Only
87493         redefine if SHARED.
87494         * sysdeps/i386/i686/multiarch/wcscmp-c.c (libc_hidden_def): Likewise.
87496         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Move
87497         wide char related routines to wcsmbs subdir.
87499 2011-10-27  Andreas Schwab  <schwab@redhat.com>
87501         [BZ #13344]
87502         * misc/sys/cdefs.h (__THROWNL): Define.
87503         * posix/unistd.h: Use __THREADNL instead of __THREAD
87504         for memory synchronization functions.
87506 2011-10-26  Roland McGrath  <roland@hack.frob.com>
87508         [BZ #13349]
87509         * libio/Versions (GLIBC_2.0): Remove open_obstack_stream, which
87510         doesn't exist.
87511         * manual/stdio.texi (Obstack Streams): Node removed.
87513 2011-10-26  Andreas Schwab  <schwab@redhat.com>
87515         * sysdeps/ieee754/flt-32/e_j0f.c: Fix use of math_force_eval.
87516         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
87517         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
87519         * math/math_private.h (math_force_eval): Allow non-addressable
87520         arguments.
87521         * sysdeps/i386/fpu/math_private.h (math_force_eval): Likewise.
87523 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
87525         * sysdeps/ieee754/dbl-64/e_rem_pio2.c: Comment everything out, the
87526         file is not needed.
87528         * sysdeps/x86_64/fpu/multiarch/e_asin.c: Support AVX variants.
87529         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: Likewise.
87530         * sysdeps/x86_64/fpu/multiarch/e_exp.c: Likewise.
87531         * sysdeps/x86_64/fpu/multiarch/e_log.c: Likewise.
87532         * sysdeps/x86_64/fpu/multiarch/s_atan.c: Likewise.
87533         * sysdeps/x86_64/fpu/multiarch/s_sin.c: Likewise.
87534         * sysdeps/x86_64/fpu/multiarch/s_tan.c: Likewise.
87535         * sysdeps/x86_64/fpu/multiarch/Makefile: Fix some CFLAGS-* variables.
87536         Add AVX variants.
87537         * sysdeps/x86_64/fpu/multiarch/brandred-avx.c: New file.
87538         * sysdeps/x86_64/fpu/multiarch/doasin-avx.c: New file.
87539         * sysdeps/x86_64/fpu/multiarch/dosincos-avx.c: New file.
87540         * sysdeps/x86_64/fpu/multiarch/e_asin-avx.c: New file.
87541         * sysdeps/x86_64/fpu/multiarch/e_atan2-avx.c: New file.
87542         * sysdeps/x86_64/fpu/multiarch/e_exp-avx.c: New file.
87543         * sysdeps/x86_64/fpu/multiarch/e_log-avx.c: New file.
87544         * sysdeps/x86_64/fpu/multiarch/mpa-avx.c: New file.
87545         * sysdeps/x86_64/fpu/multiarch/mpatan-avx.c: New file.
87546         * sysdeps/x86_64/fpu/multiarch/mpatan2-avx.c: New file.
87547         * sysdeps/x86_64/fpu/multiarch/mpexp-avx.c: New file.
87548         * sysdeps/x86_64/fpu/multiarch/mplog-avx.c: New file.
87549         * sysdeps/x86_64/fpu/multiarch/mpsqrt-avx.c: New file.
87550         * sysdeps/x86_64/fpu/multiarch/mptan-avx.c: New file.
87551         * sysdeps/x86_64/fpu/multiarch/s_atan-avx.c: New file.
87552         * sysdeps/x86_64/fpu/multiarch/s_sin-avx.c: New file.
87553         * sysdeps/x86_64/fpu/multiarch/s_tan-avx.c: New file.
87554         * sysdeps/x86_64/fpu/multiarch/sincos32-avx.c: New file.
87555         * sysdeps/x86_64/fpu/multiarch/slowexp-avx.c: New file.
87557         * sysdeps/x86_64/multiarch/init-arch.h: Make bit_* macros available
87558         all the time.  Define bit_AVX.  Define HAS_* macros using bit_* macros.
87560         * sysdeps/x86_64/multiarch/strcmp-sse42.S: Move common code to earlier
87561         place.  Use VEX encoding when compiling for AVX.
87563 2011-10-25  Andreas Schwab  <schwab@redhat.com>
87565         * wcsmbs/wcscmp.c (WCSCMP): Compare as wchar_t, not wint_t.
87566         * wcsmbs/wmemcmp.c (WMEMCMP): Likewise.
87568         * string/test-strchr.c (do_test): Don't generate NUL bytes.
87570 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
87572         * sysdeps/ieee754/dbl-64/e_atanh.c: Use math_force_eval instead of a
87573         useless if() expression.
87574         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
87575         * sysdeps/ieee754/dbl-64/s_ceil.c: Likewise.
87576         * sysdeps/ieee754/dbl-64/s_expm1.c: Likewise.
87577         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
87578         * sysdeps/ieee754/dbl-64/s_log1p.c: Likewise.
87579         * sysdeps/ieee754/dbl-64/s_round.c: Likewise.
87580         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
87581         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
87582         * sysdeps/ieee754/dbl-64/wordsize-64/s_round.c: Likewise.
87583         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
87584         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
87585         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
87586         * sysdeps/ieee754/flt-32/s_expm1f.c: Likewise.
87587         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
87588         * sysdeps/ieee754/flt-32/s_log1pf.c: Likewise.
87589         * sysdeps/ieee754/flt-32/s_roundf.c: Likewise.
87590         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
87591         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
87592         * sysdeps/ieee754/ldbl-96/s_roundl.c: Likewise.
87594         * sysdeps/x86_64/fpu/math_private.h: Use VEX encoding when possible.
87596 2011-10-25  Andreas Schwab  <schwab@redhat.com>
87598         * elf/dl-deps.c (_dl_map_object_deps): Remove always true
87599         condition.
87600         * elf/dl-fini.c (_dl_sort_fini): Likewise.
87602 2011-10-25  Ulrich Drepper  <drepper@gmail.com>
87604         * sysdeps/ieee754/dbl-64/branred.c: Move FMA4 code into separate
87605         .text section.  Avoid duplicate constants.
87606         * sysdeps/ieee754/dbl-64/doasin.c: Likewise.
87607         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
87608         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
87609         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
87610         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
87611         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
87612         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
87613         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
87614         * sysdeps/ieee754/dbl-64/mpa.c: Likewise.
87615         * sysdeps/ieee754/dbl-64/mpa.h: Likewise.
87616         * sysdeps/ieee754/dbl-64/mpatan.c: Likewise.
87617         * sysdeps/ieee754/dbl-64/mpatan.h: Likewise.
87618         * sysdeps/ieee754/dbl-64/mpatan2.c: Likewise.
87619         * sysdeps/ieee754/dbl-64/mpexp.c: Likewise.
87620         * sysdeps/ieee754/dbl-64/mpexp.h: Likewise.
87621         * sysdeps/ieee754/dbl-64/mpsqrt.c: Likewise.
87622         * sysdeps/ieee754/dbl-64/mpsqrt.h: Likewise.
87623         * sysdeps/ieee754/dbl-64/mptan.c: Likewise.
87624         * sysdeps/ieee754/dbl-64/s_sin.c: Likewise.
87625         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
87626         * sysdeps/ieee754/dbl-64/sincos32.c: Likewise.
87627         * sysdeps/ieee754/dbl-64/slowexp.c: Likewise.
87628         * sysdeps/ieee754/dbl-64/slowpow.c: Likewise.
87629         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: Likewise.
87630         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: Likewise.
87631         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: Likewise.
87632         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: Likewise.
87633         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: Likewise.
87634         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: Likewise.
87635         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: Likewise.
87636         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: Likewise.
87637         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: Likewise.
87638         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: Likewise.
87639         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: Likewise.
87640         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: Likewise.
87641         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: Likewise.
87642         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: Likewise.
87643         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: Likewise.
87644         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: Likewise.
87645         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: Likewise.
87646         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: Likewise.
87647         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: Likewise.
87648         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: Likewise.
87649         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: Likewise.
87650         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: Likewise.
87652 2011-10-24  Ulrich Drepper  <drepper@gmail.com>
87654         * sysdeps/x86_64/dla.h: Move to ...
87655         * sysdeps/x86_64/fpu/dla.h: ...here.
87656         (DLA_FMS): Some compilers fail to inline __builtin_fma in some
87657         situations.  Use __builtin_fma only for gcc 4.6 and up.
87659         * config.make.in: Add have-mfma4 entry.
87660         * configure.in: Substitute libc_cv_cc_fma4.
87661         * math/Makefile (dbl-only-routines): Add sincostab.
87662         * sysdeps/ieee754/dbl-64/dosincos.c: Don't include sincos.tbl.
87663         Use __sincostab not sincos.
87664         * sysdeps/ieee754/dbl-64/e_asin.c: Don't define aliases when function
87665         name is a macro.
87666         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
87667         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
87668         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
87669         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.  Define singArctan2
87670         using __copysign.
87671         * sysdeps/ieee754/dbl-64/mpa.c: Don't export __acr.  Don't define
87672         __cr and __cpymn.  Define __cpy unless NO___CPY is defined.  Define
87673         norm, denorm, and __mp_dbl unless NO___MP_DBL is defined.
87674         * sysdeps/ieee754/dbl-64/mpa.h: Don't declare __acr, __cr, __cpymn,
87675         and __inv.
87676         * sysdeps/ieee754/dbl-64/mpsqrt.c: Make fastiroot static.
87677         * sysdeps/ieee754/dbl-64/s_atan.c: Define __signArctan using
87678         __copysign.
87679         * sysdeps/ieee754/dbl-64/s_sin.c: Use __sincostab not sincos.  Don't
87680         define aliases when function name is a macro.
87681         * sysdeps/ieee754/dbl-64/sincostab.c: Renamed from
87682         sysdeps/ieee754/dbl-64/sincos.tbl.
87683         * sysdeps/x86_64/fpu/multiarch/Makefile: Add entries to build
87684         fma4-enabled routines.
87685         * sysdeps/x86_64/fpu/multiarch/brandred-fma4.c: New file.
87686         * sysdeps/x86_64/fpu/multiarch/doasin-fma4.c: New file.
87687         * sysdeps/x86_64/fpu/multiarch/dosincos-fma4.c: New file.
87688         * sysdeps/x86_64/fpu/multiarch/e_asin-fma4.c: New file.
87689         * sysdeps/x86_64/fpu/multiarch/e_asin.c: New file.
87690         * sysdeps/x86_64/fpu/multiarch/e_atan2-fma4.c: New file.
87691         * sysdeps/x86_64/fpu/multiarch/e_atan2.c: New file.
87692         * sysdeps/x86_64/fpu/multiarch/e_exp-fma4.c: New file.
87693         * sysdeps/x86_64/fpu/multiarch/e_exp.c: New file.
87694         * sysdeps/x86_64/fpu/multiarch/e_log-fma4.c: New file.
87695         * sysdeps/x86_64/fpu/multiarch/e_log.c: New file.
87696         * sysdeps/x86_64/fpu/multiarch/e_pow-fma4.c: New file.
87697         * sysdeps/x86_64/fpu/multiarch/e_pow.c: New file.
87698         * sysdeps/x86_64/fpu/multiarch/halfulp-fma4.c: New file.
87699         * sysdeps/x86_64/fpu/multiarch/mpa-fma4.c: New file.
87700         * sysdeps/x86_64/fpu/multiarch/mpatan-fma4.c: New file.
87701         * sysdeps/x86_64/fpu/multiarch/mpatan2-fma4.c: New file.
87702         * sysdeps/x86_64/fpu/multiarch/mpexp-fma4.c: New file.
87703         * sysdeps/x86_64/fpu/multiarch/mplog-fma4.c: New file.
87704         * sysdeps/x86_64/fpu/multiarch/mpsqrt-fma4.c: New file.
87705         * sysdeps/x86_64/fpu/multiarch/mptan-fma4.c: New file.
87706         * sysdeps/x86_64/fpu/multiarch/s_atan-fma4.c: New file.
87707         * sysdeps/x86_64/fpu/multiarch/s_atan.c: New file.
87708         * sysdeps/x86_64/fpu/multiarch/s_sin-fma4.c: New file.
87709         * sysdeps/x86_64/fpu/multiarch/s_sin.c: New file.
87710         * sysdeps/x86_64/fpu/multiarch/s_tan-fma4.c: New file.
87711         * sysdeps/x86_64/fpu/multiarch/s_tan.c: New file.
87712         * sysdeps/x86_64/fpu/multiarch/sincos32-fma4.c: New file.
87713         * sysdeps/x86_64/fpu/multiarch/slowexp-fma4.c: New file.
87714         * sysdeps/x86_64/fpu/multiarch/slowpow-fma4.c: New file.
87716         * sysdeps/ieee754/dbl-64/doasin.c: Adjust for DLA_FMA -> DLA_FMS
87717         rename.
87718         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
87719         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
87720         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
87721         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
87722         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
87723         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
87724         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
87725         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
87727 2011-10-24  Andreas Schwab  <schwab@redhat.com>
87729         * wcsmbs/wcslen.c: Don't define WCSLEN, reverse logic.
87731 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
87733         * sysdeps/ieee754/dbl-64/wordsize-64/s_remquo.c: New file.
87735         * sysdeps/ieee754/dbl-64/e_fmod.c (__ieee754_fmod): Add some branch
87736         prediction.
87737         * sysdeps/ieee754/dbl-64/wordsize-64/e_fmod.c: New file.
87739         * string/strnlen.c: Don't define STRNLEN, reverse logic.
87740         Remove unused variable magic_bits.
87741         * sysdeps/i386/i686/multiarch/rtld-strnlen.c: New file.
87743         * string/strnlen.c: Define and use STRNLEN macro.
87744         * sysdeps/i386/i686/multiarch/Makefile [string] (sysdep_routines):
87745         Add strnlen-sse2, strnlen-c, wcslen-sse2, and wcslen-c.
87746         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Add support for strnlen.
87747         * wcsmbs/wcslen.c: Define and use WCSLEN.
87748         * sysdeps/i386/i686/multiarch/strnlen-c.c: New file.
87749         * sysdeps/i386/i686/multiarch/strnlen-sse2.S: New file.
87750         * sysdeps/i386/i686/multiarch/strnlen.S: New file.
87751         * sysdeps/i386/i686/multiarch/wcslen-c.c: New file.
87752         * sysdeps/i386/i686/multiarch/wcslen-sse2.S: New file.
87753         * sysdeps/i386/i686/multiarch/wcslen.S: New file.
87754         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
87756 2011-10-20  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
87758         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
87759         strnlen-sse2-no-bsf.
87760         Rename strlen-no-bsf to strlen-sse2-no-bsf.
87761         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Rename to
87762         * sysdeps/x86_64/multiarch/strlen-sse2-no-bsf.S:
87763         Add strnlen support.
87764         (USE_AS_STRNLEN): New macro.
87765         * sysdeps/x86_64/multiarch/strnlen-sse2-no-bsf.S: New file.
87766         * sysdeps/x86_64/multiarch/strcat-ssse3.S: Update.
87767         Rename strlen-no-bsf.S to strlen-sse2-no-bsf.S
87768         * sysdeps/x86_64/wcslen.S: New file.
87770 2011-10-20  Michael Zolotukhin  <michael.v.zolotukhin@gmail.com>
87772         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Update.
87773         XMM-moves are used for copying on small sizes.
87775 2011-10-19  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
87777         * wcsmbs/Makefile (strop-tests): Add wcschr.
87778         * wcsmbs/test-wcschr.c: New file.
87779         * string/test-strchr.c: Update.
87780         Add wcschr support.
87781         (WIDE): New macro.
87783 2011-10-18  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
87785         * wcsmbs/Makefile (strop-tests): Add wcslen.
87786         * wcsmbs/test-wcslen.c: New file.
87787         * string/test-strlen.c: Update.
87788         Add wcslen support.
87789         (WIDE): New macro.
87791 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
87793         * po/it.po: Update from translation team.
87795 2011-09-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
87797         * sysdeps/x86_64/wcscmp.S: Update.
87798         Fix wrong comparison semantics.
87799         wcscmp shall use signed comparison not unsigned.
87800         Don't use substraction to avoid overflow bug.
87801         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: Likewise.
87802         * wcsmbc/wcscmp.c: Likewise.
87803         * string/test-strcmp.c: Likewise.
87804         Add new tests to check cases with negative values.
87806 2011-10-23  Ulrich Drepper  <drepper@gmail.com>
87808         * sysdeps/ieee754/dbl-64/dla.h: Move DLA_FMA definition to...
87809         * sysdeps/x86_64/dla.h: ...here.  New file.
87810         * sysdeps/ieee754/dbl-64/doasin.c: Use <dla.h> not "dla.h".
87811         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
87812         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
87813         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
87814         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
87815         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
87816         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
87817         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
87818         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
87820 2011-10-23  Andreas Schwab  <schwab@linux-m68k.org>
87822         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Add __jnl_finite and
87823         __ynl_finite aliases.
87825 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
87827         * sysdeps/x86_64/fpu/libm-test-ulps: Update.
87829         * sysdeps/ieee754/dbl-64/dla.h: When compiling with FMA4 support
87830         define DLA_FMA.
87831         [DLA_FMA] (EMULV): Use DLA_FMA.
87832         [DLA_FMA] (MUL12): Use EMULV.
87833         * sysdeps/ieee754/dbl-64/doasin.c [DLA_FMA]: Don't define variables
87834         that are not needed.
87835         * sysdeps/ieee754/dbl-64/dosincos.c: Likewise.
87836         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
87837         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
87838         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
87839         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
87840         * sysdeps/ieee754/dbl-64/s_atan.c: Likewise.
87841         * sysdeps/ieee754/dbl-64/s_tan.c: Likewise.
87843 2011-10-22  Andreas Schwab  <schwab@linux-m68k.org>
87845         * math/s_nan.c: Undef __nan.
87846         * math/s_nanf.c: Undef __nanf.
87847         * math/s_nanl.c: Undef __nanl.
87848         * sysdeps/ieee754/ldbl-128ibm/s_atanl.c: Include <math.h> before
87849         "math_private.h".
87851 2011-10-22  Ulrich Drepper  <drepper@gmail.com>
87853         * math/s_catan.c: Add branch predictions.
87854         * math/s_catanf.c: Likewise.
87855         * math/s_catanh.c: Likewise.
87856         * math/s_catanhf.c: Likewise.
87857         * math/s_catanhl.c: Likewise.
87858         * math/s_catanl.c: Likewise.
87859         * math/s_cexp.c: Likewise.
87860         * math/s_cexpf.c: Likewise.
87861         * math/s_cexpl.c: Likewise.
87862         * math/s_clog.c: Likewise.
87863         * math/s_clog10.c: Likewise.
87864         * math/s_clog10f.c: Likewise.
87865         * math/s_clog10l.c: Likewise.
87866         * math/s_clogf.c: Likewise.
87867         * math/s_clogl.c: Likewise.
87868         * math/s_csqrt.c: Likewise.
87869         * math/s_csqrtf.c: Likewise.
87870         * math/s_csqrtl.c: Likewise.
87871         * math/s_ctanf.c: Likewise.
87872         * math/s_ctanh.c: Likewise.
87873         * math/s_ctanhf.c: Likewise.
87874         * math/s_ctanhl.c: Likewise.
87875         * math/s_ctanl.c: Likewise.
87877         * math/math_private.h: Define __nan, __nanf, __nanl.
87878         * math/s_cacosh.c: Include <math_private.h>.
87879         * math/s_cacoshl.c: Likewise.
87880         * math/s_casinh.c: Likewise.
87881         * math/s_casinhf.c: Likewise.
87882         * math/s_casinhl.c: Likewise.
87883         * math/s_ccos.c: Rely entire on ccosh.
87884         * math/s_ccosf.c: Rely entire on ccoshf.
87885         * math/s_ccosl.c: Rely entirely on ccoshl.
87886         * math/s_ccosh.c: Add branch predicion helpers.  Add branch prediction.
87887         Remove tests for FE_INVALID.
87888         * math/s_ccoshf.c: Likewise.
87889         * math/s_ccoshl.c: Likewise.
87890         * math/s_csin.c: Likewise.
87891         * math/s_csinf.c: Likewise.
87892         * math/s_csinh.c Likewise.
87893         * math/s_csinhf.c: Likewise.
87894         * math/s_csinhl.c: Likewise.
87895         * math/s_csinl.c: Likewise.
87896         * math/s_ctan.c: Likewise.
87897         * sysdeps/ieee754/dbl-64/e_acosh.c: Use __ieee754_sqrt.
87898         * sysdeps/ieee754/flt-32/e_acoshf.c: Use __ieee754_sqrtf.
87899         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Use __ieee754_sqrtl.
87901 2011-10-21  Ulrich Drepper  <drepper@gmail.com>
87903         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Fix
87904         compilation problems.
87906         * sysdeps/ieee754/dbl-64/e_log.c (__ieee754_log): Add a few more
87907         __builtin_expect.
87909 2011-10-20  Ulrich Drepper  <drepper@gmail.com>
87911         * sysdeps/i386/configure.in: Test for -mfma4 option.
87912         * config.h.in: Add HAVE_FMA4_SUPPORT entry.
87913         * sysdeps/x86_64/multiarch/init-arch.h: Define HAS_FMA4 and
87914         COMMON_CPUID_INDEX_80000001.
87915         * sysdeps/x86_64/multiarch/init-arch.c: Read 80000001 leaf for AMD.
87916         * sysdeps/x86_64/fpu/multiarch/s_fma.c: Test for FMA4 support and
87917         use it if FMA3 is not supported.
87918         * sysdeps/x86_64/fpu/multiarch/s_fmaf.c: Likewise.
87920         * sysdeps/x86_64/multiarch/s_fma.c: Moved to ../fpu/multiarch.
87921         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
87923 2011-10-20  Andreas Schwab  <schwab@redhat.com>
87925         [BZ #12892]
87926         * elf/dl-fini.c (_dl_sort_fini): Ignore relocation dependency if
87927         it would create a cycle with a link time dependency.
87929 2011-10-19  Ulrich Drepper  <drepper@gmail.com>
87931         * sysdeps/x86_64/multiarch/rawmemchr.S: Small optimization to safe an
87932         instruction.
87933         * string/Makefile (strop-tests): Add rawmemchr.
87934         * string/test-rawmemchr.c: New file.
87936         * sysdeps/x86_64/multiarch/init-arch.h: Define bit_AVX and index_AVX.
87937         * sysdeps/x86_64/multiarch/strcmp-sse42.S: New file.  Split out from...
87938         * sysdeps/x86_64/multiarch/strcmp.S: ...here.  Include strcmp-sse42.S
87939         when compiling str{,n}casecmp and when AVX is available.  Hook up
87940         new optimized code in initializers.
87942 2011-10-19  Andreas Schwab  <schwab@redhat.com>
87944         * sysdeps/x86_64/fpu/math_private.h (libc_feupdateenv): Use
87945         __feraiseexcept instead of feraiseexcept.
87947 2011-10-18  Ulrich Drepper  <drepper@gmail.com>
87949         * math/math_private.h: Define defaults for libc_fetestexcept and
87950         libc_feupdateenv.
87951         * sysdeps/ieee754/dbl-64/s_fma.c: Use libc_fe* interfaces.
87952         * sysdeps/ieee754/dbl-64/s_fmaf.c: Likewise.
87953         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
87954         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
87955         * sysdeps/ieee754/flt-32/s_nearbyintf.c: Likewise.
87956         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
87957         libc_fetestexcept and libc_feupdateenv.
87959         * math/math_private.h: Define defaults for libc_feholdexcept_setround,
87960         libc_feholdexcept_setroundf, libc_feholdexcept_setroundl.
87961         * sysdeps/ieee754/dbl-64/e_exp2.c: Use libc_feholdexcept_setround.
87962         * sysdeps/x86_64/fpu/math_private.h: Define special version of
87963         libc_feholdexcept_setround.
87965         * sysdeps/x86_64/fpu/multiarch/Makefile [math] (libm-sysdep-routines):
87966         Add s_nearbyint-c and s_nearbyintf-c.
87967         * sysdeps/x86_64/fpu/bits/mathinline.h: Define nearbyint and
87968         nearbyintf inlines.
87969         * sysdeps/x86_64/fpu/multiarch/s_nearbyint-c.c: New file.
87970         * sysdeps/x86_64/fpu/multiarch/s_nearbyint.S: New file.
87971         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf-c.c: New file.
87972         * sysdeps/x86_64/fpu/multiarch/s_nearbyintf.S: New file.
87974         * math/math_private.h: Define defaults for libc_fegetround,
87975         libc_fegetroundf, libc_fegetroundl, libc_fesetround, libc_fesetroundf,
87976         libc_fesetroundl, libc_feholdexcept, libc_feholdexceptf,
87977         libc_feholdexceptl, libc_fesetenv, libc_fesetenvf, libc_fesetenvl.
87978         * sysdeps/ieee754/dbl-64/wordsize-64/s_nearbyint.c: Use
87979         libc_feholdexcept, libc_fesetround, libc_fesetenv instead of the
87980         standard functions.
87981         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
87982         Remove comments and hacks for old compiler versions.
87983         * sysdeps/x86_64/fpu/math_private.h: Define special versions of
87984         libc_fegetround, libc_fesetround, libc_feholdexcept, and
87985         libc_feholdexceptl.
87987 2011-10-18  Andreas Schwab  <schwab@redhat.com>
87989         * sysdeps/x86_64/fpu/bits/fenv.h: Add C linkage markers.
87990         (__feraiseexcept_renamed): Add __NTH.
87991         (feraiseexcept): Add __NTH.  Rename local variables to fix
87992         namespace violations.
87994 2011-10-17  Ulrich Drepper  <drepper@gmail.com>
87996         * sysdeps/ieee754/dbl-64/e_exp2.c (__ieee754_exp2): Small optimization.
87998         * sysdeps/ieee754/dbl-64/wordsize-64/s_frexp.c: New file.
88000         * sysdeps/x86_64/fpu/math_private.h: Relax asm requirements for
88001         recently added interfaces.
88002         * sysdeps/x86_64/fpu/bits/mathinline.h: Likewise.
88004         * sysdeps/x86_64/fpu/math_private.h: Add some parenthesis to be safe
88005         about macro parameter expansion.
88007         * sysdeps/x86_64/fpu/bits/mathinline.h: Don't define inlines if
88008         __NO_MATH_INLINES is defined.  Cleanups.
88010         * sysdeps/x86_64/fpu/math_private.h: Define __rint, __rintf, __floor,
88011         and __floorf is target has SSE4.1.
88012         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: Undef first.
88013         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.: Likewise.
88014         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: Likewise.
88015         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: Likewise.
88017         * sysdeps/x86_64/fpu/bits/mathinline.h (floor): Use correct function
88018         name.
88019         (floorf): Likewise.
88021         * nscd/netgroupcache.c (addgetnetgrentX): Fix #ifdef nesting.
88023 2011-10-17  Andreas Schwab  <schwab@redhat.com>
88025         * misc/sys/cdefs.h: Fix last change.
88027         * grp/initgroups.c (internal_getgrouplist): Fix initgroups
88028         database lookup.
88030 2011-10-16  Ulrich Drepper  <drepper@gmail.com>
88032         * misc/sys/cdefs.h: Use leaf function attribute in __THROW.
88034         * sysdeps/ieee754/dbl-64/s_ceil.c: Avoid alias renamed.
88035         * sysdeps/ieee754/dbl-64/s_floor.c: Likewise.
88036         * sysdeps/ieee754/dbl-64/s_rint.c: Likewise.
88037         * sysdeps/ieee754/dbl-64/wordsize-64/s_ceil.c: Likewise.
88038         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: Likewise.
88039         * sysdeps/ieee754/dbl-64/wordsize-64/s_rint.c: Likewise.
88040         * sysdeps/ieee754/flt-32/s_ceilf.c: Likewise.
88041         * sysdeps/ieee754/flt-32/s_floorf.c: Likewise.
88042         * sysdeps/ieee754/flt-32/s_rintf.c: Likewise.
88043         * sysdeps/x86_64/fpu/multiarch/Makefile: New file.
88044         * sysdeps/x86_64/fpu/multiarch/s_ceil-c.c: New file.
88045         * sysdeps/x86_64/fpu/multiarch/s_ceil.S: New file.
88046         * sysdeps/x86_64/fpu/multiarch/s_ceilf-c.c: New file.
88047         * sysdeps/x86_64/fpu/multiarch/s_ceilf.S: New file.
88048         * sysdeps/x86_64/fpu/multiarch/s_floor-c.c: New file.
88049         * sysdeps/x86_64/fpu/multiarch/s_floor.S: New file.
88050         * sysdeps/x86_64/fpu/multiarch/s_floorf-c.c: New file.
88051         * sysdeps/x86_64/fpu/multiarch/s_floorf.S: New file.
88052         * sysdeps/x86_64/fpu/multiarch/s_rint-c.c: New file.
88053         * sysdeps/x86_64/fpu/multiarch/s_rint.S: New file.
88054         * sysdeps/x86_64/fpu/multiarch/s_rintf-c.c: New file.
88055         * sysdeps/x86_64/fpu/multiarch/s_rintf.S: New file.
88057         * sysdeps/x86_64/fpu/bits/mathinline.h: Add inlines for rint, rintf,
88058         ceil, ceilf, floor, floorf.
88060         * elf/do-rel.h (elf_dynamic_do_Rel): Work around linker problem.
88061         Perform IRELATIVE relocations last.
88063         * elf/do-rel.h: Add another parameter nrelative, replacing the
88064         local variable with the same name.  Change name of the function
88065         to end in Rel or Rela (uppercase).
88066         * elf/dynamic-link.h (_ELF_DYNAMIC_DO_RELOC): Add new element
88067         nrelative to ranges.  Only nonzero for DT_REL/DT_RELA.  Pass to the
88068         elf_dynamic_do_##reloc function.
88070 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
88072         * sysdeps/i386/i686/fpu/e_log.S: No need for the fyl2xp1 use, fyl2x
88073         is sufficient, at least on modern CPUs.
88075         * sysdeps/ieee754/dbl-64/wordsize-64/s_floor.c: New file.
88077         * sysdeps/ieee754/dbl-64/e_cosh.c: Cleanup.
88078         * sysdeps/ieee754/dbl-64/wordsize-64/e_cosh.c: New file.
88080         * math/Versions [libm] (GLIBC_2.15): Add __exp_finite, __expf_finite,
88081         __expl_finite.
88082         * math/bits/math-finite.h: Add entries for exp.
88083         * math/e_expl.c: Add __*_finite alias.
88084         * sysdeps/i386/fpu/e_exp.S: Likewise.
88085         * sysdeps/i386/fpu/e_expf.S: Likewise.
88086         * sysdeps/i386/fpu/e_expl.c: Likewise.
88087         * sysdeps/ieee754/dbl-64/e_exp.c: Likewise.
88088         * sysdeps/ieee754/flt-32/e_expf.c: Likewise.
88089         * sysdeps/ieee754/ldbl-128/e_expl.c: Likewise.
88090         * sysdeps/ieee754/ldbl-128ibm/e_expl.c: Likewise.
88091         * sysdeps/ieee754/dbl-64/w_exp.c: Complete rewrite.
88092         * sysdeps/ieee754/flt-32/w_expf.c: Likewise.
88093         * sysdeps/ieee754/ldbl-96/w_expl.c: Likewise.
88095         * sysdeps/i386/i686/fpu/e_logf.S: No need for the fyl2xp1 use, fyl2x
88096         is sufficient, at least on modern CPUs.
88098         * ctype/ctype-info.c (__ctype_init): Define.
88099         * include/ctype.h (__ctype_init): Declare.
88100         (__ctype_b_loc): The variable is always initialized.
88101         (__ctype_toupper_loc): Likewise.
88102         (__ctype_tolower_loc): Likewise.
88103         * ctype/Versions: Export __ctype_init for GLIBC_PRIVATE.
88104         * sysdeps/unix/sysv/linux/init-first.c (_init): Call __ctype_init.
88106 2011-10-15  Andreas Schwab  <schwab@linux-m68k.org>
88108         * wcsmbs/wmemcmp.c (WMEMCMP): Define.
88110         * configure.in: Also look in $cxxmachine/include for C++ system
88111         headers.
88113 2011-09-27  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
88115         * sysdeps/x86_64/multiarch/Makefile: (sysdep_routines): Add
88116         memcmp-ssse3 wmemcmp-sse4 wmemcmp-ssse3 wmemcmp-c
88117         * sysdeps/x86_64/multiarch/memcmp-ssse3: New file.
88118         * sysdeps/x86_64/multiarch/memcmp.S: Update.  Add __memcmp_ssse3.
88119         * sysdeps/x86_64/multiarch/memcmp-sse4.S: Update.
88120         (USE_AS_WMEMCMP): New macro.
88121         Fixing indents.
88122         * sysdeps/x86_64/multiarch/wmemcmp.S: New file.
88123         * sysdeps/x86_64/multiarch/wmemcmp-ssse3.S: New file.
88124         * sysdeps/x86_64/multiarch/wmemcmp-sse4.S: New file.
88125         * sysdeps/x86_64/multiarch/wmemcmp-c.S: New file.
88126         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
88127         wmemcmp-ssse3 wmemcmp-sse4 wmemcmp-c
88128         * sysdeps/i386/i686/multiarch/wmemcmp.S: New file.
88129         * sysdeps/i386/i686/multiarch/wmemcmp-c.c: New file.
88130         * sysdeps/i386/i686/multiarch/wmemcmp-ssse3.S: New file.
88131         * sysdeps/i386/i686/multiarch/wmemcmp-sse4.S: New file.
88132         * sysdeps/i386/i686/multiarch/memcmp-sse4.S: Update.
88133         (USE_AS_WMEMCMP): New macro.
88134         * sysdeps/i386/i686/multiarch/memcmp-ssse3: Likewise.
88135         * sysdeps/string/test-memcmp.c: Update.
88136         Fix simple_wmemcmp.
88137         Add new tests.
88138         * wcsmbs/wmemcmp.c: Update.
88139         (WMEMCMP): New macro.
88140         Fix overflow bug.
88142 2011-10-12  Andreas Jaeger  <aj@suse.de>
88144         [BZ #13268]
88145         * math/bits/mathcalls.h: Mark argument 2 of modf as non-null.
88147 2011-10-15  Ulrich Drepper  <drepper@gmail.com>
88149         * libio/iofwide.c (do_length): Avoid warning.
88151         * ctype/ctype.h (__isctype_f): Add missing __THROW.
88153 2011-10-14  Ulrich Drepper  <drepper@gmail.com>
88155         * elf/pldd-xx.c (find_maps): Remove leftover debug message.
88157         * sysdeps/i386/fpu/e_log.S: Add real definition of __log_finite.
88158         * sysdeps/i386/fpu/e_logf.S: Add real definition of __logf_finite.
88159         * sysdeps/i386/fpu/e_logl.S: Add real definition of __logl_finite.
88160         * sysdeps/i386/i686/fpu/e_log.S: New file.
88161         * sysdeps/i386/i686/fpu/e_logf.S: New file.
88162         * sysdeps/i386/i686/fpu/e_logl.S: New file.
88164         * ctype/ctype.h: Add support for inlined isXXX functions when
88165         compiling C++ code.
88167 2011-10-14  Andreas Schwab  <schwab@redhat.com>
88169         * sysdeps/s390/fpu/libm-test-ulps: Adjust ULPs for jn tests.
88171         * sysdeps/x86_64/fpu/fraiseexcpt.c: Fix last change.
88173 2011-10-13  Roland McGrath  <roland@hack.frob.com>
88175         [BZ #13291]
88176         * manual/string.texi (String/Array Comparison): Typo fix in strverscmp.
88178 2011-10-13  Andreas Schwab  <schwab@redhat.com>
88180         * sysdeps/x86_64/fpu/fraiseexcpt.c: Add __feraiseexcept alias.
88181         * sysdeps/x86_64/fpu/feupdateenv.c: Use __feraiseexcept instead of
88182         feraiseexcept.
88184         * sysdeps/x86_64/memrchr.S: Check for zero size.
88186         * string/stratcliff.c: Add memrchr tests.
88188 2011-10-12  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
88190         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
88191         memchr-sse2 memchr-sse2-bsf memrchr-sse2 memrchr-sse2-bsf memrchr-c
88192         rawmemchr-sse2 rawmemchr-sse2-bsf.
88193         * sysdeps/i386/i686/multiarch/memchr.S: New file.
88194         * sysdeps/i386/i686/multiarch/memchr-sse2.S: New file.
88195         * sysdeps/i386/i686/multiarch/memchr-sse2-bsf.S: New file.
88196         * sysdeps/i386/i686/multiarch/memrchr.S: New file.
88197         * sysdeps/i386/i686/multiarch/memrchr-c.c: New file.
88198         * sysdeps/i386/i686/multiarch/memrchr-sse2.S: New file.
88199         * sysdeps/i386/i686/multiarch/memrchr-sse2-bsf.S: New file.
88200         * sysdeps/i386/i686/multiarch/rawmemchr.S: New file.
88201         * sysdeps/i386/i686/multiarch/rawmemchr-sse2.S: New file.
88202         * sysdeps/i386/i686/multiarch/rawmemchr-sse2-bsf.S: New file.
88203         * string/memrchr.c (MEMRCHR): New macro.
88205 2011-10-12  Ulrich Drepper  <drepper@gmail.com>
88207         Add integration with gcc's -ffinite-math-only and optimize wrapper
88208         functions in libm.
88209         * Versions.def: Define GLIBC_2.15 version for libm.
88210         * math/Makefile (headers): Add bits/math-finite.h.
88211         * math/bits/math-finite.h: New file.
88212         * sysdeps/ia64/fpu/bits/math-finite.h: New file.
88213         * math/Versions [libm] (GLIBC_2.15): Export __*_finite symbols.
88214         * math/e_acoshl.c: Add __*_finite alias.
88215         * math/e_acosl.c: Likewise.
88216         * math/e_asinl.c: Likewise.
88217         * math/e_atan2l.c: Likewise.
88218         * math/e_atanhl.c: Likewise.
88219         * math/e_coshl.c: Likewise.
88220         * math/e_exp10.c: Likewise.
88221         * math/e_exp10f.c: Likewise.
88222         * math/e_exp10l.c: Likewise.
88223         * math/e_exp2l.c: Likewise.
88224         * math/e_fmodl.c: Likewise.
88225         * math/e_gammal_r.c: Likewise.
88226         * math/e_hypotl.c: Likewise.
88227         * math/e_j0l.c: Likewise.
88228         * math/e_j1l.c: Likewise.
88229         * math/e_jnl.c: Likewise.
88230         * math/e_lgammal_r.c: Likewise.
88231         * math/e_log10l.c: Likewise.
88232         * math/e_log2l.c: Likewise.
88233         * math/e_logl.c: Likewise.
88234         * math/e_powl.c: Likewise.
88235         * math/e_sinhl.c: Likewise.
88236         * math/e_sqrtl.c: Likewise.
88237         * math/e_scalb.c: Completely rewritten and optimized.
88238         * math/e_scalbf.c: Likewise.
88239         * math/e_scalbl.c: Likewise.
88240         * math/w_acos.c: Likewise.
88241         * math/w_acosf.c: Likewise.
88242         * math/w_acosl.c: Likewise.
88243         * math/w_acosh.c: Likewise.
88244         * math/w_acoshf.c: Likewise.
88245         * math/w_acoshl.c: Likewise.
88246         * math/w_asin.c: Likewise.
88247         * math/w_asinf.c: Likewise.
88248         * math/w_asinl.c: Likewise.
88249         * math/w_atan2.c: Likewise.
88250         * math/w_atan2f.c: Likewise.
88251         * math/w_atan2l.c: Likewise.
88252         * math/w_atanh.c: Likewise.
88253         * math/w_atanhf.c: Likewise.
88254         * math/w_atanhl.c: Likewise.
88255         * math/w_exp10.c: Likewise.
88256         * math/w_exp10f.c: Likewise.
88257         * math/w_exp10l.c: Likewise.
88258         * math/w_fmod.c: Likewise.
88259         * math/w_fmodf.c: Likewise.
88260         * math/w_fmodl.c: Likewise.
88261         * math/w_j0.c: Likewise.
88262         * math/w_j0f.c: Likewise.
88263         * math/w_j0l.c: Likewise.
88264         * math/w_j1.c: Likewise.
88265         * math/w_j1f.c: Likewise.
88266         * math/w_j1l.c: Likewise.
88267         * math/w_jn.c: Likewise.
88268         * math/w_jnf.c: Likewise.
88269         * math/w_log.c: Likewise.
88270         * math/w_logf.c: Likewise.
88271         * math/w_logl.c: Likewise.
88272         * math/w_log10.c: Likewise.
88273         * math/w_log10f.c: Likewise.
88274         * math/w_log10l.c: Likewise.
88275         * math/w_log2.c: Likewise.
88276         * math/w_log2f.c: Likewise.
88277         * math/w_log2l.c: Likewise.
88278         * math/w_pow.c: Likewise.
88279         * math/w_powf.c: Likewise.
88280         * math/w_powl.c: Likewise.
88281         * math/w_remainder.c: Likewise.
88282         * math/w_remainderf.c: Likewise.
88283         * math/w_remainderl.c: Likewise.
88284         * math/w_scalb.c: Likewise.
88285         * math/w_scalbf.c: Likewise.
88286         * math/w_scalbl.c: Likewise.
88287         * math/w_sqrt.c: Likewise.
88288         * math/w_sqrtf.c: Likewise.
88289         * math/w_sqrtl.c: Likewise.
88290         * math/math.h: Define __MATH_DECLARE_LDOUBLE if long double functions
88291         are declared.  Include <bits/math-finite.h> if -ffinite-math-only is
88292         used.
88293         * math/math_private.h: Declare __kernel_standard_f.
88294         * math/w_cosh.c: Remove cruft and optimize a bit.
88295         * math/w_coshf.c: Likewise.
88296         * math/w_coshl.c: Likewise.
88297         * math/w_exp2.c: Likewise.
88298         * math/w_exp2f.c: Likewise.
88299         * math/w_exp2l.c: Likewise.
88300         * math/w_hypot.c: Likewise.
88301         * math/w_hypotf.c: Likewise.
88302         * math/w_hypotl.c: Likewise.
88303         * math/w_lgamma.c: Likewise.
88304         * math/w_lgamma_r.c: Likewise.
88305         * math/w_lgammaf.c: Likewise.
88306         * math/w_lgammaf_r.c: Likewise.
88307         * math/w_lgammal.c: Likewise.
88308         * math/w_lgammal_r.c: Likewise.
88309         * math/w_sinh.c: Likewise.
88310         * math/w_sinhf.c: Likewise.
88311         * math/w_sinhl.c: Likewise.
88312         * math/w_tgamma.c: Likewise.
88313         * math/w_tgammaf.c: Likewise.
88314         * math/w_tgammal.c: Likewise.
88315         * sysdeps/ieee754/dbl-64/e_atanh.c: Likewise.
88316         * sysdeps/ieee754/flt-32/e_atanhf.c: Likewise.
88317         * sysdeps/i386/fpu/e_acos.S: Add __*_finite alias.
88318         Minor optimizations.  Pretty printing.  Remove cruft.
88319         * sysdeps/i386/fpu/e_acosf.S: Likewise.
88320         * sysdeps/i386/fpu/e_acosh.S: Likewise.
88321         * sysdeps/i386/fpu/e_acoshf.S: Likewise.
88322         * sysdeps/i386/fpu/e_acoshl.S: Likewise.
88323         * sysdeps/i386/fpu/e_acosl.c: Likewise.
88324         * sysdeps/i386/fpu/e_asin.S: Likewise.
88325         * sysdeps/i386/fpu/e_asinf.S: Likewise.
88326         * sysdeps/i386/fpu/e_atan2.S: Likewise.
88327         * sysdeps/i386/fpu/e_atan2f.S: Likewise.
88328         * sysdeps/i386/fpu/e_atan2l.c: Likewise.
88329         * sysdeps/i386/fpu/e_atanh.S: Likewise.
88330         * sysdeps/i386/fpu/e_atanhf.S: Likewise.
88331         * sysdeps/i386/fpu/e_atanhl.S: Likewise.
88332         * sysdeps/i386/fpu/e_exp10.S: Likewise.
88333         * sysdeps/i386/fpu/e_exp10f.S: Likewise.
88334         * sysdeps/i386/fpu/e_exp10l.S: Likewise.
88335         * sysdeps/i386/fpu/e_exp2.S: Likewise.
88336         * sysdeps/i386/fpu/e_exp2f.S: Likewise.
88337         * sysdeps/i386/fpu/e_exp2l.S: Likewise.
88338         * sysdeps/i386/fpu/e_fmod.S: Likewise.
88339         * sysdeps/i386/fpu/e_fmodf.S: Likewise.
88340         * sysdeps/i386/fpu/e_fmodl.c: Likewise.
88341         * sysdeps/i386/fpu/e_hypot.S: Likewise.
88342         * sysdeps/i386/fpu/e_hypotf.S: Likewise.
88343         * sysdeps/i386/fpu/e_log.S: Likewise.
88344         * sysdeps/i386/fpu/e_log10.S: Likewise.
88345         * sysdeps/i386/fpu/e_log10f.S: Likewise.
88346         * sysdeps/i386/fpu/e_log10l.S: Likewise.
88347         * sysdeps/i386/fpu/e_log2.S: Likewise.
88348         * sysdeps/i386/fpu/e_log2f.S: Likewise.
88349         * sysdeps/i386/fpu/e_log2l.S: Likewise.
88350         * sysdeps/i386/fpu/e_logf.S: Likewise.
88351         * sysdeps/i386/fpu/e_logl.S: Likewise.
88352         * sysdeps/i386/fpu/e_pow.S: Likewise.
88353         * sysdeps/i386/fpu/e_powf.S: Likewise.
88354         * sysdeps/i386/fpu/e_powl.S: Likewise.
88355         * sysdeps/i386/fpu/e_remainder.S: Likewise.
88356         * sysdeps/i386/fpu/e_remainderf.S: Likewise.
88357         * sysdeps/i386/fpu/e_remainderl.S: Likewise.
88358         * sysdeps/i386/fpu/e_scalb.S: Likewise.
88359         * sysdeps/i386/fpu/e_scalbf.S: Likewise.
88360         * sysdeps/i386/fpu/e_scalbl.S: Likewise.
88361         * sysdeps/i386/fpu/e_sqrt.S: Likewise.
88362         * sysdeps/i386/fpu/e_sqrtf.S: Likewise.
88363         * sysdeps/i386/fpu/e_sqrtl.c: Likewise.
88364         * sysdeps/ieee754/dbl-64/e_acosh.c: Likewise.
88365         * sysdeps/ieee754/dbl-64/e_asin.c: Likewise.
88366         * sysdeps/ieee754/dbl-64/e_atan2.c: Likewise.
88367         * sysdeps/ieee754/dbl-64/e_cosh.c: Likewise.
88368         * sysdeps/ieee754/dbl-64/e_exp2.c: Likewise.
88369         * sysdeps/ieee754/dbl-64/e_fmod.c: Likewise.
88370         * sysdeps/ieee754/dbl-64/e_gamma_r.c: Likewise.
88371         * sysdeps/ieee754/dbl-64/e_hypot.c: Likewise.
88372         * sysdeps/ieee754/dbl-64/e_j0.c: Likewise.
88373         * sysdeps/ieee754/dbl-64/e_j1.c: Likewise.
88374         * sysdeps/ieee754/dbl-64/e_jn.c: Likewise.
88375         * sysdeps/ieee754/dbl-64/e_lgamma_r.c: Likewise.
88376         * sysdeps/ieee754/dbl-64/e_log.c: Likewise.
88377         * sysdeps/ieee754/dbl-64/e_log10.c: Likewise.
88378         * sysdeps/ieee754/dbl-64/e_log2.c: Likewise.
88379         * sysdeps/ieee754/dbl-64/e_pow.c: Likewise.
88380         * sysdeps/ieee754/dbl-64/e_remainder.c: Likewise.
88381         * sysdeps/ieee754/dbl-64/e_sinh.c: Likewise.
88382         * sysdeps/ieee754/dbl-64/e_sqrt.c: Likewise.
88383         * sysdeps/ieee754/dbl-64/halfulp.c: Likewise.
88384         * sysdeps/ieee754/dbl-64/s_asinh.c: Likewise.
88385         * sysdeps/ieee754/flt-32/e_acosf.c: Likewise.
88386         * sysdeps/ieee754/flt-32/e_acoshf.c: Likewise.
88387         * sysdeps/ieee754/flt-32/e_asinf.c: Likewise.
88388         * sysdeps/ieee754/flt-32/e_atan2f.c: Likewise.
88389         * sysdeps/ieee754/flt-32/e_coshf.c: Likewise.
88390         * sysdeps/ieee754/flt-32/e_exp2f.c: Likewise.
88391         * sysdeps/ieee754/flt-32/e_fmodf.c: Likewise.
88392         * sysdeps/ieee754/flt-32/e_gammaf_r.c: Likewise.
88393         * sysdeps/ieee754/flt-32/e_hypotf.c: Likewise.
88394         * sysdeps/ieee754/flt-32/e_j0f.c: Likewise.
88395         * sysdeps/ieee754/flt-32/e_j1f.c: Likewise.
88396         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
88397         * sysdeps/ieee754/flt-32/e_lgammaf_r.c: Likewise.
88398         * sysdeps/ieee754/flt-32/e_log10f.c: Likewise.
88399         * sysdeps/ieee754/flt-32/e_log2f.c: Likewise.
88400         * sysdeps/ieee754/flt-32/e_logf.c: Likewise.
88401         * sysdeps/ieee754/flt-32/e_powf.c: Likewise.
88402         * sysdeps/ieee754/flt-32/e_remainderf.c: Likewise.
88403         * sysdeps/ieee754/flt-32/e_sinhf.c: Likewise.
88404         * sysdeps/ieee754/flt-32/e_sqrtf.c: Likewise.
88405         * sysdeps/ieee754/flt-32/s_asinhf.c: Likewise.
88406         * sysdeps/ieee754/ldbl-128/e_acoshl.c: Likewise.
88407         * sysdeps/ieee754/ldbl-128/e_acosl.c: Likewise.
88408         * sysdeps/ieee754/ldbl-128/e_asinl.c: Likewise.
88409         * sysdeps/ieee754/ldbl-128/e_atan2l.c: Likewise.
88410         * sysdeps/ieee754/ldbl-128/e_atanhl.c: Likewise.
88411         * sysdeps/ieee754/ldbl-128/e_coshl.c: Likewise.
88412         * sysdeps/ieee754/ldbl-128/e_fmodl.c: Likewise.
88413         * sysdeps/ieee754/ldbl-128/e_gammal_r.c: Likewise.
88414         * sysdeps/ieee754/ldbl-128/e_hypotl.c: Likewise.
88415         * sysdeps/ieee754/ldbl-128/e_j0l.c: Likewise.
88416         * sysdeps/ieee754/ldbl-128/e_j1l.c: Likewise.
88417         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
88418         * sysdeps/ieee754/ldbl-128/e_lgammal_r.c: Likewise.
88419         * sysdeps/ieee754/ldbl-128/e_log10l.c: Likewise.
88420         * sysdeps/ieee754/ldbl-128/e_log2l.c: Likewise.
88421         * sysdeps/ieee754/ldbl-128/e_logl.c: Likewise.
88422         * sysdeps/ieee754/ldbl-128/e_powl.c: Likewise.
88423         * sysdeps/ieee754/ldbl-128/e_remainderl.c: Likewise.
88424         * sysdeps/ieee754/ldbl-128/e_sinhl.c: Likewise.
88425         * sysdeps/ieee754/ldbl-128ibm/e_acoshl.c: Likewise.
88426         * sysdeps/ieee754/ldbl-128ibm/e_acosl.c: Likewise.
88427         * sysdeps/ieee754/ldbl-128ibm/e_asinl.c: Likewise.
88428         * sysdeps/ieee754/ldbl-128ibm/e_atan2l.c: Likewise.
88429         * sysdeps/ieee754/ldbl-128ibm/e_atanhl.c: Likewise.
88430         * sysdeps/ieee754/ldbl-128ibm/e_coshl.c: Likewise.
88431         * sysdeps/ieee754/ldbl-128ibm/e_fmodl.c: Likewise.
88432         * sysdeps/ieee754/ldbl-128ibm/e_gammal_r.c: Likewise.
88433         * sysdeps/ieee754/ldbl-128ibm/e_hypotl.c: Likewise.
88434         * sysdeps/ieee754/ldbl-128ibm/e_log10l.c: Likewise.
88435         * sysdeps/ieee754/ldbl-128ibm/e_log2l.c: Likewise.
88436         * sysdeps/ieee754/ldbl-128ibm/e_logl.c: Likewise.
88437         * sysdeps/ieee754/ldbl-128ibm/e_powl.c: Likewise.
88438         * sysdeps/ieee754/ldbl-128ibm/e_remainderl.c: Likewise.
88439         * sysdeps/ieee754/ldbl-128ibm/e_sinhl.c: Likewise.
88440         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c: Likewise.
88441         * sysdeps/ieee754/ldbl-96/e_acoshl.c: Likewise.
88442         * sysdeps/ieee754/ldbl-96/e_asinl.c: Likewise.
88443         * sysdeps/ieee754/ldbl-96/e_atan2l.c: Likewise.
88444         * sysdeps/ieee754/ldbl-96/e_atanhl.c: Likewise.
88445         * sysdeps/ieee754/ldbl-96/e_coshl.c: Likewise.
88446         * sysdeps/ieee754/ldbl-96/e_gammal_r.c: Likewise.
88447         * sysdeps/ieee754/ldbl-96/e_hypotl.c: Likewise.
88448         * sysdeps/ieee754/ldbl-96/e_j0l.c: Likewise.
88449         * sysdeps/ieee754/ldbl-96/e_j1l.c: Likewise.
88450         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
88451         * sysdeps/ieee754/ldbl-96/e_lgammal_r.c: Likewise.
88452         * sysdeps/ieee754/ldbl-96/e_remainderl.c: Likewise.
88453         * sysdeps/ieee754/ldbl-96/e_sinhl.c: Likewise.
88454         * sysdeps/ieee754/ldbl-96/s_asinhl.c: Likewise.
88455         * sysdeps/powerpc/fpu/e_hypot.c: Likewise.
88456         * sysdeps/powerpc/fpu/e_hypotf.c: Likewise.
88457         * sysdeps/powerpc/fpu/e_sqrt.c: Likewise.
88458         * sysdeps/powerpc/fpu/e_sqrtf.c: Likewise.
88459         * sysdeps/powerpc/powerpc64/fpu/e_sqrt.c: Likewise.
88460         * sysdeps/powerpc/powerpc64/fpu/e_sqrtf.c: Likewise.
88461         * sysdeps/s390/fpu/e_sqrt.c: Likewise.
88462         * sysdeps/s390/fpu/e_sqrtf.c: Likewise.
88463         * sysdeps/s390/fpu/e_sqrtl.c: Likewise.
88464         * sysdeps/sparc/sparc32/e_sqrt.c: Likewise.
88465         * sysdeps/sparc/sparc64/fpu/e_sqrtl.c: Likewise.
88466         * sysdeps/x86_64/fpu/e_exp2l.S: Likewise.
88467         * sysdeps/x86_64/fpu/e_fmodl.S: Likewise.
88468         * sysdeps/x86_64/fpu/e_log10l.S: Likewise.
88469         * sysdeps/x86_64/fpu/e_log2l.S: Likewise.
88470         * sysdeps/x86_64/fpu/e_logl.S: Likewise.
88471         * sysdeps/x86_64/fpu/e_powl.S: Likewise.
88472         * sysdeps/x86_64/fpu/e_remainderl.S: Likewise.
88473         * sysdeps/x86_64/fpu/e_scalbl.S: Likewise.
88474         * sysdeps/x86_64/fpu/e_sqrt.c: Likewise.  Fix parameter order
88475         * sysdeps/x86_64/fpu/e_sqrtf.c: Likewise.
88476         * sysdeps/x86_64/fpu/math_private.h (__isnan): Cast d parameter.
88477         (__isnanf): Likewise.
88478         (__isinf_ns): Likewise.
88479         (__isinf_nsf): Likewise.
88480         (__finite): Likewise.
88481         (__finitef): Likewise.
88482         (__ieee754_sqrt): Define as macro.
88483         (__ieee754_sqrtf): Define as macro.
88484         (__ieee754_sqrtl): Define as macro.
88485         * sysdeps/x86_64/fpu/bits/fenv.h (feraiseexcept): Add partially
88486         inlined copy.
88487         * sysdeps/x86_64/fpu/bits/mathinline.h: Make use of
88488         __FINITE_MATH_ONLY__ consistent.
88489         * sysdeps/ieee754/k_standard.c (__kernel_standard_f): New function.
88491 2011-10-10  Andreas Schwab  <schwab@linux-m68k.org>
88493         * inet/getnetgrent_r.c (nscd_getnetgrent): Use __rawmemchr instead
88494         of rawmemchr.
88496         * sysdeps/ieee754/ldbl-128ibm/s_isinf_nsl.c: New file.
88498 2011-10-09  Ulrich Drepper  <drepper@gmail.com>
88500         * po/ja.po: Update from translation team.
88502 2011-10-08  Roland McGrath  <roland@hack.frob.com>
88504         * locale/programs/locarchive.c (prepare_address_space): New function.
88505         (create_archive, enlarge_archive, open_archive): Use it.
88507         * sysdeps/unix/sysv/linux/x86_64/time.c: Move #include <dl-vdso.h>
88508         inside [SHARED], where it is used.
88510         * nscd/nscd_proto.h: Declare __nscd_setnetgrent.
88512         * nss/getent.c (netgroup_keys): Remove unused variable.
88513         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: Likewise.
88515 2011-10-08  Ulrich Drepper  <drepper@gmail.com>
88517         * include/math.h: Declare __isinf_ns, __isinf_nsf, __isinf_nsl.
88518         * sysdeps/ieee754/dbl-64/s_isinf_ns.c: New file.
88519         * sysdeps/ieee754/dbl-64/wordsize-64/s_isinf_ns.c: New file.
88520         * sysdeps/ieee754/flt-32/s_isinf_nsf.c: New file.
88521         * sysdeps/ieee754/ldbl-128/s_isinf_nsl.c: New file.
88522         * sysdeps/ieee754/ldbl-96/s_isinf_nsl.c: New file.
88523         * math/Makefile (libm-calls): Add s_isinf_ns.
88524         * math/divtc3.c: Use __isinf_nsl instead of isinf.
88525         * math/multc3.c: Likewise.
88526         * math/s_casin.c: Likewise.
88527         * math/s_casinf.c: Likewise.
88528         * math/s_casinl.c: Likewise.
88529         * math/s_ccos.c: Likewise.
88530         * math/s_ccosf.c: Likewise.
88531         * math/s_ccosl.c: Likewise.
88532         * math/s_ctan.c: Likewise.
88533         * math/s_ctanf.c: Likewise.
88534         * math/s_ctanh.c: Likewise.
88535         * math/s_ctanhf.c: Likewise.
88536         * math/s_ctanhl.c: Likewise.
88537         * math/s_ctanl.c: Likewise.
88538         * math/w_fmod.c: Likewise.
88539         * math/w_fmodf.c: Likewise.
88540         * math/w_fmodl.c: Likewise.
88541         * math/w_remainder.c: Likewise.
88542         * math/w_remainderf.c: Likewise.
88543         * math/w_remainderl.c: Likewise.
88544         * sysdeps/ieee754/dbl-64/s_finite.c: Undefine __finite.
88545         * sysdeps/ieee754/dbl-64/s_isnan.c: Undefine __isnan.
88546         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: Undefine __finite.
88547         * sysdeps/ieee754/dbl-64/wordsize-64/s_isnan.c: Undefine __nan.
88548         * sysdeps/ieee754/flt-32/s_finitef.c: Undefine __finitef.
88549         * sysdeps/ieee754/flt-32/s_isnanf.c: Undefine __nan.
88550         * sysdeps/x86_64/fpu/math_private.h: Add optimized versions of __isnsn,
88551         __isnanf, __isinf_ns, __isinf_nsf, __finite, and __finitef.
88553         * stdio-common/printf_fp.c: Use the fact that isinf returns the sign
88554         of the number.
88555         * stdio-common/printf_fphex.c: Likewise.
88556         * stdio-common/printf_size.c: Likewise.
88558         * math/e_exp10.c: Include math_private.h using <...> not "...".
88559         * math/e_exp10f.c: Likewise.
88560         * math/e_exp10l.c: Likewise.
88561         * math/e_exp2l.c: Likewise.
88562         * math/e_j0l.c: Likewise.
88563         * math/e_j1l.c: Likewise.
88564         * math/e_jnl.c: Likewise.
88565         * math/e_lgammal_r.c: Likewise.
88566         * math/e_rem_pio2l.c: Likewise.
88567         * math/e_scalb.c: Likewise.
88568         * math/e_scalbf.c: Likewise.
88569         * math/e_scalbl.c: Likewise.
88570         * math/k_cosl.c: Likewise.
88571         * math/k_sinl.c: Likewise.
88572         * math/k_tanl.c: Likewise.
88573         * math/s_cacoshf.c: Likewise.
88574         * math/s_catan.c: Likewise.
88575         * math/s_catanf.c: Likewise.
88576         * math/s_catanh.c: Likewise.
88577         * math/s_catanhf.c: Likewise.
88578         * math/s_catanhl.c: Likewise.
88579         * math/s_catanl.c: Likewise.
88580         * math/s_ccosh.c: Likewise.
88581         * math/s_ccoshf.c: Likewise.
88582         * math/s_ccoshl.c: Likewise.
88583         * math/s_cexp.c: Likewise.
88584         * math/s_cexpf.c: Likewise.
88585         * math/s_cexpl.c: Likewise.
88586         * math/s_clog.c: Likewise.
88587         * math/s_clog10.c: Likewise.
88588         * math/s_clog10f.c: Likewise.
88589         * math/s_clog10l.c: Likewise.
88590         * math/s_clogf.c: Likewise.
88591         * math/s_clogl.c: Likewise.
88592         * math/s_csin.c: Likewise.
88593         * math/s_csinf.c: Likewise.
88594         * math/s_csinh.c: Likewise.
88595         * math/s_csinhf.c: Likewise.
88596         * math/s_csinhl.c: Likewise.
88597         * math/s_csinl.c: Likewise.
88598         * math/s_csqrt.c: Likewise.
88599         * math/s_csqrtf.c: Likewise.
88600         * math/s_csqrtl.c: Likewise.
88601         * math/s_ctan.c: Likewise.
88602         * math/s_ctanf.c: Likewise.
88603         * math/s_ctanh.c: Likewise.
88604         * math/s_ctanhf.c: Likewise.
88605         * math/s_ctanhl.c: Likewise.
88606         * math/s_ctanl.c: Likewise.
88607         * math/s_ldexp.c: Likewise.
88608         * math/s_ldexpf.c: Likewise.
88609         * math/s_ldexpl.c: Likewise.
88610         * math/s_significand.c: Likewise.
88611         * math/s_significandf.c: Likewise.
88612         * math/s_significandl.c: Likewise.
88613         * math/w_acos.c: Likewise.
88614         * math/w_acosf.c: Likewise.
88615         * math/w_acosh.c: Likewise.
88616         * math/w_acoshf.c: Likewise.
88617         * math/w_acoshl.c: Likewise.
88618         * math/w_acosl.c: Likewise.
88619         * math/w_asin.c: Likewise.
88620         * math/w_asinf.c: Likewise.
88621         * math/w_asinl.c: Likewise.
88622         * math/w_atan2.c: Likewise.
88623         * math/w_atan2f.c: Likewise.
88624         * math/w_atan2l.c: Likewise.
88625         * math/w_atanh.c: Likewise.
88626         * math/w_atanhf.c: Likewise.
88627         * math/w_atanhl.c: Likewise.
88628         * math/w_cosh.c: Likewise.
88629         * math/w_coshf.c: Likewise.
88630         * math/w_coshl.c: Likewise.
88631         * math/w_dremf.c: Likewise.
88632         * math/w_exp10.c: Likewise.
88633         * math/w_exp10f.c: Likewise.
88634         * math/w_exp10l.c: Likewise.
88635         * math/w_exp2.c: Likewise.
88636         * math/w_exp2f.c: Likewise.
88637         * math/w_fmod.c: Likewise.
88638         * math/w_fmodf.c: Likewise.
88639         * math/w_fmodl.c: Likewise.
88640         * math/w_hypot.c: Likewise.
88641         * math/w_hypotf.c: Likewise.
88642         * math/w_hypotl.c: Likewise.
88643         * math/w_j0.c: Likewise.
88644         * math/w_j0f.c: Likewise.
88645         * math/w_j0l.c: Likewise.
88646         * math/w_j1.c: Likewise.
88647         * math/w_j1f.c: Likewise.
88648         * math/w_j1l.c: Likewise.
88649         * math/w_jn.c: Likewise.
88650         * math/w_jnf.c: Likewise.
88651         * math/w_jnl.c: Likewise.
88652         * math/w_lgamma.c: Likewise.
88653         * math/w_lgamma_r.c: Likewise.
88654         * math/w_lgammaf.c: Likewise.
88655         * math/w_lgammaf_r.c: Likewise.
88656         * math/w_lgammal.c: Likewise.
88657         * math/w_lgammal_r.c: Likewise.
88658         * math/w_log.c: Likewise.
88659         * math/w_log10.c: Likewise.
88660         * math/w_log10f.c: Likewise.
88661         * math/w_log10l.c: Likewise.
88662         * math/w_log2.c: Likewise.
88663         * math/w_log2f.c: Likewise.
88664         * math/w_log2l.c: Likewise.
88665         * math/w_logf.c: Likewise.
88666         * math/w_logl.c: Likewise.
88667         * math/w_pow.c: Likewise.
88668         * math/w_powf.c: Likewise.
88669         * math/w_powl.c: Likewise.
88670         * math/w_remainder.c: Likewise.
88671         * math/w_remainderf.c: Likewise.
88672         * math/w_remainderl.c: Likewise.
88673         * math/w_scalb.c: Likewise.
88674         * math/w_scalbf.c: Likewise.
88675         * math/w_scalbl.c: Likewise.
88676         * math/w_sinh.c: Likewise.
88677         * math/w_sinhf.c: Likewise.
88678         * math/w_sinhl.c: Likewise.
88679         * math/w_sqrt.c: Likewise.
88680         * math/w_sqrtf.c: Likewise.
88681         * math/w_sqrtl.c: Likewise.
88682         * math/w_tgamma.c: Likewise.
88683         * math/w_tgammaf.c: Likewise.
88684         * math/w_tgammal.c: Likewise.
88686         * po/ja.po: Update from translation team.
88688 2011-09-29  Andreas Jaeger  <aj@suse.de>
88690         [BZ #13179]
88691         * sunrpc/netname.c (netname2host): Fix logic.
88693         [BZ #6779]
88694         [BZ #6783]
88695         * math/w_remainderl.c (__remainderl): Handle (NaN, 0) and (Inf,y)
88696         correctly.
88697         * math/w_remainder.c (__remainder): Likewise.
88698         * math/w_remainderf.c (__remainderf): Likewise.
88699         * math/libm-test.inc (remainder_test): Add test cases.
88701 2011-10-04  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
88703         * stdlib/longlong.h: Update from GCC.  Fix zarch smul_ppmm and
88704         sdiv_qrnnd.
88706 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
88708         * string/test-memcmp.c: Avoid unncessary #defines.
88709         Patch by Liubov Dmitrieva <liubov.dmitrieva@gmail.com>.
88711 2011-08-31  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
88713         * sysdeps/x86_64/multiarch/rawmemchr.S: Update.
88714         Use new sse2 version for core i3 - i7 as it's faster
88715         than sse42 version.
88716         (bit_Prefer_PMINUB_for_stringop): New.
88717         * sysdeps/x86_64/rawmemchr.S: Update.
88718         Replace with faster SSE2 version.
88719         * sysdeps/x86_64/memrchr.S: New file.
88720         * sysdeps/x86_64/memchr.S: Update.
88721         Replace with faster SSE2 version.
88723 2011-09-12  Marek Polacek  <mpolacek@redhat.com>
88725         * elf/dl-load.c (lose): Add cast to avoid warning.
88727 2011-10-07  Ulrich Drepper  <drepper@gmail.com>
88729         * po/ca.po: Update from translation team.
88731         * inet/getnetgrent_r.c: Hook up nscd.
88732         * nscd/Makefile (routines): Add nscd_netgroup.
88733         (nscd-modules): Add netgroupcache.
88734         (CFLAGS-netgroupcache.c): Define.
88735         * nscd/cache.c (readdfcts): Add entries for GETNETGRENT and INNETGR.
88736         (cache_search): Add const to second parameter.
88737         * nscd/connections.c (serv2str): Add entries for GETNETGRENT and
88738         INNETGR.
88739         (dbs): Add netgrdb entry.
88740         (reqinfo): Add entries for GETNETGRENT, INNETGR, and GETFDNETGR.
88741         (verify_persistent_db): Handle netgrdb.
88742         (handle_request): Handle GETNETGRENT, INNETGR, and GETFDNETGR.
88743         * nscd/nscd-client.h (request_type): Add GETNETGRENT, INNETGR, and
88744         GETFDNETGR.
88745         (netgroup_response_header): Define.
88746         (innetgroup_response_header): Define.
88747         (datahead): Add netgroup_response_header and innetgroup_response_header
88748         elements.
88749         * nscd/nscd.conf: Add entries for netgroup cache.
88750         * nscd/nscd.h (dbtype): Add netgrdb.
88751         (_PATH_NSCD_NETGROUP_DB): Define.
88752         (netgroup_iov_disabled): Declare.
88753         (xmalloc, xcalloc, xrealloc): Move declarations here.
88754         (cache_search): Adjust prototype.
88755         Add netgroup-related prototypes.
88756         * nscd/nscd_conf.c (dbnames): Add netgrdb entry.
88757         * nscd/nscd_proto.h (__nss_not_use_nscd_netgroup): Declare.
88758         (__nscd_innetgr): Declare.
88759         * nscd/selinux.c (perms): Use access_vector_t as element type and
88760         add netgroup-related initializers.
88761         * nscd/netgroupcache.c: New file.
88762         * nscd/nscd_netgroup.c: New file.
88763         * nss/Versions [libc] (GLIBC_PRIVATE): Export __nss_lookup.
88764         * nss/getent.c (netgroup_keys): Use setnetgrent only for one parameter.
88765         For four parameters use innetgr.
88766         * nss/nss_files/files-init.c: Add definition and callback for netgr.
88767         * nss/nsswitch.c (__nss_lookup): Add libc_hidden_def.
88768         (__nss_disable_nscd): Set __nss_not_use_nscd_netgroup.
88769         * nss/nsswitch.h (__nss_lookup): Add libc_hidden_proto.
88771         * nscd/connections.c (register_traced_file): Don't register file
88772         for disabled databases.
88774 2011-10-06  Ulrich Drepper  <drepper@gmail.com>
88776         * nscd/grpcache.c (cache_addgr): Initialize written in all cases.
88778         * nss/nsswitch.c (__nss_lookup_function): Fix order of deleting
88779         from tree and freeing node.
88781 2011-09-25  Jiri Olsa  <jolsa@redhat.com>
88783         * nss/nsswitch.c (__nss_database_lookup): Handle
88784         nss_parse_service_list out of memory case.
88786 2011-09-15  Jiri Olsa  <jolsa@redhat.com>
88788         * nss/nsswitch.c (__nss_lookup_function): Handle __tsearch
88789         out of memory case.
88791 2011-10-04  Andreas Schwab  <schwab@redhat.com>
88793         * include/dlfcn.h (__RTLD_NOIFUNC): Define.
88794         * elf/do-rel.h (elf_dynamic_do_rel): Add parameter skip_ifunc and
88795         pass it down.
88796         * elf/dynamic-link.h: Adjust prototypes of elf_machine_rel,
88797         elf_machine_rela, elf_machine_lazy_rel.
88798         (_ELF_DYNAMIC_DO_RELOC): Add parameter skip_ifunc and pass it down.
88799         (ELF_DYNAMIC_DO_REL): Likewise.
88800         (ELF_DYNAMIC_DO_RELA): Likewise.
88801         (ELF_DYNAMIC_RELOCATE): Likewise.
88802         * elf/dl-reloc.c (_dl_relocate_object): Pass __RTLD_NOIFUNC down
88803         to ELF_DYNAMIC_DO_REL.
88804         * elf/rtld.c (_dl_start): Adjust use of ELF_DYNAMIC_RELOCATE.
88805         (dl_main): In trace mode always set __RTLD_NOIFUNC.
88806         * elf/dl-conflict.c (_dl_resolve_conflicts): Adjust call to
88807         elf_machine_rela.
88808         * sysdeps/i386/dl-machine.h (elf_machine_rel): Add parameter
88809         skip_ifunc, don't call ifunc function if non-zero.
88810         (elf_machine_rela): Likewise.
88811         (elf_machine_lazy_rel): Likewise.
88812         (elf_machine_lazy_rela): Likewise.
88813         * sysdeps/ia64/dl-machine.h (elf_machine_rela): Likewise.
88814         (elf_machine_lazy_rel): Likewise.
88815         * sysdeps/powerpc/powerpc32/dl-machine.h (elf_machine_rela):
88816         Likewise.
88817         (elf_machine_lazy_rel): Likewise.
88818         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
88819         Likewise.
88820         (elf_machine_lazy_rel): Likewise.
88821         * sysdeps/s390/s390-32/dl-machine.h (elf_machine_rela): Likewise.
88822         (elf_machine_lazy_rel): Likewise.
88823         * sysdeps/s390/s390-64/dl-machine.h (elf_machine_rela): Likewise.
88824         (elf_machine_lazy_rel): Likewise.
88825         * sysdeps/sh/dl-machine.h (elf_machine_rela): Likewise.
88826         (elf_machine_lazy_rel): Likewise.
88827         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela): Likewise.
88828         (elf_machine_lazy_rel): Likewise.
88829         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela): Likewise.
88830         (elf_machine_lazy_rel): Likewise.
88831         * sysdeps/x86_64/dl-machine.h (elf_machine_rela): Likewise.
88832         (elf_machine_lazy_rel): Likewise.
88834 2011-09-28  Ulrich Drepper  <drepper@gmail.com>
88836         * nss/nss_files/files-init.c (_nss_files_init): Use static
88837         initialization for all the *_traced_file variables.
88839 2011-09-28  Andreas Schwab  <schwab@redhat.com>
88841         * sysdeps/powerpc/fpu/libm-test-ulps: Adjust ULPs for jn tests.
88843 2011-09-27  Roland McGrath  <roland@hack.frob.com>
88845         [BZ #13226]
88846         * manual/signal.texi (Longjmp in Handler): Grammar fixes.
88848 2011-09-27  Andreas Schwab  <schwab@redhat.com>
88850         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn):
88851         Reread the line before reparsing it.
88853 2011-09-26  Andreas Schwab  <schwab@redhat.com>
88855         * sysdeps/x86_64/fpu/bits/mathinline.h: Use __asm instead of asm.
88857 2011-09-21  Chung-Lin Tang  <cltang@codesourcery.com>
88858             Maxim Kuvyrkov  <maxim@codesourcery.com>
88859             Joseph Myers  <joseph@codesourcery.com>
88861         * resolv/Makefile (LDLIBS-resolv.so): Link in $(elfobjdir)/ld.so
88862         if needed for __stack_chk_guard.
88864 2011-09-19  Roland McGrath  <roland@hack.frob.com>
88866         * sysdeps/posix/spawni.c (script_execute): Always define it.
88867         It will be optimized away if unused.
88868         (maybe_script_execute): New function.
88869         (__spawni): Call it.
88871         * Makerules: Don't include tls.make.
88872         (config-tls): Always set to thread.
88873         * tls.make.c: File removed.
88875 2011-09-19  Mike Frysinger  <vapier@gentoo.org>
88877         * Makeconfig (CPPFLAGS): Prepend $(CPPFLAGS-config).
88878         * config.make.in (CPPFLAGS-config): New substituted variable.
88880 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
88882         * sysdeps/ieee754/dbl-64/wordsize-64/s_finite.c: New file.
88884         [BZ #13192]
88885         * sysdeps/unix/sysv/linux/bits/in.h (IP_MULTICAST_ALL): Define.
88886         Patch mostly by Neil Horman <nhorman@tuxdriver.com>.
88888 2011-09-15  Roland McGrath  <roland@hack.frob.com>
88890         * sysdeps/unix/sysv/linux/i386/____longjmp_chk.S
88891         (CALL_FAIL): Use HIDDEN_JUMPTARGET for __fortify_fail.
88892         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
88893         (CALL_FAIL): Likewise.
88894         * sysdeps/unix/sysv/linux/ia64/____longjmp_chk.S (CHECK_RSP): Likewise.
88895         (CALL_FAIL): Macro removed.
88896         Patch mostly by Mike Frysinger <vapier@gentoo.org>.
88898 2011-09-15  Ulrich Drepper  <drepper@gmail.com>
88900         * sysdeps/x86_64/fpu/bits/mathinline.h: Add fmax and fmin optimizations
88901         for __FINITE_MATH_ONLY__ == 1.
88903 2011-09-15  Andreas Schwab  <schwab@redhat.com>
88905         * sysdeps/powerpc/fpu/e_hypot.c (__ieee754_hypot): Use
88906         __ieee754_sqrt instead of sqrt.
88907         * sysdeps/powerpc/fpu/e_hypotf.c (__ieee754_hypotf): Use
88908         __ieee754_sqrtf instead of sqrtf.
88909         * sysdeps/powerpc/fpu/e_rem_pio2f.c (__ieee754_rem_pio2f): Use
88910         __floorf instead of floorf.
88911         * sysdeps/powerpc/fpu/k_rem_pio2f.c (__fp_kernel_rem_pio2f): Use
88912         __floorf, __truncf instead of floorf, truncf.
88914 2011-09-14  Ulrich Drepper  <drepper@gmail.com>
88916         * sysdeps/x86_64/fpu/s_copysign.S [ELF]: Use correct section.
88918         * sysdeps/x86_64/fpu/bits/mathinline.h (__MATH_INLINE): Use
88919         __extern_always_inline.
88920         Define lrint{f,} and llrint{f,} for 64-bit and in some situations for
88921         32-bit.
88923 2011-09-14  Andreas Schwab  <schwab@redhat.com>
88925         * elf/rtld.c (dl_main): Also relocate in dependency order when
88926         doing symbol dependency testing.
88928 2011-09-13  Andreas Schwab  <schwab@linux-m68k.org>
88930         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
88931         Always define `refsym'.
88933 2011-09-13  Andreas Schwab  <schwab@redhat.com>
88935         * misc/sys/select.h (__FD_MASK): Renamed from __FDMASK.
88936         (__FD_ELT): Renamed from __FDELT.
88937         * misc/bits/select2.h (__FD_ELT): Likewise.
88938         * bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET): Use __FD_ELT,
88939         __FD_MASK instead of __FDELT, __FDMASK.
88940         * sysdeps/i386/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
88941         Likewise.
88942         * sysdeps/x86_64/bits/select.h (__FD_SET, __FD_CLR, __FD_ISSET):
88943         Likewise.
88945         * elf/Makefile (gen-ldd): Fix pattern.
88947         * elf/rtld.c (dl_main): Only use USE___THREAD when defined.
88948         (init_tls): Likewise.
88950 2011-09-12  Ulrich Drepper  <drepper@gmail.com>
88952         * sysdeps/ieee754/dbl-64/wordsize-64/s_logb.c: New file.
88954 2011-09-12  Andreas Schwab  <schwab@redhat.com>
88956         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Cast to
88957         `struct cmsghdr *' instead of `void *'.
88958         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (__cmsg_nxthdr):
88959         Likewise.
88961 2011-09-11  Andreas Schwab  <schwab@linux-m68k.org>
88963         * elf/Makefile (gen-ldd): Prepend $(..) to $(ldd-rewrite-script)
88964         if non-absolute.
88965         * sysdeps/unix/sysv/linux/configure.in: Remove leading ../ from
88966         ldd_rewrite_script.
88968 2011-09-11  Ulrich Drepper  <drepper@gmail.com>
88970         * configure.in: Remove --with-tls option.
88971         * config.h.in: Remove HAVE_TLS_SUPPORT entry.
88972         * sysdeps/i386/elf/configure.in: Always test for TLS support and err
88973         out in case it is missing.
88974         * sysdeps/ia64/elf/configure.in: Likewise.
88975         * sysdeps/powerpc/powerpc32/elf/configure.in: Likewise.
88976         * sysdeps/powerpc/powerpc64/elf/configure.in: Likewise.
88977         * sysdeps/s390/s390-32/elf/configure.in: Likewise.
88978         * sysdeps/s390/s390-64/elf/configure.in: Likewise.
88979         * sysdeps/sh/elf/configure.in: Likewise.
88980         * sysdeps/sparc/sparc32/elf/configure.in: Likewise.
88981         * sysdeps/sparc/sparc64/elf/configure.in: Likewise.
88982         * sysdeps/x86_64/elf/configure.in: Likewise.
88983         * sysdeps/mach/hurd/i386/tls.h: Remove test for HAVE_TLS_SUPPORT.
88984         * sysdeps/mach/hurd/tls.h: Likewise.
88986         [BZ #13067]
88987         * malloc/obstack.h [!GNUC] (obstack_free): Avoid cast to int.
88989         [BZ #13090]
88990         * configure.in: Fix use of AC_INIT.
88992         * elf/dl-support.c (_dl_pagesize): Initialize to EXEC_PAGESIZE.
88994 2011-09-10  Ulrich Drepper  <drepper@gmail.com>
88996         * malloc/malloc.c: Replace MALLOC_FAILURE_ACTION with use of
88997         __set_errno.
88998         * malloc/hooks.c: Likewise.
89000         [BZ #11929]
89001         * malloc/arena.c (ptmalloc_init_minimal): Removed.  Initialize all
89002         variables statically.
89003         (narenas): Initialize.
89004         (list_lock): Initialize.
89005         (ptmalloc_init): Don't call ptmalloc_init_minimal.  Remove
89006         initializtion of main_arena and list_lock.  Small cleanups.
89007         Replace all uses of malloc_getpagesize with GLRO(dl_pagesize).
89008         * malloc/malloc.c: Remove malloc_getpagesize.  Include <ldsodefs.h>.
89009         Add initializers to main_arena and mp_.
89010         (malloc_state): Remove pagesize member.  Change all users to use
89011         GLRO(dl_pagesize).
89013         * elf/rtld.c (rtld_global_ro): Initialize _dl_pagesize.
89014         * sysdeps/unix/sysv/linux/getpagesize.c: Simplify.  GLRO(dl_pagesize)
89015         is always initialized.
89017         * malloc/malloc.c: Removed unused configurations and dead code.
89018         * malloc/arena.c: Likewise.
89019         * malloc/hooks.c: Likewise.
89020         * malloc/Makefile (CPPFLAGS-malloc.c): Don't add -DATOMIC_FASTBINS.
89022         * include/tls.h: Removed.  USE___THREAD must always be defined.
89023         * bits/libc-tsd.h: Don't handle !USE___THREAD.
89024         * elf/dl-libc.c: Likewise.
89025         * elf/dl-tsd.c: Likewise.
89026         * include/errno.h: Likewise.
89027         * include/netdb.h: Likewise.
89028         * include/resolv.h: Likewise.
89029         * inet/herrno-loc.c: Likewise.
89030         * inet/herrno.c: Likewise.
89031         * malloc/arena.c: Likewise.
89032         * malloc/hooks.c: Likewise.
89033         * malloc/malloc.c: Likewise.
89034         * resolv/res-state.c: Likewise.
89035         * resolv/res_libc.c: Likewise.
89036         * sysdeps/i386/dl-machine.h: Likewise.
89037         * sysdeps/ia64/dl-machine.h: Likewise.
89038         * sysdeps/powerpc/powerpc32/dl-machine.h: Likewise.
89039         * sysdeps/powerpc/powerpc64/dl-machine.h: Likewise.
89040         * sysdeps/s390/s390-32/dl-machine.h: Likewise.
89041         * sysdeps/s390/s390-64/dl-machine.h: Likewise.
89042         * sysdeps/sh/dl-machine.h: Likewise.
89043         * sysdeps/sparc/sparc32/dl-machine.h: Likewise.
89044         * sysdeps/sparc/sparc64/dl-machine.h: Likewise.
89045         * sysdeps/unix/i386/sysdep.S: Likewise.
89046         * sysdeps/unix/sysv/linux/i386/sysdep.h: Likewise.
89047         * sysdeps/unix/sysv/linux/ia64/sysdep.S: Likewise.
89048         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.S: Likewise.
89049         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h: Likewise.
89050         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.S: Likewise.
89051         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h: Likewise.
89052         * sysdeps/unix/sysv/linux/sh/sysdep.h: Likewise.
89053         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h: Likewise.
89054         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Likewise.
89055         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Likewise.
89056         * sysdeps/unix/x86_64/sysdep.S: Likewise.
89057         * sysdeps/x86_64/dl-machine.h: Likewise.
89058         * tls.make.c: Likewise.
89060         * configure.in: Remove --with-__thread option.  Make tests for
89061         --no-whole-archive, __builtin_expect, symbol redirection, __thread,
89062         tls_model attribute fail if no support is available.  Remove
89063         USE_IN_LIBIO.
89064         * Makeconfig: Adjust for dropped configure option.  All features are
89065         now mandatory.
89066         * Makerules: Likewise.
89067         * Versions.def: Likewise.
89068         * argp/argp-fmtstream.c: Likewise.
89069         * argp/argp-fmtstream.h: Likewise.
89070         * argp/argp-help.c: Likewise.
89071         * assert/assert.c: Likewise.
89072         * config.h.in: Likewise.
89073         * config.make.in: Likewise.
89074         * configure: Likewise.
89075         * configure.in: Likewise.
89076         * csu/Versions: Likewise.
89077         * csu/init.c: Likewise.
89078         * elf/tst-audit2.c: Likewise.
89079         * elf/tst-tls10.c: Likewise.
89080         * elf/tst-tls10.h: Likewise.
89081         * elf/tst-tls11.c: Likewise.
89082         * elf/tst-tls12.c: Likewise.
89083         * elf/tst-tls14.c: Likewise.
89084         * elf/tst-tlsmod11.c: Likewise.
89085         * elf/tst-tlsmod12.c: Likewise.
89086         * elf/tst-tlsmod13.c: Likewise.
89087         * elf/tst-tlsmod13a.c: Likewise.
89088         * elf/tst-tlsmod14a.c: Likewise.
89089         * elf/tst-tlsmod15b.c: Likewise.
89090         * elf/tst-tlsmod16a.c: Likewise.
89091         * elf/tst-tlsmod16b.c: Likewise.
89092         * elf/tst-tlsmod7.c: Likewise.
89093         * elf/tst-tlsmod8.c: Likewise.
89094         * elf/tst-tlsmod9.c: Likewise.
89095         * gmon/gmon.c: Likewise.
89096         * grp/fgetgrent_r.c: Likewise.
89097         * grp/putgrent.c: Likewise.
89098         * hurd/fopenport.c: Likewise.
89099         * include/libc-symbols.h: Likewise.
89100         * include/tls.h: Likewise.
89101         * intl/gettextP.h: Likewise.
89102         * intl/loadinfo.h: Likewise.
89103         * locale/global-locale.c: Likewise.
89104         * locale/localeinfo.h: Likewise.
89105         * mach/devstream.c: Likewise.
89106         * malloc/arena.c: Likewise.
89107         * malloc/set-freeres.c: Likewise.
89108         * misc/err.c: Likewise.
89109         * misc/getttyent.c: Likewise.
89110         * misc/mntent_r.c: Likewise.
89111         * posix/getopt.c: Likewise.
89112         * posix/wordexp.c: Likewise.
89113         * pwd/fgetpwent_r.c: Likewise.
89114         * resolv/Versions: Likewise.
89115         * resolv/res_hconf.c: Likewise.
89116         * shadow/fgetspent_r.c: Likewise.
89117         * shadow/putspent.c: Likewise.
89118         * stdio-common/printf_fphex.c: Likewise.
89119         * stdio-common/tmpfile.c: Likewise.
89120         * stdlib/abort.c: Likewise.
89121         * stdlib/fmtmsg.c: Likewise.
89122         * sunrpc/auth_unix.c: Likewise.
89123         * sunrpc/clnt_perr.c: Likewise.
89124         * sunrpc/clnt_tcp.c: Likewise.
89125         * sunrpc/clnt_udp.c: Likewise.
89126         * sunrpc/clnt_unix.c: Likewise.
89127         * sunrpc/openchild.c: Likewise.
89128         * sunrpc/svc_simple.c: Likewise.
89129         * sunrpc/svc_tcp.c: Likewise.
89130         * sunrpc/svc_udp.c: Likewise.
89131         * sunrpc/svc_unix.c: Likewise.
89132         * sunrpc/xdr.c: Likewise.
89133         * sunrpc/xdr_array.c: Likewise.
89134         * sunrpc/xdr_rec.c: Likewise.
89135         * sunrpc/xdr_ref.c: Likewise.
89136         * sunrpc/xdr_stdio.c: Likewise.
89138 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
89140         * sysdeps/i386/fpu/libm-test-ulps: Adjust ULPs for jn tests.
89142 2011-07-03  Andreas Jaeger  <aj@suse.de>
89144         * math/libm-test.inc (jn_test): Add tests for BZ#11589.
89145         * sysdeps/x86_64/fpu/libm-test-ulps: Add new ULPs for jn_test,
89146         regenerate with gen-libm-tests.pl.
89148 2010-05-12  Petr Baudis  <pasky@suse.cz>
89150         [BZ #11589]
89151         * sysdeps/ieee754/dbl-64/e_jn.c: Compensate major precision loss
89152         around j0() zero points by switching to j1().
89153         * sysdeps/ieee754/flt-32/e_jnf.c: Likewise.
89154         * sysdeps/ieee754/ldbl-128/e_jnl.c: Likewise.
89155         * sysdeps/ieee754/ldbl-128ibm/e_jnl.c: Likewise.
89156         * sysdeps/ieee754/ldbl-96/e_jnl.c: Likewise.
89158 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
89160         * sysdeps/unix/bsd/bsd4.4/bits/socket.h (__cmsg_nxthdr): Use NULL
89161         instead of 0.
89162         * sysdeps/unix/sysv/linux/bits/socket.h (__cmsg_nxthdr): Use (void*)0
89163         instead of 0.
89164         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
89165         Patch in part by Pavel Roskin <proski@gnu.org>.
89167         [BZ #13138]
89168         * stdio-common/vfscanf.c (ADDW): Allocate large memory block with
89169         realloc.
89170         (_IO_vfscanf_internal): Remove reteof.  Use errout after setting done.
89171         Free memory block if necessary.
89173         [BZ #12847]
89174         * libio/genops.c (INTDEF): For string streams the _lock pointer can
89175         be NULL.  Don't lock in this case.
89177 2011-09-09  Roland McGrath  <roland@hack.frob.com>
89179         * elf/elf.h (ELFOSABI_GNU): New macro.
89180         (ELFOSABI_LINUX): Define to that.
89182 2011-07-29  Denis Zaitceff  <zaitceff@gmail.com>
89184         * string/strncat.c (strncat): Undef the symbol in case it has been
89185         defined in bits/string.h.
89187 2011-09-09  Ulrich Drepper  <drepper@gmail.com>
89189         * elf/sotruss.ksh: Clean up, fix, and complete help messages.
89191         * elf/dl-iteratephdr.c (__dl_iterate_phdr): Fill in data from the real
89192         link map.
89194 2011-08-17  Andreas Jaeger  <aj@suse.de>
89196         * elf/sprof.c (load_shobj): Remove unused variable log_hashfraction.
89198 2011-08-18  Paul Pluzhnikov  <ppluzhnikov@google.com>
89199             Ian Lance Taylor  <iant@google.com>
89201         * math/libm-test.inc (lround_test): New testcase.
89202         * sysdeps/ieee754/dbl-64/s_lround.c (__lround): Don't lose precision.
89204 2011-09-08  Ulrich Drepper  <drepper@gmail.com>
89206         * Makefile: Remove support for automatic cvs check-ins.
89207         * Makerules: Likewise.
89208         * config.make.in: Likewise.
89209         * configure.in: Likewise.
89210         * intl/Makefile: Likewise.
89211         * locale/Makefile: Likewise.
89212         * po/Makefile: Likewise.
89213         * posix/Makefile: Likewise.
89214         * sysdeps/gnu/Makefile: Likewise.
89215         * sysdeps/mach/hurd/Makefile: Likewise.
89216         * sysdeps/sparc/sparc32/Makefile: Likewise.
89218         [BZ #13118]
89219         * posix/Makefile (bug-regex32-ENV): Define.
89220         Patch by John Stanley <jpsinthemix@verizon.net>.
89222         * misc/Makefile (headers): Add bits/select2.h.
89223         * misc/sys/select.h: Include bits/select2.h for _FORTIFY_SOURCE.
89224         * misc/bits/select2.h: New file.
89225         * include/bits/select2.h: New file.
89226         * debug/Makefile (routines): Add fdelt_chk.
89227         * debug/Versions: Export __fdelt_chk and __fdelt_warn for GLIBC_2.15.
89228         * debug/tst-chk1.c (do_test): Add tests for FD_SET, FD_CLR, and
89229         FD_ISSET.
89230         * debug/fdelt_chk.c: New file.
89232         * wcsmbs/test-wcscmp.c: Moved from string/*.  Adjust.
89233         * wcsmbs/test-wmemcmp.c: Likewise.
89234         * string/Makefile (strop-tests): Remove wcscmp and wmemcmp.
89235         * wcsmbs/Makefile (strop-tests): Add wcscmp and wmemcmp.
89237 2011-09-08  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89239         * string/Makefile (strop-tests): Add memcmp.
89240         * string/test-wmemcmp.c: New file.
89241         * string/test-memcmp.c: Add wmemcmp support.
89243 2011-09-08  Roland McGrath  <roland@hack.frob.com>
89245         [BZ #13153]
89246         * manual/libc.texinfo (EDITION, VERSION, UPDATED): Update for
89247         2011-07-19 change.
89249         * sysdeps/mach/hurd/fork.c (__fork): Initialize REFS so we don't use a
89250         garbage value in a __mach_port_mod_refs call in the cases of the
89251         task-self and thread-self ports.
89253 2011-09-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
89255         * sysdeps/mach/hurd/sys/param.h (DEV_BSIZE): New macro.
89257 2011-09-08  Andreas Schwab  <schwab@redhat.com>
89259         * elf/dl-load.c (lose): Check for non-null L.
89261 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
89263         * elf/dl-load.c (open_verify): Use O_CLOEXEC.
89265         * elf/dl-libc.c (dlerror_run): Pass back error code from
89266         dl_catch_error.
89268         [BZ #13123]
89269         * elf/dl-load.c (lose): Free l_origin if it is valid.
89271         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Fix mixup in section
89272         names.
89273         * sysdeps/i386/i686/multiarch/strchr-sse2.S: Likewise.
89274         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
89275         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
89276         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
89277         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: Likewise.
89278         Patch by Liubov Dmitrieva <liubov.dmitrieva@intel.com>.
89280 2011-08-01  Adhemerval Zanella  <azanella@linux.vnet.ibm.com>
89282         * sysdeps/powerpc/fpu/e_hypot.c: New file.
89283         * sysdeps/powerpc/fpu/e_hypotf.c: New file.
89284         * sysdeps/powerpc/fpu/e_rem_pio2f.c: New file.
89285         * sysdeps/powerpc/fpu/k_rem_pio2f.c: New file.
89286         * sysdeps/powerpc/fpu/k_cosf.c: New file.
89287         * sysdeps/powerpc/fpu/k_sinf.c: New file.
89288         * sysdeps/powerpc/fpu/s_cosf.c: New file.
89289         * sysdeps/powerpc/fpu/s_sinf.c: New file.
89290         * sysdeps/powerpc/fpu/s_scalbnf.c: New file.
89291         * sysdeps/powerpc/fpu/s_float_bitwise.h: New file.
89293 2011-08-15  Alan Modra  <amodra@gmail.com>
89295         [BZ #13092]
89296         * sysdeps/powerpc/Makefile (gmon): Move sysdep_routines to..
89297         * sysdeps/powerpc/powerpc64/Makefile (gmon): ..here..
89298         * sysdeps/powerpc/powerpc32/Makefile (gmon): ..and here.  Add
89299         ppc_mcount to static-only-routines.
89300         * sysdeps/powerpc/powerpc32/Versions: Export GLIBC_PRIVATE
89301         __mcount_internal.
89302         * sysdeps/powerpc/powerpc32/ppc-mcount.S (_mcount): Call
89303         __mcount_internal with usual JUMPTARGET.  Remove useless nop.
89305 2011-08-18  David Flaherty  <flaherty@linux.vnet.ibm.com>
89307         * sysdeps/ieee754/ldbl-128ibm/s_fmal.c: New file which checks
89308         for finite and infinity parameters.
89310 2011-08-04  Will Schmidt  <will_schmidt@vnet.ibm.com>
89312         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Adjust the alignment
89313         and add nop instructions for throughput optimization.
89314         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
89316 2011-07-28  Will Schmidt  <will_schmidt@vnet.ibm.com>
89318         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Optimize the
89319         aligned copy for power7 with vector-scalar instructions.
89320         * sysdeps/powerpc/powerpc64/power7/memcpy.S: Likewise.
89322 2011-07-24  H.J. Lu  <hongjiu.lu@intel.com>
89324         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Simplify
89325         AVX check.
89327 2011-09-07  Andreas Schwab  <schwab@redhat.com>
89329         [BZ #13144]
89330         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Revert
89331         last change.
89333 2011-09-07  Ulrich Drepper  <drepper@gmail.com>
89335         * sysdeps/unix/sysv/linux/x86_64/init-first.c
89336         (_libc_vdso_platform_setup): If vDSO is not present store pointer to
89337         syscall wrapper around clock_gettime in __vdso_clock_gettime.
89338         * sysdeps/unix/sysv/linux/x86_64/syscalls.list: Add entry for
89339         clock_gettime.
89341 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
89343         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c (INTERNAL_GETTIME):
89344         Forgot to demangle the pointer.
89346         * sysdeps/i386/sysdep.h: Define atom_text_section.
89347         * sysdeps/x86_64/sysdep.h: Likewise.
89348         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: Place function in
89349         section with atom_text_section.
89350         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: Likewise.
89351         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: Likewise.
89352         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: Likewise.
89353         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
89354         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: Likewise.
89356         * sysdeps/unix/sysv/linux/x86_64/clock_gettime.c: New file.
89357         * sysdeps/unix/sysv/linux/clock_gettime.c (SYSCALL_GETTIME): Allow
89358         already be defined.  Change to take two parameters and don't assign
89359         result to variable.  Adjust all users.
89360         Define INTERNAL_GETTIME if not already defined.
89361         Use INTERNAL_GETTIME instead of INTERNAL_VSYSCALL got clock_gettime
89362         call.
89363         * sysdeps/unix/sysv/linux/x86_64/sysdep.h: Don't define
89364         HAVE_CLOCK_GETTIME_VSYSCALL.
89365         * sysdeps/unix/clock_gettime.c: Adjust use of SYSDEP_GETTIME_CPU.
89367         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Don't use
89368         gettimeofday vsyscall, just use time.
89370 2011-09-06  Andreas Schwab  <schwab@redhat.com>
89372         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Include
89373         <errno.h>.
89375 2011-09-06  Ulrich Drepper  <drepper@gmail.com>
89377         * sysdeps/unix/sysv/linux/kernel-features.h: Add entry for getcpu
89378         syscall on x86-64.
89379         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c [!SHARED]: Use real
89380         syscall.
89381         * sysdeps/unix/sysv/linux/x86_64/time.c: Likewise.
89382         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [!SHARED]: Use real
89383         syscall if possible.
89385 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
89387         * elf/pldd.c (get_process_info): Don't read whole ELF header, just
89388         e_ident.  Don't pass to find_mapsXX.
89389         * elf/pldd-xx.c (find_mapsXX): Remove second parameter.
89391 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
89393         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
89394         strchr-sse2-no-bsf strrchr-sse2-no-bsf
89395         * sysdeps/x86_64/multiarch/strchr.S: Update.
89396         Check bit_slow_BSF bit.
89397         * sysdeps/x86_64/multiarch/strrchr.S: Likewise.
89398         * sysdeps/x86_64/multiarch/strchr-sse2-no-bsf.S: New file.
89399         * sysdeps/x86_64/multiarch/strrchr-sse2-no-bsf.S: New file.
89401 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
89403         [BZ #13134]
89404         * sysdeps/posix/spawni.c (script_execute): Define only for compatibility
89405         before glibc 2.15.
89406         (tryshell): Define.
89407         (__spawni): Change last parameter to be flag.  Test
89408         SPAWN_XFLAGS_USE_PATH flag to use path or not.
89409         Don't try to use shell unless SPAWN_XFLAGS_TRY_SHELL is set.
89410         * sysdeps/mach/hurd/spawni.c: Change last parameter and adjust user.
89411         * posix/spawni.c: Likewise.
89412         * posix/spawn.c: Add compat version which passed SPAWN_XFLAGS_TRY_SHELL.
89413         * posix/spawnp.c: Likewise.  Change normal version to use
89414         SPAWN_XFLAGS_USE_PATH.
89415         * posix/spawn_int.c: Define SPAWN_XFLAGS_USE_PATH and
89416         SPAWN_XFLAGS_TRY_SHELL.
89418         [BZ #13150]
89419         * posix/glob.h: Remove gcc 1.x support.
89421         [BZ #13068]
89422         * elf/dl-misc.c (_dl_sysdep_read_whole_file): Use O_CLOEXEC.
89424 2011-07-20  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
89426         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
89427         strchr-sse2 strrchr-sse2 strchr-sse2-bsf
89428         strrchr-sse2-bsf
89429         * sysdeps/i386/i686/multiarch/strchr.S: New file.
89430         * sysdeps/i386/i686/multiarch/strrchr.S: New file.
89431         * sysdeps/i386/i686/multiarch/strchr-sse2.S: New file.
89432         * sysdeps/i386/i686/multiarch/strchr-sse2-bsf.S: New file.
89433         * sysdeps/i386/i686/multiarch/strrchr-sse2.S: New file.
89434         * sysdeps/i386/i686/multiarch/strrchr-sse2-bsf.S: New file.
89436 2011-08-29  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89438         * sysdeps/x86_64/wcscmp.S: New file.
89440         * sysdeps/i386/i686/multiarch/Makefile: (sysdep_routines): Add
89441         wcscmp-c wcscmp-sse2
89442         * sysdeps/i386/i686/multiarch/wcscmp-c.c: New file.
89443         * sysdeps/i386/i686/multiarch/wcscmp.S: New file.
89444         * sysdeps/i386/i686/multiarch/wcscmp-sse2.S: New file.
89445         * wcsmbs/wcscmp.c: Allow renaming.
89447 2011-09-05  David S. Miller  <davem@davemloft.net>
89449         * sysdeps/sparc/sparc32/fpu/s_fabsf.S: Use first argument
89450         stack slot, rather than the struct return pointer slot.
89451         * sysdeps/sparc/sparc32/fpu/s_fabs.c: Delete.
89452         * sysdeps/sparc/sparc32/fpu/s_fabs.S: New file.
89453         * sysdeps/sparc/sparc32/sparcv9/fpu/s_fabs.S: Likewise.
89454         * sysdeps/unix/sysv/linux/sparc/sparc32/sparcv9/fpu/Implies: Likewise.
89456 2011-09-05  Ulrich Drepper  <drepper@gmail.com>
89458         * po/ja.po: Update from translation team.
89460         [BZ #13144]
89461         * sysdeps/unix/sysv/linux/x86_64/bits/sem.h (semdid_ds): Fix to match
89462         kernel in 64-bit binaries.
89464 2011-09-01  David S. Miller  <davem@davemloft.net>
89466         * elf/elf.h (HWCAP_SPARC_*): Move to..
89467         * sysdeps/sparc/sysdep.h: this new file and add new values.
89468         * sysdeps/unix/sparc/sysdep.h: Include sysdeps/sparc/sysdep.h
89469         * sysdeps/sparc/dl-procinfo.h: Include sysdep.h and increase
89470         _DL_HWCAP_COUNT to 24.
89471         * sysdeps/sparc/dl-procinfo.c (_dl_sparc_cap_flags): Add new
89472         entries.
89473         * sysdeps/sparc/sparc32/bits/atomic.h: Don't use magic local
89474         __ATOMIC_HWCAP_SPARC_V9 define, use sysdep.h one instead.
89475         * sysdeps/sparc/sparc32/dl-machine.h: Include sysdep.h
89476         * sysdeps/sparc/sparc64/multiarch/memcpy.S: Use HWCAP_SPARC_*
89477         instead of magic constants.
89478         * sysdeps/sparc/sparc64/multiarch/memset.S: Likewise.
89480 2011-08-31  David S. Miller  <davem@davemloft.net>
89482         * sysdeps/unix/sparc/sysdep.h (SETUP_PIC_REG): Define.
89483         * sysdeps/unix/sysv/linux/sparc/sparc32/sysdep.h (PSEUDO):
89484         Reimplement to do errno handling inline.
89485         (SYSCALL_ERROR_HANDLER): New macro.
89486         (__SYSCALL_STRING): Do not do errno handling in asm.
89487         (__CLONE_SYSCALL_STRING): Delete.
89488         (__INTERNAL_SYSCALL_STRING): Delete.
89489         * sysdeps/unix/sysv/linux/sparc/sparc64/sysdep.h: Include
89490         sysdeps/unix/sparc/sysdep.h instead of sysdeps/unix/sysdep.h
89491         (PSEUDO): Reimplement to do errno handling inline.
89492         (ret, ret_NOERRNO, ret_ERRVAL, r0, r1, MOVE): Don't redefine.
89493         (SYSCALL_ERROR_HANDLER): New macro.
89494         (__SYSCALL_STRING): Do not do errno handling in asm.
89495         (__CLONE_SYSCALL_STRING): Delete.
89496         (__INTERNAL_SYSCALL_STRING): Delete.
89497         * sysdeps/unix/sysv/linux/sparc/sysdep.h (INLINE_SYSCALL):
89498         Implement in terms of INTERNAL_SYSCALL and __set_errno, just like
89499         i386.
89500         (INTERNAL_SYSCALL_DECL): Declare %g1 var for err state.
89501         (inline_syscall*): Add 'err' argument.
89502         (INTERNAL_SYSCALL, INTERNAL_SYSCALL_NCS,
89503         INTERNAL_SYSCALL_ERROR_P): Likewise and pass it down.
89504         (INLINE_CLONE_SYSCALL): Reimplement in terms of __SYSCALL_STRING,
89505         INTERNAL_SYSCALL_ERRNO, and INTERNAL_SYSCALL_ERROR_P.
89507         * scripts/data/localplt-sparc-linux-gnu.data: Remove 'ffs'.
89508         * scripts/data/localplt-sparc64-linux-gnu.data: Likewise.
89510 2011-08-30  Andreas Schwab  <schwab@redhat.com>
89512         * elf/rtld.c (dl_main): Relocate objects in dependency order.
89514 2011-08-29  Jiri Olsa <jolsa@redhat.com>
89516         * sysdeps/i386/dl-trampoline.S (_dl_runtime_profile): Fix cfi
89517         directive.
89519 2011-08-24  David S. Miller  <davem@davemloft.net>
89521         * sysdeps/sparc/sparc64/strcmp.S: Rewrite.
89523 2011-08-24  Andreas Schwab  <schwab@redhat.com>
89525         * elf/Makefile: Add rules to build and run unload8 test.
89526         * elf/unload8.c: New file.
89527         * elf/unload8mod1.c: New file.
89528         * elf/unload8mod1x.c: New file.
89529         * elf/unload8mod2.c: New file.
89530         * elf/unload8mod3.c: New file.
89532         * elf/dl-close.c (_dl_close_worker): Reset private search list if
89533         it wasn't used.
89535 2011-08-23  David S. Miller  <davem@davemloft.net>
89537         * sysdeps/sparc/sparc64/dl-machine.h (DL_STACK_END): Do not
89538         subtract stack bias.
89539         * sysdeps/sparc/sparc64/jmpbuf-unwind.h (_JMPBUF_UNWINDS): Use
89540         %sp not %fp in calculations.
89541         (_JMPBUF_UNWINDS_ADJ): Likewise.
89543         * sysdeps/pthread/aio_suspend.c (do_aio_misc_wait): New function.
89544         (aio_suspend): Call it to force an exception region around the
89545         AIO_MISC_WAIT() invocation.
89547 2011-08-23  Andreas Schwab  <schwab@redhat.com>
89549         * sysdeps/i386/i686/multiarch/strspn.S (ENTRY): Add missing
89550         backslash.
89552 2011-07-04  Aurelien Jarno  <aurelien@aurel32.net>
89554         * sysdeps/powerpc/dl-tls.h: Add _PPC_DL_TLS_H inclusion
89555         protection macro.
89556         * sysdeps/powerpc/powerpc64/dl-irel.h: Include <ldsodefs.h>
89557         and <dl-machine.h>.
89558         (Elf64_FuncDesc): Remove.
89560 2011-08-22  David S. Miller  <davem@davemloft.net>
89562         * sysdeps/unix/sysv/linux/sparc/sparc32/____longjmp_chk.S: Fix
89563         sigaltstack check, add missing cfi directives.
89564         * sysdeps/unix/sysv/linux/sparc/sparc64/____longjmp_chk.S: Add
89565         missing cfi directives, and sigaltstack handling.
89567 2011-08-16  Andreas Schwab  <schwab@redhat.com>
89569         [BZ #11724]
89570         * elf/dl-deps.c (_dl_map_object_deps): Only assume cycle when
89571         object is seen twice.
89572         * elf/dl-fini.c (_dl_sort_fini): Likewise.
89574         * elf/Makefile (distribute): Add tst-initorder2.c.
89575         (tests): Add tst-initorder2.
89576         (modules-names): Add tst-initorder2a tst-initorder2b
89577         tst-initorder2c tst-initorder2d.  Add rules to build them.
89578         ($(objpfx)tst-initorder2.out): New rule.
89579         * elf/tst-initorder2.c: New file.
89580         * elf/tst-initorder2.exp: New file.
89582 2011-08-22  Andreas Schwab  <schwab@redhat.com>
89584         * sysdeps/unix/sysv/linux/i386/scandir64.c: Include <string.h>.
89586         * elf/dl-deps.c (_dl_map_object_deps): Move check for missing
89587         dependencies back to end of function.
89589         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
89590         $(elfobjdir)/ld.so.
89592 2011-08-21  Ulrich Drepper  <drepper@gmail.com>
89594         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.S: Removed.
89595         * sysdeps/unix/sysv/linux/x86_64/time.S: Removed.
89596         * sysdeps/unix/sysv/linux/x86_64/gettimeofday.c: New file.
89597         * sysdeps/unix/sysv/linux/x86_64/time.c: New file.
89598         * sysdeps/unix/sysv/linux/x86_64/bits/libc-vdso.h: Remove declaration
89599         of __vdso_gettimeofday.
89600         * sysdeps/unix/sysv/linux/x86_64/init-first.c: Remove definition of
89601         __vdso_gettimeofday and __vdso_time.  Define __vdso_getcpu with
89602         attribute_hidden.
89603         (_libc_vdso_platform_setup): Remove initialization of
89604         __vdso_gettimeofday and __vdso_time.
89606 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
89608         * nss/nss_files/files-alias.c (get_next_alias): Use feof_unlocked
89609         and fgetc_unlocked.
89610         * nss/nss_files/files-key.c (search): Use fgets_unlocked and
89611         getc_unlocked.
89613         * elf/dl-open.c (add_to_global): Report additions to the global scope
89614         for LD_DEBUG=scopes.
89615         (dl_open_worker): Also print scope of newly loaded dependencies.
89616         (_dl_show_scope): Indicate if there is no scope.
89618         [BZ #13114]
89619         * stdio-common/Makefile (tests): Add bug24.
89620         * stdio-common/bug24.c: New file.
89622 2011-08-19  Andreas Jaeger  <aj@suse.de>
89624         [BZ #13114]
89625         * libio/fileops.c (_IO_new_file_fopen): Fix handling of
89626         non-existant file when using close-on-exec mode.
89628 2011-08-20  Ulrich Drepper  <drepper@gmail.com>
89630         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_resolve): Fix CFI for
89631         the very first instruction.
89633         * sysdeps/x86_64/dl-trampoline.h: If MORE_CODE is defined, restore
89634         the CFI state in the end.
89635         * sysdeps/x86_64/dl-trampoline.S: Define MORE_CODE before first
89636         inclusion of dl-trampoline.h.
89637         Based on a patch by Jiri Olsa <jolsa@redhat.com>.
89639 2011-08-19  Andreas Schwab  <schwab@redhat.com>
89641         * sysdeps/powerpc/fpu/libm-test-ulps: Relax ctan (0.75 + 1.25 i)
89642         expectations for long double.
89644         * sysdeps/unix/sysv/linux/powerpc/powerpc32/scandir64.c: Renamed
89645         from sysdeps/unix/sysv/linux/powerpc/scandir64.c.
89647 2011-08-14  David S. Miller  <davem@davemloft.net>
89649         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): The
89650         artificual limit depends upon the system page size.
89652 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
89654         * Makeconfig (override CFLAGS): Add library-specific CFLAGS.
89655         * resolv/Makefile: Define CFLAGS-libresolv.
89657 2011-08-17  Andreas Schwab  <schwab@redhat.com>
89659         * nss/makedb.c (compute_tables): Make variables used in nested
89660         function static.
89662 2011-08-17  Ulrich Drepper  <drepper@gmail.com>
89664         * elf/pldd-xx.c (r_debug): Explicitly add padding when needed.
89665         * elf/pldd.c (get_process_info): Use pread to re-read auxiliary vector
89666         if buffer was too small.
89668         * elf/pldd.c (main): Attach to all threads in the process.
89669         Rewrite /proc handling to use *at functions.
89671 2011-08-16  Ulrich Drepper  <drepper@gmail.com>
89673         * elf/dl-open.c (_dl_show_scope): Take additional parameter which
89674         specifies first scope to show.
89675         (dl_open_worker): Update callers.  Move printing scope of new
89676         object to before the relocation.
89677         * elf/rtld.c (dl_main): Update _dl_show_scope call.
89678         * sysdeps/generic/ldsodefs.h: Update declaration.
89680         * elf/dl-open.c (_dl_show_scope): Use _dl_debug_printf to generate the
89681         string for the scope number.
89683 2011-08-14  Ulrich Drepper  <drepper@gmail.com>
89685         * nscd/servicescache.c (cache_addserv): Make sure written is always
89686         initialized.
89688 2011-08-14  Roland McGrath  <roland@hack.frob.com>
89690         * sysdeps/i386/i486/bits/atomic.h
89691         (__arch_compare_and_exchange_val_64_acq): Use RET alone at end of
89692         statement expression, so as to suppress "set but not used" warning.
89693         (__arch_c_compare_and_exchange_val_64_acq): Likewise.
89695         * string/strncat.c (STRNCAT): Use prototype definition.
89697         * locale/Makefile (locale-CPPFLAGS): Renamed CPPFLAGS-locale-programs.
89698         (locale-CPPFLAGS): New variable; put LOCALEDIR, LOCALE_ALIAS_PATH and
89699         -Iprograms here.
89700         (cppflags-iterator.mk sequence): Use locale-programs in place of nonlib.
89701         (localedef-modules): Add localedef.
89702         (locale-modules): Add locale.
89704         * sysdeps/generic/ldsodefs.h (struct unique_sym): Add a const.
89705         * elf/rtld.c (dl_main): Invert order of assignment in last change,
89706         to avoid a warning.
89708 2011-08-14  David S. Miller  <davem@davemloft.net>
89710         * sysdeps/unix/sysv/linux/sparc/bits/resource.h (RLIM_INFINITY,
89711         RLIM64_INFINITY): Fix 64-bit values for 32-bit sparc.
89713 2011-08-13  Ulrich Drepper  <drepper@gmail.com>
89715         * elf/dl-open.c: Rename show_scope to _dl_show_scope and export.
89716         (dl_open_worker): Call _dl_show_scope when DL_DEBUG_SCOPES is set.
89717         * elf/rtld.c (dl_main): Set l_name of vDSO.
89718         Call _dl_show_scope when DL_DEBUG_SCOPES.
89719         (process_dl_debug): Recognize scopes flag and also set it for all.
89720         * sysdeps/generic/ldsodefs.h: Define DL_DEBUG_SCOPES.
89721         Declare _dl_show_scope.
89723         * elf/dl-libc.c (do_dlopen_args): Add caller_dlopen.
89724         (do_dlopen): Pass caller_dlopen to dl_open.
89725         (__libc_dlopen_mode): Initialize caller_dlopen.
89727         * intl/l10nflist.c (_nl_normalize_codeset): Make it compile outside
89728         of libc.  Make tolower call locale-independent.  Optimize a bit by
89729         using isdigit instead of isalnum.
89730         * locale/Makefile (locale-CPPFLAGS): Add -DNOT_IN_libc.
89732 2011-08-12  Ulrich Drepper  <drepper@gmail.com>
89734         * elf/dl-load.c (_dl_map_object): Show in debug output whether a DSO
89735         was a dependency or dynamically loaded.
89737 2011-08-11  Ulrich Drepper  <drepper@gmail.com>
89739         * intl/l10nflist.c: Allow architecture-specific pop function.
89740         * sysdeps/x86_64/l10nflist.c: New file.
89742         * intl/l10nflist.c (_nl_make_l10nflist): Use locale-independent
89743         classification.
89745 2011-08-10  Andreas Schwab  <schwab@redhat.com>
89747         * include/dirent.h: Add libc_hidden_proto for scandirat and
89748         scandirat64.  Don't declare __scandirat64.
89749         * dirent/scandirat.c: Add libc_hidden_def.
89750         * dirent/scandirat64.c (SCANDIRAT): Remove underscores.
89751         * sysdeps/unix/sysv/linux/i386/scandir64.c (SCANDIRAT): Likewise.
89753 2011-08-10  David S. Miller  <davem@davemloft.net>
89755         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Add missing comma in
89756         enum.
89757         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
89758         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
89759         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
89761 2011-08-09  Ulrich Drepper  <drepper@gmail.com>
89763         * Versions.def [libc]: Add GLIBC_2.15.
89764         * dirent/Makefile (routines): Add scandirat and scandirat64.
89765         * dirent/Versions [libc]: Export scandirat and scandirat64 for
89766         GLIBC_2.15.
89767         * dirent/dirent.h: Declare scandirat and scandirat64.
89768         * dirent/scandirat.c: New file.
89769         * dirent/scandirat64.c: New file.
89770         * sysdeps/wordsize-64/scandirat.c: New file.
89771         * sysdeps/wordsize-64/scandirat64.c: New file.
89772         * dirent/opendir.c: Define opendirat.
89773         * dirent/scandir.c: Move code to scandirat.c.  Implement scandir
89774         using scandirat.
89775         * dirent/scandir64.c: Adjust for scandir.c change.
89776         * include/dirent.h: Define scandir_cancel_struct.  Declare __opendirat,
89777         __scandirat64, and __scandir_cancel_handler.
89778         * sysdeps/unix/opendir.c: Rename __opendir to __opendirat.  Take
89779         additional parameter and use openat instead of open (outside of ld.so).
89780         Add new __opendir as wrapper around __opendirat.
89781         * sysdeps/unix/sysv/linux/i386/scandir64.c: Reimplement __old_scandir64
89782         here without requiring old scandirat implementation.
89784 2011-08-08  Ulrich Drepper  <drepper@gmail.com>
89786         * dirent/scandir.c (cancel_handler): Renamed to
89787         __scandir_cancel_handler.  Do not define if SKIP_SCANDIR_CANCEL is
89788         defined.  Adjust users.
89789         * dirent/scandir64.c: Define SKIP_SCANDIR_CANCEL.
89790         * sysdeps/unix/sysv/linux/i386/scandir64.c: Likewise.
89792 2011-08-04  Ulrich Drepper  <drepper@gmail.com>
89794         * string/test-string.h (IMPL): Use __STRING to expand name and then
89795         stringify it.
89797         * string/test-strcmp.c: Unify most of the WIDE and !WIDE code.  Lots
89798         of cleanups.
89800 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89802         * string/Makefile: Update.
89803         (strop-tests): Append strncat.
89804         * string/test-wcscmp.c: New file.
89805         New comprehensive test for wcscmp.
89806         * string/test-strcmp.c: Update.
89807         (WIDE): New define.
89809 2011-07-22  Andreas Schwab  <schwab@redhat.com>
89811         * resolv/res_init.c (__res_vinit): Properly tokenize nameserver
89812         line.
89814 2011-07-26  Andreas Schwab  <schwab@redhat.com>
89816         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
89817         encoding to ACE if AI_IDN.
89819 2011-08-01  Jakub Jelinek  <jakub@redhat.com>
89821         * sysdeps/ieee754/dbl-64/k_rem_pio2.c (__kernel_rem_pio2): Fix up fq
89822         to y conversion for prec 3 and __FLT_EVAL_METHOD__ != 0.
89824 2011-07-22  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
89826         * sysdeps/i386/i686/multiarch/strcat-sse2.S: Update.
89827         Fix overflow bug in strncat.
89828         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Likewise.
89830         * string/test-strncat.c: Update.
89831         Add new tests for checking overflow bugs.
89833 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
89835         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
89836         strcat-ssse3 strcat-sse2 strncat-ssse3 strncat-sse2 strncat-c.
89837         * sysdeps/i386/i686/multiarch/strcat.S: New file.
89838         * sysdeps/i386/i686/multiarch/strcat-c.c: New file.
89839         * sysdeps/i386/i686/multiarch/strcat-sse2.S: New file.
89840         * sysdeps/i386/i686/multiarch/strcat-ssse3.S: New file.
89841         * sysdeps/i386/i686/multiarch/strncat.S: New file.
89842         * sysdeps/i386/i686/multiarch/strncat-sse2.S: New file.
89843         * sysdeps/i386/i686/multiarch/strncat-ssse3.S: New file.
89845         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S
89846         (USE_AS_STRCAT): Define.
89847         Add strcat and strncat support.
89848         * sysdeps/i386/i686/multiarch/strlen-sse2.S: Likewise.
89850 2011-07-25  Andreas Schwab  <schwab@redhat.com>
89852         * sysdeps/i386/i486/bits/string.h (__strncat_g): Correctly handle
89853         __n bigger than INT_MAX+1.
89854         (__strncmp_g): Likewise.
89856 2011-07-23  Ulrich Drepper  <drepper@gmail.com>
89858         * posix/unistd.h: Define SEEK_DATA and SEEK_HOLE.
89859         * libio/stido.h: Likewise.
89861         * sysdeps/unix/sysv/linux/bits/socket.h (PF_NFC): Define.
89862         (AF_NFC): Define.
89863         * sysdeps/unix/sysv/linux/sparc/bits/socket.h (PF_NFC): Define.
89864         (AF_NFC): Define.
89866         * sysdeps/unix/sysv/linux/sys/ptrace.h: Add new constants.
89867         * sysdeps/unix/sysv/linux/sparc/sys/ptrace.h: Likewise.
89868         * sysdeps/unix/sysv/linux/powerpc/sys/ptrace.h: Likewise.
89869         * sysdeps/unix/sysv/linux/ia64/sys/ptrace.h: Likewise.
89870         * sysdeps/unix/sysv/linux/s390/sys/ptrace.h: Likewise.
89872         [BZ #13021]
89873         * scripts/test-installation.pl: Don't expect libnss_test1 to be
89874         installed.
89876         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix one more
89877         typo.
89878         (_dl_x86_64_save_sse): Likewise.
89880 2011-07-22  Ulrich Drepper  <drepper@gmail.com>
89882         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix test for
89883         OSXSAVE.
89884         (_dl_x86_64_save_sse): Likewise.
89886         * crypt/crypt_util.c (__init_des_r): Optimize memset calls.
89888         * crypt/crypt_util.c (__init_des_r): Add read barrier as well.
89890 2011-07-21  Andreas Schwab  <schwab@redhat.com>
89892         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): Fix last
89893         change.
89894         (_dl_x86_64_save_sse): Use correct AVX check.
89896 2011-07-21  Liubov Dmitrieva  <liubov.dmitrieva@gmail.com>
89898         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Fix overfow
89899         bug in strncpy/strncat.
89900         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: Likewise.
89902 2011-07-21  Ulrich Drepper  <drepper@gmail.com>
89904         * string/tester.c (test_strcat): Add tests for different alignments
89905         of source and destination.
89906         (test_strncat): Likewise.
89908 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
89910         [BZ #12852]
89911         * posix/glob.c (glob): Check passed in values before using them in
89912         expressions to avoid some overflows.
89913         (glob_in_dir): Likewise.
89915         [BZ #13007]
89916         * sysdeps/x86_64/dl-trampoline.S (_dl_runtime_profile): More complete
89917         check for AVX enablement so that we don't crash with old kernels and
89918         new hardware.
89919         * elf/tst-audit4.c: Add same checks here.
89920         * elf/tst-audit6.c: Likewise.
89922         * sysdeps/x86_64/bits/link.h (La_x86_64_ymm): Force 16-byte alignment.
89924 2011-07-09  Andreas Schwab  <schwab@linux-m68k.org>
89926         * sysdeps/unix/sysv/linux/pathconf.c: Include <string.h>.
89928 2011-07-20  Ulrich Drepper  <drepper@gmail.com>
89930         * po/cs.po: Update from translation team.
89931         * po/bg.po: Likewise.
89933 2011-07-12  Marek Polacek  <mpolacek@redhat.com>
89935         * misc/sys/cdefs.h: Add support for const attribute.
89936         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add __attribute_const__
89937         to gnu_dev_{major,minor,makedev} functions.
89939 2011-07-20  Marek Polacek  <mpolacek@redhat.com>
89941         * intl/dcigettext.c (get_output_charset): Add missing bracket.
89943 2011-07-20  Andreas Schwab  <schwab@redhat.com>
89945         * resolv/res_query.c (__libc_res_nquerydomain): Use size_t for
89946         strlen results.
89948 2011-07-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
89950         * sysdeps/unix/sysv/linux/s390/s390-32/sysdep.h
89951         (INTERNAL_VSYSCALL_NCS): Use r10 for backing up the return address
89952         register in order to avoid conflicts with the soft frame pointer
89953         being held in r11 when necessary.
89954         * sysdeps/unix/sysv/linux/s390/s390-64/sysdep.h
89955         (INTERNAL_VSYSCALL_NCS): Likewise.
89957 2011-07-14  Marek Polacek  <mpolacek@redhat.com>
89959         * elf/dl-fini.c (_dl_sort_fini): Remove unused link_map *l argument,
89960         * elf/dl-fini.c (_dl_fini): Adjust caller.
89961         * elf/dl-close.c (_dl_close_worker): Likewise.
89962         * sysdeps/generic/ldsodefs.h: Adjust declaration.
89964 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
89966         * elf/cache.c (load_aux_cache): Remove unnecessary condition of
89967         "aux_cache->nlibs < 0".
89969         * nscd/nscd_conf.c (nscd_parse_file): Remove unnecessary condition
89970         in the reload-count case.
89972 2011-07-15  Liubov Dmitrieva  <liubov.dmitrieva@intel.com>
89974         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
89975         strcat-ssse3 strcat-sse2-unaligned strncat-ssse3
89976         strncat-sse2-unaligned strncat-c strlen-sse2-pminub
89977         * sysdeps/x86_64/multiarch/strcat-sse2-unaligned.S: New file.
89978         * sysdeps/x86_64/multiarch/strcat.S: New file.
89979         * sysdeps/x86_64/multiarch/strncat.S: New file.
89980         * sysdeps/x86_64/multiarch/strncat-c.c: New file.
89981         * sysdeps/x86_64/multiarch/strcat-ssse3.S: New file.
89982         * sysdeps/x86_64/multiarch/strncat-sse2-unaligned.S: New file.
89983         * sysdeps/x86_64/multiarch/strncat-ssse3.S: New file.
89984         * sysdeps/x86_64/multiarch/strcpy-ssse3.S
89985         (USE_AS_STRCAT): Define.
89986         Add strcat and strncat support.
89987         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Likewise.
89988         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: Likewise.
89989         * sysdeps/x86_64/multiarch/strlen-sse2-pminub.S: New file.
89990         * string/strncat.c: Update.
89991         (USE_AS_STRNCAT): Define.
89992         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
89993         Turn on bit_Prefer_PMINUB_for_stringop for Intel Core i3, i5
89994         and i7.
89995         * sysdeps/x86_64/multiarch/init-arch.h
89996         (bit_Prefer_PMINUB_for_stringop): New.
89997         (index_Prefer_PMINUB_for_stringop): Likewise.
89998         * sysdeps/x86_64/multiarch/strlen.S (strlen): Check
89999         bit_Prefer_PMINUB_for_stringop.
90001 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
90003         * crypt/sha512.h (struct sha512_ctx): Move buffer into union and add
90004         buffer64.
90005         * crypt/sha512.c (__sha512_finish_ctx): Use buffer64 for writes instead
90006         of casting of buffer.
90007         * crypt/sha256.h (struct sha256_ctx): Move buffer into union and add
90008         buffer32 and buffer64.
90009         * crypt/sha256.c (__sha256_finish_ctx): Use buffer32 or buffer64 for
90010         writes instead of casting of buffer.
90011         * crypt/md5.h (struct md5_ctx): Move buffer into union and add
90012         buffer32.
90013         * crypt/md5.c (md5_finish_ctx): Use buffer32 for writes instead of
90014         casting of buffer.
90016 2011-07-19  Andreas Schwab  <schwab@redhat.com>
90018         * string/strxfrm_l.c (STRXFRM): Fix alloca accounting.
90020 2011-07-19  Ulrich Drepper  <drepper@gmail.com>
90022         * nscd/nscd.c (termination_handler): Don't do anything for a database
90023         if it has not yet been initialized.
90025 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
90027         * sysdeps/unix/sysv/linux/bits/sched.h (__CPU_EQUAL_S): Fix a typo.
90029 2011-07-15  Marek Polacek  <mpolacek@redhat.com>
90031         * bits/sched.h (__CPU_EQUAL_S): Fix a typo.
90033 2011-07-18  Ulrich Drepper  <drepper@gmail.com>
90035         * po/nl.po: Update from translation team.
90036         * po/sv.po: Likewise.
90038 2011-07-16  Roland McGrath  <roland@hack.frob.com>
90040         * sysdeps/i386/Makefile: Never use -mpreferred-stack-boundary=2,
90041         now disallowed by GCC.
90043         * configure.in (use-default-link): Default to yes if a test -shared
90044         link meets our qualifications.
90045         * configure: Regenerated.
90047         * config.make.in (output-format): New variable.
90048         * configure.in: Check for ld --print-output-format support.
90049         * configure: Regenerated.
90050         * Makerules ($(common-objpfx)format.lds)
90051         [$(output-format) != unknown]: Just use $(output-format),
90052         instead of the linker-script munging.
90054 2011-07-14  Roland McGrath  <roland@hack.frob.com>
90056         * Makefile ($(common-objpfx)linkobj/libc.so): Use $(shlib-lds) instead
90057         of $(common-objpfx)shlib.lds.
90058         * elf/Makefile ($(objpfx)sotruss-lib.so): Likewise.
90060         * sysdeps/i386/i686/multiarch/strstr-c.c (libc_hidden_builtin_def):
90061         Conditionalize redefinition on [SHARED && DO_VERSIONING && !NO_HIDDEN].
90063         * configure.in (-z relro check): Adjust test code to add a large
90064         writable data section after it.
90065         * configure: Regenerated.
90067 2011-07-11  Roland McGrath  <roland@hack.frob.com>
90069         * configure.in (-z relro check): Fix test code to make the variable
90070         truly const.
90071         * configure: Regenerated.
90073 2011-07-11  Ulrich Drepper  <drepper@gmail.com>
90075         * nscd/nscd.h (struct traced_file): Define.
90076         (struct database_dyn): Remove inotify_descr, reset_res, and filename
90077         elements.  Add traced_files.
90078         (inotify_fd): Declare.
90079         (register_traced_file): Declare.
90080         * nscd/connections.c (dbs): Remove reset_res and filename initializers.
90081         (inotify_fd): Export.
90082         (resolv_conf_descr): Remove.
90083         (nscd_init): Move inotify descriptor creation to main.
90084         Don't register files for notification here.
90085         (register_traced_file): New function.
90086         (invalidate_cache): Don't use reset_res to determine whether to call
90087         res_init, go through the list of registered files.
90088         (main_loop_poll): The inotify descriptors are now stored in the
90089         structures for the traced files.
90090         (main_loop_epoll): Likewise.
90091         * nscd/nscd.c (main): Create inotify socket here.  Pass extra argument
90092         to __nss_disable_nscd.
90093         * nscd/cache.c (prune_cache): There is no single inotify descriptor
90094         for a database anymore.  Check the records for all the registered
90095         files instead.
90096         * nss/Makefile (libnss_files-routines): Add files-init.
90097         (libnss_db-routines): Add db-init.
90098         * nss/Versions [libnss_files] (GLIBC_PRIVATE): Add _nss_files_init.
90099         [libnss_db] (GLIBC_PRIVATE): Add _nss_db_init.
90100         * nss/nss_db/db-init.c: New file.
90101         * nss/nss_files/files-init.c: New file.
90102         * nss/nsswitch.c (nss_load_library): New function.  Broken out of
90103         __nss_lookup_function.
90104         (__nss_lookup_function): Call nss_load_library.
90105         (nss_load_all_libraries): New function.
90106         (__nss_disable_nscd): Take parameter with callback function for files
90107         to register.  Set is_nscd.  Load all the DSOs for the NSS modules
90108         used for the cached services.
90109         * nss/nsswitch.h (__nss_disable_nscd): Adjust prototype.
90110         * sysdeps/unix/sysv/linux/Makefile [subdir=nscd]: Pass the various -D
90111         options for features to all the files in nscd.
90113         * nss/nsswitch.c (nss_parse_file): Add missing fclose.
90115 2011-07-10  Roland McGrath  <roland@hack.frob.com>
90117         * csu/elf-init.c (__libc_csu_init): Comment typo.
90119 2011-07-09  Ulrich Drepper  <drepper@gmail.com>
90121         * po/pl.po: Update from translation team.
90122         * po/ja.po: Likewise.
90123         * po/ru.po: Likewise.
90124         * po/ko.po: Likewise.
90125         * po/fr.po: Likewise.
90127 2011-07-09  Roland McGrath  <roland@hack.frob.com>
90129         * configure.in (.ctors/.dtors header and trailer check):
90130         Use an empirical test on a built program.
90131         * configure: Regenerated.
90133         * configure.in (-z relro check): Use an empirical test on a built DSO.
90134         Detect, but do not require, on ia64.
90135         * configure: Regenerated.
90137         * configure.in (READELF): Find it with AC_CHECK_TOOL.
90138         Update tests that use readelf to use $READELF instead.
90139         * configure: Regenerated.
90141 2011-07-08  Ulrich Drepper  <drepper@gmail.com>
90143         * malloc/hooks.c (memalign_check): Avoid using checked_request2size
90144         if the result is not used.
90146 2011-07-05  Andreas Jaeger  <aj@suse.de>
90148         [BZ #9696]
90149         * stdlib/tst-strtod.c: Add testcase.
90151 2011-07-07  Ulrich Drepper  <drepper@gmail.com>
90153         * sysdeps/unix/sysv/linux/pathconf.c (distinguish_extX): New function.
90154         (__statfs_link_max): Use it to distinguish between ext2/3 and ext4.
90155         The latter has a higher limit.  Take additional parameter to pass to
90156         the new function.
90157         (__pathconf): Pass file to __statfs_link_max.
90158         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Pass fd to
90159         __statfs_link_max.
90160         * sysdeps/unix/sysv/linux/pathconf.h: Adjust prototype of
90161         __statfs_link_max.
90163         [BZ #12868]
90164         * sysdeps/unix/sysv/linux/linux_fsinfo.h: Define Lustre constants.
90165         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
90166         Handle Lustre.
90167         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_link_max): Likewise.
90168         (__statfs_filesize_max): Likewise.
90169         Patch mostly by Andreas Dilger <adilger@whamcloud.com>.
90171 2011-07-05  Andreas Jaeger  <aj@suse.de>
90173         * resolv/res_comp.c (dn_skipname): Remove unused variable.
90175 2011-07-06  Marek Polacek  <mpolacek@redhat.com>
90177         * nis/nss_nisplus/nisplus-spwd.c (_nss_nisplus_setspent): Honour the
90178         `status' variable.
90179         * nis/nss_nisplus/nisplus-ethers.c (_nss_nisplus_setetherent):
90180         Likewise.
90182 2011-07-04  H.J. Lu  <hongjiu.lu@intel.com>
90184         * Makefile (strop-tests): Add strncat.
90185         * string/test-strncat.c: New file.
90187 2011-06-30  Marek Polacek  <mpolacek@redhat.com>
90189         * iconvdata/johab.c: Don't inline `johab_sym_hanja_to_ucs' function.
90191 2011-06-21  Andreas Jaeger  <aj@suse.de>
90193         * sysdeps/s390/s390-64/Makefile ($(inst_gconvdir)/gconv-modules):
90194         Copy rule from iconvdata/Makefile.
90196 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
90198         [BZ #12922]
90199         * posix/getopt.c (_getopt_internal_r): When "W;" is in short options
90200         but no long options are defined, just return 'W'.
90202 2011-06-22  Marek Polacek  <mpolacek@redhat.com>
90204         [BZ #9696]
90205         * stdlib/strtod_l.c (round_and_return): Set ERANGE instead of EDOM.
90207 2011-07-06  Ulrich Drepper  <drepper@gmail.com>
90209         * inet/getnetgrent_r.c (internal_getnetgrent_r): Fix check for known
90210         netgroups to read.
90211         (innetgr): Likewise.
90213 2011-07-05  Roland McGrath  <roland@hack.frob.com>
90215         * config.make.in (install_root): Default to $(DESTDIR).
90217 2011-07-05  Ulrich Drepper  <drepper@gmail.com>
90219         * nscd/nscd_getserv_r.c (nscd_getserv_r): Add cast to avoid warning.
90221 2011-07-02  Roland McGrath  <roland@hack.frob.com>
90223         * Makerules ($(common-objpfx)format.lds): Fail if result is empty.
90225         * Makefile ($(common-objpfx)testrun.sh): Generate to work relative to
90226         containing directory rather than embedding absolute directory names.
90228         * scripts/check-local-headers.sh: Rewritten using awk.
90229         Match by word, not by line.  Print error messages for matches.
90230         * Makefile ($(objpfx)check-local-headers.out): Pass AWK in to it.
90232         * Makerules [shlib-lds-flags empty]:
90233         ($(common-objpfx)libc_pic.opts): New target.
90234         ($(common-objpfx)libc_pic.os.clean): New target.
90235         ($(common-objpfx)libc.so): Link it instead of libc_pic.os.
90237         * config.make.in (OBJCOPY): New variable.
90238         * aclocal.m4 (LIBC_PROG_BINUTILS): Substitute OBJCOPY too.
90239         * configure: Regenerated.
90241         * config.make.in (use-default-link): New variable.
90242         * configure.in (use_default_link): Grok --with-default-link to set it.
90243         * configure: Regenerated.
90244         * Makerules [$(elf) = yes] [$(use-default-link) = yes]:
90245         (shlib-lds, shlib-lds-flags): Define to empty.
90247         * Makerules (shlib-lds): New variable.
90248         (shlib-lds-flags): New variable.
90249         (build-shlib, build-moduile, build-module-asneeded): Use it.
90250         ($(common-objpfx)libc.so): Use $(shlib-lds).
90251         ($(extra-modules-build:%=$(objpfx)%.so)): Likewise.
90252         * iconvdata/extra-module.mk ($(objpfx)$(mod).so): Likewise.
90254         * elf/dynamic-link.h (elf_get_dynamic_info): Make asserts accept
90255         DT_FLAGS/DT_FLAGS_1 with zero flags.
90257         * elf/Makefile ($(objpfx)ld.so): Use -defsym=_begin=0 instead of
90258         linker script munging.
90260 2011-07-02  Ulrich Drepper  <drepper@gmail.com>
90262         * crypt/sha512.h (struct sha512_ctx): Add union to access total also
90263         as 128-bit value.
90264         * crypt/sha512.c (sha512_process_block): Perform total addition using
90265         128-bit if possible.
90266         (__sha512_finish_ctx): Likewise.
90267         * crypt/sha256.h (struct sha256_ctx): Add union to access total also
90268         as 64-bit value.
90269         * crypt/sha256.c (SWAP64): Define.
90270         (sha256_process_block): Perform total addition using 64-bit if
90271         possible.
90272         (__sha256_finish_ctx): Likewise.
90274 2011-07-01  Ulrich Drepper  <drepper@gmail.com>
90276         * nscd/pwdcache.c (cache_addpw): Cleanup.  Add branch prediction.
90277         * nscd/initgrcache.c (addinitgroupsX): Likewise.
90278         * nscd/hstcache.c (cache_addhst): Likewise.
90279         * nscd/grpcache.c (cache_addgr): Likewise.
90280         * nscd/aicache.c (addhstaiX): Likewise.
90281         * nscd/servicescache.c (cache_addserv): Handle zero negtimeout.
90283 2011-07-01  Thorsten Kukuk  <kukuk@suse.de>
90285         * nscd/pwdcache.c (cache_addpw): Handle zero negtimeout.
90286         * nscd/initgrcache.c (addinitgroupsX): Likewise.
90287         * nscd/hstcache.c (cache_addhst): Likewise.
90288         * nscd/grpcache.c (cache_addgr): Likewise.
90289         * nscd/aicache.c (addhstaiX): Likewise.
90291 2011-07-01  Andreas Schwab  <schwab@redhat.com>
90293         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Query NIS
90294         domain only when needed.
90296 2011-06-30  Andreas Schwab  <schwab@redhat.com>
90298         * sysdeps/posix/getaddrinfo.c (gaih_inet): Make sure RES_USE_INET6
90299         is always restored.
90301 2011-06-29  Ulrich Drepper  <drepper@gmail.com>
90303         * nscd/grpcache.c (cache_addgr): Don't write notfound reply if we
90304         are re-adding the entry.
90305         * nscd/servicescache.c (cache_addserv): Likewise.
90307 2011-06-30  Aurelien Jarno  <aurelien@aurel32.net>
90309         * sysdeps/generic/dl-irel.h: fix protection against multiple
90310         inclusions.
90311         * sysdeps/generic/dl-irel.h (elf_ifunc_invoke): New.
90313 2011-06-28  Ulrich Drepper  <drepper@gmail.com>
90315         [BZ #12935]
90316         * malloc/memusage.sh: Fix quoting in message.
90317         * debug/xtrace.sh: Likewise.
90319         * configure.in: Remove support for --experimental-malloc option, make
90320         it the default.
90321         * config.make.in: Likewise.
90322         * malloc/Makefile: Likewise.
90324 2011-06-27  Andreas Schwab  <schwab@redhat.com>
90326         * iconvdata/gb18030.c (BODY for TO_LOOP): Fix encoding of non-BMP
90327         two-byte characters.
90329 2011-06-27  Roland McGrath  <roland@hack.frob.com>
90331         * configure.in (NO_CTORS_DTORS_SECTIONS): Give this check its own
90332         AC_CACHE_CHECK invocation.
90333         * configure: Regenerated.
90335         * elf/soinit.c (__CTOR_LIST__, __DTOR_LIST__): Add used attribute.
90337 2011-06-27  Ulrich Drepper  <drepper@gmail.com>
90339         [BZ #12350]
90340         * nscd/aicache.c (addhstaiX):  Restore only RES_USE_INET6
90341         bit from old_res_options.
90343         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-servicescache.c): Define.
90345         * inet/getnetgrent_r.c (innetgr): Minimal cleanup, use correct return
90346         value type for setfct.
90348 2011-06-23  H.J. Lu  <hongjiu.lu@intel.com>
90350         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
90351         __gettimeofday instead of gettimeofday.
90353 2011-06-26  Ulrich Drepper  <drepper@gmail.com>
90355         * elf/Makefile (all-built-dso): No need to check linkobj/libc.so.
90357 2011-06-24  H.J. Lu  <hongjiu.lu@intel.com>
90359         * sysdeps/i386/i686/multiarch/strcpy-sse2.S (RETURN): Fix a typo.
90361         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: Correct unwind
90362         info.
90364 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
90366         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
90367         strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
90368         strcpy-sse2-unaligned strncpy-sse2-unaligned
90369         stpcpy-sse2-unaligned stpncpy-sse2-unaligned.
90370         * sysdeps/x86_64/multiarch/stpcpy-sse2-unaligned.S: New file.
90371         * sysdeps/x86_64/multiarch/stpcpy-ssse3.S: New file.
90372         * sysdeps/x86_64/multiarch/stpncpy-sse2-unaligned.S: New file.
90373         * sysdeps/x86_64/multiarch/stpncpy-ssse3.S: New file.
90374         * sysdeps/x86_64/multiarch/strcpy-sse2-unaligned.S: New file.
90375         * sysdeps/x86_64/multiarch/strcpy-ssse3.S: New file.
90376         * sysdeps/x86_64/multiarch/strncpy-sse2-unaligned.S: New file.
90377         * sysdeps/x86_64/multiarch/strncpy-ssse3.S: New file.
90378         * sysdeps/x86_64/multiarch/strcpy.S: Remove strcpy with SSSE3.
90379         (STRCPY): Support SSE2 and SSSE3 versions.
90381 2011-06-24  Ulrich Drepper  <drepper@gmail.com>
90383         [BZ #12874]
90384         * sysdeps/unix/sysv/linux/Makefile (CFLAGS-tst-writev.c): Define.
90385         * sysdeps/wordsize-64/tst-writev.c: Work around problem with 2.6.38+
90386         kernels which artificially limit size of requests.
90388 2011-06-22  H.J. Lu  <hongjiu.lu@intel.com>
90390         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
90391         strncpy-c strcpy-ssse3 strncpy-ssse3 stpcpy-ssse3 stpncpy-ssse3
90392         strcpy-sse2 strncpy-sse2 stpcpy-sse2 stpncpy-sse2.
90393         * sysdeps/i386/i686/multiarch/stpcpy-sse2.S: New file.
90394         * sysdeps/i386/i686/multiarch/stpcpy-ssse3.S: New file.
90395         * sysdeps/i386/i686/multiarch/stpncpy-sse2.S: New file.
90396         * sysdeps/i386/i686/multiarch/stpncpy-ssse3.S: New file.
90397         * sysdeps/i386/i686/multiarch/stpncpy.S : New file.
90398         * sysdeps/i386/i686/multiarch/strcpy-sse2.S : New file.
90399         * sysdeps/i386/i686/multiarch/strcpy-ssse3.S: New file.
90400         * sysdeps/i386/i686/multiarch/strcpy.S: New file.
90401         * sysdeps/i386/i686/multiarch/strncpy-c.c: New file.
90402         * sysdeps/i386/i686/multiarch/strncpy-sse2.S: New file.
90403         * sysdeps/i386/i686/multiarch/strncpy-ssse3.S: New file.
90404         * sysdeps/i386/i686/multiarch/strncpy.S: New file.
90405         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
90406         Enable unaligned load optimization for Intel Core i3, i5 and i7
90407         processors.
90408         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Unaligned_Load):
90409         Define.
90410         (index_Fast_Unaligned_Load): Define.
90411         (HAS_FAST_UNALIGNED_LOAD): Define.
90413 2011-06-23  Marek Polacek  <mpolacek@redhat.com>
90415         * nss/nss_db/db-open.c: Include <unistd.h> for read declaration.
90417 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
90419         [BZ #12907]
90420         * sysdeps/posix/getaddrinfo.c (getaddrinfo): Avoid calling __check_pf
90421         until it is clear that the information is realy needed.
90422         Patch mostly by David Hanisch <david.hanisch@nsn.com>.
90424 2011-06-22  Andreas Schwab  <schwab@redhat.com>
90426         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix last change.
90428 2011-06-22  Ulrich Drepper  <drepper@gmail.com>
90430         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Use
90431         /sys/devices/system/cpu/online if it is usable.
90433         * sysdeps/unix/sysv/linux/getsysstats.c (__get_nprocs): Rate limit
90434         reading the information from the /proc filesystem to once a second.
90436 2011-06-21  Andreas Jaeger  <aj@suse.de>
90438         * sysdeps/unix/sysv/linux/bits/sigcontext.h: Fix definition of
90439         NULL after inclusion of kernel headers.
90441 2011-06-21  Ulrich Drepper  <drepper@gmail.com>
90443         * nss/nss_db/db-XXX.c (nss_db_setENT): Only set entidx for successful
90444         calls to internal_setent.
90446         [BZ #12885]
90447         * sysdeps/posix/getaddrinfo.c (gaih_inet): When looking up only IPv6
90448         addresses using gethostbyname4_r ignore IPv4 addresses.
90450         * sysdeps/posix/getaddrinfo.c (gaih_inet): After the last change the
90451         branch using gethostbyname2 is only for AF_INET.  Optimize accordingly.
90453         * inet/getnetgrent_r.c: Use DL_CALL_FCT in several places.
90455 2011-06-20  David S. Miller  <davem@davemloft.net>
90457         * sysdeps/sparc/sparc32/dl-plt.h: Protect against multiple
90458         inclusions.
90459         * sysdeps/sparc/sparc64/dl-plt.h: Likewise.
90461         * sysdeps/i386/dl-irel.h (elf_ifunc_invoke): New.
90462         (elf_irel): Use it.
90463         * sysdeps/powerpc/powerpc32/dl-irel.h: Likewise.
90464         * sysdeps/powerpc/powerpc64/dl-irel.h: Likewise.
90465         * sysdeps/sparc/sparc32/dl-irel.h: Likewise.
90466         * sysdeps/sparc/sparc64/dl-irel.h: Likewise.
90467         * sysdeps/x86_64/dl-irel.h: Likewise.
90469         * elf/dl-runtime.c: Use elf_ifunc_invoke.
90470         * elf/dl-sym.c: Likewise.
90472 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
90474         * resolv/res_send.c (__libc_res_nsend): Fix typos in last patch.  We
90475         need to dereference resplen2.
90477 2011-06-14  Andreas Schwab  <schwab@redhat.com>
90479         * sysdeps/unix/sysv/linux/wordsize-64/dl-fxstatat64.c: New file.
90481 2011-06-15  Ulrich Drepper  <drepper@gmail.com>
90483         * Makeconfig: Define vardbdir and inst_vardbdir.
90484         * nss/Makefile: Add rules to install db-Makefile.
90486         * nss/nss_db/db-XXX.c: Cleanup.
90488         * nss/Makefile (libnss_db-dbs): Add db-initgroups.
90489         * nss/Versions [libnss_db]: Add _nss_db_initgroups_dyn for
90490         GLIBC_PRIVATE.
90491         * nss/db-Makefile (groups.db): Emit entries for initgroups lookups.
90492         * nss/makedb.c: Implement -g option to specify that value strings
90493         are generated and should not be added to table iterated over for
90494         get*ent calls.
90495         * nss/nss_db/db-initgroups.c: New file.
90497         * nss/getent.c: Add support for initgroups lookups through getgrouplist
90498         interface.
90500         * grp/initgroups.c (__nss_initgroups_database): Renamed and exported.
90501         (internal_getgrouplist): Adjust to name change.
90502         Update use_initgroups_entry if this is not the first call.
90503         * nss/databases.def: Add initgroups entry.
90505         * nss/makedb.c (compute_tables): Check result of multiple hash table
90506         sizes to minimize maximum chain length.
90508 2011-06-14  Ulrich Drepper  <drepper@gmail.com>
90510         * Versions.def: Add entry for libnss_db.
90511         * shlib-versions: Likewise.
90512         * nss/Makefile: Add rules to build libnss_db.
90513         * nss/Versions: Add libnss_db information.  Organize libnss_files
90514         entries better.
90515         * nss/db-Makefile: Add gshadow support.  Change rules for the new
90516         makedb progra.  Some minor improvements to generate smaller files.
90517         * nss/nss_db/nss_db.h: Move NSS database header data structures to
90518         here from...
90519         * nss/makedb.c: ...here.
90520         Improve database format to be smaller and require less memory at
90521         runtime.
90522         * nss/nss_db/db-XXX.x: Adjust for new database format.  Don't use
90523         db anymore.
90524         * nss/nss_db/db-netgrp.c: Likewise.
90525         * nss/nss_db/db-open.c: Likewise.
90526         * nss/nss_files/flies-XXX.x: Adjust comments.
90527         * nss/nss_files/files-ethers.c: Adjust for new DB_LOOKUP definition.
90528         * nss/nss_files/files-grp.c: Likewise.
90529         * nss/nss_files/files-hosts.c: Likewise.
90530         * nss/nss_files/files-network.c: Likewise.
90531         * nss/nss_files/files-proto.c: Likewise.
90532         * nss/nss_files/files-pwd.c: Likewise.
90533         * nss/nss_files/files-rpc.c: Likewise.
90534         * nss/nss_files/files-service.c: Likewise.
90535         * nss/nss_files/files-sgrp.c: Likewise.
90536         * nss/nss_files/files-spwd.c: Likewise.
90537         * nss/nss_db/db-alias.c: Removed.
90538         * nss/nss_db/dummy-db.h: Removed.
90540 2011-06-02  Ulrich Drepper  <drepper@gmail.com>
90542         * nss/makedb.c: Rewritten to not use database library.
90543         * nss/Makefile: Update to build new makedb program.
90545 2011-06-14  Andreas Jaeger  <aj@suse.de>
90547         * sysdeps/unix/sysv/linux/check_native.c: Include <string.h> for
90548         memset declaration.
90550 2011-06-10  Andreas Schwab  <schwab@redhat.com>
90552         * sysdeps/posix/getaddrinfo.c (gaih_inet): Fix logic allocating
90553         tmpbuf.
90555 2011-06-10  Roland McGrath  <roland@hack.frob.com>
90557         * Makerules (shlib.lds): Fail if the linker script comes out empty.
90558         * elf/Makefile ($(objpfx)ld.so): Likewise.
90560         * Makefile ($(common-objpfx)linkobj/libc.so): Break long lines with \.
90561         Don't list ld.so twice in dependencies.
90563         * posix/bug-regex31.c: Include <stdlib.h>.
90565         * nscd/hstcache.c (cache_addhst): Remove unused variable.
90567         * nis/nss_compat/compat-spwd.c
90568         (getspent_next_nss_netgr): Remove unused variable.
90569         * nis/nss_compat/compat-pwd.c (getpwent_next_nss_netgr): Likewise.
90571         * nis/nis_print_group_entry.c (nis_print_group_entry): Fix "Implicit
90572         nonmembers" output to use the right array.
90574         * resolv/nss_dns/dns-network.c (getanswer_r): Remove unused variable.
90576         * elf/dl-open.c (_dl_open): Quash warnings when DL_NNS==1.
90578         * locale/programs/ld-ctype.c (ctype_read): Remove unused variable.
90579         * locale/programs/ld-collate.c (add_to_tablewc): Likewise.
90580         * catgets/gencat.c (read_input_file): Likewise.
90581         * locale/programs/locarchive.c (enlarge_archive): Likewise.
90583         * sunrpc/clnt_udp.c (__libc_clntudp_bufcreate): Move DONTBLOCK
90584         variable definition inside #if's controlling its use.
90586         * inet/getnetgrent_r.c (innetgr): Remove unused variable.
90588         * resolv/res_hconf.c (_res_hconf_reorder_addrs): Fix errno restoration.
90590         * misc/syslog.c (__vsyslog_chk): Remove unused variable.
90592         * io/fts.c (fts_build): Use if (0 && ...) rather than #if 0 for
90593         unreachable code.
90595         * stdio-common/printf_fp.c (___printf_fp): Remove unused variable.
90597         * configure.in (nss-crypt check): Use AC_LANG_PROGRAM.
90598         * configure: Regenerated.
90600         * Makerules: Revert last change.
90601         * elf/Makefile: Likewise.
90603 2011-06-09  Roland McGrath  <roland@hack.frob.com>
90605         * Makerules ($(common-objpfx)libc_pic.os): Use -Wl, before -r.
90606         * elf/Makefile ($(objpfx)librtld.os): Likewise.
90607         (reloc-link): Likewise.
90609 2011-06-09  Ulrich Drepper  <drepper@gmail.com>
90611         * elf/Makefile: Add rules to build pldd.
90612         * elf/pldd.c: New file.
90613         * elf/pldd-xx.c: New file.
90615 2011-06-07  Ulrich Drepper  <drepper@gmail.com>
90617         * version.h: Update for 2.15 development version.
90619 2011-06-07  David S. Miller  <davem@davemloft.net>
90621         * sysdeps/sparc/sparc32/dl-irel.h (elf_irela): Pass dl_hwcap to
90622         ifuncs.
90623         * sysdeps/sparc/sparc32/dl-machine.h (elf_machine_rela,
90624         elf_machine_lazy_rel): Likewise.
90625         * sysdeps/sparc/sparc64/dl-irel.h (elf_irela): Likewise.
90626         * sysdeps/sparc/sparc64/dl-machine.h (elf_machine_rela,
90627         elf_machine_lazy_rel): Likewise.
90628         * sysdeps/sparc/sparc64/multiarch/memcpy.S (memcpy): Fetch
90629         dl_hwcap via passed in argument.
90630         * sysdeps/sparc/sparc64/multiarch/memset.S (memset, bzero):
90631         Likewise.
90633 2011-06-06  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
90635         * stdlib/longlong.h: Update from GCC.  Fix smul_ppmm for S/390.
90637 2011-06-06  Roland McGrath  <roland@hack.frob.com>
90639         [BZ #12849]
90640         * manual/fdl-1.1.texi: New file, verbatim from:
90641         http://www.gnu.org/licenses/old-licenses/fdl-1.1.texi
90642         * manual/lgpl-2.1.texi: New file, verbatim from:
90643         http://www.gnu.org/licenses/old-licenses/lgpl-2.1.texi
90644         * manual/Makefile (licenses): New variable, list those new file names.
90645         (texis): Use it.
90646         (chapters.% top-menu.%): Include $(licenses) with $(appendices).
90648         * manual/fdl.texi: File removed.
90649         * manual/lesser.texi: File removed.
90650         * manual/libc.texinfo (Copying, Documentation License):
90651         Use new @include file names, put @appendix directive before @include.
90653 2011-06-04  Jakub Jelinek  <jakub@redhat.com>
90655         [BZ #12841]
90656         * rt/bits/mqueue2.h (__mq_open_2): Add __THROW.
90657         (__mq_open_alias): Use __REDIRECT_NTH instead of __REDIRECT.
90658         (mq_open): Add __NTH.
90660 2011-06-02  H.J. Lu  <hongjiu.lu@intel.com>
90662         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
90663         Assume Intel Core i3/i5/i7 processor if AVX is available.
90665 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
90667         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard): Fix
90668         typo.
90670 2011-05-31  Andreas Schwab  <schwab@redhat.com>
90672         * nscd/nscd_getserv_r.c (nscd_getserv_r): Don't free non-malloced
90673         memory.  Use alloca_account.  Fix memory leak when retrying.
90675 2011-05-31  Ulrich Drepper  <drepper@gmail.com>
90677         * version.h (RELEASE): Bump for 2.14 release.
90678         * include/features.h (__GLIBC_MINOR__): Bump to 14.
90680         * config.make.in (RANLIB): Remove entry.
90682 2011-05-30  Ulrich Drepper  <drepper@gmail.com>
90684         * po/Makefile (po-sed-cmd): Add ksh to extensions.
90685         (libc.pot): Work around missing support for .ksh extension in xgettext.
90687         [BZ #12684]
90688         * resolv/res_send.c (__libc_res_nsend): Only go to the next name server
90689         if both request failed.
90690         (send_dg): In case of server errors clear resplen or *resplen2.
90692         [BZ #12454]
90693         * elf/dl-deps.c (_dl_map_object_deps): Run initializer sorting only
90694         when there are multiple maps.
90695         * elf/dl-fini.c (_dl_sort_fini): Check for list of one.
90696         (_dl_fini): Remove test here.
90698         * elf/rtld.c (dl_main): Don't allow the loader to load itself.
90700 2011-05-29  Ulrich Drepper  <drepper@gmail.com>
90702         [BZ #12350]
90703         * sysdeps/posix/getaddrinfo.c (gethosts): Restore only RES_USE_IENT6
90704         bit from old_res_options.
90705         (gaih_inet): Likewise.
90707         [BZ #11099]
90708         * shadow/sgetspent_r.c (LINE_PARSER): Interpret numeric field values
90709         as signed.
90711         * resolv/res_init.c (res_setoptions): Make the code more compact.
90713         [BZ #11558]
90714         * resolv/res_init.c (res_setoptions): Recognize use-vc option and
90715         set RES_USEVC.
90717         [BZ #11634]
90718         * elf/Makefile (tests): Don't add tst-audit[67] without working -mavx.
90720         * malloc/malloc.h: Mark malloc hook variables as deprecated.
90722         [BZ #11781]
90723         * malloc/malloc.h: Declare malloc hook variables as volatile.
90725         * locale/programs/locarchive.c (add_locale_to_archive): Fix typo
90726         in last patch.
90728         [BZ #11799]
90729         * sysdeps/unix/sysv/linux/bits/siginfo.h (SI_USER): Don't mention
90730         raise in the comment.
90731         * sysdeps/unix/sysv/linux/s390/bits/siginfo.h: Likewise.
90732         * sysdeps/unix/sysv/linux/sparc/bits/siginfo.h: Likewise.
90733         * sysdeps/unix/sysv/linux/ia64/bits/siginfo.h: Likewise.
90735 2011-05-28  Ulrich Drepper  <drepper@gmail.com>
90737         [BZ #12811]
90738         * posix/regex_internal.c (build_wcs_buffer): Don't signal we have to
90739         grow the buffers more if it already has to be sufficient.
90740         (build_wcs_upper_buffer): Likewise.
90741         * posix/regexec.c (check_matching): Likewise.
90742         (clean_state_log_if_needed): Likewise.
90743         (extend_buffers): Don't enlarge buffers beyond size of the input
90744         buffer.
90745         Patches mostly by Emil Wojak <emil@wojak.eu>.
90746         * posix/bug-regex32.c: New file.
90747         * posix/Makefile (tests): Add bug-regex32.
90749         * locale/findlocale.c (_nl_find_locale): Return right away if
90750         _nl_explode_name failed.
90751         * locale/programs/locarchive.c (add_locale_to_archive): Likewise.
90753         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_sendmmsg): Define.
90755         * debug/xtrace.sh: Unify messages.
90756         * malloc/memusage.sh: Likewise.
90758         [BZ #12813]
90759         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_time): Retrieve
90760         time symbol from vDSO.  Substitute with vsyscall if not available.
90761         * sysdeps/unix/sysv/linux/x86_64/time.S [SHARED]: Use
90762         __vdso_time.
90764         * sysdeps/unix/sysv/linux/internal_sendmmsg.S: New file.
90765         * sysdeps/unix/sysv/linux/sendmmsg.c: New file.
90766         * sysdeps/unix/sysv/linux/Makefile [subdir=socket] (sysdep_routines):
90767         Add sendmmsg and internal_sendmmsg.
90768         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add sendmmsg.
90769         * sysdeps/unix/sysv/linux/bits/socket.h: Declare sendmmsg.
90770         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_SENDMMSG.
90772         * sysdeps/unix/sysv/linux/syscalls.list: Add setns entry.
90773         * sysdeps/unix/sysv/linux/bits/sched.h: Declare setns.
90774         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14]: Add setns.
90776 2011-05-27  Ulrich Drepper  <drepper@gmail.com>
90778         [BZ #12813]
90779         * sysdeps/unix/sysv/linux/x86_64/init-first.c (__vdso_getcpu):
90780         Retrieve getcpu symbol from vDSO.  Substitute with vsyscall if not
90781         available.
90782         * sysdeps/unix/sysv/linux/x86_64/sched_getcpu.S [SHARED]: Use
90783         __vdso_getcpu.
90785         [BZ #12814]
90786         * iconvdata/Makefile (tests): Add bug-iconv9.
90787         * iconvdata/bug-iconv9.c: New file.
90789 2011-05-27  Andreas Schwab  <schwab@redhat.com>
90791         [BZ #12814]
90792         * iconvdata/iso-2022-jp.c (BODY): Fix invalid variable shadowing.
90794 2011-05-25  Jakub Jelinek  <jakub@redhat.com>
90796         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
90797         (struct user_regs_struct): Change intcs field back to cs.
90799 2011-05-25  Ulrich Drepper  <drepper@gmail.com>
90801         * po/ja.po: Update from translation team.
90803 2011-05-23  Ulrich Drepper  <drepper@gmail.com>
90805         [BZ #12795]
90806         * sysdeps/unix/sysv/linux/bits/resource.h (RLIMIT_RTTIME): Define.
90807         * sysdeps/unix/sysv/linux/sparc/bits/resource.h: Likewise.
90809 2011-05-20  Andreas Schwab  <schwab@redhat.com>
90811         * stdlib/longlong.h: Update from GCC.
90813 2011-05-23  Andreas Schwab  <schwab@redhat.com>
90815         * sysdeps/unix/sysv/linux/ia64/sysconf.c (HAS_CPUCLOCK): Add
90816         parameter name.
90817         * sysdeps/unix/sysv/linux/sysconf.c (has_cpuclock, HAS_CPUCLOCK):
90818         Add parameter name.
90819         (__sysconf): Pass it down.
90821 2011-05-22  Ulrich Drepper  <drepper@gmail.com>
90823         [BZ #12671]
90824         * nis/nss_nis/nis-alias.c (_nss_nis_getaliasbyname_r): Use malloc in
90825         some situations.
90826         * nscd/nscd_getserv_r.c (nscd_getserv_r): Likewise.
90827         * posix/glob.c (glob_in_dir): Take additional parameter alloca_used.
90828         add in in __libc_use_alloca calls.  Adjust callers.
90829         (glob): Use malloc in some situations.
90831         * elf/dl-runtime.c (_dl_profile_fixup): Also store LA_SYMB_NOPLTENTER
90832         and LA_SYMB_NOPLTEXIT in flags which are passed to pltenter and
90833         pltexit.
90835 2011-05-21  Ulrich Drepper  <drepper@gmail.com>
90837         * sysdeps/unix/sysv/linux/bits/time.h: Define CLOCK_REALTIME_ALARM
90838         and CLOCK_BOOTTIME_ALARM.
90840         [BZ #12782]
90841         * string/xpg-strerror.c (__xpg_strerror_r): Fill buffer even if error
90842         is returned.
90844         * string/_strerror.c (__strerror_r): Print negative errors as signed
90845         numbers.
90847         [BZ #12777]
90848         * iconvdata/cp1258.c (comp_table_data): Remove entry 0x00A5 0xEC.
90849         (decomp_table): Change U0385 entry to emit 0xA5 0xEC.
90850         * iconvdata/CP1258.irreversible: Adjust entry 0xA8EC.
90852         * configure.in: Fix typo in redirection and correct removal of test
90853         files in two cases.
90855         [BZ #12788]
90856         * locale/setlocale.c (new_composite_name): Fix test to check for
90857         identical name of all categories.
90859         [BZ #12792]
90860         * libio/filedoalloc.c (local_isatty): New function.
90861         (_IO_file_doallocate): Use local_isatty.
90862         * stdio-common/perror.c (perror): In case a new stream is used
90863         forward the stream error.
90864         * stdio-common/vfprintf.c (ARGCHECK): For read-only streams also set
90865         error flag.
90867 2011-05-20  Ulrich Drepper  <drepper@gmail.com>
90869         [BZ #11884]
90870         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't unconditionally use
90871         alloca.
90872         * include/alloca.h (extend_alloca_account): Define.
90874         [BZ #11857]
90875         * posix/regex.h: Fix comments with documentation of user-accessible
90876         fields after compilation and describe correct free'ing of pattern
90877         after re_compile_pattern.
90878         Patch by Reuben Thomas <rrt@sc3d.org>.
90880 2011-05-18  Ryan S. Arnold  <rsa@us.ibm.com>
90882         * sysdeps/powerpc/powerpc64/Makefile (no-special-regs): Add -mno-vsx
90883         and -mno-altivec to prevent the compiler from using Altivec and/or
90884         VSX instructions when the corresponding registers are not available.
90886 2011-05-19  Andreas Schwab  <schwab@redhat.com>
90888         * grp/compat-initgroups.c (__libc_use_alloca): Don't define.
90890 2011-05-19  Ulrich Drepper  <drepper@gmail.com>
90892         * libio/freopen.c (freopen): Use __dup2, not dup2.
90893         * libio/freopen64.c (freopen64): Likewise.
90895 2011-05-17  H.J. Lu  <hongjiu.lu@intel.com>
90897         [BZ #12775]
90898         * sysdeps/x86_64/fpu/e_powl.S: Fix a typo.
90899         * math/Makefile (tests): Add test-powl.
90900         (CFLAGS-test-powl.c): Define.
90901         * math/test-powl.c: New file.
90903 2011-05-16  H.J. Lu  <hongjiu.lu@intel.com>
90905         * fileops.c (_IO_new_file_fopen): Get fd from _IO_fileno.
90907 2011-05-17  Ulrich Drepper  <drepper@gmail.com>
90909         [BZ #11837]
90910         * iconvdata/gb18030.c: Update to GB18020-2005.
90912 2011-05-16  Ulrich Drepper  <drepper@gmail.com>
90914         * posix/regex.h (RE_SYNTAX_AWK, RE_SYNTAX_GNU_AWK,
90915         RE_SYNTAX_POSIX_AWK): Update to match recent development.
90916         Patch by Aharon Robbins <arnold@skeeve.com>.
90918         [BZ #11892]
90919         * stdlib/putenv.c (putenv): Don't always create copy of the variable
90920         on the stack.
90922         [BZ #11895]
90923         * misc/pselect.c (__pselect): Handle timeout value errors hidden
90924         through underflows.
90926         [BZ #12766]
90927         * misc/error.c (error_at_line): Ensure file_name and old_file_name
90928         point to strings before performing equality test for error_one_per_line
90929         mode.
90931         [BZ #11697]
90932         * login/programs/pt_chown.c (do_pt_chown): Always call chown.
90934         [BZ #11820]
90935         * sysdeps/unix/sysv/linux/x86_64/sys/user.h
90936         (struct user_fpregs_struct): Avoid __uint*_t types.
90938         [BZ #6420]
90939         * malloc/mtrace.c (tr_where): Add additional parameter to point to
90940         symbol info.  Use it instead of calling _dl_addr locally.
90941         (lock_and_info): New function.
90942         (tr_freehook): Call lock_and_info and pass symbol info as additional
90943         parameter to tr_where.
90944         (tr_mallochook): Likewise.
90945         (tr_reallochook): Likewise.
90946         (tr_memalignhook): Likewise.
90948         * malloc/mtrace.c: Remove support for USE_MTRACE_FILE.  It is not
90949         used and couldn't be at all thread-safe.
90951 2011-05-15  Ulrich Drepper  <drepper@gmail.com>
90953         * libio/freopen.c (freopen): Don't close old file descriptor
90954         before the new one is opened.  Instead dup the new file descriptor
90955         to the old one after the new stream is created.
90956         * libio/freopen64.c (freopen64): Likewise.
90957         * libio/libio.h: Define _IO_FLAGS2_NOCLOSE and _IO_FLAGS2_CLOEXEC.
90958         * libio/fileops.c (_IO_new_file_close_it): Handle new
90959         _IO_FLAGS2_NOCLOSE flag.
90960         (_IO_new_file_fopen): Set _IO_FLAGS2_CLOEXEC for "e" mode.
90961         If _IO_file_open didn't set FD_CLOEXEC do it after the call.
90962         * libio/oldfileops.c (_IO_old_file_close_it): Handle new
90963         _IO_FLAGS2_NOCLOSE flag.
90964         * include/unistd.h: Add hidden_proto for dup3.
90965         Define __have_dup3.
90966         * io/dup3.c: Define hidden symbol.
90967         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_DUP3.
90969         [BZ #7101]
90970         * posix/getopt.c (_getopt_internal_r): List all ambigious possibilities
90971         when an incomplete long option is used.
90972         * posix/tst-getopt_long1.c: New file.
90973         * posix/Makefile (tests): Add tst-getopt_long1.
90975         [BZ #10138]
90976         * scripts/config.guess: Update from autoconf-2.68.
90977         * scripts/config.sub: Likewise.
90979         [BZ #10157]
90980         * sysdeps/unix/sysv/linux/sysconf.c (__sysconf): Split out CPUTIME
90981         tests into ...
90982         (has_cpuclock): ...this.  New function.
90983         * sysdeps/unix/sysv/linux/ia64/sysconf.c: Just define HAS_CPUCLOCK
90984         macro here based on has_cpuclock code.
90986         [BZ #10149]
90987         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
90988         First byte (not low byte) is now always NUL.
90989         * sysdeps/generic/dl-osinfo.h (_dl_setup_stack_chk_guard): Likewise.
90991         * sysdeps/unix/sysv/linux/dl-osinfo.h (_dl_setup_stack_chk_guard):
90992         Use non-cancelable interfaces.
90994         [BZ #9809]
90995         * locale/iso-639.def: Add entry for Sorani.
90997         [BZ #11901]
90998         * include/stdlib.h: Move include protection to the right place.
90999         Define abort_msg_s.  Declare __abort_msg with it.
91000         * stdlib/abort.c (__abort_msg): Adjust type.
91001         * assert/assert.c (__assert_fail_base): New function.  Majority
91002         of code from __assert_fail.  Allocate memory for __abort_msg with
91003         mmap.
91004         (__assert_fail): Now call __assert_fail_base.
91005         * assert/assert-perr.c: Remove bulk of implementation.  Use
91006         __assert_fail_base.
91007         * include/assert.hL Declare __assert_fail_base.
91008         * sysdeps/posix/libc_fatal.c: Allocate memory for __abort_msg with
91009         mmap.
91010         * sysdeps/unix/sysv/linux/libc_fatal.c: Likewise.
91012 2011-05-14  Ulrich Drepper  <drepper@gmail.com>
91014         [BZ #11952]
91015         [BZ #12453]
91016         * elf/dl-open.c (dl_open_worker): Delay calls to _dl_update_slotinfo
91017         until all modules are registered in the DTV.
91018         * elf/Makefile: Add rules to build and run tst-tls19.
91019         * elf/tst-tls19.c: New file.
91020         * elf/tst-tls19mod1.c: New file.
91021         * elf/tst-tls19mod2.c: New file.
91022         * elf/tst-tls19mod3.c: New file.
91023         Patch mostly by Martin von Gagern <Martin.vGagern@gmx.net>.
91025         [BZ #12083]
91026         * sysdeps/pthread/aio_misc.c (__aio_init): Compute optim.aio_num
91027         correctly.
91029         [BZ #12601]
91030         * iconvdata/cp932.c (BODY to UCS4): Fix incrementing inptr in case of
91031         two-byte sequence errors.
91032         * iconvdata/Makefile (tests): Add bug-iconv8.
91033         * iconvdata/bug-iconv8.c: New file.
91035         [BZ #12626]
91036         * sysdeps/generic/elf/backtracesymsfd.c (__backtrace_symbols_fd): Move
91037         buf2 definition.
91039         * libio/fileops.c (_IO_new_file_close_it): Initialize write_status.
91041         [BZ #12432]
91042         * sysdeps/ia64/backtrace.c (struct trace_reg): Add cfa element.
91043         (dummy_getcfa): New function.
91044         (init): Get _Unwind_GetCFA address, use dummy if not found.
91045         (backtrace_helper): In recursion check, also check whether CFA changes.
91046         (__backtrace): Completely initialize arg.
91048         * iconv/loop.c (SINGLE) [STORE_REST]: Add input bytes to bytebuf before
91049         storing incomplete byte sequence in state object.  Avoid testing for
91050         guaranteed too small input if we know there is enough data available.
91052 2011-05-11  Andreas Schwab  <schwab@redhat.com>
91054         * Makeconfig (+link-pie): Indent.
91055         * Rules (binaries-pie): Define if $(have-fpie) and
91056         $(build-shared).
91057         (binaries-shared): Also filter out $(binaries-pie).
91058         ($(addprefix $(objpfx),$(binaries-pie))): New rule.
91059         * nscd/Makefile (others-pie): Add nscd.
91060         (LDFLAGS-nscd): Set this instead of relro-LDFLAGS.
91061         ($(objpfx)nscd): Remove command override.
91062         * login/Makefile (others-pie): Add pt_chown.
91063         ($(objpfx)pt_chown): Remove command override.
91064         * elf/Makefile: Add PIE tests to tests and tests-pie variables and
91065         remove command overrides.
91067 2011-05-13  Ulrich Drepper  <drepper@gmail.com>
91069         * libio/tst_putwc.c: Fix error messages.
91071         [BZ #12724]
91072         * libio/fileops.c (_IO_new_file_close_it): Always flush when
91073         currently writing and seek to current position when not.
91074         * libio/Makefile (tests): Add bug-fclose1.
91075         * libio/bug-fclose1.c: New file.
91077 2011-05-12  Ulrich Drepper  <drepper@gmail.com>
91079         [BZ #12511]
91080         * elf/dl-lookup.c (enter): Don't test for copy relocation here and
91081         don't set DF_1_NODELETE here.
91082         (do_lookup_x): When entering new entry test for copy relocation
91083         and if necessary set DF_1_NODELETE flag.
91084         * elf/tst-unique4.cc: New file.
91085         * elf/tst-unique4.h: New file.
91086         * elf/tst-unique4lib.cc: New file.
91087         * elf/Makefile: Add rules to build and run tst-unique4.
91088         Patch by Piotr Bury <pbury@goahead.com>.
91090 2011-05-11  Ulrich Drepper  <drepper@gmail.com>
91092         [BZ #12052]
91093         * sysdeps/posix/spawni.c (__spawni): Fix sched_setscheduler call.
91095         [BZ #12625]
91096         * misc/mntent_r.c (addmntent): Flush the stream after the output
91098         [BZ #12393]
91099         * elf/dl-load.c (is_trusted_path): Remove unnecessary test.
91100         (is_trusted_path_normalize): Skip initial colon.  Append slash
91101         to empty buffer.  Duplicate is_trusted_path code but allow
91102         constructed patch to be prefix.
91103         (is_dst): Allow $ORIGIN followed by /.
91104         (_dl_dst_substitute): Correct clearing of check_for_trusted.
91105         Correct testing of result of is_trusted_path_normalize
91106         (decompose_rpath): Fix warning.
91108 2011-05-10  Ulrich Drepper  <drepper@gmail.com>
91110         [BZ #11257]
91111         * grp/initgroups.c (internal_getgrouplist): When we found the service
91112         list through the initgroups entry in nsswitch.conf do not always
91113         continue on a successful lookup.  Don't always use the
91114         __nss_group_database value if it is set.
91115         * nss/nsswitch.conf (initgroups): Change action for successful db
91116         lookup to continue for compatibility.
91118 2011-05-09  Ulrich Drepper  <drepper@gmail.com>
91120         [BZ #11532]
91121         * iconvdata/Makefile: Add rules to build CP770, CP771, CP772, CP773,
91122         and CP774 modules.
91123         * iconvdata/gconv-modules: Add entries for CP770, CP771, CP772, CP773,
91124         and CP774 modules.
91125         * iconvdata/tst-tables.sh: Likewise.
91126         * iconvdata/cp770.c: New file.
91127         * iconvdata/cp771.c: New file.
91128         * iconvdata/cp772.c: New file.
91129         * iconvdata/cp773.c: New file.
91130         * iconvdata/cp774.c: New file.
91131         * iconvdata/testdata/CP770: New file.
91132         * iconvdata/testdata/CP770..UTF8: New file.
91133         * iconvdata/testdata/CP771: New file.
91134         * iconvdata/testdata/CP771..UTF8: New file.
91135         * iconvdata/testdata/CP772: New file.
91136         * iconvdata/testdata/CP772..UTF8: New file.
91137         * iconvdata/testdata/CP773: New file.
91138         * iconvdata/testdata/CP773..UTF8: New file.
91139         * iconvdata/testdata/CP774: New file.
91140         * iconvdata/testdata/CP774..UTF8: New file.
91142         * iconvdata/gen-8bit-gap-1.sh: End reading of charmap file at
91143         END CHARMAP line.
91144         * iconvdata/gen-8bit-gap.sh: Likewise.
91145         * iconvdata/gen-8bit.sh: Likewise.
91147         * locale/iso-639.def: Add ary entry.
91149         [BZ #11258]
91150         * locale/C-translit.h.in: Add U20A1 transliteration.
91152         [BZ #12178]
91153         * locale/iso-639.def: Add wae entry.
91154         Patch by Kevin Bortis <bortis@translate-wae.ch>.
91156         [BZ #12545]
91157         * locale/programs/localedef.c (construct_output_path): Use ssize_t
91158         for n.
91160         [BZ #12711]
91161         * locale/C-translit.h.in: Add entry for U20B9.
91162         Patch by pravin.d.s@gmail.com.
91164 2011-05-08  Ulrich Drepper  <drepper@gmail.com>
91166         [BZ #12713]
91167         * sysdeps/unix/sysv/linux/getcwd.c: If getcwd syscall report
91168         ENAMETOOLONG use generic getcwd.
91169         * sysdeps/posix/getcwd.c: Add support to use openat.  Make usable
91170         in rtld.  Use *stat64.
91171         * sysdeps/unix/sysv/linux/Makefile [subdir=elf] (sysdep-rtld-routines):
91172         Add dl-getcwd, dl-openat64, dl-opendir, dl-fxstatat64.
91173         * sysdeps/unix/sysv/linux/dl-getcwd.c: New file.
91174         * sysdeps/unix/sysv/linux/dl-openat64.c: New file.
91175         * sysdeps/unix/sysv/linux/dl-opendir.c: New file.
91176         * sysdeps/unix/sysv/linux/dl-fxstat64.c: New file.
91177         * include/sys/stat.h: Define __fstatat, __lstat64, __fstat64, and
91178         __fstatat64 macros.
91179         * include/dirent.h: Add libc_hidden_proto for rewinddir.
91180         * dirent/rewinddir.c: Add libc_hidden_def.
91181         * sysdeps/mach/hurd/rewinddir.c: Likewise.
91182         * sysdeps/unix/rewinddir.c: Likewise.  Don't do locking outside libc.
91184         * include/dirent.h (__alloc_dir): Add flags parameter.
91185         * sysdeps/unix/fdopendir.c (__fdopendir): Pass flags to __alloc_dir.
91186         * sysdeps/unix/opendir.c (__opendir): Pass 0 in new parameter to
91187         __alloc_dir.
91188         (__alloc_dir): Take new parameter.  Don't call fcntl for invocations
91189         from fdopendir if O_CLOEXEC is already set.
91191 2011-03-15  Alan Modra  <amodra@gmail.com>
91193         * elf/dl-reloc.c (_dl_try_allocate_static_tls <TLS_DTV_AT_TP>): Handle
91194         l_tls_firstbyte_offset non-zero.  Save padding offset in
91195         l_tls_firstbyte_offset for later use.
91196         * elf/dl-close.c (_dl_close_worker <TLS_DTV_AT_TP>): Correct code
91197         freeing static tls block.
91199 2011-03-05  Jonathan Nieder  <jrnieder@gmail.com>
91201         * sysdeps/unix/sysv/linux/sys/param.h: Fix an #ifndef __undef_ARG_MAX
91202         where #ifdef was intended.  The intent is to prevent ARG_MAX from
91203         being defined by the kernel headers.
91205 2011-05-07  Ulrich Drepper  <drepper@gmail.com>
91207         [BZ #12734]
91208         * resolv/resolv.h: Define RES_NOTLDQUERY.
91209         * resolv/res_init.c (res_setoptions): Recognize no_tld_query and
91210         no-tld-query and set RES_NOTLDQUERY.
91211         * resolv/res_debug.c (p_option): Handle RES_NOTLDQUERY.
91212         * resolv/res_query.c (__libc_res_nsearch): Backport changes from
91213         modern BIND to search name as TLD unless forbidden.
91215 2011-05-07  Petr Baudis  <pasky@suse.cz>
91216             Ulrich Drepper  <drepper@gmail.com>
91218         [BZ #12393]
91219         * elf/dl-load.c (fillin_rpath): Move trusted path check...
91220         (is_trusted_path): ...to here.
91221         (is_trusted_path_normalize): Wrapper for /../ and /./ normalization.
91222         (_dl_dst_substitute): Verify expanded $ORIGIN path elements
91223         using is_trusted_path_normalize() in setuid scripts.
91225 2011-05-06  Paul Pluzhnikov  <ppluzhnikov@google.com>
91227         * sysdeps/unix/sysv/linux/sys/sysmacros.h: Add missing
91228         __BEGIN/__END_DECLS.
91230 2011-05-06  Ulrich Drepper  <drepper@gmail.com>
91232         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Return
91233         NSS_STATUS_NOTFOUND if no record was found.
91235 2011-05-05  Andreas Schwab  <schwab@redhat.com>
91237         * sunrpc/Makefile (headers): Add rpc/netdb.h.
91238         (headers-not-in-tirpc): Remove rpc/netdb.h
91239         * resolv/netdb.h: Revert last change.
91241 2011-05-05  Paul Pluzhnikov  <ppluzhnikov@google.com>
91243         * Makeconfig (link-libc-static): Use --{start,end}-group to handle
91244         circular dependency between libgcc.a and libc.a.
91246 2011-05-05  Andreas Schwab  <schwab@redhat.com>
91248         * resolv/netdb.h: Don't include <rpc/netdb.h>.
91249         * nis/Makefile: Don't install rpcsvc/*.
91250         * inet/protocols/timed.h: Include <sys/types.h> and <sys/time.h>
91251         instead of <rpc/types.h>.
91252         (MAXHOSTNAMELEN): Define.
91254 2011-05-03  Andreas Schwab  <schwab@redhat.com>
91256         * elf/ldconfig.c (add_dir): Don't crash on empty path.
91258 2011-04-28  Maciej Babinski  <mbabinski@google.com>
91260         [BZ #12714]
91261         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't bypass
91262         gethostbyname4_r when IPv6 results are possible.
91264 2011-05-02  Ulrich Drepper  <drepper@gmail.com>
91266         [BZ #12723]
91267         * sysdeps/unix/sysv/linux/pathconf.c (__pathconf): Implement
91268         _PC_PIPE_BUF handling.
91270 2011-04-30  Bruno Haible  <bruno@clisp.org>
91272         [BZ #12717]
91273         * conform/data/netdb.h-data (getnameinfo): Make POSIX compliant.
91274         * resolv/netdb.h (getnameinfo): Change type of flags parameter
91275         to 'int'.
91276         * inet/getnameinfo.c (getnameinfo): Likewise.
91278 2011-04-29  Ulrich Drepper  <drepper@gmail.com>
91280         * grp/initgroups.c (internal_getgrouplist): Prefer initgroups setting
91281         to groups setting in database lookup.
91282         * nss/nsswitch.conf: Add initgroups entry.
91284 2011-04-22  Ulrich Drepper  <drepper@gmail.com>
91286         [BZ #12685]
91287         * libio/fileops.c (_IO_new_file_fopen): Scan up to 7 bytes of the
91288         mode string.
91289         Patch by Eric Blake <eblake@redhat.com>.
91291 2011-04-20  H.J. Lu  <hongjiu.lu@intel.com>
91293         * sunrpc/Makefile (need-export-routines): Add svc_run.
91294         (routines): Remove svc_run.
91295         ($(objpfx)thrsvc): Add $(common-objpfx)linkobj/libc.so.
91296         * sunrpc/clnt_perr.c (clnt_perrno): Export.
91297         * sunrpc/svc_run.c (svc_run): Likewise.
91298         * sunrpc/svc_udp.c (svcudp_create): Likewise.
91300 2011-04-21  Ulrich Drepper  <drepper@gmail.com>
91302         * nss/nss_files/files-initgroups.c (_nss_files_initgroups_dyn): Fix
91303         problem in reallocation in last patch.
91305 2011-04-20  Ulrich Drepper  <drepper@gmail.com>
91307         * sunrpc/Makefile: Move inclusion of Rules.
91309 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
91311         * nss/nss_files/files-initgroups.c: New file.
91312         * nss/Makefile (libnss_files-routines): Add files-initgroups.
91313         * nss/Versions (libnss_files) [GLIBC_PRIVATE]: Export
91314         _nss_files_initgroups_dyn.
91316 2011-03-31  Richard Sandiford  <richard.sandiford@linaro.org>
91318         * elf/elf.h (R_ARM_IRELATIVE): Define.
91320 2011-04-19  Ulrich Drepper  <drepper@gmail.com>
91322         * po/ru.po: Update from translation team.
91324 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
91326         * sunrpc/Makefile ($(rpc-compat-routines.os)): Add before-compile to
91327         dependencies.
91329 2011-02-06  Mike Frysinger  <vapier@gentoo.org>
91331         [BZ #12653]
91332         * sysdeps/i386/i686/multiarch/memcpy-ssse3-rep.S: Only protect
91333         MEMCPY_CHK with USE_AS_BCOPY ifdef check.
91334         * sysdeps/i386/i686/multiarch/memcpy-ssse3.S: Likewise.
91335         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: Likewise.
91336         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: Likewise.
91338 2011-03-28  Andreas Schwab  <schwab@linux-m68k.org>
91340         * sysdeps/powerpc/powerpc32/power4/strncmp.S: Don't read past
91341         differing bytes.
91342         * sysdeps/powerpc/powerpc64/power4/strncmp.S: Likewise.
91343         * sysdeps/powerpc/powerpc32/power7/strncmp.S: Likewise.
91344         * sysdeps/powerpc/powerpc64/power7/strncmp.S: Likewise.
91346 2011-04-17  Ulrich Drepper  <drepper@gmail.com>
91348         [BZ #12420]
91349         * sysdeps/unix/sysv/linux/x86_64/getcontext.S: Reload context after
91350         storing it.
91351         * stdlib/bug-getcontext.c: New file.
91352         * stdlib/Makefile: Add rules to build and run bug-getcontext.
91354 2011-04-13  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
91356         * sysdeps/s390/s390-64/utf16-utf32-z9.c: Wrap the z9-109
91357         instructions into .machine "z9-109".
91358         * sysdeps/s390/s390-64/utf8-utf16-z9.c: Likewise.
91359         * sysdeps/s390/s390-64/utf8-utf32-z9.c: Likewise.
91361 2011-04-11  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
91363         * sysdeps/s390/s390-32/elf/start.S (_start): Skip extra zeroes
91364         between environment variables and auxiliary vector.
91366 2011-04-16  Ulrich Drepper  <drepper@gmail.com>
91368         * Makefile: Add rules to build linkobj/libc.so.
91369         * include/libc-symbols.h: Define libc_hidden_nolink.
91370         * include/rpc/auth.h: Mark functions which are to be hidden.
91371         * include/rpc/auth_des.h: Likewise.
91372         * include/rpc/auth_unix.h: Likewise.
91373         * include/rpc/clnt.h: Likewise.
91374         * include/rpc/des_crypt.h: Likewise.
91375         * include/rpc/key_prot.h: Likewise.
91376         * include/rpc/pmap_clnt.h: Likewise.
91377         * include/rpc/pmap_prot.h: Likewise.
91378         * include/rpc/pmap_rmt.h: Likewise.
91379         * include/rpc/rpc_msg.h: Likewise.
91380         * include/rpc/svc.h: Likewise.
91381         * include/rpc/svc_auth.h: Likewise.
91382         * include/rpc/xdr.h: Likewise.
91383         * nis/Makefile: Link all DSOs against linkobj/libc.so.
91384         * nss/Makefile: Likewise.
91385         * sunrpc/Makefile: Don't install headers.  Build library with normal
91386         entry points.  Don't build rpcinfo.  Link RPC tests appropriately.
91387         * sunrpc/auth_des.c: Hide exported symbols by default, export some
91388         for the compat linking library.  Remove use of INTDEF/INTUSE.
91389         * sunrpc/auth_none.c: Likewise.
91390         * sunrpc/auth_unix.c: Likewise.
91391         * sunrpc/authdes_prot.c: Likewise.
91392         * sunrpc/authuxprot.c: Likewise.
91393         * sunrpc/clnt_gen.c: Likewise.
91394         * sunrpc/clnt_perr.c: Likewise.
91395         * sunrpc/clnt_raw.c: Likewise.
91396         * sunrpc/clnt_simp.c: Likewise.
91397         * sunrpc/clnt_tcp.c: Likewise.
91398         * sunrpc/clnt_udp.c: Likewise.
91399         * sunrpc/clnt_unix.c: Likewise.
91400         * sunrpc/des_crypt.c: Likewise.
91401         * sunrpc/des_soft.c: Likewise.
91402         * sunrpc/get_myaddr.c: Likewise.
91403         * sunrpc/key_call.c: Likewise.
91404         * sunrpc/key_prot.c: Likewise.
91405         * sunrpc/netname.c: Likewise.
91406         * sunrpc/pm_getmaps.c: Likewise.
91407         * sunrpc/pm_getport.c: Likewise.
91408         * sunrpc/pmap_clnt.c: Likewise.
91409         * sunrpc/pmap_prot.c: Likewise.
91410         * sunrpc/pmap_prot2.c: Likewise.
91411         * sunrpc/pmap_rmt.c: Likewise.
91412         * sunrpc/publickey.c: Likewise.
91413         * sunrpc/rpc_cmsg.c: Likewise.
91414         * sunrpc/rpc_common.c: Likewise.
91415         * sunrpc/rpc_dtable.c: Likewise.
91416         * sunrpc/rpc_prot.c: Likewise.
91417         * sunrpc/rpc_thread.c: Likewise.
91418         * sunrpc/rtime.c: Likewise.
91419         * sunrpc/svc.c: Likewise.
91420         * sunrpc/svc_auth.c: Likewise.
91421         * sunrpc/svc_authux.c: Likewise.
91422         * sunrpc/svc_raw.c: Likewise.
91423         * sunrpc/svc_run.c: Likewise.
91424         * sunrpc/svc_simple.c: Likewise.
91425         * sunrpc/svc_tcp.c: Likewise.
91426         * sunrpc/svc_udp.c: Likewise.
91427         * sunrpc/svc_unix.c: Likewise.
91428         * sunrpc/svcauth_des.c: Likewise.
91429         * sunrpc/xcrypt.c: Likewise.
91430         * sunrpc/xdr.c: Likewise.
91431         * sunrpc/xdr_array.c: Likewise.
91432         * sunrpc/xdr_float.c: Likewise.
91433         * sunrpc/xdr_intXX_t.c: Likewise.
91434         * sunrpc/xdr_mem.c: Likewise.
91435         * sunrpc/xdr_rec.c: Likewise.
91436         * sunrpc/xdr_ref.c: Likewise.
91437         * sunrpc/xdr_sizeof.c: Likewise.
91438         * sunrpc/xdr_stdio.c: Likewise.
91440 2011-04-10  Ulrich Drepper  <drepper@gmail.com>
91442         [BZ #12650]
91443         * sysdeps/i386/dl-tls.h: Define TLS_DTV_UNALLOCATED.
91444         * sysdeps/ia64/dl-tls.h: Likewise.
91445         * sysdeps/powerpc/dl-tls.h: Likewise.
91446         * sysdeps/s390/dl-tls.h: Likewise.
91447         * sysdeps/sh/dl-tls.h: Likewise.
91448         * sysdeps/sparc/dl-tls.h: Likewise.
91449         * sysdeps/x86_64/dl-tls.h: Likewise.
91450         * elf/dl-tls.c: Don't define TLS_DTV_UNALLOCATED here.
91452 2011-03-14  Andreas Schwab  <schwab@redhat.com>
91454         * elf/dl-load.c (_dl_dst_substitute): When skipping the first
91455         rpath element also skip the following colon.
91456         (expand_dynamic_string_token): Add is_path parameter and pass
91457         down to DL_DST_REQUIRED and _dl_dst_substitute.
91458         (decompose_rpath): Call expand_dynamic_string_token with
91459         non-zero is_path.  Ignore empty rpaths.
91460         (_dl_map_object_from_fd): Call expand_dynamic_string_token
91461         with zero is_path.
91463 2011-04-08  Andreas Schwab  <schwab@linux-m68k.org>
91465         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sync_file_range.c:
91466         Make cancelable.
91468 2011-04-09  Ulrich Drepper  <drepper@gmail.com>
91470         [BZ #12655]
91471         * sysdeps/unix/sysv/linux/sys/syscall.h: Fix comment.
91472         Patch by Filipe David Manana <fdmanana@apache.org>.
91474 2011-04-07  Andreas Schwab  <schwab@redhat.com>
91476         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S (CALL_FAIL):
91477         Maintain aligned stack.
91478         (CHECK_RSP): Remove unused macro.
91480 2011-04-03  Ulrich Drepper  <drepper@gmail.com>
91482         * sysdeps/x86_64/cacheinfo.c (intel_02_known): Fix typo in table.
91483         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_02_known): Likewise.
91485 2011-04-02  Ulrich Drepper  <drepper@gmail.com>
91487         * sysdeps/unix/sysv/linux/bits/time.h (CLOCK_BOOTTIME): Define.
91489         * include/features.h: Mention __USE_XOPEN2K8 in comment.
91491 2011-03-26  H.J. Lu  <hongjiu.lu@intel.com>
91493         [BZ #12518]
91494         * sysdeps/x86_64/Versions: Add memcpy to GLIBC_2.14.
91495         * sysdeps/x86_64/memcpy.S: Provide GLIBC_2_14 memcpy.
91496         * sysdeps/x86_64/memmove.c: New file.
91497         * sysdeps/x86_64/multiarch/memcpy.S: Include <shlib-compat.h>.
91498         (memcpy): Renamed to ...
91499         (__new_memcpy): This.
91500         (memcpy): Provide GLIBC_2_14 memcpy.
91501         * sysdeps/x86_64/multiarch/memmove.c: Include <shlib-compat.h>.
91502         (memcpy): Provide GLIBC_2_2_5 memcpy.
91504 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
91506         [BZ #12631]
91507         * wcsmbs/wchar.h: Make wcpcpy and wcpncpy visible for __USE_XOPEN2K8.
91509 2011-03-30  Andreas Schwab  <schwab@redhat.com>
91511         * misc/syncfs.c: New file.
91512         * misc/Makefile (routines): Add syncfs.
91513         * posix/unistd.h: Declare syncfs.
91514         * sysdeps/unix/syscalls.list: Add syncfs.
91516 2011-04-01  Andreas Schwab  <schwab@redhat.com>
91518         * sysdeps/unix/sysv/linux/Versions: Rename open_by_handle to
91519         open_by_handle_at.
91520         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
91521         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
91522         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
91523         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
91524         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
91525         * sysdeps/unix/sysv/linux/syscalls.list: Likewise.
91526         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
91528 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
91530         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define O_PATH.
91531         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
91532         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Likewise.
91533         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
91534         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
91535         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
91536         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
91538         * io/Makefile: Compile fallocate.c, fallocate64.c, and
91539         sync_file_range.c with -fexceptions.
91540         * sysdeps/unix/sysv/linux/fallocate.c: Make cancelable.
91541         * sysdeps/unix/sysv/linux/fallocate64.c: Likewise.
91542         * sysdeps/unix/sysv/linux/i386/fallocate.c: Likewise.
91543         * sysdeps/unix/sysv/linux/i386/fallocate64.c: Likewise.
91544         * sysdeps/unix/sysv/linux/wordsize-64/fallocate.c: Likewise.
91545         * sysdeps/unix/sysv/linux/sync_file_range.c: Likewise.
91546         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Mark
91547         sync_file_range as cancellation point
91548         * sysdeps/unix/sysv/linux/i386/sync_file_range.c: New file.  This is
91549         now a wrapper around __call_sync_file_range with cancellation handling.
91550         * sysdeps/unix/sysv/linux/i386/sync_file_range.S: Renamed to ...
91551         * sysdeps/unix/sysv/linux/i386/call_sync_file_range.S: ...this.  Change
91552         function name to __call_sync_file_range.
91553         * sysdeps/unix/sysv/linux/i386/Makefile [subdir=io] (sysdep_routines):
91554         Add call_sync_file_range.
91556 2011-04-01  Andreas Schwab  <schwab@redhat.com>
91558         * sysdeps/unix/sysv/linux/Makefile (sysdep_headers): Add
91559         bits/timex.h.
91561 2011-04-01  Ulrich Drepper  <drepper@gmail.com>
91563         * iconv/iconv.h: Fix typo in comment.
91564         * io/fcntl.h: Likewise.
91565         * libio/stdio.h: Likewise.
91566         * posix/spawn.h: Likewise.
91567         * posix/unistd.h: Likewise.
91568         * stdlib/stdlib.h: Likewise.
91569         * time/time.h: Likewise.
91570         * wcsmbs/wchar.h: Likewise.
91572         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (name_to_handle_at,
91573         open_by_handle): Add.
91574         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Define struct file_handle
91575         and MAX_HANDLE_SZ.  Declare name_to_handle_at and open_by_handle.
91576         Augment a few comments.
91577         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
91578         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
91579         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
91580         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
91581         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
91582         * sysdeps/unix/sysv/linux/syscalls.list: Add name_to_handle_at and
91583         open_by_handle.
91585         * io/fcntl.h (AT_EMPTY_PATH): Define.
91587 2011-03-30  Ulrich Drepper  <drepper@gmail.com>
91589         * sysdeps/unix/sysv/linux/syscalls.list: Add clock_adjtime.
91590         * sysdeps/unix/sysv/linux/bits/time.h: New file.
91591         * sysdeps/unix/sysv/linux/sys/timex.h: Move struct timex definition
91592         to...
91593         * sysdeps/unix/sysv/linux/bits/timex.h: ...here.  New file.
91594         * Versions.def: Add GLIBC_2.14.
91595         * sysdeps/unix/sysv/linux/Versions [GLIBC_2.14] (clock_adjtime):
91596         Export.
91598 2011-03-22  Ulrich Drepper  <drepper@gmail.com>
91600         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word): Increment
91601         round counter.
91602         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
91604 2011-03-20  H.J. Lu  <hongjiu.lu@intel.com>
91606         [BZ #12597]
91607         * string/test-strncmp.c (do_page_test): New function.
91608         (check2): Likewise.
91609         (test_main): Call check2.
91610         * sysdeps/x86_64/multiarch/strcmp.S: Properly cross page boundary.
91612 2011-03-20  Ulrich Drepper  <drepper@gmail.com>
91614         [BZ #12587]
91615         * sysdeps/unix/sysv/linux/i386/sysconf.c (intel_check_word):
91616         Handle cache information in CPU leaf 4.
91617         * sysdeps/x86_64/cacheinfo.c (intel_check_word): Likewise.
91619 2011-03-18  Ulrich Drepper  <drepper@gmail.com>
91621         [BZ #12583]
91622         * posix/fnmatch.c (fnmatch): Check size of pattern in wide
91623         character representation.
91624         Partly based on a patch by Tomas Hoger <thoger@redhat.com>.
91626 2011-03-16  Ryan S. Arnold  <rsa@us.ibm.com>
91628         * sysdeps/powerpc/powerpc32/power6/fpu/s_isnanf.S (isnanf): Fix
91629         END(__isnan) to END(__isnanf) to match function entry point/label
91630         EALIGN(__isnanf,...).
91632 2011-03-10  Jakub Jelinek  <jakub@redhat.com>
91634         * wcsmbs/wchar.h (wmemcmp): Remove __restrict qualifiers.
91636 2011-03-10  Ulrich Drepper  <drepper@gmail.com>
91638         [BZ #12510]
91639         * elf/dl-lookup.c (do_lookup_x): For copy relocations of unique objects
91640         copy from the symbol referenced in the relocation to initialize the
91641         used variable.
91642         Patch by Piotr Bury <pbury@goahead.com>.
91643         * elf/Makefile: Add rules to build and tst-unique3.
91644         * include/bits/dlfcn.h: Remove _dl_mcount_wrapper_check declaration.
91645         * elf/tst-unique3.cc: New file.
91646         * elf/tst-unique3.h: New file.
91647         * elf/tst-unique3lib.cc: New file.
91648         * elf/tst-unique3lib2.cc: New file.
91650         * elf/Makefile: Don't run tst-execstack* tests of SELinux is enabled.
91652 2011-03-10  Mike Frysinger  <vapier@gentoo.org>
91654         * sysdeps/sparc/sparc64/elf/configure.in (libc_cv_sparc64_tls): Add
91655         $LDFLAGS and -nostdlib -nostartfiles to linking step.  Change main
91656         to _start.
91658 2011-03-06  Ulrich Drepper  <drepper@gmail.com>
91660         * elf/dl-load.c (_dl_map_object): If we are looking for the first
91661         to-be-loaded object along a path to loader is ld.so.
91663 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
91664             Ulrich Drepper  <drepper@gmail.com>
91666         * sysdeps/x86_64/memset.S: After aligning destination, code
91667         branches to different locations depending on the value of
91668         misalignment, when multiarch is enabled. Fix this.
91670 2011-03-02  Harsha Jagasia  <harsha.jagasia@amd.com>
91672         * sysdeps/x86_64/cacheinfo.c (init_cacheinfo):
91673         Set _x86_64_preferred_memory_instruction for AMD processsors.
91674         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
91675         Set bit_Prefer_SSE_for_memop for AMD processors.
91677 2011-03-04  Ulrich Drepper  <drepper@gmail.com>
91679         * libio/fmemopen.c (fmemopen): Optimize a bit.
91681 2011-03-03  Andreas Schwab  <schwab@redhat.com>
91683         * libio/fmemopen.c (fmemopen): Don't read past end of buffer.
91685 2011-03-03  Roland McGrath  <roland@redhat.com>
91687         * setjmp/bits/setjmp2.h: Canonicalize comment formatting.
91689 2011-02-28  Aurelien Jarno  <aurelien@aurel32.net>
91691         * sysdeps/sparc/sparc64/multiarch/memset.S(__bzero): Call
91692         __bzero_ultra1 instead of __memset_ultra1.
91694 2011-02-23  Andreas Schwab  <schwab@redhat.com>
91695             Ulrich Drepper  <drepper@gmail.com>
91697         [BZ #12509]
91698         * include/link.h (struct link_map): Add l_orig_initfini.
91699         * elf/dl-load.c (_dl_map_object_from_fd): Free realname before
91700         returning unsuccessfully.
91701         * elf/dl-close.c (_dl_close_worker): If this is the last explicit
91702         close of a file loaded at startup, restore the original l_initfini
91703         list.
91704         * elf/dl-deps.c (_dl_map_object_deps): Don't free old l_initfini
91705         list, store the pointer.
91706         * elf/Makefile ($(objpfx)noload-mem): New rule.
91707         (noload-ENV): Define.
91708         (tests): Add $(objpfx)noload-mem.
91709         * elf/noload.c: Include <memcheck.h>.
91710         (main): Call mtrace.  Close all opened handles.
91712 2011-02-17  Andreas Schwab  <schwab@redhat.com>
91714         [BZ #12454]
91715         * elf/dl-deps.c (_dl_map_object_deps): Signal error early when
91716         dependencies are missing.
91718 2011-02-22  Samuel Thibault  <samuel.thibault@ens-lyon.org>
91720         Fix __if_freereq crash: Unlike the generic version which uses free,
91721         Hurd needs munmap.
91722         * sysdeps/mach/hurd/ifreq.h: New file.
91724 2011-01-27  Petr Baudis  <pasky@suse.cz>
91725             Ulrich Drepper  <drepper@gmail.com>
91727         [BZ 12445]#
91728         * stdio-common/vfprintf.c (vfprintf): Pass correct newlen
91729         to extend_alloca().
91730         * stdio-common/bug23.c: New file.
91731         * stdio-common/Makefile (tests): Add bug23.
91733 2010-09-28  Andreas Schwab  <schwab@redhat.com>
91734             Ulrich Drepper  <drepper@gmail.com>
91736         [BZ #12489]
91737         * elf/rtld.c (dl_main): Move setting of GLRO(dl_init_all_dirs)
91738         before performing relro protection.  At old place add assertion
91739         to make sure nothing changed.
91741 2011-02-17  Nathan Sidwell  <nathan@codesourcery.com>
91742             Glauber de Oliveira Costa  <glommer@gmail.com>
91744         * elf/elf.h: Add new ARM TLS relocs.
91746 2011-02-16  Ryan S. Arnold  <rsa@us.ibm.com>
91748         * sysdeps/unix/sysv/linux/powerpc/powerpc64/sysdep.h:
91749         (INTERNAL_VSYSCALL_NCS INTERNAL_SYSCALL_NCS): Remove erroneous (int)
91750         cast from r3.
91751         * sysdeps/wordsize-64/Makefile: New file.  Add tst-writev to
91752         'tests' variable.
91753         * sysdeps/wordsize-64/tst-writev.c: New file.
91755 2011-02-15  Ryan S. Arnold  <rsa@us.ibm.com>
91757         * sysdeps/powerpc/powerpc64/power7/Makefile: New file which adds
91758         -mno-vsx to the CFLAGS-rtld.c variable to avoid using VSX registers and
91759         insns in _dl_start to prevent a TOC reference before relocs are
91760         resolved.
91762 2011-02-15  Ulrich Drepper  <drepper@gmail.com>
91764         [BZ #12469]
91765         * Makeconfig: Remove RANLIB definition.
91766         * Makerules: Don't use RANLIB.
91767         * aclocal.m4: Remove ranlib test.
91768         * configure.in: No need to check for ranlib.
91769         * elf/rtld-Rules: Don't use RANLIB.
91771 2011-02-16  Samuel Thibault  <samuel.thibault@ens-lyon.org>
91773         * sysdeps/mach/i386/sysdep.h: Add _MACH_I386_SYSDEP_H inclusion
91774         protection macro.
91775         * sysdeps/mach/i386/thread_state.h: Add _MACH_I386_THREAD_STATE_H
91776         inclusion protection macro.
91778         * stdio-common/psiginfo.c (psiginfo): Check pinfo->si_signo against
91779         SIGRTMIN and SIGRTMAX and print information in that case only when
91780         SIGRTMIN is defined.
91782 2011-02-11  Jakub Jelinek  <jakub@redhat.com>
91784         * stdio-common/printf-parsemb.c (__parse_one_specmb): Handle
91785         arginfo fn returning -1.
91787         * stdio-common/_i18n_number.h (_i18n_number_rewrite): Ensure decimal
91788         and thousands string is zero terminated.
91790 2011-02-03  Andreas Schwab  <schwab@redhat.com>
91792         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Sync with
91793         sysdeps/unix/sysv/linux/bits/socket.h.
91795 2011-01-30  Samuel Thibault  <samuel.thibault@ens-lyon.org>
91797         * bits/sched.h (__CPU_ZERO, __CPU_SET, __CPU_CLR, __CPU_ISSET)
91798         (__CPU_COUNT): Remove old macros.
91799         (__CPU_ZERO_S, __CPU_SET_S, __CPU_CLR_S, __CPU_ISSET_S)
91800         (__CPU_COUNT, __CPU_EQUAL_S, __CPU_OP_S, __CPU_ALLOC_SIZE)
91801         (__CPU_ALLOC, __CPU_FREE): Add macros.
91802         (__sched_cpualloc, __sched_cpufree): Add declarations.
91804 2011-02-05  Ulrich Drepper  <drepper@gmail.com>
91806         * nscd/nscd-client.h: Define MAX_TIMEOUT_VALUE.
91807         (struct datahead): Reuse 32 bits of the alignment for a TTL field.
91808         * nscd/aicache.c (addhstaiX): Return timeout of added value.
91809         (readdhstai): Return value of addhstaiX call.
91810         * nscd/grpcache.c (cache_addgr): Return timeout of added value.
91811         (addgrbyX): Return value returned by cache_addgr.
91812         (readdgrbyname): Return value returned by addgrbyX.
91813         (readdgrbygid): Likewise.
91814         * nscd/pwdcache.c (cache_addpw): Return timeout of added value.
91815         (addpwbyX): Return value returned by cache_addpw.
91816         (readdpwbyname): Return value returned by addhstbyX.
91817         (readdpwbyuid): Likewise.
91818         * nscd/servicescache.c (cache_addserv): Return timeout of added value.
91819         (addservbyX): Return value returned by cache_addserv.
91820         (readdservbyname): Return value returned by addservbyX:
91821         (readdservbyport): Likewise.
91822         * nscd/hstcache.c (cache_addhst): Return timeout of added value.
91823         (addhstbyX): Return value returned by cache_addhst.
91824         (readdhstbyname): Return value returned by addhstbyX.
91825         (readdhstbyaddr): Likewise.
91826         (readdhstbynamev6): Likewise.
91827         (readdhstbyaddrv6): Likewise.
91828         * nscd/initgrcache.c (addinitgroupsX): Return timeout of added value.
91829         (readdinitgroups): Return value returned by addinitgroupsX.
91830         * nscd/cache.c (readdfcts): Change return value of functions to time_t.
91831         (prune_cache): Keep track of timeout value of re-added entries.
91832         * nscd/connections.c (nscd_run_prune): Use MAX_TIMEOUT_VALUE.
91833         * nscd/nscd.h: Adjust prototypes of readd* functions.
91835 2011-02-04  Roland McGrath  <roland@redhat.com>
91837         * nis/nis_server.c (nis_servstate): Use the right name for 0.
91838         (nis_stats): Likewise.
91839         * nis/nis_modify.c (nis_modify): Likewise.
91840         * nis/nis_remove.c (nis_remove): Likewise.
91841         * nis/nis_add.c (nis_add): Likewise.
91843         * elf/dl-object.c (_dl_new_object): Remove unused variable L.
91845         * posix/fnmatch_loop.c: Add some consts.
91847         * sysdeps/x86_64/multiarch/memset-x86-64.S: Add an #undef.
91849 2011-02-02  H.J. Lu  <hongjiu.lu@intel.com>
91851         [BZ #12460]
91852         * config.make.in (config-cflags-novzeroupper): Define.
91853         * configure.in: Substitute libc_cv_cc_novzeroupper.
91854         * elf/Makefile (AVX-CFLAGS): Define.
91855         (CFLAGS-tst-audit4.c): Replace -mavx with $(AVX-CFLAGS).
91856         (CFLAGS-tst-auditmod4a.c): Likewise.
91857         (CFLAGS-tst-auditmod4b.c): Likewise.
91858         (CFLAGS-tst-auditmod6b.c): Likewise.
91859         (CFLAGS-tst-auditmod6c.c): Likewise.
91860         (CFLAGS-tst-auditmod7b.c): Likewise.
91861         * sysdeps/i386/configure.in: Check -mno-vzeroupper.
91863 2011-02-02  Ulrich Drepper  <drepper@gmail.com>
91865         * elf/dl-runtime.c (_dl_call_pltexit): Pass correct address of the
91866         function to the callback.
91867         Patch partly by Jiri Olsa <jolsa@redhat.com>.
91869 2011-02-02  Andreas Schwab  <schwab@redhat.com>
91871         * shadow/sgetspent.c: Check return value of __sgetspent_r instead
91872         of errno.
91874 2011-01-19  Ulrich Drepper  <drepper@gmail.com>
91876         [BZ #11724]
91877         * elf/dl-deps.c (_dl_map_object_deps): Rewrite sorting determining order
91878         of constructors.
91879         * elf/dl-fini.c (_dl_sort_fini): Rewrite sorting determining order
91880         of destructors.
91881         (_dl_fini): Don't call _dl_sort_fini if there is only one object.
91883         [BZ #11724]
91884         * elf/Makefile: Add rules to build and run new test.
91885         * elf/tst-initorder.c: New file.
91886         * elf/tst-initorder.exp: New file.
91887         * elf/tst-initordera1.c: New file.
91888         * elf/tst-initordera2.c: New file.
91889         * elf/tst-initordera3.c: New file.
91890         * elf/tst-initordera4.c: New file.
91891         * elf/tst-initorderb1.c: New file.
91892         * elf/tst-initorderb2.c: New file.
91893         * elf/tst-order-a1.c: New file.
91894         * elf/tst-order-a2.c: New file.
91895         * elf/tst-order-a3.c: New file.
91896         * elf/tst-order-a4.c: New file.
91897         * elf/tst-order-b1.c: New file.
91898         * elf/tst-order-b2.c: New file.
91899         * elf/tst-order-main.c: New file.
91900         New test case by George Gensure <werkt0@gmail.com>.
91902 2010-10-01  Andreas Schwab  <schwab@redhat.com>
91904         * sysdeps/posix/getaddrinfo.c (gaih_inet): Don't discard result of
91905         decoding ACE if AI_CANONIDN.
91907 2011-01-18  Ulrich Drepper  <drepper@gmail.com>
91909         * elf/Makefile: Build IFUNC tests unless multi-arch = no.
91911 2011-01-17  Ulrich Drepper  <drepper@gmail.com>
91913         * version.h (RELEASE): Bump for 2.13 release.
91914         * include/features.h: (__GLIBC_MINOR__): Bump to 13.
91916         * io/fcntl.h: Define AT_NO_AUTOMOUNT.
91918         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MADV_HUGEPAGE and
91919         MADV_NOHUGEPAGE.
91920         * sysdeps/unix/sysv/linux/ia64/bits/mman.h: Likewise.
91921         * sysdeps/unix/sysv/linux/powerpc/bits/mman.h: Likewise.
91922         * sysdeps/unix/sysv/linux/s390/bits/mman.h: Likewise.
91923         * sysdeps/unix/sysv/linux/sh/bits/mman.h: Likewise.
91924         * sysdeps/unix/sysv/linux/sparc/bits/mman.h: Likewise.
91925         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
91927         * posix/getconf.c: Update copyright year.
91928         * catgets/gencat.c: Likewise.
91929         * csu/version.c: Likewise.
91930         * debug/catchsegv.sh: Likewise.
91931         * debug/xtrace.sh: Likewise.
91932         * elf/ldconfig.c: Likewise.
91933         * elf/ldd.bash.in: Likewise.
91934         * elf/sprof.c (print_version): Likewise.
91935         * iconv/iconv_prog.c: Likewise.
91936         * iconv/iconvconfig.c: Likewise.
91937         * locale/programs/locale.c: Likewise.
91938         * locale/programs/localedef.c: Likewise.
91939         * malloc/memusage.sh: Likewise.
91940         * malloc/mtrace.pl: Likewise.
91941         * nscd/nscd.c (print_version): Likewise.
91942         * nss/getent.c: Likewise.
91944         * sysdeps/unix/sysv/linux/bits/socket.h: Define AF_CAIF, AF_ALG,
91945         PF_CAIF, and PF_ALG.
91946         * sysdeps/unix/sysv/linux/sparc/bits/socket.h: Likewise.
91948 2011-01-16  Andreas Schwab  <schwab@linux-m68k.org>
91950         * elf/Makefile (tlsmod17a-modules, tlsmod18a-modules): Define.
91951         (modules-names): Use them.
91952         (ifunc-test-modules, ifunc-pie-tests): Define.
91953         (extra-test-objs): Add tlsmod17a-modules, tlsmod18a-modules,
91954         tst-pie1, ifunc-test-modules and ifunc-pie-tests objects.
91955         (test-extras): Likewise.
91956         ($(patsubst %,$(objpfx)%.os,$(tlsmod17a-modules))): Use
91957         $(compile-command.c).
91958         ($(patsubst %,$(objpfx)%.os,$(tlsmod18a-modules))): Likewise.
91959         (all-built-dso): Define.
91960         (check-textrel.out, check-execstack.out): Depend on it.
91962         * configure.in: Don't override --enable-multi-arch.
91964 2011-01-15  Ulrich Drepper  <drepper@gmail.com>
91966         [BZ #6812]
91967         * nscd/hstcache.c (tryagain): Define.
91968         (cache_addhst): Return tryagain not notfound for temporary errors.
91969         (addhstbyX): Also set h_errno to TRY_AGAIN when memory allocation
91970         failed.
91972 2011-01-14  Ulrich Drepper  <drepper@gmail.com>
91974         [BZ #10563]
91975         * sysdeps/unix/sysv/linux/i386/setgroups.c: Use INLINE_SETXID_SYSCALL
91976         to make the syscall.
91977         * sysdeps/unix/sysv/linux/setgroups.c: New file.
91979         [BZ #12378]
91980         * posix/fnmatch_loop.c (FCT): When matching '[' keep track of beginning
91981         and fall back to matching as normal character if the string ends before
91982         the matching ']' is found.  This is what POSIX requires.
91983         * posix/testfnm.c: Adjust test result.
91984         * posix/globtest.sh: Adjust test result.  Add new test.
91985         * posix/tst-fnmatch.input: Likewise.
91986         * posix/tst-fnmatch2.c: Add new test.
91988 2010-12-28  Andreas Schwab  <schwab@linux-m68k.org>
91990         * elf/Makefile (check-execstack): Revert last change.  Depend on
91991         check-execstack.h.
91992         (check-execstack.h): New target.
91993         (generated): Add check-execstack.h.
91994         * elf/check-execstack.c: Include "check-execstack.h".
91995         (main): Revert last change.
91996         (handle_file): Return zero if GNU_STACK is absent and
91997         DEFAULT_STACK_PERMS doesn't include PF_X.
91999 2011-01-13  Ulrich Drepper  <drepper@gmail.com>
92001         * sysdeps/posix/spawni.c (__spawni): Don't fail if close file action
92002         in child fails because the descriptor is already closed.
92003         * include/sys/resource.h: Add libc_hidden_proto for getrlimit64.
92004         * sysdeps/unix/sysv/linux/getrlimit64.c: Add libc_hidden_def.
92005         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Likewise.
92007         [BZ #12397]
92008         * sysdeps/unix/sysv/linux/mkdirat.c (mkdirat): Fix handling of missing
92009         syscall.
92011         [BZ #10484]
92012         * nss/nss_files/files-hosts.c (HOST_DB_LOOKUP): Handle overflows of
92013         temporary buffer used to handle multi lookups locally.
92014         * include/alloca.h: Add libc_hidden_proto for __libc_alloca_cutoff.
92016 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
92018         * elf/dl-dst.h (DL_DST_REQUIRED): Allow l_origin to be NULL when
92019         loader is ld.so.
92021 2011-01-10  Paul Pluzhnikov  <ppluzhnikov@google.com>
92023         * sysdeps/i386/Makefile: stdlib/cxa_finalize.c needs 16-byte stack
92024         alignment for SSE2.
92026 2011-01-12  Ulrich Drepper  <drepper@gmail.com>
92028         [BZ #12394]
92029         * stdio-common/printf_fp.c (__printf_fp): Add more room for grouping
92030         characters.  When rounding increased number of integer digits recompute
92031         number of groups.
92032         * stdio-common/tst-grouping.c: New file.
92033         * stdio-common/Makefile: Add rules to build and run tst-grouping.
92035 2011-01-09  Ulrich Drepper  <drepper@gmail.com>
92037         * sysdeps/i386/bits/select.h: Don't use asm code for __FD_SET,
92038         __FD_CLR, and __FS_ISSET.  gcc generates better code on its own.
92040         * sysdeps/x86_64/bits/select.h: Mark value of __FD_SET and __FD_CLR as
92041         void.
92042         * bits/select.h: Likewise.
92044 2011-01-08  Ulrich Drepper  <drepper@gmail.com>
92046         * po/ja.po: Update from translation team.
92048 2011-01-04  David S. Miller  <davem@sunset.davemloft.net>
92050         [BZ #11155]
92051         * sysdeps/unix/sysv/linux/sparc/sparc64/fxstat.c: Use i386's
92052         implementation just like for lxstat, fxstatat, et al.
92054 2010-12-27  Jim Meyering  <meyering@redhat.com>
92056         [BZ #12348]
92057         * posix/regexec.c (build_trtable): Return failure indication upon
92058         calloc failure.  Otherwise, re_search_internal could infloop on OOM.
92060 2010-12-25  Ulrich Drepper  <drepper@gmail.com>
92062         [BZ #12201]
92063         * sysdeps/unix/sysv/linux/getrlimit64.c: New file.
92064         * sysdeps/unix/sysv/linux/setrlimit64.c: New file.
92065         * sysdeps/unix/sysv/linux/i386/getrlimit64.c: Use ../getrlimit64.c.
92066         * sysdeps/unix/sysv/linux/kernel-features.h: Define __ASSUME_PRLIMIT64.
92068         [BZ #12207]
92069         * malloc/malloc.c (do_check_malloc_state): Use fastbin macro.
92071         [BZ #12204]
92072         * string/xpg-strerror.c (__xpg_strerror_r): Return error code, not -1.
92073         * sysdeps/mach/xpg-strerror.c (__xpg_strerror_r): Likewise.
92075 2010-12-15  H.J. Lu  <hongjiu.lu@intel.com>
92077         * config.h.in (NO_CTORS_DTORS_SECTIONS): Define.
92078         * configure.in: Define NO_CTORS_DTORS_SECTIONS if linker
92079         script has SORT_BY_INIT_PRIORITY.
92080         * elf/sofini.c: Remove `.ctors' and `.dtors' sections if
92081         NO_CTORS_DTORS_SECTIONS is defined.
92082         * elf/soinit.c: Likewise.
92083         * sysdeps/i386/init-first.c: Don't call __libc_global_ctors if
92084         NO_CTORS_DTORS_SECTIONS is defined.
92085         * sysdeps/mach/hurd/i386/init-first.c: Likewise.
92086         * sysdeps/mach/hurd/powerpc/init-first.c: Likewise.
92087         * sysdeps/sh/init-first.c: Likewise.
92088         * sysdeps/unix/sysv/linux/init-first.c: Likewise.
92090 2010-12-24  Ulrich Drepper  <drepper@gmail.com>
92092         * stdio-common/vfprintf.c (vfprintf): If printf handlers are installed
92093         always use the slow path.
92095 2010-12-15  Ryan S. Arnold  <rsa@us.ibm.com>
92097         * elf/Makefile: (check-execstack): Replace $(native-compile) with a
92098         similar rule which adds the sysdep directories to the header search in
92099         order to pick up the correct platform stackinfo.h.
92100         * elf/check-execstack.c (main): Check DEFAULT_STACK_PERMS for PF_X and
92101         perform test if it is, otherwise return successfully without testing.
92102         * elf/dl-load.c (_dl_map_object_from_fd): Source stack_flags from
92103         DEFAULT_STACK_PERMS define in stackinfo.h.
92104         * elf/dl-support.c (_dl_stack_flags): Source from DEFAULT_STACK_PERMS
92105         defined in stackinfo.h.
92106         * elf/rtld.c (_dl_starting_up): Source ._dl_stack_flags from
92107         DEFAULT_STACK_PERMS defined in stackinfo.h.
92108         * sysdeps/i386/stackinfo.h: Define DEFAULT_STACK_PERMS with PF_X.
92109         * sysdeps/ia64/stackinfo.h: Likewise.
92110         * sysdeps/s390/stackinfo.h: Likewise.
92111         * sysdeps/sh/stackinfo.h: Likewise.
92112         * sysdeps/sparc/stackinfo.h: Likewise.
92113         * sysdeps/x86_64/stackinfo.h: Likewise.
92114         * sysdeps/powerpc/stackinfo.h: Define DEFAULT_STACK_PERMS without
92115         PF_X for powerpc64.  Retain PF_X for powerpc32.
92117 2010-12-19  Ulrich Drepper  <drepper@gmail.com>
92119         * sysdeps/unix/readdir_r.c (__READDIR_R): Compute reclen more
92120         accurately.
92121         * sysdeps/unix/sysv/linux/wordsize-64/readdir_r.c: Define
92122         GETDENTS_64BIT_ALIGNED.
92124 2010-12-14  Ulrich Drepper  <dreper@gmail.com>
92126         * sysdeps/i386/i686/multiarch/strcmp.S: Undo accidental checkin.
92128 2010-12-10  Andreas Schwab  <schwab@redhat.com>
92130         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Only declare under
92131         _GNU_SOURCE.
92133         * wcsmbs/wchar.h (wcpcpy, wcpncpy): Add __restrict.
92134         * wcsmbs/bits/wchar2.h (__wmemmove_chk_warn, wmemmove, wmemset):
92135         Remove __restrict.
92136         (wcscpy, __wcpcpy_chk, __wcpcpy_alias, wcpcpy, wcsncpy, wcpncpy)
92137         (wcscat, wcsncat, __wcrtomb_chk, wcrtomb): Add __restrict.
92139 2010-12-09  Ulrich Drepper  <drepper@gmail.com>
92141         [BZ #11655]
92142         * stdlib/msort.c (qsort_r): Make sure both phys_pages and pagesize
92143         are initialized.
92145 2010-12-09  Jakub Jelinek  <jakub@redhat.com>
92147         * string/bits/string3.h (memmove, bcopy): Remove __restrict.
92149 2010-12-03  Ulrich Drepper  <drepper@gmail.com>
92151         * po/it.po: Update from translation team.
92153 2010-12-01  H.J. Lu  <hongjiu.lu@intel.com>
92155         * sysdeps/i386/i686/multiarch/strcmp-ssse3.S (STRCMP): Remove
92156         unused codes.
92158 2010-11-30  Ulrich Drepper  <drepper@gmail.com>
92160         * sysdeps/i386/fpu/libm-test-ulps: Relax ynf(10,0.75) test expectations.
92162 2010-11-24  Andreas Schwab  <schwab@redhat.com>
92164         * resolv/nss_dns/dns-host.c (getanswer_r): Don't handle ttl == 0
92165         specially.
92166         (gaih_getanswer_slice): Likewise.
92168 2010-10-20  Jakub Jelinek  <jakub@redhat.com>
92170         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Fix up inline asm.
92172 2010-05-31  Petr Baudis  <pasky@suse.cz>
92174         [BZ #11149]
92175         * elf/ldconfig.c (main): Allow aux_cache_file open()ing to fail
92176         silently even in the chroot mode.
92178 2010-11-22  Ulrich Drepper  <drepper@gmail.com>
92180         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Optimize
92181         last patch a bit.  Pretty printing
92183 2010-05-31  Petr Baudis <pasky@suse.cz>
92185         [BZ #10085]
92186         * nis/nss_compat/compat-initgroups.c (internal_getgrent_r): Fix
92187         initialization of skip_initgroups_dyn.
92189 2010-11-19  Ulrich Drepper  <drepper@gmail.com>
92191         * sysdeps/unix/sysv/linux/i386/bits/mman.h: Define MAP_HUGETLB.
92192         * sysdeps/unix/sysv/linux/x86_64/bits/mman.h: Likewise.
92194 2010-11-16  Ulrich Drepper  <drepper@gmail.com>
92196         * sysdeps/unix/sysv/linux/sys/swap.h (SWAP_FLAG_DISCARD): Define.
92198 2010-11-11  Andreas Schwab  <schwab@redhat.com>
92200         * posix/fnmatch_loop.c (NEW_PATTERN): Fix use of alloca.
92201         * posix/Makefile (tests): Add $(objpfx)tst-fnmatch-mem.
92202         (tst-fnmatch-ENV): Set MALLOC_TRACE.
92203         ($(objpfx)tst-fnmatch-mem): New rule.
92204         (generated): Add tst-fnmatch-mem and tst-fnmatch.mtrace.
92205         * posix/tst-fnmatch.c (main): Call mtrace.
92207 2010-11-11  H.J. Lu  <hongjiu.lu@intel.com>
92209         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
92210         Support Intel processor model 6 and model 0x2c.
92212 2010-11-10  Luis Machado  <luisgpm@br.ibm.com>
92214         * sysdeps/ieee754/ldbl-128ibm/e_sqrtl.c (__ieee754_sqrtl): Force
92215           signed comparison.
92217 2010-11-09  H.J. Lu  <hongjiu.lu@intel.com>
92219         [BZ #12205]
92220         * string/test-strncasecmp.c (check_result): New function.
92221         (do_one_test): Use it.
92222         (check1): New function.
92223         (test_main): Use it.
92224         * sysdeps/i386/i686/multiarch/strcmp.S (nibble_ashr_use_sse4_2_exit):
92225         Support strcasecmp and strncasecmp.
92227 2010-11-08  Ulrich Drepper  <drepper@gmail.com>
92229         [BZ #12194]
92230         * sysdeps/i386/bits/byteswap.h: Avoid warning in __bswap_16.
92231         * sysdeps/x86_64/bits/byteswap.h: Likewise.
92233 2010-11-07  H.J. Lu  <hongjiu.lu@intel.com>
92235         * sysdeps/x86_64/memset.S: Check USE_MULTIARCH and USE_SSE2 for
92236         IFUNC support.
92237         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
92238         memset-x86-64.
92239         * sysdeps/x86_64/multiarch/bzero.S: New file.
92240         * sysdeps/x86_64/multiarch/cacheinfo.c: New file.
92241         * sysdeps/x86_64/multiarch/memset-x86-64.S: New file.
92242         * sysdeps/x86_64/multiarch/memset.S: New file.
92243         * sysdeps/x86_64/multiarch/memset_chk.S: New file.
92244         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
92245         Set bit_Prefer_SSE_for_memop for Intel processors.
92246         * sysdeps/x86_64/multiarch/init-arch.h (bit_Prefer_SSE_for_memop):
92247         Define.
92248         (index_Prefer_SSE_for_memop): Define.
92249         (HAS_PREFER_SSE_FOR_MEMOP): Define.
92251 2010-11-04  Luis Machado  <luisgpm@br.ibm.com>
92253         * sysdeps/powerpc/powerpc32/power7/mempcpy.S: New file.
92254         * sysdeps/powerpc/powerpc64/power7/mempcpy.S: New file.
92256 2010-11-03  H.J. Lu  <hongjiu.lu@intel.com>
92258         [BZ #12191]
92259         * sysdeps/i386/i686/cacheinfo.c (__x86_64_raw_data_cache_size): New.
92260         (__x86_64_raw_data_cache_size_half): Likewise.
92261         (__x86_64_raw_shared_cache_size): Likewise.
92262         (__x86_64_raw_shared_cache_size_half): Likewise.
92264         * sysdeps/x86_64/cacheinfo.c (__x86_64_raw_data_cache_size): New.
92265         (__x86_64_raw_data_cache_size_half): Likewise.
92266         (__x86_64_raw_shared_cache_size): Likewise.
92267         (__x86_64_raw_shared_cache_size_half): Likewise.
92268         (init_cacheinfo): Set __x86_64_raw_data_cache_size,
92269         __x86_64_raw_data_cache_size_half, __x86_64_raw_shared_cache_size
92270         and __x86_64_raw_shared_cache_size_half.  Round
92271         __x86_64_data_cache_size_half, __x86_64_data_cache_size
92272         __x86_64_shared_cache_size_half and __x86_64_shared_cache_size,
92273         to multiple of 256 bytes.
92275 2010-11-03  Ulrich Drepper  <drepper@gmail.com>
92277         [BZ #12167]
92278         * sysdeps/unix/sysv/linux/ttyname.c (ttyname): Recognize new mangling
92279         of inacessible symlinks.  Verify result of symlink before returning it.
92280         * sysdeps/unix/sysv/linux/ttyname_r.c (__ttyname_r): Likewise.
92281         Patch mostly by Miklos Szeredi <miklos@szeredi.hu>.
92283 2010-10-28  Erich Ritz  <erichritz@gmail.com>
92285         * math/math.h (isinf): Fix typo in comment.
92287 2010-11-01  Ulrich Drepper  <drepper@gmail.com>
92289         * po/da.po: Update from translation team.
92291 2010-10-26  Ulrich Drepper  <drepper@gmail.com>
92293         * elf/rtld.c (dl_main): Move assertion after the point where rtld map
92294         is added to the list.
92296 2010-10-20  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
92297             Ulrich Drepper  <drepper@gmail.com>
92299         * elf/dl-object.c (_dl_new_object): Don't append the new object to
92300         the global list here.  Move code to...
92301         (_dl_add_to_namespace_list): ...here.  New function.
92302         * elf/rtld.c (dl_main): Invoke _dl_add_to_namespace_list.
92303         * sysdeps/generic/ldsodefs.h (_dl_add_to_namespace_list): Declare.
92304         * elf/dl-load.c (lose): Don't remove the element from the list.
92305         (_dl_map_object_from_fd): Invoke _dl_add_to_namespace_list.
92306         (_dl_map_object): Likewise.
92308 2010-10-25  Ulrich Drepper  <drepper@gmail.com>
92310         [BZ #12159]
92311         * sysdeps/x86_64/multiarch/strchr.S: Fix propagation of search byte
92312         into all bytes of SSE register.
92313         Patch by Richard Li <richardpku@gmail.com>.
92315 2010-10-24  Ulrich Drepper  <drepper@gmail.com>
92317         [BZ #12140]
92318         * malloc/malloc.c (_int_free): Fill correct number of bytes when
92319         perturbing.
92321 2010-10-20  Michael B. Brutman  <brutman@us.ibm.com>
92323         * sysdeps/powerpc/dl-procinfo.c: Add support for ppca2 platform
92324         * sysdeps/powerpc/dl-procinfo.h: Add support for ppca2 platform
92325         * sysdeps/powerpc/powerpc32/a2/memcpy.S: New file.
92326         * sysdeps/powerpc/powerpc64/a2/memcpy.S: Likewise.
92327         * sysdeps/unix/sysv/linux/powerpc/powerpc32/a2/Implies: New
92328         submachine.
92329         * sysdeps/unix/sysv/linux/powerpc/powerpc64/a2/Implies: Likewise.
92331 2010-10-22  Andreas Schwab  <schwab@redhat.com>
92333         * include/dlfcn.h (__RTLD_SECURE): Define.
92334         * elf/dl-load.c (_dl_map_object): Remove preloaded parameter.  Use
92335         mode & __RTLD_SECURE instead.
92336         (open_path): Rename preloaded parameter to secure.
92337         * sysdeps/generic/ldsodefs.h (_dl_map_object): Adjust declaration.
92338         * elf/dl-open.c (dl_open_worker): Adjust call to _dl_map_object.
92339         * elf/dl-deps.c (openaux): Likewise.
92340         * elf/rtld.c (struct map_args): Remove is_preloaded.
92341         (map_doit): Don't use it.
92342         (dl_main): Likewise.
92343         (do_preload): Use __RTLD_SECURE instead of is_preloaded.
92344         (dlmopen_doit): Add __RTLD_SECURE to mode bits.
92346 2010-09-09  Andreas Schwab  <schwab@redhat.com>
92348         * Makeconfig (sysd-rules-patterns): Add rtld-%:rtld-%.
92349         (sysd-rules-targets): Remove duplicates.
92350         * elf/rtld-Rules ($(objpfx)rtld-%.os): Add pattern rules with
92351         rtld-%.$o dependency.
92353 2010-10-18  Andreas Schwab  <schwab@redhat.com>
92355         * elf/dl-open.c (dl_open_worker): Don't expand DST here, let
92356         _dl_map_object do it.
92358 2010-10-19  Ulrich Drepper  <drepper@gmail.com>
92360         * sysdeps/i386/bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has
92361         fast fma builtins, define the macros in the C99 standard.
92362         (FP_FAST_FMAF): Likewise.
92363         (FP_FAST_FMAL): Likewise.
92364         * sysdeps/x86_64/bits/mathdef.h: Likewise.
92366         * bits/mathdef.h: Update copyright year.
92367         * sysdeps/powerpc/bits/mathdef.h: Likewise.
92369 2010-10-19  Michael Meissner  <meissner@linux.vnet.ibm.com>
92371         * bits/mathdef.h (FP_FAST_FMA): If the GCC 4.6 port has fast fma
92372         builtins, define the macros in the C99 standard.
92373         (FP_FAST_FMAF): Likewise.
92374         (FP_FAST_FMAL): Likewise.
92375         * sysdeps/powerpc/bits/mathdef.h (FP_FAST_FMA): Define, ppc as
92376         multiply/add.
92377         (FP_FAST_FMAF): Likewise.
92379 2010-10-15  Jakub Jelinek  <jakub@redhat.com>
92381         [BZ #3268]
92382         * math/libm-test.inc (fma_test): Some new testcases.
92383         * sysdeps/ieee754/ldbl-128/s_fmal.c: New file.
92384         * sysdeps/ieee754/ldbl-96/s_fma.c (__fma): Fix fma with finite x and
92385         y and infinite z.  Do multiplication by C already in long double.
92386         * sysdeps/ieee754/ldbl-96/s_fmal.c: New file.
92387         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix fma with finite x and
92388         y and infinite z.  Do bitwise or of inexact bit into u.d.
92389         * sysdeps/ieee754/ldbl-64-128/s_fmal.c: New file.
92390         * sysdeps/i386/fpu/s_fmaf.S: Removed.
92391         * sysdeps/i386/fpu/s_fma.S: Removed.
92392         * sysdeps/i386/fpu/s_fmal.S: Removed.
92394 2010-10-16  Jakub Jelinek  <jakub@redhat.com>
92396         [BZ #3268]
92397         * math/libm-test.inc (fma_test): Add IEEE quad long double fmal tests.
92398         * sysdeps/ieee754/ldbl-128/s_fmal.c (__fmal): Ensure a1 + u.d
92399         computation is not scheduled after fetestexcept.  Fix value
92400         of minimum denormal long double.
92402 2010-10-14  Jakub Jelinek  <jakub@redhat.com>
92404         [BZ #3268]
92405         * math/libm-test.inc (fma_test): Add some more tests.
92406         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Handle underflows
92407         correctly.
92409 2010-10-15  Andreas Schwab  <schwab@redhat.com>
92411         * scripts/data/localplt-s390-linux-gnu.data: New file.
92412         * scripts/data/localplt-s390x-linux-gnu.data: New file.
92414 2010-10-13  Jakub Jelinek  <jakub@redhat.com>
92416         [BZ #3268]
92417         * math/libm-test.inc (fma_test): Some more fmaf and fma tests.
92418         * sysdeps/i386/i686/multiarch/s_fma.c: Include ldbl-96 version
92419         instead of dbl-64.
92420         * sysdeps/i386/fpu/bits/mathinline.h (fma, fmaf, fmal): Remove
92421         inlines.
92422         * sysdeps/ieee754/ldbl-96/s_fma.c: New file.
92423         * sysdeps/ieee754/dbl-64/s_fma.c (__fma): Fix exponent adjustment
92424         if one of x and y is very large and the other is subnormal.
92425         * sysdeps/s390/fpu/s_fmaf.c: New file.
92426         * sysdeps/s390/fpu/s_fma.c: New file.
92427         * sysdeps/powerpc/fpu/s_fmaf.S: New file.
92428         * sysdeps/powerpc/fpu/s_fma.S: New file.
92429         * sysdeps/powerpc/powerpc32/fpu/s_fma.S: New file.
92430         * sysdeps/powerpc/powerpc64/fpu/s_fma.S: New file.
92431         * sysdeps/unix/sysv/linux/s390/fpu/s_fma.c: New file.
92433 2010-10-12  Jakub Jelinek  <jakub@redhat.com>
92435         [BZ #3268]
92436         * math/libm-test.inc (fma_test): Add some more fmaf tests, add
92437         fma tests.
92438         * sysdeps/ieee754/dbl-64/s_fmaf.c (__fmaf): Fix Inf/Nan check.
92439         * sysdeps/ieee754/dbl-64/s_fma.c: New file.
92440         * sysdeps/i386/i686/multiarch/s_fma.c: Include
92441         sysdeps/ieee754/dbl-64/s_fma.c instead of math/s_fma.c.
92442         * sysdeps/x86_64/multiarch/s_fma.c: Likewise.
92443         * sysdeps/ieee754/ldbl-opt/s_fma.c: Likewise.
92444         * sysdeps/ieee754/ldbl-128/s_fma.c: New file.
92446 2010-10-12  Ulrich Drepper  <drepper@redhat.com>
92448         [BZ #12078]
92449         * posix/regcomp.c (parse_branch): One more memory leak plugged.
92450         * posix/bug-regex31.input: Add test case.
92452 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
92454         * posix/bug-regex31.c: Rewrite to run multiple tests from stdin.
92455         * posix/bug-regex31.input: New file.
92457         [BZ #12078]
92458         * posix/regcomp.c (parse_branch): Free memory when allocation failed.
92459         (parse_sub_exp): Fix last change, use postorder.
92461         * posix/bug-regex31.c: New file.
92462         * posix/Makefile: Add rules to build and run bug-regex31.
92464         * posix/regcomp.c (parse_bracket_exp): Add missing re_free calls.
92466         [BZ #12078]
92467         * posix/regcomp.c (parse_sub_exp): Free tree data when it is not used.
92469         [BZ #12108]
92470         * stdio-common/psiginfo.c (psiginfo): Don't expext SIGRTMIN..SIGRTMAX
92471         to have entries in sys_siglist.
92473         [BZ #12093]
92474         * sysdeps/unix/sysv/linux/check_pf.c (__check_pf): ->ifa_addr might
92475         be NULL.
92477 2010-10-07  Jakub Jelinek  <jakub@redhat.com>
92479         [BZ #3268]
92480         * math/libm-test.inc (fma_test): Add 2 fmaf tests.
92481         * sysdeps/ieee754/dbl-64/s_fmaf.c: New file.
92482         * sysdeps/i386/i686/multiarch/s_fmaf.c: Include
92483         sysdeps/ieee754/dbl-64/s_fmaf.c instead of math/s_fmaf.c.
92484         * sysdeps/x86_64/multiarch/s_fmaf.c: Likewise.
92485         * include/fenv.h (feupdateenv, fetestexcept): Add libm_hidden_proto.
92486         * math/feupdateenv.c (feupdateenv): Add libm_hidden_ver.
92487         * sysdeps/i386/fpu/feupdateenv.c (feupdateenv): Likewise.
92488         * sysdeps/powerpc/fpu/feupdateenv.c (feupdateenv): Likewise.
92489         * sysdeps/x86_64/fpu/feupdateenv.c (feupdateenv): Likewise.
92490         * sysdeps/sparc/fpu/feupdateenv.c (feupdateenv): Likewise.
92491         * sysdeps/ia64/fpu/feupdateenv.c (feupdateenv): Add libm_hidden_def.
92492         * sysdeps/s390/fpu/feupdateenv.c (feupdateenv): Likewise.
92493         * math/ftestexcept.c (fetestexcept): Likewise.
92494         * sysdeps/ia64/fpu/ftestexcept.c (fetestexcept): Likewise.
92495         * sysdeps/i386/fpu/ftestexcept.c (fetestexcept): Likewise.
92496         * sysdeps/s390/fpu/ftestexcept.c (fetestexcept): Likewise.
92497         * sysdeps/powerpc/fpu/ftestexcept.c (fetestexcept): Likewise.
92498         * sysdeps/x86_64/fpu/ftestexcept.c (fetestexcept): Likewise.
92499         * sysdeps/sparc/fpu/ftestexcept.c (fetestexcept): Likewise.
92500         * sysdeps/sh/sh4/fpu/ftestexcept.c (fetestexcept): Likewise.
92502 2010-10-11  Ulrich Drepper  <drepper@gmail.com>
92504         [BZ #12107]
92505         * stdio-common/psiginfo.c (psiginfo): Terminate all strings with
92506         newline.
92508 2010-10-06  Ulrich Drepper  <drepper@gmail.com>
92510         * string/bug-strstr1.c: New file.
92511         * string/Makefile: Add rules to build and run bug-strstr1.
92513 2010-10-05  Eric Blake  <eblake@redhat.com>
92515         [BZ #12092]
92516         * string/str-two-way.h (two_way_long_needle): Always clear memory
92517         when skipping input due to the shift table.
92519 2010-10-03  Ulrich Drepper  <drepper@gmail.com>
92521         [BZ #12005]
92522         * malloc/mcheck.c: Handle large requests.
92524         [BZ #12077]
92525         * sysdeps/x86_64/strcmp.S: Fix handling of remaining bytes in buffer
92526         for strncmp and strncasecmp.
92527         * string/stratcliff.c: Add tests for strcmp and strncmp.
92528         * wcsmbs/wcsatcliff.c: Adjust for stratcliff change.
92530 2010-09-28  Nobuhiro Iwamatsu  <iwamatsu@nigauri.org>
92532         * sysdeps/sh/sh4/fpu/fpu_control.h: Add 'extern "C"' protection to
92533         __set_fpscr.
92535 2010-09-30  Andreas Jaeger  <aj@suse.de>
92537         * sysdeps/unix/sysv/linux_fsinfo.h (BTRFS_SUPER_MAGIC): Define.
92538         (CGROUP_SUPER_MAGIC): Define.
92539         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
92540         Handle btrfs and cgroup file systems.
92541         * sysdeps/unix/sysv/linux/pathconf.c (__statfs_filesize_max):
92542         Likewise.
92544 2010-09-27  Luis Machado  <luisgpm@br.ibm.com>
92546         * sysdeps/powerpc/powerpc32/rtld-memset.c: New file.
92547         * sysdeps/powerpc/powerpc64/rtld-memset.c: New file.
92549 2010-09-29  Andreas Krebbel  <Andreas.Krebbel@de.ibm.com>
92551         [BZ #12067]
92552         * sysdeps/s390/s390-32/elf/start.S: Fix address calculation when
92553         trying to locate the ELF header.
92555 2010-09-27  Andreas Schwab  <schwab@redhat.com>
92557         [BZ #11611]
92558         * sysdeps/unix/sysv/linux/internal_statvfs.c (INTERNAL_STATVFS):
92559         Mask out sign-bit copies when constructing f_fsid.
92561 2010-09-24  Petr Baudis <pasky@suse.cz>
92563         * debug/stack_chk_fail_local.c: Add missing licence exception.
92564         * debug/warning-nop.c: Likewise.
92566 2010-09-15  Joseph Myers  <joseph@codesourcery.com>
92568         * sysdeps/unix/sysv/linux/getdents.c (__GETDENTS): When
92569         implementing getdents64 using getdents syscall, set d_type if
92570         __ASSUME_GETDENTS32_D_TYPE.
92572 2010-09-16  Andreas Schwab  <schwab@redhat.com>
92574         * elf/dl-close.c (free_slotinfo, free_mem): Move to...
92575         * elf/dl-libc.c (free_slotinfo, free_mem): ... here.
92577 2010-09-21  Ulrich Drepper  <drepper@redhat.com>
92579         [BZ #12037]
92580         * posix/unistd.h: Undo change of feature selection for ftruncate from
92581         2010-01-11.
92583 2010-09-20  Ulrich Drepper  <drepper@redhat.com>
92585         * sysdeps/x86_64/strcmp.S: Fix another typo in x86-64 strncasecmp limit
92586         detection.
92588 2010-09-20  Andreas Schwab  <schwab@redhat.com>
92590         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.list: Add
92591         fanotify_mark.
92592         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
92594 2010-09-14  Andreas Schwab  <schwab@redhat.com>
92596         * sysdeps/s390/s390-32/__longjmp.c (__longjmp): Define register
92597         variables after CHECK_SP call.
92598         * sysdeps/s390/s390-64/__longjmp.c (__longjmp): Likewise.
92600 2010-09-13  Andreas Schwab  <schwab@redhat.com>
92601             Ulrich Drepper  <drepper@redhat.com>
92603         * elf/rtld.c (dl_main): Set GLRO(dl_init_all_dirs) just before
92604         re-relocationg ld.so.
92605         * elf/dl-support.c (_dl_non_dynamic_init): And here after the
92606         _dl_init_paths call.
92607         * elf/dl-load.c (_dl_init_paths).  Don't set GLRO(dl_init_all_dirs)
92608         here anymore.
92610 2010-09-14  Ulrich Drepper  <drepper@redhat.com>
92612         * resolv/res_init.c (__res_vinit): Count the default server we added.
92614 2010-09-08  Chung-Lin Tang  <cltang@codesourcery.com>
92615             Ulrich Drepper  <drepper@redhat.com>
92617         [BZ #11968]
92618         * sysdeps/unix/sysv/linux/x86_64/____longjmp_chk.S
92619         (____longjmp_chk): Use %ebx for saving value across system call.
92620         Add unwind info.
92622 2010-09-06  Andreas Schwab  <schwab@redhat.com>
92624         * manual/Makefile: Don't mix pattern rules with normal rules.
92626 2010-09-05  Andreas Schwab  <schwab@linux-m68k.org>
92628         * debug/vdprintf_chk.c (__vdprintf_chk): Remove undefined
92629         operation.
92630         * libio/iofdopen.c (_IO_new_fdopen): Likewise.
92631         * libio/iofopncook.c (_IO_cookie_init): Likewise.
92632         * libio/iovdprintf.c (_IO_vdprintf): Likewise.
92633         * libio/oldiofdopen.c (_IO_old_fdopen): Likewise.
92634         * sysdeps/powerpc/powerpc64/dl-machine.h (elf_machine_rela):
92635         Likewise.
92637 2010-09-04  Ulrich Drepper  <drepper@redhat.com>
92639         [BZ #11979]
92640         * iconvdata/gconv-modules: Remove EBCDIC-CP-AR2 alias from
92641         IBM-930, IBM-933, IBM-935, IBM-937, and IBM-939.
92643 2010-09-02  Ulrich Drepper  <drepper@redhat.com>
92645         * sysdeps/x86_64/add_n.S: Update from GMP 5.0.1.
92646         * sysdeps/x86_64/addmul_1.S: Likewise.
92647         * sysdeps/x86_64/lshift.S: Likewise.
92648         * sysdeps/x86_64/mul_1.S: Likewise.
92649         * sysdeps/x86_64/rshift.S: Likewise.
92650         * sysdeps/x86_64/sub_n.S: Likewise.
92651         * sysdeps/x86_64/submul_1.S: Likewise.
92653 2010-09-01  Samuel Thibault  <samuel.thibault@ens-lyon.org>
92655         This aligns bits/sched.h onto sysdeps/unix/sysv/linux/bits/sched.h:
92656         Define __sched_param instead of SCHED_* and sched_param when
92657         <bits/sched.h> is included with __need_schedparam defined.
92658         * bits/sched.h [__need_schedparam]
92659         (SCHED_OTHER, SCHED_FIFO, SCHED_RR, sched_param): Do not define.
92660         [!__defined_schedparam && (__need_schedparam || _SCHED_H)]
92661         (__defined_schedparam): Define to 1.
92662         (__sched_param): New structure, identical to sched_param.
92663         (__need_schedparam): Undefine.
92665 2010-08-31  Mike Frysinger  <vapier@gentoo.org>
92667         * sysdeps/unix/sysv/linux/sparc/sys/epoll.h (epoll_create2): Delete.
92668         (epoll_create1): Declare.
92670         * sysdeps/unix/sysv/linux/x86_64/sys/epoll.h: Fix typo.
92672 2010-08-31  Andreas Schwab  <schwab@redhat.com>
92674         [BZ #7066]
92675         * stdlib/strtod_l.c (____STRTOF_INTERNAL): Fix array overflow when
92676         shifting retval into place.
92678 2010-09-01  Ulrich Drepper  <drepper@redhat.com>
92680         * nis/rpcsvc/nis.h: Update copyright notice.
92681         * nis/rpcsvc/nis.x: Likewise.
92682         * nis/rpcsvc/nis_callback.h: Likewise.
92683         * nis/rpcsvc/nis_callback.x: Likewise.
92684         * nis/rpcsvc/nis_object.x: Likewise.
92685         * nis/rpcsvc/nis_tags.h: Likewise.
92686         * nis/rpcsvc/yp.h: Likewise.
92687         * nis/rpcsvc/yp.x: Likewise.
92688         * nis/rpcsvc/ypupd.h: Likewise.
92689         * nis/yp_xdr.c: Likewise.
92690         * nis/ypupdate_xdr.c: Likewise.
92692         * sunrpc/pm_getport.c (__libc_rpc_getport): New function.  This is
92693         mainly the body of pmap_getport.  Add parameters to specify timeouts.
92694         (pmap_getport): Use __libc_rpc_getport.
92695         * sunrpc/Versions: Export __libc_rpc_getport with GLIBC_PRIVATE.
92696         * include/rpc/pmap_clnt.h: Declare __libc_rpc_getport.
92697         * nis/nis_findserv.c: Remove pmap_getport copy. Use __libc_rpc_getport.
92699 2010-08-31  Andreas Schwab  <schwab@linux-m68k.org>
92701         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Add
92702         fanotify_mark.
92704 2010-08-27  Roland McGrath  <roland@redhat.com>
92706         * sysdeps/i386/i686/multiarch/Makefile
92707         (CFLAGS-varshift.c): New variable.
92709 2010-08-27  Ulrich Drepper  <drepper@redhat.com>
92711         * sysdeps/i386/i686/multiarch/varshift.S: File removed.
92712         * sysdeps/i386/i686/multiarch/varshift.c: New file.
92714         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: Move to .text.slow section.
92716         * sysdeps/x86_64/strlen.S: Minimal code improvement.
92718 2010-08-26  H.J. Lu  <hongjiu.lu@intel.com>
92720         * sysdeps/x86_64/strlen.S: Unroll the loop.
92721         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
92722         strlen-sse2 strlen-sse2-bsf.
92723         * sysdeps/x86_64/multiarch/strlen.S ((strlen): Return
92724         __strlen_no_bsf if bit_Slow_BSF is set.
92725         (__strlen_sse42): Removed.
92726         * sysdeps/x86_64/multiarch/strlen-no-bsf.S: New file.
92727         * sysdeps/x86_64/multiarch/strlen-sse4.S: New file.
92729 2010-08-25  Roland McGrath  <roland@redhat.com>
92731         * sysdeps/x86_64/multiarch/varshift.S: File removed.
92732         * sysdeps/x86_64/multiarch/varshift.c: New file.
92733         * sysdeps/x86_64/multiarch/Makefile (CFLAGS-varshift.c): New variable.
92734         * sysdeps/x86_64/multiarch/varshift.h: Clean up decls, fix a cast.
92735         * sysdeps/x86_64/multiarch/memmove.c: Move decls around.
92736         * sysdeps/x86_64/multiarch/memmove_chk.c: Likewise.
92738 2010-08-25  H.J. Lu  <hongjiu.lu@intel.com>
92740         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
92741         strlen-sse2 strlen-sse2-bsf.
92742         * sysdeps/i386/i686/multiarch/strlen.S (strlen): Return
92743         __strlen_sse2_bsf if bit_Slow_BSF is unset.
92744         (__strlen_sse2): Removed.
92745         * sysdeps/i386/i686/multiarch/strlen-sse2-bsf.S: New file.
92746         * sysdeps/i386/i686/multiarch/strlen-sse2.S: New file.
92747         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features): Set
92748         bit_Slow_BSF for Atom.
92749         * sysdeps/x86_64/multiarch/init-arch.h (bit_Slow_BSF): Define.
92750         (index_Slow_BSF): Define.
92751         (HAS_SLOW_BSF): Define.
92753 2010-08-25  Ulrich Drepper  <drepper@redhat.com>
92755         [BZ #10851]
92756         * resolv/res_init.c (__res_vinit): When no server address at all
92757         is given default to loopback.
92759 2010-08-24  Roland McGrath  <roland@redhat.com>
92761         * configure.in: Remove config-name.h generation.
92762         * configure: Regenerated.
92763         * config-name.in: File removed.
92764         * scripts/config-uname.sh: New file.
92765         * posix/Makefile (uname.c): Depend on $(objdir)config-name.h.
92766         ($(objdir)config-name.h): New target.
92768         * sunrpc/rpc_parse.h: Avoid nested comment.
92770 2010-08-24  Richard Henderson  <rth@redhat.com>
92771             Ulrich Drepper  <drepper@redhat.com>
92772             H.J. Lu  <hongjiu.lu@intel.com>
92774         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add varshift.
92775         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Likewise.
92776         * sysdeps/x86_64/multiarch/strcspn-c.c: Include "varshift.h".
92777         Replace _mm_srli_si128 with __m128i_shift_right.  Replace
92778         _mm_alignr_epi8 with _mm_loadu_si128.
92779         * sysdeps/x86_64/multiarch/strspn-c.c: Likewise.
92780         * sysdeps/x86_64/multiarch/strstr.c: Include "varshift.h".
92781         (__m128i_shift_right): Removed.
92782         * sysdeps/i386/i686/multiarch/varshift.h: New file.
92783         * sysdeps/i386/i686/multiarch/varshift.S: New file.
92784         * sysdeps/x86_64/multiarch/varshift.h: New file.
92785         * sysdeps/x86_64/multiarch/varshift.S: New file.
92787 2010-08-21  Mike Frysinger  <vapier@gentoo.org>
92789         * configure.in: Move assembler checks to before sysdep dir checking.
92791 2010-08-20  Petr Baudis  <pasky@suse.cz>
92793         * LICENSES: Sync the sunrpc license.
92795 2010-08-19  Ulrich Drepper  <drepper@redhat.com>
92797         * sunrpc/auth_des.c: Update copyright notice once again.
92798         * sunrpc/auth_none.c: Likewise.
92799         * sunrpc/auth_unix.c: Likewise.
92800         * sunrpc/authdes_prot.c: Likewise.
92801         * sunrpc/authuxprot.c: Likewise.
92802         * sunrpc/bindrsvprt.c: Likewise.
92803         * sunrpc/clnt_gen.c: Likewise.
92804         * sunrpc/clnt_perr.c: Likewise.
92805         * sunrpc/clnt_raw.c: Likewise.
92806         * sunrpc/clnt_simp.c: Likewise.
92807         * sunrpc/clnt_tcp.c: Likewise.
92808         * sunrpc/clnt_udp.c: Likewise.
92809         * sunrpc/clnt_unix.c: Likewise.
92810         * sunrpc/des_crypt.c: Likewise.
92811         * sunrpc/des_soft.c: Likewise.
92812         * sunrpc/get_myaddr.c: Likewise.
92813         * sunrpc/getrpcport.c: Likewise.
92814         * sunrpc/key_call.c: Likewise.
92815         * sunrpc/key_prot.c: Likewise.
92816         * sunrpc/openchild.c: Likewise.
92817         * sunrpc/pm_getmaps.c: Likewise.
92818         * sunrpc/pm_getport.c: Likewise.
92819         * sunrpc/pmap_clnt.c: Likewise.
92820         * sunrpc/pmap_prot.c: Likewise.
92821         * sunrpc/pmap_prot2.c: Likewise.
92822         * sunrpc/pmap_rmt.c: Likewise.
92823         * sunrpc/rpc/auth.h: Likewise.
92824         * sunrpc/rpc/auth_unix.h: Likewise.
92825         * sunrpc/rpc/clnt.h: Likewise.
92826         * sunrpc/rpc/des_crypt.h: Likewise.
92827         * sunrpc/rpc/key_prot.h: Likewise.
92828         * sunrpc/rpc/netdb.h: Likewise.
92829         * sunrpc/rpc/pmap_clnt.h: Likewise.
92830         * sunrpc/rpc/pmap_prot.h: Likewise.
92831         * sunrpc/rpc/pmap_rmt.h: Likewise.
92832         * sunrpc/rpc/rpc.h: Likewise.
92833         * sunrpc/rpc/rpc_des.h: Likewise.
92834         * sunrpc/rpc/rpc_msg.h: Likewise.
92835         * sunrpc/rpc/svc.h: Likewise.
92836         * sunrpc/rpc/svc_auth.h: Likewise.
92837         * sunrpc/rpc/types.h: Likewise.
92838         * sunrpc/rpc/xdr.h: Likewise.
92839         * sunrpc/rpc_clntout.c: Likewise.
92840         * sunrpc/rpc_cmsg.c: Likewise.
92841         * sunrpc/rpc_common.c: Likewise.
92842         * sunrpc/rpc_cout.c: Likewise.
92843         * sunrpc/rpc_dtable.c: Likewise.
92844         * sunrpc/rpc_hout.c: Likewise.
92845         * sunrpc/rpc_main.c: Likewise.
92846         * sunrpc/rpc_parse.c: Likewise.
92847         * sunrpc/rpc_parse.h: Likewise.
92848         * sunrpc/rpc_prot.c: Likewise.
92849         * sunrpc/rpc_sample.c: Likewise.
92850         * sunrpc/rpc_scan.c: Likewise.
92851         * sunrpc/rpc_scan.h: Likewise.
92852         * sunrpc/rpc_svcout.c: Likewise.
92853         * sunrpc/rpc_tblout.c: Likewise.
92854         * sunrpc/rpc_util.c: Likewise.
92855         * sunrpc/rpc_util.h: Likewise.
92856         * sunrpc/rpcinfo.c: Likewise.
92857         * sunrpc/rpcsvc/bootparam_prot.x: Likewise.
92858         * sunrpc/rpcsvc/key_prot.x: Likewise.
92859         * sunrpc/rpcsvc/klm_prot.x: Likewise.
92860         * sunrpc/rpcsvc/mount.x: Likewise.
92861         * sunrpc/rpcsvc/nfs_prot.x: Likewise.
92862         * sunrpc/rpcsvc/nlm_prot.x: Likewise.
92863         * sunrpc/rpcsvc/rex.x: Likewise.
92864         * sunrpc/rpcsvc/rstat.x: Likewise.
92865         * sunrpc/rpcsvc/rusers.x: Likewise.
92866         * sunrpc/rpcsvc/sm_inter.x: Likewise.
92867         * sunrpc/rpcsvc/spray.x: Likewise.
92868         * sunrpc/rpcsvc/yppasswd.x: Likewise.
92869         * sunrpc/rtime.c: Likewise.
92870         * sunrpc/svc.c: Likewise.
92871         * sunrpc/svc_auth.c: Likewise.
92872         * sunrpc/svc_authux.c: Likewise.
92873         * sunrpc/svc_raw.c: Likewise.
92874         * sunrpc/svc_run.c: Likewise.
92875         * sunrpc/svc_simple.c: Likewise.
92876         * sunrpc/svc_tcp.c: Likewise.
92877         * sunrpc/svc_udp.c: Likewise.
92878         * sunrpc/svc_unix.c: Likewise.
92879         * sunrpc/svcauth_des.c: Likewise.
92880         * sunrpc/xcrypt.c: Likewise.
92881         * sunrpc/xdr.c: Likewise.
92882         * sunrpc/xdr_array.c: Likewise.
92883         * sunrpc/xdr_float.c: Likewise.
92884         * sunrpc/xdr_mem.c: Likewise.
92885         * sunrpc/xdr_rec.c: Likewise.
92886         * sunrpc/xdr_ref.c: Likewise.
92887         * sunrpc/xdr_sizeof.c: Likewise.
92888         * sunrpc/xdr_stdio.c: Likewise.
92890         * sysdeps/x86_64/multiarch/strcmp.S: Fix two typos in strncasecmp
92891         handling.
92893 2010-08-19  Andreas Schwab  <schwab@redhat.com>
92895         * sysdeps/i386/i686/multiarch/strspn.S [!SHARED]: Fix SSE4.2 check.
92897 2010-08-19  Luis Machado  <luisgpm@br.ibm.com>
92899         * sysdeps/powerpc/powerpc32/power7/memchr.S: New file.
92900         * sysdeps/powerpc/powerpc32/power7/memrchr.S: New file.
92901         * sysdeps/powerpc/powerpc32/power7/rawmemchr.S: New file.
92902         * sysdeps/powerpc/powerpc32/power7/strchr.S: New file.
92903         * sysdeps/powerpc/powerpc32/power7/strchrnul.S: New file.
92904         * sysdeps/powerpc/powerpc32/power7/strlen.S: New file.
92905         * sysdeps/powerpc/powerpc32/power7/strnlen.S: New file.
92906         * sysdeps/powerpc/powerpc64/power7/memchr.S: New file.
92907         * sysdeps/powerpc/powerpc64/power7/memrchr.S: New file.
92908         * sysdeps/powerpc/powerpc64/power7/rawmemchr.S: New file.
92909         * sysdeps/powerpc/powerpc64/power7/strchr.S: New file.
92910         * sysdeps/powerpc/powerpc64/power7/strchrnul.S: New file.
92911         * sysdeps/powerpc/powerpc64/power7/strlen.S: New file.
92912         * sysdeps/powerpc/powerpc64/power7/strnlen.S: New file.
92914 2010-07-26  Anton Blanchard  <anton@samba.org>
92916         * malloc/malloc.c (sYSTRIm): Replace divide and multiply with mask.
92917         * malloc/arena.c (heap_trim): Likewise.
92919 2010-08-16  Ulrich Drepper  <drepper@redhat.com>
92921         * sysdeps/unix/sysv/linux/syscalls.list: Add entry for fanotify_init
92922         here.  Not...
92923         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: ...here...
92924         * sysdeps/unix/sysv/linux/i386/syscalls.list: ... orhere.
92926 2010-08-12  H.J. Lu  <hongjiu.lu@intel.com>
92928         * sysdeps/i386/elf/Makefile: New file.
92930 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
92932         * sysdeps/unix/sysv/linux/sys/fanotify.h: Remove third argument
92933         from fanotify_init.
92934         * sysdeps/unix/sysv/linux/i386/syscalls.list: Likewise.
92935         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
92937 2010-08-15  Ulrich Drepper  <drepper@redhat.com>
92939         * sysdeps/x86_64/strcmp.S: Use correct register for fourth parameter
92940         of strncasecmp_l.
92941         * sysdeps/multiarch/strcmp.S: Likewise.
92943 2010-08-14  Ulrich Drepper  <drepper@redhat.com>
92945         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
92946         strncase_l-nonascii.
92947         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
92948         Add strncase_l-ssse3.
92949         * sysdeps/x86_64/multiarch/strcmp.S: Prepare for use as strncasecmp.
92950         * sysdeps/x86_64/strcmp.S: Likewise.
92951         * sysdeps/x86_64/multiarch/strncase_l-ssse3.S: New file.
92952         * sysdeps/x86_64/multiarch/strncase_l.S: New file.
92953         * sysdeps/x86_64/strncase.S: New file.
92954         * sysdeps/x86_64/strncase_l-nonascii.c: New file.
92955         * sysdeps/x86_64/strncase_l.S: New file.
92956         * string/Makefile (strop-tests): Add strncasecmp.
92957         * string/test-strncasecmp.c: New file.
92959         * sysdeps/x86_64/strcasecmp_l-nonascii.c: Add prototype to avoid
92960         warning.
92962         * sysdeps/x86_64/strcmp.S: Move definition of NO_NOLOCALE_ALIAS to...
92963         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: ... here.
92965 2010-08-14  Andreas Schwab  <schwab@linux-m68k.org>
92967         * sysdeps/unix/sysv/linux/prlimit.c: Make it compile.
92969 2010-08-12  Ulrich Drepper  <drepper@redhat.com>
92971         * sysdeps/unix/sysv/linux/bits/termios.h: Define EXTPROC.
92972         * sysdeps/unix/sysv/linux/powerpc/bits/termios.h: Likewise.
92973         * sysdeps/unix/sysv/linux/sparc/bits/termios.h: Likewise.
92975 2010-05-01  Alan Modra  <amodra@gmail.com>
92977         * sysdeps/powerpc/powerpc32/power4/memcmp.S: Correct cfi for r24.
92978         * sysdeps/powerpc/powerpc64/bsd-_setjmp.S: Move contents..
92979         * sysdeps/powerpc/powerpc64/bsd-setjmp.S: ..and these too..
92980         * sysdeps/powerpc/powerpc64/setjmp.S: ..to here..
92981         * sysdeps/powerpc/powerpc64/setjmp-common.S: ..and here, with some
92982         tidying.  Don't tail-call __sigjmp_save for static lib.
92983         * sysdeps/powerpc/powerpc64/sysdep.h (SAVE_ARG, REST_ARG): Correct
92984         save location.
92985         (CFI_SAVE_ARG, CFI_REST_ARG): New macros.
92986         (CALL_MCOUNT): Add eh info, and nop after bl.
92987         (TAIL_CALL_SYSCALL_ERROR): New macro.
92988         (PSEUDO_RET): Use it.
92989         * sysdeps/powerpc/powerpc64/dl-trampoline.S (_dl_runtime_resolve):
92990         Correct save location of integer regs and cr.
92991         (_dl_profile_resolve): Correct cr save location.  Delete nops
92992         after bl when SHARED.  Reduce cfi size a little by better
92993         placement of cfi directives.
92994         * sysdeps/powerpc/powerpc64/fpu/s_copysign.S (__copysign): Don't
92995         make a stack frame.  Instead use parm save area as a temp.
92996         * sysdeps/unix/sysv/linux/powerpc/powerpc64/brk.S (__brk): Don't
92997         make a stack frame.  Use TAIL_CALL_SYSCALL_ERROR.
92998         * sysdeps/unix/sysv/linux/powerpc/powerpc64/clone.S (__clone):
92999         Don't make a stack frame for parent, use parm save area.
93000         Increase child stack frame to 112 bytes.  Don't save unused reg,
93001         and adjust reg usage.  Set up cfi on error recovery and
93002         epilogue of parent, and use TAIL_CALL_SYSCALL_ERROR, PSEUDO_RET.
93003         * sysdeps/unix/sysv/linux/powerpc/powerpc64/makecontext.S
93004         (__makecontext): Add dummy nop after jump to exit.
93005         * sysdeps/unix/sysv/linux/powerpc/powerpc64/socket.S (__socket):
93006         Use correct parm save area and cr save, reduce stack frame.
93007         Correct cfi for possible PSEUDO_RET frame setup.
93008         * sysdeps/unix/sysv/linux/powerpc/powerpc64/vfork.S (__vfork):
93009         Branch to local label emitted by PSEUDO_RET rather than
93010         __syscall_error.
93012 2010-08-12  Andreas Schwab  <schwab@redhat.com>
93014         [BZ #11904]
93015         * locale/programs/locale.c (print_assignment): New function.
93016         (show_locale_vars): Use it.
93018 2010-08-11  Ulrich Drepper  <drepper@redhat.com>
93020         * sysdeps/unix/sysv/linux/bits/statfs.h (struct statfs): Add f_flags
93021         field.
93022         (struct statfs64): Likewise.
93023         (_STATFS_F_FLAGS): Define.
93024         * sysdeps/unix/sysv/linux/s390/bits/statfs.h: Likewise.
93025         * sysdeps/unix/sysv/linux/internal_statvfs.c (__statvfs_getflags):
93026         Don't define if __ASSUME_STATFS_F_FLAGS is defined.
93027         (ST_VALID): Define locally.
93028         (INTERNAL_STATVFS): If f_flags has ST_VALID set don't call
93029         __statvfs_getflags, use the provided value.
93030         * sysdeps/unix/sysv/linux/kernel-features.h: Define
93031         __ASSUME_STATFS_F_FLAGS.
93033         * sysdeps/unix/sysv/linux/sys/inotify.h (IN_EXCL_UNLINK): Define.
93035         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_headers):
93036         Add sys/fanotify.h.
93037         * sysdeps/unix/sysv/linux/Versions [libc]: Export fanotify_init and
93038         fanotify_mask for GLIBC_2.13.
93039         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entries for
93040         fanotify_init and fanotify_mark.
93041         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.
93042         * sysdeps/unix/sysv/linux/sys/fanotify.h: New file.
93044         * sysdeps/unix/sysv/linux/Makefile [subdir=misc] (sysdep_routines):
93045         Add prlimit.
93046         * sysdeps/unix/sysv/linux/Versions [libc]: Export prlimit and
93047         prlimit64 for GLIBC_2.13.
93048         * sysdeps/unix/sysv/linux/bits/resource.h: Declare prlimit and
93049         prlimit64.
93050         * sysdeps/unix/sysv/linux/i386/syscalls.list: Add entry for prlimit64
93051         syscall.
93052         * sysdeps/unix/sysv/linux/powerpc/powerpc32/syscalls.list: Likewise.
93053         * sysdeps/unix/sysv/linux/s390/s390-32/syscalls.list: Likewise.
93054         * sysdeps/unix/sysv/linux/sh/syscalls.list: Likewise.
93055         * sysdeps/unix/sysv/linux/sparc/sparc32/syscalls.lis: Likewise.
93056         * sysdeps/unix/sysv/linux/wordsize-64/syscalls.list: Likewise.  Also
93057         add prlimit alias.
93058         * sysdeps/unix/sysv/linux/prlimit.c: New file.
93060         [BZ #11903]
93061         * sysdeps/generic/netinet/ip.h (IPTOS_CLASS): Fix definition.
93062         Patch by Evgeni Bikov <bikovevg@iitp.ru>.
93064         * nss/Makefile: Add rules to build and run tst-nss-test1.
93065         * shlib-versions: Add entry for libnss_test1.
93066         * nss/nss_test1.c: New file.
93067         * nss/tst-nss-test1.c: New file.
93069         * nss/nsswitch.c (__nss_database_custom): Define new variable.
93070         (__nss_configure_lookup): Set appropriate entry in
93071         __nss_configure_lookup to true.
93072         * nss/nsswitch.h: Define enum with indeces of databases in
93073         databases and __nss_database_custom arrays.  Declare
93074         __nss_database_custom.
93075         * grp/initgroups.c (internal_getgrouplist): Use __nss_database_custom
93076         to avoid using nscd when custom rules are installed.
93077         * nss/getXXbyYY_r.c: Likewise.
93078         * sysdeps/posix/getaddrinfo.c (gaih_inet): Likewise.
93080         * nss/nss_files/files-parse.c: Whitespace fixes.
93082 2010-08-09  Ulrich Drepper  <drepper@redhat.com>
93084         [BZ #11883]
93085         * posix/fnmatch.c: Keep track of alloca use and fall back on malloc.
93086         * posix/fnmatch_loop.c: Likewise.
93088 2010-07-17  Andi Kleen  <ak@linux.intel.com>
93090         * sysdeps/i386/i386-mcount.S (__fentry__): Define.
93091         * sysdeps/x86_64/_mcount.S (__fentry__): Define.
93092         * stdlib/Versions (__fentry__): Add for GLIBC 2.13
93093         * Versions.def [GLIBC_2.13]: Add.
93095 2010-08-06  Ulrich Drepper  <drepper@redhat.com>
93097         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
93098         Also fail if tpwd after pwuid call is NULL.
93100 2010-07-31  Samuel Thibault  <samuel.thibault@ens-lyon.org>
93102         * hurd/hurdselect.c (_hurd_select): Round timeout up instead of down
93103         when converting to ms.
93105 2010-06-06  Samuel Thibault  <samuel.thibault@ens-lyon.org>
93107         * sysdeps/mach/hurd/ttyname.c (ttyname): Replace MIG_BAD_ID and
93108         EOPNOTSUPP errors with ENOTTY.
93109         * sysdeps/mach/hurd/ttyname_r.c (__ttyname_r): Replace MIG_BAD_ID and
93110         EOPNOTSUPP errors with ENOTTY.
93112 2010-07-31  Ulrich Drepper  <drepper@redhat.com>
93114         * sysdeps/x86_64/multiarch/Makefile [subdir=string] (sysdep_routines):
93115         Add strcasecmp_l-ssse3.
93116         * sysdeps/x86_64/multiarch/strcmp.S: Add support to compile for
93117         strcasecmp.
93118         * sysdeps/x86_64/strcmp.S: Allow more flexible compiling of strcasecmp.
93119         * sysdeps/x86_64/multiarch/strcasecmp_l.S: New file.
93120         * sysdeps/x86_64/multiarch/strcasecmp_l-ssse3.S: New file.
93122 2010-07-30  Ulrich Drepper  <drepper@redhat.com>
93124         * sysdeps/x86_64/multiarch/strcmp.S: Pretty printing.
93126         * string/Makefile (strop-tests): Add strcasecmp.
93127         * sysdeps/x86_64/Makefile [subdir=string] (sysdep_routines): Add
93128         strcasecmp_l-nonascii.
93129         (gen-as-const-headers): Add locale-defines.sym.
93130         * sysdeps/x86_64/strcmp.S: Add support for strcasecmp implementation.
93131         * sysdeps/x86_64/strcasecmp.S: New file.
93132         * sysdeps/x86_64/strcasecmp_l.S: New file.
93133         * sysdeps/x86_64/strcasecmp_l-nonascii.c: New file.
93134         * sysdeps/x86_64/locale-defines.sym: New file.
93135         * string/test-strcasecmp.c: New file.
93137         * string/test-strcasestr.c: Test both ends of the range of characters.
93138         * sysdeps/x86_64/multiarch/strstr.c: Fix UCHIGH definition.
93140 2010-07-29  Roland McGrath  <roland@redhat.com>
93142         [BZ #11856]
93143         * manual/locale.texi (Yes-or-No Questions): Fix example code.
93145 2010-07-27  Ulrich Drepper  <drepper@redhat.com>
93147         * sysdeps/x86_64/multiarch/strcmp-ssse3.S: Avoid compiling the file
93148         for ld.so.
93150 2010-07-27  Andreas Schwab  <schwab@redhat.com>
93152         * manual/memory.texi (Malloc Tunable Parameters): Document
93153         M_PERTURB.
93155 2010-07-26  Roland McGrath  <roland@redhat.com>
93157         [BZ #11840]
93158         * configure.in (-fgnu89-inline check): Set and substitute
93159         gnu89_inline, not libc_cv_gnu89_inline.
93160         * configure: Regenerated.
93161         * config.make.in (gnu89-inline-CFLAGS): Use @gnu89_inline@.
93163 2010-07-26  Ulrich Drepper  <drepper@redhat.com>
93165         * string/test-strnlen.c: New file.
93166         * string/Makefile (strop-tests): Add strnlen.
93167         * string/tester.c (test_strnlen): Add a few more test cases.
93168         * string/tst-strlen.c: Better error reporting.
93170         * sysdeps/x86_64/strnlen.S: New file.
93172 2010-07-24  Ulrich Drepper  <drepper@redhat.com>
93174         * sysdeps/x86_64/multiarch/strstr.c (__m128i_strloadu_tolower): Use
93175         lower-latency instructions.
93177 2010-07-23  Ulrich Drepper  <drepper@redhat.com>
93179         * string/test-strcasestr.c: New file.
93180         * string/test-strstr.c: New file.
93181         * string/Makefile (strop-tests): Add strstr and strcasestr.
93182         * string/str-two-way.h: Don't undefine MAX.
93183         * string/strcasestr.c: Don't define alias if NO_ALIAS is defined.
93185 2010-07-21  Andreas Schwab  <schwab@redhat.com>
93187         * sysdeps/i386/i686/multiarch/Makefile (sysdep_routines): Add
93188         strcasestr-nonascii.
93189         (CFLAGS-strcasestr-nonascii.c): Define.
93190         * sysdeps/i386/i686/multiarch/strcasestr-nonascii.c: New file.
93191         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c (STRSTR_SSE42):
93192         Remove unused attribute.
93194 2010-07-20  Roland McGrath  <roland@redhat.com>
93196         * elf/dl-sysdep.c (_dl_important_hwcaps): Add dsocaps mask to
93197         dl_hwcap_mask as well as dl_hwcap.  Without this, dsocaps matching in
93198         ld.so.cache was broken.  With it, there is no way to disable dsocaps
93199         like LD_HWCAP_MASK can disable hwcaps.
93201 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
93203         * sysdeps/mach/hurd/sendmsg.c (__libc_sendmsg): Fix memory leaks.
93205 2010-07-16  Ulrich Drepper  <drepper@redhat.com>
93207         * sysdeps/x86_64/multiarch/strstr.c: Rewrite to avoid indirect function
93208         call in strcasestr.
93209         * sysdeps/x86_64/multiarch/strcasestr.c: Declare
93210         __strcasestr_sse42_nonascii.
93211         * sysdeps/x86_64/multiarch/Makefile: Add rules to build
93212         strcasestr-nonascii.c.
93213         * sysdeps/x86_64/multiarch/strcasestr-nonascii.c: New file.
93215 2010-06-15  Luis Machado  <luisgpm@br.ibm.com>
93217         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysign.S: New file.
93218         * sysdeps/powerpc/powerpc32/power6/fpu/s_copysignf.S: New file.
93219         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysign.S: New file.
93220         * sysdeps/powerpc/powerpc64/power6/fpu/s_copysignf.S: New file.
93222 2010-07-09  Ulrich Drepper  <drepper@redhat.com>
93224         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Use __fcntl not
93225         fcntl.
93227 2010-07-06  Andreas Schwab  <schwab@redhat.com>
93229         [BZ #11577]
93230         * elf/dl-version.c (match_symbol): Don't pass NULL occation to
93231         dl_signal_cerror.
93233 2010-07-06  Ulrich Drepper  <drepper@redhat.com>
93235         * sysdeps/unix/sysv/linux/fpathconf.c (__fpathconf): Implement
93236         _PC_PIPE_BUF using F_GETPIPE_SZ.
93238 2010-07-05  Roland McGrath  <roland@redhat.com>
93240         * manual/arith.texi (Rounding Functions): Fix rint description
93241         implicit in round description.
93243 2010-07-02  Ulrich Drepper  <drepper@redhat.com>
93245         * elf/Makefile: Fix linking for a few tests to make recent linker
93246         happy.
93248 2010-06-30  Andreas Schwab  <schwab@redhat.com>
93250         * dlfcn/Makefile (LDLIBS-bug-atexit3-lib.so): Readd
93251         $(common-objpfx)libc_nonshared.a.
93253 2010-06-21  Luis Machado  <luisgpm@br.ibm.com>
93255         * sysdeps/powerpc/powerpc32/970/fpu/Implies: Remove.
93256         * sysdeps/powerpc/powerpc32/power5/fpu/Implies: Remove.
93257         * sysdeps/powerpc/powerpc32/power5+/fpu/Implies: Remove.
93258         * sysdeps/powerpc/powerpc32/power6x/fpu/Implies: Remove.
93259         * sysdeps/powerpc/powerpc64/970/fpu/Implies: Remove.
93260         * sysdeps/powerpc/powerpc64/power5/fpu/Implies: Remove.
93261         * sysdeps/powerpc/powerpc64/power5+/fpu/Implies: Remove.
93262         * sysdeps/powerpc/powerpc64/power6x/fpu/Implies: Remove.
93263         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/fpu/Implies: Remove.
93264         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/fpu/Implies: Remove.
93265         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/fpu/Implies: Remove.
93266         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5+/fpu/Implies: Remove.
93267         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/fpu/Implies: Remove.
93268         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/fpu/Implies: Remove.
93269         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/fpu/Implies: Remove.
93270         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/fpu/Implies: Remove.
93271         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/fpu/Implies: Remove.
93272         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/fpu/Implies: Remove.
93273         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5+/fpu/Implies: Remove.
93274         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/fpu/Implies: Remove.
93275         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/fpu/Implies: Remove.
93276         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/fpu/Implies: Remove.
93277         * sysdeps/powerpc/powerpc32/970/Implies: Point to power4.
93278         * sysdeps/powerpc/powerpc32/power5/Implies: Point to power4.
93279         * sysdeps/powerpc/powerpc32/power5+/Implies: Point to power5.
93280         * sysdeps/powerpc/powerpc32/power6/Implies: Point to power5+.
93281         * sysdeps/powerpc/powerpc32/power6x/Implies: Point to power6.
93282         * sysdeps/powerpc/powerpc64/970/Implies: Point to power4.
93283         * sysdeps/powerpc/powerpc64/power5/Implies: Point to power4.
93284         * sysdeps/powerpc/powerpc64/power5+/Implies: Point to power5.
93285         * sysdeps/powerpc/powerpc64/power6/Implies: Point to power5+.
93286         * sysdeps/powerpc/powerpc64/power6x/Implies: Point to power6.
93287         * sysdeps/powerpc/powerpc32/power7/Implies: New file.
93288         * sysdeps/powerpc/powerpc64/power7/Implies: New file.
93289         * sysdeps/unix/sysv/linux/powerpc/powerpc32/970/Implies: New file.
93290         * sysdeps/unix/sysv/linux/powerpc/powerpc32/cell/Implies: New file.
93291         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power4/Implies: New file.
93292         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power5/Implies: New file.
93293         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6/Implies: New file.
93294         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power6x/Implies: New file.
93295         * sysdeps/unix/sysv/linux/powerpc/powerpc32/power7/Implies: New file.
93296         * sysdeps/unix/sysv/linux/powerpc/powerpc64/970/Implies: New file.
93297         * sysdeps/unix/sysv/linux/powerpc/powerpc64/cell/Implies: New file.
93298         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power4/Implies: New file.
93299         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power5/Implies: New file.
93300         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6/Implies: New file.
93301         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power6x/Implies: New file.
93302         * sysdeps/unix/sysv/linux/powerpc/powerpc64/power7/Implies: New file.
93304 2010-06-25  H.J. Lu  <hongjiu.lu@intel.com>
93306         * debug/memmove_chk.c (__memmove_chk): Renamed to ...
93307         (MEMMOVE_CHK): ...this.  Default to __memmove_chk.
93308         * string/memmove.c (memmove): Renamed to ...
93309         (MEMMOVE): ...this.  Default to memmove.
93310         * sysdeps/x86_64/memcpy.S: Use ENTRY_CHK and END_CHK.
93311         * sysdeps/x86_64/sysdep.h (ENTRY_CHK): Define.
93312         (END_CHK): Define.
93313         * sysdeps/x86_64/multiarch/Makefile (sysdep_routines): Add
93314         memcpy-ssse3 mempcpy-ssse3 memmove-ssse3 memcpy-ssse3-back
93315         mempcpy-ssse3-back memmove-ssse3-back.
93316         * sysdeps/x86_64/multiarch/bcopy.S: New file .
93317         * sysdeps/x86_64/multiarch/memcpy-ssse3-back.S: New file.
93318         * sysdeps/x86_64/multiarch/memcpy-ssse3.S: New file.
93319         * sysdeps/x86_64/multiarch/memcpy.S: New file.
93320         * sysdeps/x86_64/multiarch/memcpy_chk.S: New file.
93321         * sysdeps/x86_64/multiarch/memmove-ssse3-back.S: New file.
93322         * sysdeps/x86_64/multiarch/memmove-ssse3.S: New file.
93323         * sysdeps/x86_64/multiarch/memmove.c: New file.
93324         * sysdeps/x86_64/multiarch/memmove_chk.c: New file.
93325         * sysdeps/x86_64/multiarch/mempcpy-ssse3-back.S: New file.
93326         * sysdeps/x86_64/multiarch/mempcpy-ssse3.S: New file.
93327         * sysdeps/x86_64/multiarch/mempcpy.S: New file.
93328         * sysdeps/x86_64/multiarch/mempcpy_chk.S: New file.
93329         * sysdeps/x86_64/multiarch/init-arch.h (bit_Fast_Copy_Backward):
93330         Define.
93331         (index_Fast_Copy_Backward): Define.
93332         (HAS_ARCH_FEATURE): Define.
93333         (HAS_FAST_REP_STRING): Define.
93334         (HAS_FAST_COPY_BACKWARD): Define.
93336 2010-06-21  Andreas Schwab  <schwab@redhat.com>
93338         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid):
93339         Restore proper fallback handling.
93341 2010-06-19  Ulrich Drepper  <drepper@redhat.com>
93343         [BZ #11701]
93344         * posix/group_member.c (__group_member): Correct checking loop.
93346         * sysdeps/unix/sysv/linux/getlogin_r.c (__getlogin_r_loginuid): Handle
93347         OOM in getpwuid_r correctly.  Return error number when the caller
93348         should return, otherwise -1.
93349         (getlogin_r): Adjust to return also for result of __getlogin_r_loginuid
93350         call returning > 0 value.
93351         * sysdeps/unix/sysv/linux/getlogin.c (getlogin): Likewise.
93353 2010-06-07  Andreas Schwab  <schwab@redhat.com>
93355         * dlfcn/Makefile: Remove explicit dependencies on libc.so and
93356         libc_nonshared.a from targets in modules-names.
93358 2010-06-02  Kirill A. Shutemov  <kirill@shutemov.name>
93360         * elf/dl-reloc.c: Flush cache after solving TEXTRELs if arch
93361         requires it.
93363 2010-06-10  Luis Machado  <luisgpm@br.ibm.com>
93365         * sysdeps/powerpc/powerpc32/power7/memcmp.S: New file
93366         * sysdeps/powerpc/powerpc64/power7/memcmp.S: New file.
93367         * sysdeps/powerpc/powerpc32/power7/strncmp.S: New file.
93368         * sysdeps/powerpc/powerpc64/power7/strncmp.S: New file.
93370 2010-06-02  Andreas Schwab  <schwab@redhat.com>
93372         * nis/nss_nis/nis-initgroups.c (get_uid): Properly resize buffer.
93374 2010-06-14  Ulrich Drepper  <drepper@redhat.com>
93376         * sysdeps/unix/sysv/linux/powerpc/bits/fcntl.h: Define F_SETPIPE_SZ
93377         and F_GETPIPE_SZ.
93378         * sysdeps/unix/sysv/linux/i386/bits/fcntl.h: Likewise.
93379         * sysdeps/unix/sysv/linux/x86_64/bits/fcntl.h: Likewise.
93380         * sysdeps/unix/sysv/linux/s390/bits/fcntl.h: Likewise.
93381         * sysdeps/unix/sysv/linux/sparc/bits/fcntl.h: Likewise.
93382         * sysdeps/unix/sysv/linux/sh/bits/fcntl.h: Likewise.
93383         * sysdeps/unix/sysv/linux/ia64/bits/fcntl.h: Likewise.
93385 2010-06-14  Roland McGrath  <roland@redhat.com>
93387         * manual/libc.texinfo (@copying): Change to GFDL v1.3.
93389 2010-06-07  Jakub Jelinek  <jakub@redhat.com>
93391         * libio/stdio.h (sscanf, vsscanf): Use __REDIRECT_NTH instead of
93392         __REDIRECT followed by __THROW.
93393         * wcsmbs/wchar.h (swscanf, vswscanf): Likewise.
93394         * posix/getopt.h (getopt): Likewise.
93396 2010-06-02  Emilio Pozuelo Monfort  <pochu27@gmail.com>
93398         * hurd/lookup-at.c (__file_name_lookup_at): Accept
93399         AT_SYMLINK_FOLLOW in AT_FLAGS.  Fail with EINVAL if both
93400         AT_SYMLINK_FOLLOW and AT_SYMLINK_NOFOLLOW are present
93401         in AT_FLAGS.
93402         * hurd/hurd/fd.h (__file_name_lookup_at): Update comment.
93403         * sysdeps/mach/hurd/linkat.c (linkat): Pass O_NOLINK in FLAGS.
93405 2010-05-28  Luis Machado  <luisgpm@br.ibm.com>
93407         * sysdeps/powerpc/powerpc32/power7/memcpy.S: Exchange srdi for srwi.
93409 2010-05-26  H.J. Lu  <hongjiu.lu@intel.com>
93411         [BZ #11640]
93412         * sysdeps/x86_64/multiarch/init-arch.c (__init_cpu_features):
93413         Properly check family and model.
93415 2010-05-26  Takashi Yoshii  <takashi.yoshii.zj@renesas.com>
93417         * sysdeps/unix/sysv/linux/sh/sh4/register-dump.h: Fix iov[] size.
93419 2010-05-24  Luis Machado  <luisgpm@br.ibm.com>
93421         * sysdeps/powerpc/powerpc32/power7/memset.S: POWER7 32-bit memset fix.
93423 2010-05-21  Ulrich Drepper  <drepper@redhat.com>
93425         * elf/dl-runtime.c (_dl_profile_fixup): Don't crash on unresolved weak
93426         symbol reference.
93428 2010-05-19  Andreas Schwab  <schwab@redhat.com>
93430         * elf/dl-runtime.c (_dl_fixup): Don't crash on unresolved weak
93431         symbol reference.
93433 2010-05-21  Andreas Schwab  <schwab@redhat.com>
93435         * sysdeps/unix/sysv/linux/Makefile (sysdep_routines): Add recvmmsg
93436         and internal_recvmmsg.
93437         * sysdeps/unix/sysv/linux/recvmmsg.c: New file.
93438         * sysdeps/unix/sysv/linux/internal_recvmmsg.S: New file.
93439         * sysdeps/unix/sysv/linux/socketcall.h (SOCKOP_recvmmsg): Define.
93440         * sysdeps/unix/sysv/linux/syscalls.list (recvmmsg): Remove.
93442         * sunrpc/clnt_tcp.c (clnttcp_control): Add missing break.
93443         * sunrpc/clnt_udp.c (clntudp_control): Likewise.
93444         * sunrpc/clnt_unix.c (clntunix_control): Likewise.
93446 2010-05-20  Andreas Schwab  <schwab@redhat.com>
93448         * sysdeps/unix/sysv/linux/sys/timex.h: Use __REDIRECT_NTH.
93450 2010-05-17  Luis Machado  <luisgpm@br.ibm.com>
93452         POWER7 optimizations.
93453         * sysdeps/powerpc/powerpc64/power7/memset.S: New file.
93454         * sysdeps/powerpc/powerpc32/power7/memset.S: New file.
93456 2010-05-19  Ulrich Drepper  <drepper@redhat.com>
93458         * version.h: Update for 2.13 development version.
93460 2010-05-12  Andrew Stubbs  <ams@codesourcery.com>
93462         * sysdeps/sh/sh4/fpu/feholdexcpt.c (feholdexcept): Really disable all
93463         exceptions.  Return 0.
93465 2010-05-07  Roland McGrath  <roland@redhat.com>
93467         * elf/ldconfig.c (main): Add a const.
93469 2010-05-06  Ulrich Drepper  <drepper@redhat.com>
93471         * nss/getent.c (idn_flags): Default to AI_IDN|AI_CANONIDN.
93472         (args_options): Add no-idn option.
93473         (ahosts_keys_int): Add idn_flags to ai_flags.
93474         (parse_option): Handle 'i' option to clear idn_flags.
93476         * malloc/malloc.c (_int_free): Possible race in the most recently
93477         added check.  Only act on the data if no current modification
93478         happened.
93480 See ChangeLog.17 for earlier changes.